GNU bug report logs - #37653
26.3; edbug backquoted dot is space sensitive

Previous Next

Package: emacs;

Reported by: Devon Sean McCullough <Emacs-Hacker2018 <at> jovi.net>

Date: Tue, 8 Oct 2019 01:42:02 UTC

Severity: normal

Tags: moreinfo

Found in version 26.3

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Juri Linkov <juri <at> jurta.org>, Devon Sean McCullough <Emacs-Hacker2018 <at> jovi.net>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 37653 <at> debbugs.gnu.org
Subject: bug#37653: 26.3; edbug backquoted dot is space sensitive
Date: Sat, 21 May 2022 14:13:49 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Apparently the handling of ".," in the reader changed with the
> introduction of new-style backquotes.

So the code here is:

(defun edebug-next-token-class ()
[...]
  (if (and (eq (following-char) ?.)
	   (save-excursion
	     (forward-char 1)
	     (or (and (eq (aref edebug-read-syntax-table (following-char))
			  'symbol)
		      (not (= (following-char) ?\;)))
		 (memq (following-char) '(?\, ?\.)))))

So it's explicitly allowing , after . here -- but surely that's wrong?
Or are there any circumstances that reading .,<foo> leads should lead to
a valid symbol?  Juri, do you remember this?  It's from 2004.  😀

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 31 days ago.

Previous Next


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