unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Q on Text Properties popup menu - shouldn't it use the pointer position, not the cursor position?
@ 2005-06-24 15:25 Drew Adams
  2005-06-24 15:58 ` Luc Teirlinck
  2005-06-24 16:09 ` Q on Text Properties popup menu - shouldn't it use the pointer position, not the cursor position? Luc Teirlinck
  0 siblings, 2 replies; 26+ messages in thread
From: Drew Adams @ 2005-06-24 15:25 UTC (permalink / raw)


The Text Properties popup menu (via `C-mouse-2'), `facemenu-menu', currently
applies to the cursor position (point). Isn't this misleading? If you are
using the mouse to bring up the menu, then I think you might be expecting
the position of application to be the pointer position, not the cursor
position.

Especially wrt menu items that are specific to a buffer position, it's
likely that users will want to use the menu at different positions by simply
pointing the mouse.

For example, to check the text properties at some position, it would be
convenient to just put the mouse over that position, pop up the menu, and
choose Describe Properties. I tried this in various (pointer) positions, and
I couldn't figure out why the result didn't correspond to what I expected.
It wasn't until I looked at the facemenu code that I understood that the
mouse position is irrelevant and the cursor position is used always.

Don't you think that mouse position would be more relevant here than the
cursor position, when accessed from a mouse menu?

Commands such as `describe-text-properties' should still use the cursor
position (e.g. for access via M-x), but I think that when such commands are
accessed from a mouse (popup) menu, the pointer position should be used
instead.

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

end of thread, other threads:[~2005-06-29 14:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-24 15:25 Q on Text Properties popup menu - shouldn't it use the pointer position, not the cursor position? Drew Adams
2005-06-24 15:58 ` Luc Teirlinck
2005-06-24 16:37   ` Q on Text Properties popup menu - shouldn't it use the pointerposition, " Drew Adams
2005-06-24 16:48     ` Drew Adams
2005-06-24 23:08     ` Luc Teirlinck
2005-06-24 23:35       ` Q on Text Properties popup menu - shouldn't it use thepointerposition, " Drew Adams
2005-06-25 22:53       ` Drew Adams
2005-06-25 23:17         ` Luc Teirlinck
2005-06-25 23:32           ` Q on Text Properties popup menu - shouldn't it usethepointerposition, " Drew Adams
2005-06-25 23:29         ` Q on Text Properties popup menu - shouldn't it use thepointerposition, " Luc Teirlinck
2005-06-26  1:26         ` Q on Text Properties popup menu - shouldn't it usethepointerposition, " Drew Adams
2005-06-26  1:29           ` Drew Adams
2005-06-27  0:07           ` Q on Text Properties popup menu - shouldn't itusethepointerposition, " Drew Adams
2005-06-27  0:46             ` Drew Adams
2005-06-27 16:46             ` Richard M. Stallman
2005-06-27 22:35               ` Q on Text Properties popup menu - shouldn'titusethepointerposition, " Drew Adams
2005-06-27 22:41               ` Do Re Mi (was: Q on Text Properties popup menu - shouldn'titusethepointerposition, not the cursor position?) Drew Adams
2005-06-28 18:43                 ` Do Re Mi (was: Q on Text Properties popup menu -shouldn'titusethepointerposition, " Drew Adams
2005-06-28 18:47                 ` Do Re Mi (was: Q on Text Properties popup menu - shouldn'titusethepointerposition, " Richard M. Stallman
2005-06-28 19:53                   ` Do Re Mi (was: Q on Text Properties popup menu -shouldn'titusethepointerposition, " Drew Adams
2005-06-28 20:33                     ` Robert J. Chassell
2005-06-28 21:01                       ` Do Re Mi (was: Q on Text Properties popup menu-shouldn'titusethepointerposition, " Drew Adams
2005-06-29  0:42                         ` Robert J. Chassell
2005-06-29  3:59                     ` Do Re Mi (was: Q on Text Properties popup menu -shouldn'titusethepointerposition, " Richard M. Stallman
2005-06-29 14:52                       ` Do Re Mi (was: Q on Text Properties popup menu-shouldn'titusethepointerposition, " Drew Adams
2005-06-24 16:09 ` Q on Text Properties popup menu - shouldn't it use the pointer position, not the cursor position? Luc Teirlinck

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).