GNU bug report logs - #27295
11.90.2; font lock for \autocites

Previous Next

Package: auctex;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Fri, 9 Jun 2017 09:18:01 UTC

Severity: normal

Tags: wontfix

Found in version 11.90.2

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 27295 <at> debbugs.gnu.org
Subject: bug#27295: 11.90.2; font lock for \autocites
Date: Sun, 11 Jun 2017 21:01:00 +0200
Alex Branham <alex.branham <at> gmail.com> writes:

> I was hoping that something like this could be used:
> https://fuco1.github.io/2017-06-01-The-absolute-awesomeness-of-anchored-font-lock-matchers.html
>
> Setting the limit might be tricky though. I guess it could be the
> first close brace with a space or \ after it --- "} " or "}\",
> perhaps?

AUCTeX usually fontifies a fixed number of arguments, check here for how
[Aa]utocites are coded [1].  I'm not sure if it possible to change this
behavior without bigger surgery in font-latex.el.  OTOH, patches are
always welcome :-)

Best, Arash

Footnotes: 
[1]  http://git.savannah.gnu.org/cgit/auctex.git/tree/font-latex.el#n321




This bug report was last modified 1 year and 136 days ago.

Previous Next


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