GNU bug report logs - #24173
25.1.50; Surprising highlighting of "\[\]" in emacs-lisp-mode

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Sun, 7 Aug 2016 00:52:02 UTC

Severity: minor

Tags: notabug

Found in version 25.1.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: npostavs <at> users.sourceforge.net
To: control <at> debbugs.gnu.org
Subject: Re: bug#24173: 25.1.50;
 Surprising highlighting of "\[\]" in emacs-lisp-mode
Date: Tue, 16 Aug 2016 21:36:41 -0400
tags 24173 notabug
close 24173
quit

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Clément Pit--Claudel <clement.pit <at> gmail.com>
>> Date: Sun, 7 Aug 2016 05:27:06 -0400
>> Cc: Andreas Schwab <schwab <at> linux-m68k.org>
>> 
>> Should this regexp be conditional on being in a docstring?
>
> But then the likes of the following will not be font-locked as you'd
> expect:
>
>     (message "%s" (substitute-command-keys "Type \\[calc] to return to the Calculator")))
>
> IOW, the doc strings are not the only place where we want this.  OTOH,
> the probability of having a string where such constructs are used with
> no relation to substitute-command-keys is quite low.
>
>> Otherwise please feel free to close as notabug :)
>
> Yes, please do that.




This bug report was last modified 8 years and 331 days ago.

Previous Next


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