From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miro Subject: Re: replace-disputed-keys by default; but not for calendar Date: Tue, 20 Nov 2012 11:28:22 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tam1q-0003mB-MO for emacs-orgmode@gnu.org; Tue, 20 Nov 2012 06:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tam1g-00053b-Tm for emacs-orgmode@gnu.org; Tue, 20 Nov 2012 06:30:09 -0500 Received: from plane.gmane.org ([80.91.229.3]:54806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tam1g-00053N-Md for emacs-orgmode@gnu.org; Tue, 20 Nov 2012 06:30:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tam1k-0002kC-5U for emacs-orgmode@gnu.org; Tue, 20 Nov 2012 12:30:04 +0100 Received: from cpe-188-129-80-250.dynamic.amis.hr ([188.129.80.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2012 12:30:04 +0100 Received: from bezjak.miro by cpe-188-129-80-250.dynamic.amis.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2012 12:30:04 +0100 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: emacs-orgmode@gnu.org Miro Bezjak 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