From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: disable org-replace-disputed-keys for org-read-date Date: Fri, 9 Aug 2013 11:47:01 +0200 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7jHt-0001Za-Tp for emacs-orgmode@gnu.org; Fri, 09 Aug 2013 05:47:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7jHl-0000cZ-3F for emacs-orgmode@gnu.org; Fri, 09 Aug 2013 05:47:13 -0400 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:40501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7jHk-0000cN-Pg for emacs-orgmode@gnu.org; Fri, 09 Aug 2013 05:47:05 -0400 Received: by mail-ea0-f175.google.com with SMTP id m14so1908952eaj.6 for ; Fri, 09 Aug 2013 02:47:03 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Miro Bezjak Cc: emacs-orgmode@gnu.org On 15.5.2013, at 11:37, Miro Bezjak wrote: > Hi all, >=20 > for orgmode 7.9.x I had the following defadvice. >=20 > ---- > (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)) > ---- >=20 > 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. >=20 > In 8.0.x, this advice no longer works since = `org-read-date-minibuffer-local-map' is being used. >=20 > 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. >=20 > Does anyone have any suggestion how I can achieve that in 8.0.x = without patching org.el? >=20 > 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 >=20 > Kind Regards, > Miro >=20