GNU bug report logs - #79393
[PATCH] ; (read-string-from-buffer): Fix thinko and typo.

Previous Next

Package: emacs;

Reported by: Eshel Yaron <me <at> eshelyaron.com>

Date: Sat, 6 Sep 2025 08:23:02 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eshel Yaron <me <at> eshelyaron.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] ; (read-string-from-buffer): Fix thinko and typo.
Date: Sat, 06 Sep 2025 10:22:20 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

This patch fixes an apparent thinko in read-string-from-buffer, which
causes the function to return the input string when the user aborts the
edit with C-c C-k, instead of actually aborting.  :/

Note that this bug could be caught by simple unreachable code analysis,
as requested in Bug#73526.  In particular, exit-recursive-edit and
friends only make sense in tail positions, since they never return.

[0001-read-string-from-buffer-Fix-thinko-and-typo.patch (text/patch, attachment)]

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.