From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: No dot in datepicker dialog Date: Thu, 04 Apr 2013 14:53:37 +0200 Message-ID: <87hajm1mpa.fsf@bzg.ath.cx> References: <2013-03-26T20-43-10@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNjkg-00089s-JP for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:58:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNjkb-00015w-P8 for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:58:50 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:38192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNjkb-00015p-JR for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:58:45 -0400 Received: by mail-wi0-f173.google.com with SMTP id ez12so4667126wid.0 for ; Thu, 04 Apr 2013 05:58:44 -0700 (PDT) In-Reply-To: <2013-03-26T20-43-10@devnull.Karl-Voit.at> (Karl Voit's message of "Tue, 26 Mar 2013 20:49:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karl Voit Cc: news1142@Karl-Voit.at, emacs-orgmode@gnu.org Hi Karl, Karl Voit 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