* bug#11989: mark region unreliable in 24.1
@ 2012-07-19 14:07 Brent S. Elmer Ph.D.
2012-07-22 9:39 ` Stefan Monnier
0 siblings, 1 reply; 6+ messages in thread
From: Brent S. Elmer Ph.D. @ 2012-07-19 14:07 UTC (permalink / raw)
To: 11989
I am a long time emacs user and recently upgraded to 24.1. One very
annoying bug is that marking a region sometimes works but sometimes
doesn't. I use CTL-SPC to set the mark for the beginning of the region.
I then move the cursor to the end of the region I want to mark. I then
do something like CTL-w or ALT-w to cut or copy the region. Sometimes
the region gets marked and sometimes it doesn't. I read through the
release notes and see that a lot of the region marking and clipboard
stuff has changed. I have changed some of the variables to see if I
could get it to work like it did in 23 but nothing seems to make it
reliable. I think there is a bug in the region handling. Another place
I noticed the region marking not working is in Python mode. I mark the
start of a region using CTL-SPC and move the cursor to the end of the
region. I then go to the Python menu and select shift region
left/right. Sometimes it works and sometimes it doesn't. There is some
kind of a bug in the region handling in version 24.1. Region marking
was always reliable before.
If it makes any difference, here is my setup:
Debian GNU/Linux testing/wheezy
gnu emacs 24.1+1-1 directly from the Debian repository(unstable branch)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#11989: mark region unreliable in 24.1
2012-07-19 14:07 bug#11989: mark region unreliable in 24.1 Brent S. Elmer Ph.D.
@ 2012-07-22 9:39 ` Stefan Monnier
2012-07-22 22:48 ` Wendy Elmer
2012-07-23 13:13 ` Brent S. Elmer Ph.D.
0 siblings, 2 replies; 6+ messages in thread
From: Stefan Monnier @ 2012-07-22 9:39 UTC (permalink / raw)
To: Brent S. Elmer Ph.D.; +Cc: 11989
> I then move the cursor to the end of the region I want to mark. I then
> do something like CTL-w or ALT-w to cut or copy the region. Sometimes
> the region gets marked and sometimes it doesn't. I read through the
Could you be more specific? "The region gets marked" means (to me) that
the region gets highlighted, which should already happen while you "move
the cursor to the end of the region". So do you see the region being
highlighted while you move the "cursor" (which I call point)? If you
do, then what is it that really "doesn't work"?
Try to be super specific since most likely the thing that matters is
for you an irrelevant detail you don't even notice.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#11989: mark region unreliable in 24.1
2012-07-22 9:39 ` Stefan Monnier
@ 2012-07-22 22:48 ` Wendy Elmer
2012-07-23 13:13 ` Brent S. Elmer Ph.D.
1 sibling, 0 replies; 6+ messages in thread
From: Wendy Elmer @ 2012-07-22 22:48 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 11989
[-- Attachment #1: Type: text/plain, Size: 1730 bytes --]
On Sun, 2012-07-22 at 05:39 -0400, Stefan Monnier wrote:
> > I then move the cursor to the end of the region I want to mark. I then
> > do something like CTL-w or ALT-w to cut or copy the region. Sometimes
> > the region gets marked and sometimes it doesn't. I read through the
>
> Could you be more specific? "The region gets marked" means (to me) that
> the region gets highlighted, which should already happen while you "move
> the cursor to the end of the region". So do you see the region being
> highlighted while you move the "cursor" (which I call point)? If you
> do, then what is it that really "doesn't work"?
>
> Try to be super specific since most likely the thing that matters is
> for you an irrelevant detail you don't even notice.
>
>
> Stefan
The region doesn't get highlighted. When the region gets marked
correctly and then I do an ALT-w for example, the cursor will bounce
back to the the location that was marked with the CTL-spc and then back
to point at the end of the region. Then if I do a CTL-y, the region I
marked will be yanked and pasted. When it doesn't work, when I do an
ALT-w, the cursor does not bounce back to the mark. And then of course
when I do a CTL-y, nothing is yanked back because the mark did not work
properly.
So, what seems to not be working reliably is:
do a CTL-spc to set mark
move the cursor to another location with the mouse by clicking with the
left mouse button
then do CTL-w or ALT-w
at the point of the CTL-w or ALT-w it is like the mark is not set any
more because the cursor does not bounce back to the CTL-spc location
Since I am running Debian, I have set the emacs alternative back to
version 23 and setting the mark always works.
Brent
[-- Attachment #2: Type: text/html, Size: 2094 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#11989: mark region unreliable in 24.1
2012-07-22 9:39 ` Stefan Monnier
2012-07-22 22:48 ` Wendy Elmer
@ 2012-07-23 13:13 ` Brent S. Elmer Ph.D.
2012-07-24 9:56 ` Tassilo Horn
1 sibling, 1 reply; 6+ messages in thread
From: Brent S. Elmer Ph.D. @ 2012-07-23 13:13 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 11989
On Sun, 2012-07-22 at 05:39 -0400, Stefan Monnier wrote:
> > I then move the cursor to the end of the region I want to mark. I then
> > do something like CTL-w or ALT-w to cut or copy the region. Sometimes
> > the region gets marked and sometimes it doesn't. I read through the
>
> Could you be more specific? "The region gets marked" means (to me) that
> the region gets highlighted, which should already happen while you "move
> the cursor to the end of the region". So do you see the region being
> highlighted while you move the "cursor" (which I call point)? If you
> do, then what is it that really "doesn't work"?
>
> Try to be super specific since most likely the thing that matters is
> for you an irrelevant detail you don't even notice.
>
>
> Stefan
Bug # 11588 looks very similar to what I am talking about. Using
CTL-spc to set the mark for a region and then using left mouse click to
mark the end of the region does not work every time like it did in emacs
23 and before. Years and years of marking regions like this and then
with emacs 24 it not working anymore is frustrating.
Brent
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#11989: mark region unreliable in 24.1
2012-07-23 13:13 ` Brent S. Elmer Ph.D.
@ 2012-07-24 9:56 ` Tassilo Horn
2012-07-25 6:15 ` Chong Yidong
0 siblings, 1 reply; 6+ messages in thread
From: Tassilo Horn @ 2012-07-24 9:56 UTC (permalink / raw)
To: Brent S. Elmer Ph.D.; +Cc: 11989
"Brent S. Elmer Ph.D." <webe3vt@aim.com> writes:
> Bug # 11588 looks very similar to what I am talking about.
Indeed, and this bug is already fixed, i.e., with the current emacs
trunk I can do
C-SPC <left-click-somewhere> C-w
and it'll kill the region from where I've done C-SPC to where I clicked
with the left mouse button. However, you mustn't move the mouse between
pushing and releasing the mouse button, but that's the same as with
emacs 23.
But AFAICS, this change is only committed to trunk. Maybe it should
also be committed to the emacs-24 branch.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-25 6:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 14:07 bug#11989: mark region unreliable in 24.1 Brent S. Elmer Ph.D.
2012-07-22 9:39 ` Stefan Monnier
2012-07-22 22:48 ` Wendy Elmer
2012-07-23 13:13 ` Brent S. Elmer Ph.D.
2012-07-24 9:56 ` Tassilo Horn
2012-07-25 6:15 ` Chong Yidong
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).