all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to find commands run by menu?
@ 2009-12-08 20:42 kj
  2009-12-08 21:19 ` Pascal J. Bourguignon
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: kj @ 2009-12-08 20:42 UTC (permalink / raw)
  To: help-gnu-emacs





Is there any way to determine the exact command that gets run when
one invokes a particular menu item?

TIA!

kynnjo

P.S.  Here's why I want this.  It's a bit convoluted.  For mysterious
reasons, the latest version of Emacs on my system does not offer
any "print region" commands when run in X11 mode (these commands
do show in the File menu, but are permanently disabled, irrespective
of whether a region is defined or not).

I determined that if instead I run Emacs in text mode, now the
menus do offer the "print region" commands.

But I don't want to run Emacs in text mode.  Therefore, I want to
be able to execute *while on X11 mode* the same commands that get
triggered when I choose (in text mode) one of the "print region"
commands from the File menu.  Make sense?

I thought that the desired commands would be ones like ps-print-region,
but the ones I've guessed produce different-looking printed results
from those obtained by using the menus under text mode, and I prefer
the latter by far.  Therefore, I have to conclude that using the
menus does something more than just calling, say, ps-print-region.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-12-11 15:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 20:42 How to find commands run by menu? kj
2009-12-08 21:19 ` Pascal J. Bourguignon
2009-12-08 22:13   ` kj
2009-12-08 23:29     ` Pascal J. Bourguignon
2009-12-09  9:22 ` Peter Dyballa
     [not found] ` <mailman.12591.1260350574.2239.help-gnu-emacs@gnu.org>
2009-12-09 15:57   ` kj
2009-12-09 16:06 ` Andreas Röhler
     [not found] ` <mailman.12600.1260374782.2239.help-gnu-emacs@gnu.org>
2009-12-09 16:35   ` harven
2009-12-09 18:44 ` J. David Boyd
2009-12-10 13:30 ` Jason Rumney
2009-12-11 15:44   ` kj

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.