emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] No dot in datepicker dialog


From: Bastien
Subject: Re: [O] No dot in datepicker dialog
Date: Thu, 04 Apr 2013 14:53:37 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Karl,

Karl Voit <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]