emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Miro Bezjak <bezjak.miro@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: disable org-replace-disputed-keys for org-read-date
Date: Mon, 2 Sep 2013 07:50:23 +0200	[thread overview]
Message-ID: <048E0E03-33C0-42F4-9359-733A463C17A4@gmail.com> (raw)
In-Reply-To: <CAMJqDfM7wDsAb1KYFAOgN-CjV6enLA7qi0pGY2Lc3kvDOL3byg@mail.gmail.com>

Hi Miro,

I have implemented this.

Please test and make sure it works.

Regards

- Carsten

On 15.5.2013, at 11:37, Miro Bezjak <bezjak.miro@gmail.com> 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?
> 
> Kind Regards,
> Miro
> 

  parent reply	other threads:[~2013-09-02  6:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-09-07 20:22   ` Miro Bezjak
2013-09-07 21:39     ` Miro Bezjak
2013-09-08  5:34       ` 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=048E0E03-33C0-42F4-9359-733A463C17A4@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bezjak.miro@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).