From mboxrd@z Thu Jan 1 00:00:00 1970 From: "T. V. Raman" Subject: Request: use call-interactively in org-shiftmetaup and friends? Date: Sat, 20 May 2006 10:22:40 -0700 Message-ID: <17519.20576.823020.985910@localhost.localdomain> Reply-To: raman@users.sf.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FhVA4-0007S3-RB for emacs-orgmode@gnu.org; Sat, 20 May 2006 13:22:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FhVA2-0007PD-JS for emacs-orgmode@gnu.org; Sat, 20 May 2006 13:22:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhVA2-0007P4-EK for emacs-orgmode@gnu.org; Sat, 20 May 2006 13:22:42 -0400 Received: from [204.127.192.82] (helo=rwcrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FhVDc-00067Q-JU for emacs-orgmode@gnu.org; Sat, 20 May 2006 13:26:24 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs