This is a date widget in Emacs.
2014/11/30 It’s available by using melpa.
2014/11/30 It’s available. But, master branch only.
(auto-install-from-url "https://raw.github.com/aki2o/emacs-date-field/master/date-field.el")
- In this case, you need to install each of the following dependency.
Download date-field.el and put it on your load-path.
- In this case, you need to install each of the following dependency.
(require 'date-field)
(widget-create 'date-field)
Optional properties are here.
- separator … a string to separate the each part of year/month/day.
- year … a string/number to init year part.
- month … a string/number to init month part.
- day … a string/number to init day part.
In default, date-field-keymap
is activated on this widget.
It defines the following keys.
j
,n
… up active column value.k
,p
… down active column value.h
,b
… select left column.l
,f
… select right column.
This widget value returns/accepts the format like “yyyy/mm/dd” depends on separator.
Also, A year/month/day property returns a number of that by widget-get
.
- Emacs … GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2014-02-22 on chindi10, modified by Debian
- log4e.el … 0.2.0
- yaxception.el … 0.3.2
Enjoy!!!