emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "T. V. Raman" <raman@users.sf.net>
To: emacs-orgmode@gnu.org
Subject: Request: use call-interactively in org-shiftmetaup and friends?
Date: Sat, 20 May 2006 10:22:40 -0700	[thread overview]
Message-ID: <17519.20576.823020.985910@localhost.localdomain> (raw)


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

             reply	other threads:[~2006-05-20 17:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 17:22 T. V. Raman [this message]
2006-05-22  9:13 ` Request: use call-interactively in org-shiftmetaup and friends? Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17519.20576.823020.985910@localhost.localdomain \
    --to=raman@users.sf.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).