emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Miro <bezjak.miro@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: replace-disputed-keys by default; but not for calendar
Date: Tue, 20 Nov 2012 11:28:22 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121120T122539-926@post.gmane.org> (raw)
In-Reply-To: CAMJqDfPuxvFAbUpzQp=K+4t6K15_wFJc7QnrM+bU5PqdJfUHkg@mail.gmail.com

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

      reply	other threads:[~2012-11-20 11:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14 16:42 replace-disputed-keys by default; but not for calendar Miro Bezjak
2012-11-20 11:28 ` Miro [this message]

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=loom.20121120T122539-926@post.gmane.org \
    --to=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).