bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37653: 26.3; edbug backquoted dot is space sensitive


From: Lars Ingebrigtsen
Subject: bug#37653: 26.3; edbug backquoted dot is space sensitive
Date: Sat, 21 May 2022 14:13:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Andreas Schwab <schwab@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]