GNU bug report logs - #60638
`eval-print-last-sexp` fail to recognize `'##`

Previous Next

Package: emacs;

Reported by: Xie Shynur <one.last.kiss <at> outlook.com>

Date: Sun, 8 Jan 2023 01:23:02 UTC

Severity: normal

To reply to this bug, email your comments to 60638 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#60638; Package emacs. (Sun, 08 Jan 2023 01:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xie Shynur <one.last.kiss <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 08 Jan 2023 01:23:02 GMT) Full text and rfc822 format available.

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

From: Xie Shynur <one.last.kiss <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: `eval-print-last-sexp` fail to recognize `'##`
Date: Sat, 7 Jan 2023 16:19:10 +0000
in GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13:

Switch buffer to *scratch* and type "233 <RET> '## <RET>", like:

```
233 
 '## 
```

Then `C-j`, the command `eval-print-last-sexp` will eval "233" BUT "'##".

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60638; Package emacs. (Sun, 08 Jan 2023 05:57:02 GMT) Full text and rfc822 format available.

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

From: Ruijie Yu <ruijie <at> netyu.xyz>
To: Xie Shynur <one.last.kiss <at> outlook.com>
Cc: bug-gnu-emacs <at> gnu.org, 60638 <at> debbugs.gnu.org
Subject: Re: bug#60638: `eval-print-last-sexp` fail to recognize `'##`
Date: Sat, 07 Jan 2023 23:53:41 -0600
Xie Shynur <one.last.kiss <at> outlook.com> writes:

> in GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13:
>
> Switch buffer to *scratch* and type "233 <RET> '## <RET>", like:
>
> ```
> 233
>  '##
> ```
>
> Then `C-j`, the command `eval-print-last-sexp` will eval "233" BUT "'##".

Confirmed on 28.2, apparently fixed on 29 (see my version below).

In GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6)
 of 2023-01-05 built on fw.net.yu
Windowing system distributor 'The X.Org Foundation', version 11.0.12201007
System Description: Arch Linux

In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.17.6) of 2023-01-05 built on ruijie
Repository revision: 8a18369afdc3a873881e7b19b75e94ca96791c84
Repository branch: makepkg
System Description: Arch Linux

Best,


RY




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60638; Package emacs. (Sun, 08 Jan 2023 05:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60638; Package emacs. (Sun, 08 Jan 2023 16:31:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Ruijie Yu <ruijie <at> netyu.xyz>, Xie Shynur <one.last.kiss <at> outlook.com>
Cc: "60638 <at> debbugs.gnu.org" <60638 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#60638: `eval-print-last-sexp` fail to recognize
 `'##`
Date: Sun, 8 Jan 2023 16:30:27 +0000
> Confirmed on 28.2, apparently fixed on 29

FWIW, I see the same thing (bug) all the way
back to Emacs 20.




This bug report was last modified 1 year and 101 days ago.

Previous Next


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