emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* disable org-replace-disputed-keys for org-read-date
@ 2013-05-15  9:37 Miro Bezjak
  2013-08-09  9:47 ` Carsten Dominik
  2013-09-02  5:50 ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: Miro Bezjak @ 2013-05-15  9:37 UTC (permalink / raw)
  To: emacs-orgmode

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

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?

Kind Regards,
Miro

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

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

end of thread, other threads:[~2013-09-08  5:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15  9:37 disable org-replace-disputed-keys for org-read-date Miro Bezjak
2013-08-09  9:47 ` Carsten Dominik
2013-09-02  5:50 ` Carsten Dominik
2013-09-07 20:22   ` Miro Bezjak
2013-09-07 21:39     ` Miro Bezjak
2013-09-08  5:34       ` Carsten Dominik

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