* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
@ 2016-07-15 22:25 N. Jackson
2016-07-16 10:24 ` Stephen Berman
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: N. Jackson @ 2016-07-15 22:25 UTC (permalink / raw)
To: 23999
emacs -Q
C-<home> ; Go to top left corner of scratch buffer.
C-x <SPC> ; Start a rectangular selection.
C-3 C-f ; Extend the selection to the right by 3 characters.
Expected result: Emacs creates a rectangular selection one character
high and three characters wide.
Actual result: Emacs hangs. (C-g quits.)
With debug-on-quit on, I then get:
Debugger entered--Lisp error: (quit)
rectangle--*-char(forward-char 3 backward-char)
rectangle-forward-char(3)
funcall-interactively(rectangle-forward-char 3)
call-interactively(rectangle-forward-char nil nil)
command-execute(rectangle-forward-char)
On the other hand, the following recipe works as expected:
emacs -Q
C-<home> ; Go to top left corner of scratch buffer.
C-x <SPC> ; Start a rectangular selection.
C-f C-f C-f ; Extend the selection to the right by 3 characters.
Note 1: The exact position in the scratch buffer seems to be unimportant.
Note 2: `C-n' with a numeric prefix argument seems to work fine to extend
the rectangular region downwards.
Note 3: I see this with the Emacs 25.0.95 pre-test tarball [and with the
25.0.90 pre-test for that matter]. The problem is still present in the
Emacs 25 branch as of earlier this afternoon. I do not see the problem
with Emacs 24.5.
Please let me know if any further information is required. Thanks.
In GNU Emacs 25.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
of 2016-07-15 built on moondust
Repository revision: 916abe91fd250fc5ed27ec0be7d57421e7908111
Windowing system distributor 'Fedora Project', version 11.0.11803000
System Description: Fedora release 23 (Twenty Three)
Configured using:
'configure --prefix=/home/nlj/local/ --enable-checking=yes,glyphs
--enable-check-lisp-object-type 'CFLAGS=-O2 -g3 -gdwarf-4''
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LC_MONETARY: en_DK.utf8
value of $LC_NUMERIC: en_DK.utf8
value of $LC_TIME: en_DK.utf8
value of $LANG: en_CA.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-15 22:25 bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f' N. Jackson
@ 2016-07-16 10:24 ` Stephen Berman
2016-07-22 7:01 ` Stephen Berman
2016-07-20 17:19 ` Kaushal Modi
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Stephen Berman @ 2016-07-16 10:24 UTC (permalink / raw)
To: N. Jackson; +Cc: 23999
On Fri, 15 Jul 2016 19:25:52 -0300 nljlistbox2@gmail.com (N. Jackson) wrote:
> emacs -Q
> C-<home> ; Go to top left corner of scratch buffer.
> C-x <SPC> ; Start a rectangular selection.
> C-3 C-f ; Extend the selection to the right by 3 characters.
>
> Expected result: Emacs creates a rectangular selection one character
> high and three characters wide.
>
> Actual result: Emacs hangs. (C-g quits.)
>
> With debug-on-quit on, I then get:
>
> Debugger entered--Lisp error: (quit)
> rectangle--*-char(forward-char 3 backward-char)
> rectangle-forward-char(3)
> funcall-interactively(rectangle-forward-char 3)
> call-interactively(rectangle-forward-char nil nil)
> command-execute(rectangle-forward-char)
>
> On the other hand, the following recipe works as expected:
>
> emacs -Q
> C-<home> ; Go to top left corner of scratch buffer.
> C-x <SPC> ; Start a rectangular selection.
> C-f C-f C-f ; Extend the selection to the right by 3 characters.
>
> Note 1: The exact position in the scratch buffer seems to be unimportant.
>
> Note 2: `C-n' with a numeric prefix argument seems to work fine to extend
> the rectangular region downwards.
>
> Note 3: I see this with the Emacs 25.0.95 pre-test tarball [and with the
> 25.0.90 pre-test for that matter]. The problem is still present in the
> Emacs 25 branch as of earlier this afternoon. I do not see the problem
> with Emacs 24.5.
This is due to using save-excursion in rectangle--*-char. Replacing
that with progn makes it work with a numeric prefix argument AFAICT, and
I have not seen any resulting problems, but maybe Stefan Monnier, who
made the changes in commit 7e74ad0 that caused this regression, had a
particular case in mind that the save-excursion was intended to deal
with. If not, I think this change should go into emacs-25 (since it is
a regression from 24.5).
diff --git a/lisp/rect.el b/lisp/rect.el
index 43621d9..9dd5db4 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -644,7 +644,7 @@ rectangle--*-char
(curcol (current-column))
(nextcol
(condition-case nil
- (save-excursion
+ (progn
(funcall cmd 1)
(cond
((> bol (point)) (- curcol 1))
Steve Berman
^ permalink raw reply related [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-15 22:25 bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f' N. Jackson
2016-07-16 10:24 ` Stephen Berman
@ 2016-07-20 17:19 ` Kaushal Modi
2016-07-22 23:25 ` Kaushal Modi
2017-12-19 19:44 ` Charles A. Roelli
3 siblings, 0 replies; 15+ messages in thread
From: Kaushal Modi @ 2016-07-20 17:19 UTC (permalink / raw)
To: 23999
[-- Attachment #1: Type: text/plain, Size: 42 bytes --]
I confirm this bug too.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 168 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-16 10:24 ` Stephen Berman
@ 2016-07-22 7:01 ` Stephen Berman
2016-07-22 7:14 ` Eli Zaretskii
2016-07-22 14:17 ` Stefan Monnier
0 siblings, 2 replies; 15+ messages in thread
From: Stephen Berman @ 2016-07-22 7:01 UTC (permalink / raw)
To: 23999; +Cc: jwiegley, monnier
Ping! (This was made a blocking bug for 25.1.)
On Sat, 16 Jul 2016 12:24:41 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:
> On Fri, 15 Jul 2016 19:25:52 -0300 nljlistbox2@gmail.com (N. Jackson) wrote:
>
>> emacs -Q
>> C-<home> ; Go to top left corner of scratch buffer.
>> C-x <SPC> ; Start a rectangular selection.
>> C-3 C-f ; Extend the selection to the right by 3 characters.
>>
>> Expected result: Emacs creates a rectangular selection one character
>> high and three characters wide.
>>
>> Actual result: Emacs hangs. (C-g quits.)
>>
>> With debug-on-quit on, I then get:
>>
>> Debugger entered--Lisp error: (quit)
>> rectangle--*-char(forward-char 3 backward-char)
>> rectangle-forward-char(3)
>> funcall-interactively(rectangle-forward-char 3)
>> call-interactively(rectangle-forward-char nil nil)
>> command-execute(rectangle-forward-char)
>>
>> On the other hand, the following recipe works as expected:
>>
>> emacs -Q
>> C-<home> ; Go to top left corner of scratch buffer.
>> C-x <SPC> ; Start a rectangular selection.
>> C-f C-f C-f ; Extend the selection to the right by 3 characters.
>>
>> Note 1: The exact position in the scratch buffer seems to be unimportant.
>>
>> Note 2: `C-n' with a numeric prefix argument seems to work fine to extend
>> the rectangular region downwards.
>>
>> Note 3: I see this with the Emacs 25.0.95 pre-test tarball [and with the
>> 25.0.90 pre-test for that matter]. The problem is still present in the
>> Emacs 25 branch as of earlier this afternoon. I do not see the problem
>> with Emacs 24.5.
>
> This is due to using save-excursion in rectangle--*-char. Replacing
> that with progn makes it work with a numeric prefix argument AFAICT, and
> I have not seen any resulting problems, but maybe Stefan Monnier, who
> made the changes in commit 7e74ad0 that caused this regression, had a
> particular case in mind that the save-excursion was intended to deal
> with. If not, I think this change should go into emacs-25 (since it is
> a regression from 24.5).
>
> diff --git a/lisp/rect.el b/lisp/rect.el
> index 43621d9..9dd5db4 100644
> --- a/lisp/rect.el
> +++ b/lisp/rect.el
> @@ -644,7 +644,7 @@ rectangle--*-char
> (curcol (current-column))
> (nextcol
> (condition-case nil
> - (save-excursion
> + (progn
> (funcall cmd 1)
> (cond
> ((> bol (point)) (- curcol 1))
>
> Steve Berman
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 7:01 ` Stephen Berman
@ 2016-07-22 7:14 ` Eli Zaretskii
2016-07-22 7:25 ` Stephen Berman
2016-07-22 14:17 ` Stefan Monnier
1 sibling, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2016-07-22 7:14 UTC (permalink / raw)
To: Stephen Berman; +Cc: jwiegley, monnier, 23999
unblock 19759 by 23999
thanks
> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: eliz@gnu.org, jwiegley@gmail.com, monnier@iro.umontreal.ca
> Date: Fri, 22 Jul 2016 09:01:12 +0200
>
> Ping! (This was made a blocking bug for 25.1.)
I'd appreciate if people who think some bug needs to block the release
asked for my and John's agreement first.
In this case, I don't agree that this should block the release, since
a very simple workaround is available.
> > diff --git a/lisp/rect.el b/lisp/rect.el
> > index 43621d9..9dd5db4 100644
> > --- a/lisp/rect.el
> > +++ b/lisp/rect.el
> > @@ -644,7 +644,7 @@ rectangle--*-char
> > (curcol (current-column))
> > (nextcol
> > (condition-case nil
> > - (save-excursion
> > + (progn
> > (funcall cmd 1)
> > (cond
> > ((> bol (point)) (- curcol 1))
I'm fine with pushing to master if no one objects to this particular
solution.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 7:14 ` Eli Zaretskii
@ 2016-07-22 7:25 ` Stephen Berman
2016-07-22 9:31 ` Eli Zaretskii
0 siblings, 1 reply; 15+ messages in thread
From: Stephen Berman @ 2016-07-22 7:25 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: jwiegley, monnier, 23999
On Fri, 22 Jul 2016 10:14:39 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
> unblock 19759 by 23999
> thanks
>
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: eliz@gnu.org, jwiegley@gmail.com, monnier@iro.umontreal.ca
>> Date: Fri, 22 Jul 2016 09:01:12 +0200
>>
>> Ping! (This was made a blocking bug for 25.1.)
>
> I'd appreciate if people who think some bug needs to block the release
> asked for my and John's agreement first.
Just to be clear, I didn't make it a blocker.
> In this case, I don't agree that this should block the release, since
> a very simple workaround is available.
>
>> > diff --git a/lisp/rect.el b/lisp/rect.el
>> > index 43621d9..9dd5db4 100644
>> > --- a/lisp/rect.el
>> > +++ b/lisp/rect.el
>> > @@ -644,7 +644,7 @@ rectangle--*-char
>> > (curcol (current-column))
>> > (nextcol
>> > (condition-case nil
>> > - (save-excursion
>> > + (progn
>> > (funcall cmd 1)
>> > (cond
>> > ((> bol (point)) (- curcol 1))
>
> I'm fine with pushing to master if no one objects to this particular
> solution.
Why not emacs-25, given that the behavior is a regression from 24.5 (and
of course assuming the fix doesn't break anything else)?
Steve Berman
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 7:25 ` Stephen Berman
@ 2016-07-22 9:31 ` Eli Zaretskii
2016-07-22 11:19 ` Stephen Berman
0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2016-07-22 9:31 UTC (permalink / raw)
To: Stephen Berman; +Cc: jwiegley, monnier, 23999
> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: 23999@debbugs.gnu.org, jwiegley@gmail.com, monnier@iro.umontreal.ca
> Date: Fri, 22 Jul 2016 09:25:29 +0200
>
> > I'd appreciate if people who think some bug needs to block the release
> > asked for my and John's agreement first.
>
> Just to be clear, I didn't make it a blocker.
I know.
> > I'm fine with pushing to master if no one objects to this particular
> > solution.
>
> Why not emacs-25, given that the behavior is a regression from 24.5 (and
> of course assuming the fix doesn't break anything else)?
Because a workaround exists, and because we cannot assume it doesn't
break anything else without prolonging the pretest.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 9:31 ` Eli Zaretskii
@ 2016-07-22 11:19 ` Stephen Berman
2016-07-22 11:21 ` Stephen Berman
2016-07-22 13:27 ` Eli Zaretskii
0 siblings, 2 replies; 15+ messages in thread
From: Stephen Berman @ 2016-07-22 11:19 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: jwiegley, monnier, 23999
On Fri, 22 Jul 2016 12:31:33 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>> > I'm fine with pushing to master if no one objects to this particular
>> > solution.
>>
>> Why not emacs-25, given that the behavior is a regression from 24.5 (and
>> of course assuming the fix doesn't break anything else)?
>
> Because a workaround exists,
You mean just repeating a motion command instead of using a numeric
prefix?
> and because we cannot assume it doesn't
> break anything else without prolonging the pretest.
Thanks for your healthy scepticism here; I checked again and indeed the
patch changes the behavior in rectangle-mark-mode when attempting to
move past bol or eol. The patch tries to rectify this and according to
my tests, it works with a numeric prefix argument but behaves the same
as the current version when attempting to move past bol or eol.
If you think this corrected patch should still not go into emacs-25,
perhaps there should be a note in PROBLEMS, since motion commands in
general accept a numeric prefix and someone who successfully used
rectangle-mark-mode that way in 24.5 will naturally assume it works in
25.1 and be surprised when Emacs hangs.
Steve Berman
diff --git a/lisp/rect.el b/lisp/rect.el
index fb85b18..bb01b98 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -653,6 +653,12 @@ rectangle--*-char
(end-of-buffer (+ col (1+ n)))
(beginning-of-buffer (- curcol 1))))
(diff (abs (- nextcol col))))
+ ;; Move to the correct column when selecting a rectangular
+ ;; region by passing a numeric prefix argument to a motion
+ ;; command, but stop at bol in any case.
+ (if (wholenump nextcol)
+ (move-to-column nextcol)
+ (goto-char bol))
(cond
((and (< nextcol curcol) (< curcol col))
(let ((curdiff (- col curcol)))
^ permalink raw reply related [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 11:19 ` Stephen Berman
@ 2016-07-22 11:21 ` Stephen Berman
2016-07-22 13:27 ` Eli Zaretskii
1 sibling, 0 replies; 15+ messages in thread
From: Stephen Berman @ 2016-07-22 11:21 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: jwiegley, monnier, 23999
On Fri, 22 Jul 2016 13:19:14 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:
> On Fri, 22 Jul 2016 12:31:33 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>
>>> > I'm fine with pushing to master if no one objects to this particular
>>> > solution.
>>>
>>> Why not emacs-25, given that the behavior is a regression from 24.5 (and
>>> of course assuming the fix doesn't break anything else)?
>>
>> Because a workaround exists,
>
> You mean just repeating a motion command instead of using a numeric
> prefix?
>
>> and because we cannot assume it doesn't
>> break anything else without prolonging the pretest.
>
> Thanks for your healthy scepticism here; I checked again and indeed the
> patch changes the behavior in rectangle-mark-mode when attempting to
> move past bol or eol. The patch tries to rectify this and according to
^
Sorry: below
> my tests, it works with a numeric prefix argument but behaves the same
> as the current version when attempting to move past bol or eol.
>
> If you think this corrected patch should still not go into emacs-25,
> perhaps there should be a note in PROBLEMS, since motion commands in
> general accept a numeric prefix and someone who successfully used
> rectangle-mark-mode that way in 24.5 will naturally assume it works in
> 25.1 and be surprised when Emacs hangs.
>
> Steve Berman
>
> diff --git a/lisp/rect.el b/lisp/rect.el
> index fb85b18..bb01b98 100644
> --- a/lisp/rect.el
> +++ b/lisp/rect.el
> @@ -653,6 +653,12 @@ rectangle--*-char
> (end-of-buffer (+ col (1+ n)))
> (beginning-of-buffer (- curcol 1))))
> (diff (abs (- nextcol col))))
> + ;; Move to the correct column when selecting a rectangular
> + ;; region by passing a numeric prefix argument to a motion
> + ;; command, but stop at bol in any case.
> + (if (wholenump nextcol)
> + (move-to-column nextcol)
> + (goto-char bol))
> (cond
> ((and (< nextcol curcol) (< curcol col))
> (let ((curdiff (- col curcol)))
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 11:19 ` Stephen Berman
2016-07-22 11:21 ` Stephen Berman
@ 2016-07-22 13:27 ` Eli Zaretskii
1 sibling, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2016-07-22 13:27 UTC (permalink / raw)
To: Stephen Berman; +Cc: jwiegley, monnier, 23999
> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: 23999@debbugs.gnu.org, jwiegley@gmail.com, monnier@iro.umontreal.ca
> Date: Fri, 22 Jul 2016 13:19:14 +0200
>
> On Fri, 22 Jul 2016 12:31:33 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> > I'm fine with pushing to master if no one objects to this particular
> >> > solution.
> >>
> >> Why not emacs-25, given that the behavior is a regression from 24.5 (and
> >> of course assuming the fix doesn't break anything else)?
> >
> > Because a workaround exists,
>
> You mean just repeating a motion command instead of using a numeric
> prefix?
Yes.
Also, the situation seems to be rather rare, or else I don't
understand how come we didn't hear about it until now.
> > and because we cannot assume it doesn't
> > break anything else without prolonging the pretest.
>
> Thanks for your healthy scepticism here
No wisdom there, just a lot of gray hair. Thanks for double-checking.
> If you think this corrected patch should still not go into emacs-25,
> perhaps there should be a note in PROBLEMS, since motion commands in
> general accept a numeric prefix and someone who successfully used
> rectangle-mark-mode that way in 24.5 will naturally assume it works in
> 25.1 and be surprised when Emacs hangs.
What do others think? John?
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 7:01 ` Stephen Berman
2016-07-22 7:14 ` Eli Zaretskii
@ 2016-07-22 14:17 ` Stefan Monnier
1 sibling, 0 replies; 15+ messages in thread
From: Stefan Monnier @ 2016-07-22 14:17 UTC (permalink / raw)
To: Stephen Berman; +Cc: jwiegley, 23999
>> @@ -644,7 +644,7 @@ rectangle--*-char
>> (curcol (current-column))
>> (nextcol
>> (condition-case nil
>> - (save-excursion
>> + (progn
>> (funcall cmd 1)
>> (cond
>> ((> bol (point)) (- curcol 1))
Hmm... this function is quite messy. Using `progn' here make it even
more messy (e.g. what happens when you jump over some TAB among the
N movements).
My impression is that the whole `save-excursion' thingy should be moved
out of the while loop. And actually there probably shouldn't be any
such loop at all: we should just do +n or -n directly.
Stefan
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-15 22:25 bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f' N. Jackson
2016-07-16 10:24 ` Stephen Berman
2016-07-20 17:19 ` Kaushal Modi
@ 2016-07-22 23:25 ` Kaushal Modi
2016-07-23 7:35 ` Eli Zaretskii
2017-12-19 19:44 ` Charles A. Roelli
3 siblings, 1 reply; 15+ messages in thread
From: Kaushal Modi @ 2016-07-22 23:25 UTC (permalink / raw)
To: 23999@debbugs.gnu.org, Eli Zaretskii
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
> Eli
> I'd appreciate if people who think some bug needs to block the release
asked for my and John's agreement first.
Will do so. Odd, I did not receive any of the communication followed on
that thread even though I had marked it as a blocker and also had replied
to it.
How do I ensure that I always get emails for a debbugs once I have replied
to it?
I had happened to bookmark this debbugs and visited it just now to see if
anyone had a chance to review it.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 729 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-22 23:25 ` Kaushal Modi
@ 2016-07-23 7:35 ` Eli Zaretskii
0 siblings, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2016-07-23 7:35 UTC (permalink / raw)
To: Kaushal Modi; +Cc: 23999
> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Fri, 22 Jul 2016 23:25:25 +0000
>
> How do I ensure that I always get emails for a debbugs once I have replied to it?
You can't. The only way is to subscribe to the bug-gnu-emacs mailing
list.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2016-07-15 22:25 bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f' N. Jackson
` (2 preceding siblings ...)
2016-07-22 23:25 ` Kaushal Modi
@ 2017-12-19 19:44 ` Charles A. Roelli
2017-12-19 21:55 ` N. Jackson
3 siblings, 1 reply; 15+ messages in thread
From: Charles A. Roelli @ 2017-12-19 19:44 UTC (permalink / raw)
To: N. Jackson; +Cc: 23999-done
> From: nljlistbox2@gmail.com (N. Jackson)
> Date: Fri, 15 Jul 2016 19:25:52 -0300
>
> emacs -Q
> C-<home> ; Go to top left corner of scratch buffer.
> C-x <SPC> ; Start a rectangular selection.
> C-3 C-f ; Extend the selection to the right by 3 characters.
>
> Expected result: Emacs creates a rectangular selection one character
> high and three characters wide.
>
> Actual result: Emacs hangs. (C-g quits.)
>
> With debug-on-quit on, I then get:
>
> Debugger entered--Lisp error: (quit)
> rectangle--*-char(forward-char 3 backward-char)
> rectangle-forward-char(3)
> funcall-interactively(rectangle-forward-char 3)
> call-interactively(rectangle-forward-char nil nil)
> command-execute(rectangle-forward-char)
>
> On the other hand, the following recipe works as expected:
>
> emacs -Q
> C-<home> ; Go to top left corner of scratch buffer.
> C-x <SPC> ; Start a rectangular selection.
> C-f C-f C-f ; Extend the selection to the right by 3 characters.
>
> Note 1: The exact position in the scratch buffer seems to be unimportant.
>
> Note 2: `C-n' with a numeric prefix argument seems to work fine to extend
> the rectangular region downwards.
>
> Note 3: I see this with the Emacs 25.0.95 pre-test tarball [and with the
> 25.0.90 pre-test for that matter]. The problem is still present in the
> Emacs 25 branch as of earlier this afternoon. I do not see the problem
> with Emacs 24.5.
>
> Please let me know if any further information is required. Thanks.
>
>
> In GNU Emacs 25.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9)
> of 2016-07-15 built on moondust
> Repository revision: 916abe91fd250fc5ed27ec0be7d57421e7908111
> Windowing system distributor 'Fedora Project', version 11.0.11803000
> System Description: Fedora release 23 (Twenty Three)
>
> Configured using:
> 'configure --prefix=/home/nlj/local/ --enable-checking=yes,glyphs
> --enable-check-lisp-object-type 'CFLAGS=-O2 -g3 -gdwarf-4''
>
> Configured features:
> XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
> ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
> TOOLKIT_SCROLL_BARS GTK3 X11
>
> Important settings:
> value of $LC_MONETARY: en_DK.utf8
> value of $LC_NUMERIC: en_DK.utf8
> value of $LC_TIME: en_DK.utf8
> value of $LANG: en_CA.UTF-8
> value of $XMODIFIERS: @im=ibus
> locale-coding-system: utf-8-unix
It's fixed since the fix for Bug#25773 (duplicate of this one) was
pushed.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f'
2017-12-19 19:44 ` Charles A. Roelli
@ 2017-12-19 21:55 ` N. Jackson
0 siblings, 0 replies; 15+ messages in thread
From: N. Jackson @ 2017-12-19 21:55 UTC (permalink / raw)
To: Charles A. Roelli; +Cc: 23999
At 20:44 +0100 on Tuesday 2017-12-19, Charles A. Roelli wrote:
>
> It's fixed since the fix for Bug#25773 (duplicate of this one) was
> pushed.
Yup, seems to work fine in Emacs 26.0.90 pretest.
Thanks for noticing the duplicate and for tidying it up / closing it.
N.
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-12-19 21:55 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15 22:25 bug#23999: 25.0.95; Emacs hangs in rectangle-mark-mode with numeric prefix argument to `C-f' N. Jackson
2016-07-16 10:24 ` Stephen Berman
2016-07-22 7:01 ` Stephen Berman
2016-07-22 7:14 ` Eli Zaretskii
2016-07-22 7:25 ` Stephen Berman
2016-07-22 9:31 ` Eli Zaretskii
2016-07-22 11:19 ` Stephen Berman
2016-07-22 11:21 ` Stephen Berman
2016-07-22 13:27 ` Eli Zaretskii
2016-07-22 14:17 ` Stefan Monnier
2016-07-20 17:19 ` Kaushal Modi
2016-07-22 23:25 ` Kaushal Modi
2016-07-23 7:35 ` Eli Zaretskii
2017-12-19 19:44 ` Charles A. Roelli
2017-12-19 21:55 ` N. Jackson
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.