emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] replace-disputed-keys by default; but not for calendar


From: Miro
Subject: Re: [O] replace-disputed-keys by default; but not for calendar
Date: Tue, 20 Nov 2012 11:28:22 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Miro Bezjak <bezjak.miro <at> gmail.com> writes:

> 
> Hi all,I configured (setq org-replace-disputed-keys t) since I'm used to
windmove.el. I would, however, like to use shift+arrow keys just for calendar.
Does anyone have a suggestion how to accomplish such a feat?I'm looking at
source code for `org-read-date' but I'm not getting any ideas.If it matters, I'm
using org-version 7.8.11.Kind Regards,Miro


I've worked out a solution. Here it is if anyone is interested.

8<-------------------------------------------
(defadvice org-read-date (around my-no-disputed-keys)
  "Ignore org-replace-disputed-keys when calendar is active."
  (let ((org-replace-disputed-keys nil))
    ad-do-it))

(ad-activate 'org-read-date)
------------------------------------------->8


Cheers,
Miro




reply via email to

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