GNU bug report logs - #40375
27.0.50; yank unexpectedly depends on progn

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Wed, 1 Apr 2020 16:15:02 UTC

Severity: normal

Tags: unreproducible

Found in version 27.0.50

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Markus Triska <triska <at> metalevel.at>
Cc: 40375 <at> debbugs.gnu.org
Subject: bug#40375: 27.0.50; yank unexpectedly depends on progn
Date: Wed, 01 Apr 2020 12:57:28 -0400
Markus Triska <triska <at> metalevel.at> writes:


>     $ emacs -Q yank.el --eval='(eval-buffer)'

A simpler reproducer is

    (erase-buffer)
    (message "hello")

will print nothing, whereas

    (progn (erase-buffer)
           (message "hello"))

prints "hello".  The problem is the first case erases the code which
calls message before it is read in.




This bug report was last modified 5 years and 38 days ago.

Previous Next


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