unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rectangle-select with mouse / difficulties
@ 2015-03-04 17:41 Helmut Jarausch
  2015-03-04 19:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 2015-03-04 17:41 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I'd like to use <shift> drag (left mouse button) to do a rectangular selection.

But when I press the left mouse button together with <shift> I get a pop-up menu
with options like Change Buffer Font or Increase Buffer Text Size.

How can I use <drag> drag for rectangular selection?

Many thanks from a newcomer to Emacs,
Helmut


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

* Re: rectangle-select with mouse / difficulties
  2015-03-04 17:41 rectangle-select with mouse / difficulties Helmut Jarausch
@ 2015-03-04 19:09 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2015-03-04 19:09 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Wed, 4 Mar 2015 09:41:18 -0800 (PST)
> From: Helmut Jarausch <hjarausch@gmail.com>
> 
> I'd like to use <shift> drag (left mouse button) to do a rectangular selection.
> 
> But when I press the left mouse button together with <shift> I get a pop-up menu
> with options like Change Buffer Font or Increase Buffer Text Size.
> 
> How can I use <drag> drag for rectangular selection?

The easiest way is to use a different combination, like
C-S-drag-mouse-1.

Another easy way is to remove the S-mouse-1 key binding.

If you don't want to do either of those two, you will have to rebind
S-mouse-1 to your function that either invokes the pop-up menu or does
the rectangular selection, depending on whether it gets a click or a
drag event.



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

end of thread, other threads:[~2015-03-04 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 17:41 rectangle-select with mouse / difficulties Helmut Jarausch
2015-03-04 19:09 ` Eli Zaretskii

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).