https://github.com/aki2o/emacs-date-field.git
git clone 'git://github.com/aki2o/emacs-date-field.git'
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")
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.
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
.
Enjoy!!!