The next version of Org-mode will use call-interactively for dispatching in all magic context-sensitive commands, whenever possible.

- Carsten


On May 20, 2006, at 19:22, T. V. Raman wrote:


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:  [EMAIL PROTECTED]
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: [EMAIL PROTECTED]
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC:    irc://irc.freenode.net/#emacs


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to