Hi Karl,
Karl Voit <[email protected]> writes:
> A couple of weeks ago[1] the datepicking dialog got modified such
> that a dot "." jumps to the current day. Handy for most Org-mode
> users I guess.
"." is also the character used in M-x calendar RET to jump to today's
date.
> However, this interferes with another feature I used quite often: I
> was able to enter "31.12." to quickly select 31st of December, for
> example.
>
> Please notice that (at least) in German speaking countries, it is
> common to use "31.12." and not "12/31" or similar.
>
> So in current Org-mode (git), I can not enter the character "."
> because it does not end up with a dot in the bottom line.
>
> Is there a way to customize this behavior?
You can insert a dot with C-q . in the calendar.
You can also customize the local map:
;; Unbind "." in Org's calendar:
(define-key org-read-date-minibuffer-local-map (kbd ".") nil)
;; Bind "@" to `calendar-goto-today':
(define-key org-read-date-minibuffer-local-map
(kbd "@")
(lambda () (interactive) (org-eval-in-calendar
'(calendar-goto-today))))
HTH,
--
Bastien