all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#3529: 23.0.94; C-h k mouse-1 on mode-line fields with menus brings up the menu
@ 2009-06-10 21:11 Drew Adams
  2009-06-27  0:03 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2009-06-10 21:11 UTC (permalink / raw)
  To: emacs-pretest-bug

It should describe mouse-1 at that point. It should not just bring up
the menu. IOW, it should act just like C-h k mouse-1 does when you
click the buffer name: give you info about what mouse-1 does at that
position.
 

In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600)
 of 2009-05-24 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 






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

* bug#3529: 23.0.94; C-h k mouse-1 on mode-line fields with menus brings up the menu
  2009-06-10 21:11 bug#3529: 23.0.94; C-h k mouse-1 on mode-line fields with menus brings up the menu Drew Adams
@ 2009-06-27  0:03 ` Stefan Monnier
  2009-06-27  0:14   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2009-06-27  0:03 UTC (permalink / raw)
  To: Drew Adams; +Cc: 3529

> It should describe mouse-1 at that point. It should not just bring up
> the menu. IOW, it should act just like C-h k mouse-1 does when you
> click the buffer name: give you info about what mouse-1 does at that
> position.

The current behavior was made specifically so that C-h k can be used to
figure out which command is run by a given menu entry.  I agree that it
can sometimes be useful to figure what the name of the menu, but
currently Emacs does provide any way for the user to distinguish between
the two cases, so depending on how you define the menu (either as
a keymap or as a commmand that pops up a menu), you can either find info
about the bindings in the menu, or info about the menu itself.

I personally need info about the bindings a lot more often than info
about the menus, which is why we have the current behavior.

It's also in line with the behavior of C-h k for menubar menus.


        Stefan





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

* bug#3529: 23.0.94; C-h k mouse-1 on mode-line fields with menus brings up the menu
  2009-06-27  0:03 ` Stefan Monnier
@ 2009-06-27  0:14   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2009-06-27  0:14 UTC (permalink / raw)
  To: 'Stefan Monnier'; +Cc: 3529

> > It should describe mouse-1 at that point. It should not 
> > just bring up the menu. IOW, it should act just like
> > C-h k mouse-1 does when you click the buffer name: give
> > you info about what mouse-1 does at that position.
> 
> The current behavior was made specifically so that C-h k can 
> be used to
> figure out which command is run by a given menu entry.  I 
> agree that it
> can sometimes be useful to figure what the name of the menu, but
> currently Emacs does provide any way for the user to 
> distinguish between
> the two cases, so depending on how you define the menu (either as
> a keymap or as a commmand that pops up a menu), you can 
> either find info
> about the bindings in the menu, or info about the menu itself.
> 
> I personally need info about the bindings a lot more often than info
> about the menus, which is why we have the current behavior.
> 
> It's also in line with the behavior of C-h k for menubar menus.

My bad. I misunderstood. For some reason (duh), I didn't think to choose a menu
item. I thought it was just doing the same thing as clicking mouse-1, instead of
providing help. Dunno why I didn't figure it out. This change was a good one.






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

end of thread, other threads:[~2009-06-27  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 21:11 bug#3529: 23.0.94; C-h k mouse-1 on mode-line fields with menus brings up the menu Drew Adams
2009-06-27  0:03 ` Stefan Monnier
2009-06-27  0:14   ` Drew Adams

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.