emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] disable org-replace-disputed-keys for org-read-date


From: Carsten Dominik
Subject: Re: [O] disable org-replace-disputed-keys for org-read-date
Date: Fri, 9 Aug 2013 11:47:01 +0200

On 15.5.2013, at 11:37, Miro Bezjak <address@hidden> wrote:

> Hi all,
> 
> for orgmode 7.9.x I had the following defadvice.
> 
> ----
> (defadvice org-read-date (around my-no-disputed-keys activate)
>   "Ignore org-replace-disputed-keys when calendar is active."
>   (let ((org-replace-disputed-keys nil))
>     ad-do-it))
> ----
> 
> Contrary to the `org-replace-disputed-keys' documentation (only being 
> relevant at load-time), the advice worked because in 7.9.x `org-read-date' 
> used `org-defkey' to add the relevant keybindings each time it was called.
> 
> In 8.0.x, this advice no longer works since 
> `org-read-date-minibuffer-local-map' is being used.
> 
> Basically, I'm trying to use windmove keys, but not when I'm entering dates 
> through calendar. In calendar, shift + arrow keys are really handy and 
> calendar is not active for a long time.
> 
> Does anyone have any suggestion how I can achieve that in 8.0.x without 
> patching org.el?
> 
> Should I make a patch to introduce defcustom that will ignore disputed keys 
> while setting up `org-read-date-minibuffer-local-map'? Anyone else interested 
> in this besides me?

I think I would even accept a patch that ignored disputed keys entirely when 
setting up this special map.
Or has this issue been solved in another way I am not aware of? (Sorry, I am 
trying to catch up...)

- Carsten

> 
> Kind Regards,
> Miro
> 




reply via email to

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