emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* replace-disputed-keys by default; but not for calendar
@ 2012-11-14 16:42 Miro Bezjak
  2012-11-20 11:28 ` Miro
  0 siblings, 1 reply; 2+ messages in thread
From: Miro Bezjak @ 2012-11-14 16:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 439 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: replace-disputed-keys by default; but not for calendar
  2012-11-14 16:42 replace-disputed-keys by default; but not for calendar Miro Bezjak
@ 2012-11-20 11:28 ` Miro
  0 siblings, 0 replies; 2+ messages in thread
From: Miro @ 2012-11-20 11:28 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-20 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-14 16:42 replace-disputed-keys by default; but not for calendar Miro Bezjak
2012-11-20 11:28 ` Miro

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).