emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-orgmode] Request: use call-interactively in org-shiftmetaup and f


From: T. V. Raman
Subject: [Emacs-orgmode] Request: use call-interactively in org-shiftmetaup and friends?
Date: Sat, 20 May 2006 10:22:40 -0700

This is a request  for making speech-enabling some of org-mode's
wizard commands easier from Emacspeak

At present org-shiftmetaup and friends call the correct
interactive command based on context -- this is very nice.

To provide the right spoken message, the ideal points to advice
in emacspeak are the context specific commands,
e.g. org-move-item-up etc.

To keep the advice safe, I usually 
protect the code in the advice fragment with a (when
(interactive-p) ...)
so that the advice doesn't fire when the command is called from
within other functions.

I'm having to break this rule right now because org-shiftmetaup
etc call the appropriate interactive command
e.g. org-move-item-up as a function; could you change these to
use call-interactively -- would make my life on the advice side
much easier.

-- 
Best Regards,
--raman

      
Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]