all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RE: select and META key
@ 2007-03-26 11:10 A Soare
  2007-03-26 11:23 ` Herbert Euler
  0 siblings, 1 reply; 9+ messages in thread
From: A Soare @ 2007-03-26 11:10 UTC (permalink / raw)
  To: Herbert Euler; +Cc: Emacs   Bug  [bug-gnu-emacs]

> Message du 26/03/07 à 13h06
> De : "Herbert Euler" <herberteuler@hotmail.com>
> A : alinsoar@voila.fr, bug-gnu-emacs@gnu.org
> Copie à : 
> Objet : RE: select and META key
> 
> >1. Emacs -Q
> >
> >2. open en elisp file. for example edebug.el
> >
> >3. Press left mouse button and select a region. Before to release left 
> >mouse button press ALT. While keepeng ALT pressed release mouse button
> >
> >Result: a region is selected, and it cannot be unsected.
> >
> >This is a bug or an feature of emacs unknown by me?
> 
> I think it is secondary selection.  See also (info "(emacs) Secondary 
> Selection").
> 
> 


You are right. Thanks.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: select and META key
@ 2007-03-26 11:58 A Soare
  0 siblings, 0 replies; 9+ messages in thread
From: A Soare @ 2007-03-26 11:58 UTC (permalink / raw)
  To: Herbert Euler; +Cc: Emacs   Dev  [emacs-devel]

> >> > >1. Emacs -Q
> >> > >
> >> > >2. open en elisp file. for example edebug.el
> >> > >
> >> > >3. Press left mouse button and select a region. Before to release left
> >> > >mouse button press ALT. While keepeng ALT pressed release mouse button
> >> > >
> >> > >Result: a region is selected, and it cannot be unsected.
> >> > >
> >> > >This is a bug or an feature of emacs unknown by me?
> >> >
> >> > I think it is secondary selection.  See also (info "(emacs) Secondary
> >> > Selection").
> >> >
> >> >
> >>
> >>
> >>You are right. Thanks.
> >
> >However, there is surely a bug.  Since you press the Meta key
> >only before releasing mouse-1, the event is slightly different from
> >pressing the Meta key before pressing mouse-1: in the former
> >case the first event is `down-mouse-1', and in the latter the
> >first event is `M-down-mouse-1'.  Although the outcome is the
> >event `M-drag-mouse-1' in both cases, `mouse-drag-secondary'
> >seems not to get executed and other secondary selection
> >relating commands, such as `mouse-yank-secondary' fails to be
> >executed.
> 
> And the opposite behaves in this way:
> 
> 1. Press M-mouse-1 to generate a M-down-mouse-1 event.
> 2. Move mouse to generate a mouse-movement event.
> 3. First release the Meta key and then mouse-1.
> 
> The outcome is drag-mouse-1 event.  However, secondary
> selection has been successfully executed and pressing
> M-mouse-2 can certainly yank secondary selected texts.
> 
> Are these behaviors desired?
> 


I do not have time now for this issue. I will check as soon as I do.

It is just evervant because the selection does not dissapear.


Thanks.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* select and META key
@ 2007-03-26 10:57 A Soare
  2007-03-26 11:06 ` Herbert Euler
  0 siblings, 1 reply; 9+ messages in thread
From: A Soare @ 2007-03-26 10:57 UTC (permalink / raw)
  To: Emacs   Bug  [bug-gnu-emacs]

1. Emacs -Q

2. open en elisp file. for example edebug.el

3. Press left mouse button and select a region. Before to release left mouse button press ALT. While keepeng ALT pressed release mouse button

Result: a region is selected, and it cannot be unsected.

This is a bug or an feature of emacs unknown by me?

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

end of thread, other threads:[~2007-04-01 17:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26 11:10 select and META key A Soare
2007-03-26 11:23 ` Herbert Euler
2007-03-26 11:32   ` Herbert Euler
2007-03-28  3:46   ` Herbert Euler
2007-04-01 14:00     ` Richard Stallman
2007-04-01 17:45       ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2007-03-26 11:58 A Soare
2007-03-26 10:57 A Soare
2007-03-26 11:06 ` Herbert Euler

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.