GNU bug report logs - #24739
25.1; conf-mode can't handle non escaped single quotes

Previous Next

Package: emacs;

Reported by: Diego Berrocal <cestdiego <at> gmail.com>

Date: Wed, 19 Oct 2016 16:39:02 UTC

Severity: minor

Tags: confirmed

Found in version 25.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 24739 <at> debbugs.gnu.org, Diego Berrocal <cestdiego <at> gmail.com>
Subject: Re: bug#24739: 25.1; conf-mode can't handle non escaped single quotes
Date: Sat, 27 Jul 2019 12:53:18 -0400
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> firstProperty=Hi I'm Diego
>> secondProperty=I have a stringquote style.

> No font-lock-string-face in sight, and there's no mention of it in the
> file.  So is this some general font-lock thing that's configured
> somewhere else?  Anybody know how this stuff works?

font-lock-string-face comes from font-lock-syntactic-face-function,
because ' has string delimiter syntax in conf-mode (see
conf-mode-syntax-table).  I think it should be possible to make a
syntax-propertize rule that catches unmatched quotes and sets them to
punctuation syntax.  We do something similar in sgml-syntax-propertize.





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

Previous Next


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