emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38642: closed ('C-x RET c' gets stuck in universal-argument loop)


From: GNU bug Tracking System
Subject: bug#38642: closed ('C-x RET c' gets stuck in universal-argument loop)
Date: Fri, 20 Dec 2019 22:53:01 +0000

Your message dated Fri, 20 Dec 2019 17:52:17 -0500
with message-id <address@hidden>
and subject line Re: bug#38642: 'C-x RET c' gets stuck in universal-argument 
loop
has caused the debbugs.gnu.org bug report #38642,
regarding 'C-x RET c' gets stuck in universal-argument loop
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
38642: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38642
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 'C-x RET c' gets stuck in universal-argument loop Date: Mon, 16 Dec 2019 23:56:08 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
emacs -Q
C-x RET c       ;; universal-coding-system-argument
RET             ;; accept default e.g. utf-8-unix
C-u C-b         ;; moves backwards 4 chars
C-b C-b C-b ...

Every C-b still moves backwards 4 chars because it gets stuck with an old
'prefix-arg' in the 'while' loop in 'universal-coding-system-argument'.

It gets out of this loop only on an error such as when point reaches
the beginning of the buffer that signals an error.

PS: this is the simplest reproducible case, but I found this bug
by trying to use 'C-x RET c C-u C-u M-x rgrep' that with two C-u prefixes
allows editing the grep command.



--- End Message ---
--- Begin Message --- Subject: Re: bug#38642: 'C-x RET c' gets stuck in universal-argument loop Date: Fri, 20 Dec 2019 17:52:17 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
> Stefan, any ideas for how to fix this unintended consequence?

I installed a patch which seems to fix it.  We should rewrite this
function completely, but I tried to minimize the changes for now.


        Stefan



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]