[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-orgmode] Request: use call-interactively in org-shiftmetaup a
Re: [Emacs-orgmode] Request: use call-interactively in org-shiftmetaup and friends?
Mon, 22 May 2006 11:13:57 +0200
The next version of Org-mode will use call-interactively for
dispatching in all magic context-sensitive commands, whenever possible.
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
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
AIM: emacspeak GTalk: address@hidden
Emacs-orgmode mailing list
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
phone: +31 20 525 7477