all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hook for C-Mouse-3?
@ 2010-07-25 21:35 Oleksandr Gavenko
  2010-07-25 21:42 ` Oleksandr Gavenko
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2010-07-25 21:35 UTC (permalink / raw)
  To: help-gnu-emacs

I discover 'imenu' useful with (imenu-add-menubar-index).

But also I like save visible display area by:

(menu-bar-mode -1) ; This switch IMPORTANT for this mail.
(tool-bar-mode -1)

As menu hidden to access menu items I use
C-Mouse-3.

Under 'imenu.el' you can find such code:

(defun imenu-add-to-menubar (name)
...
   (add-hook 'menu-bar-update-hook 'imenu-update-menubar)
... )

so imenu items in menu updated by 'menu-bar-update-hook'
which seems not invoked in menu-bar disabled.

Is there any hook when opened context menu?

-- 
Best regards!




^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.0.1280093729.10103.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-07-26  7:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-25 21:35 hook for C-Mouse-3? Oleksandr Gavenko
2010-07-25 21:42 ` Oleksandr Gavenko
2010-07-25 22:08   ` Oleksandr Gavenko
     [not found] <mailman.0.1280093729.10103.help-gnu-emacs@gnu.org>
2010-07-26  7:39 ` Stefan Kamphausen

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.