From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Request: use call-interactively in org-shiftmetaup and friends? Date: Mon, 22 May 2006 11:13:57 +0200 Message-ID: <1d875a43732a27ea27d0cf7342f28f52@science.uva.nl> References: <17519.20576.823020.985910@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fi6UG-0004ve-8B for emacs-orgmode@gnu.org; Mon, 22 May 2006 05:14:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fi6UD-0004vD-Iq for emacs-orgmode@gnu.org; Mon, 22 May 2006 05:14:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi6UD-0004vA-Cr for emacs-orgmode@gnu.org; Mon, 22 May 2006 05:14:01 -0400 Received: from [194.134.35.149] (helo=smtp08.wanadoo.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fi6YA-0000u2-2U for emacs-orgmode@gnu.org; Mon, 22 May 2006 05:18:06 -0400 In-Reply-To: <17519.20576.823020.985910@localhost.localdomain> 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: raman@users.sf.net Cc: emacs-orgmode@gnu.org 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: 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 > > > _______________________________________________ > 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