all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>, Juri Linkov <juri@linkov.net>
Cc: lars@matholka.se, 45029@debbugs.gnu.org
Subject: bug#45029: 27.1.50; Regression: Yanking into externally modified file with delete-selection-mode
Date: Sat, 05 Dec 2020 13:31:45 +0200	[thread overview]
Message-ID: <83a6uscwv2.fsf@gnu.org> (raw)
In-Reply-To: <87360lnabu.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri,  04 Dec 2020 11:18:29 +0100)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 04 Dec 2020 11:18:29 +0100
> Cc: 45029@debbugs.gnu.org
> 
> Lars Ljung <lars@matholka.se> writes:
> 
> > I get an error when I do this, and the content of the buffer is
> > completely replaced by a single "y".
> >
> > 1. Start with "emacs -Q"
> > 2. M-x delete-selection-mode
> > 3. Open some text file (fundamental mode)
> > 4. Modify the file externally
> > 5. While a selection is active, yank some text
> > 6. Answer yes to the question "<file> changed on disk..."
> >
> > The content of the buffer is now completely replaced by a single "y".
> > The message "No catch for tag: exit, nil" is shown in the minibuffer.
> 
> I can confirm that this bug is still present in Emacs 28.
> 
> The backtrace is included below, if that helps anybody.
> 
> Debugger entered--Lisp error: (no-catch exit nil)
>   throw(exit nil)
>   exit-minibuffer()
>   read-char-from-minibuffer-insert-char()
>   funcall-interactively(read-char-from-minibuffer-insert-char)
>   call-interactively(read-char-from-minibuffer-insert-char nil nil)
>   command-execute(read-char-from-minibuffer-insert-char)

I'm guessing this is some unintended consequence of replacing
read-char-choice in userlock.el with read-char-from-minibuffer.

Juri, could you please look into this regression in Emacs 27?  I'd
like to try to fix this for 27.2.

Thanks.





  reply	other threads:[~2020-12-05 11:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 20:10 bug#45029: 27.1.50; Regression: Yanking into externally modified file with delete-selection-mode Lars Ljung
2020-12-04 10:18 ` Lars Ingebrigtsen
2020-12-05 11:31   ` Eli Zaretskii [this message]
2020-12-05 19:42     ` Juri Linkov
2020-12-05 20:04       ` Eli Zaretskii
2020-12-06 21:12       ` Juri Linkov
2020-12-07  3:27         ` Eli Zaretskii
     [not found]       ` <jwv8r9aj7u3.fsf-monnier+emacs@gnu.org>
2023-09-13 17:59         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-14  6:39           ` Juri Linkov
2023-09-14 13:44             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-15  6:36               ` Juri Linkov
2023-09-15 13:17                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-15 16:06                   ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a6uscwv2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=45029@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=lars@matholka.se \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.