emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Karl Voit <devnull@Karl-Voit.at>
Cc: news1142@Karl-Voit.at, emacs-orgmode@gnu.org
Subject: Re: No dot in datepicker dialog
Date: Thu, 04 Apr 2013 14:53:37 +0200	[thread overview]
Message-ID: <87hajm1mpa.fsf@bzg.ath.cx> (raw)
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")

Hi Karl,

Karl Voit <devnull@Karl-Voit.at> 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	other threads:[~2013-04-04 12:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 19:49 No dot in datepicker dialog Karl Voit
2013-04-04 12:53 ` Bastien [this message]
2013-04-04 13:18   ` Karl Voit
2013-04-04 14:19   ` Gregor Zattler
2013-04-23 16:04     ` Michael Brand
2013-04-24  8:06       ` Bastien
2013-04-24  8:23         ` Carsten Dominik
2013-04-24  8:31           ` Bastien
2013-04-24  8:43             ` Michael Brand
2013-04-24  8:51               ` Bastien
2013-04-24  9:13                 ` Michael Brand
2013-04-24  8:52               ` Michael Brand
2013-04-24  9:12             ` Carsten Dominik
2013-04-24  9:38               ` Bastien
2013-04-24  9:40                 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hajm1mpa.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=devnull@Karl-Voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).