GNU bug report logs - #26327
25.1; electric-pair-syntax-info unaware of syntax-table property

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sat, 1 Apr 2017 07:43:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.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: Leo Liu <sdl.web <at> gmail.com>
Cc: 26327 <at> debbugs.gnu.org
Subject: bug#26327: 25.1; electric-pair-syntax-info unaware of syntax-table property
Date: Wed, 02 Dec 2020 11:00:16 +0100
Leo Liu <sdl.web <at> gmail.com> writes:

> I can't remember what I had in mind at that time.
>
> But I imagine if ` and ' have word syntax but `` and '' are
> syntax-propertized to behave like matching parentheses, then function
> syntax-table is not the correct way to access syntax info.
>
> The issue is not specific to elec-pair. Any program that needs to get
> the syntax of the char at point needs to check the syntax-table property
> first and then check (syntax-table).

It's a bit abstract -- unless we have a concrete case to look at, it's
unlikely that there'll be any progress on this issue.

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




This bug report was last modified 4 years and 182 days ago.

Previous Next


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