unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38642: 'C-x RET c' gets stuck in universal-argument loop
@ 2019-12-16 21:56 Juri Linkov
  2019-12-16 23:07 ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2019-12-16 21:56 UTC (permalink / raw)
  To: 38642

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.





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

end of thread, other threads:[~2020-01-20 17:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-16 21:56 bug#38642: 'C-x RET c' gets stuck in universal-argument loop Juri Linkov
2019-12-16 23:07 ` Andreas Schwab
2019-12-17 16:11   ` Eli Zaretskii
2019-12-20 22:52     ` Stefan Monnier
2019-12-21  7:10       ` Eli Zaretskii
2019-12-23 21:09         ` Stefan Monnier
2020-01-19 22:11         ` Stefan Monnier
2020-01-20 16:24           ` Eli Zaretskii
2020-01-20 17:01             ` Stefan Monnier

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