unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Yuu Yin <yuuyin@protonmail.com>
Cc: 50202@debbugs.gnu.org, Roland Winkler <winkler@gnu.org>
Subject: bug#50202: bibtex-mode: unescaped dollar sign in file field leads to wrong highlighting
Date: Mon, 22 Aug 2022 16:33:00 +0200	[thread overview]
Message-ID: <87mtbw4acj.fsf@gnus.org> (raw)
In-Reply-To: <aYcRFLlTWE3wlykMuisF6RzJx97MPX24ZeKYaqLbATg-xUNN2v3ETa7DgQoTbtCQ3MM0-3EPMpyzU0XiJbzkZJxTQpUyucfPYf0zbt0Tx68=@protonmail.com> (Yuu Yin's message of "Wed, 25 Aug 2021 17:48:39 +0000")

Yuu Yin <yuuyin@protonmail.com> writes:

> - bibtex-mode enabled,
> - and a BibTeX entry which has as value for file field a path that has dollar sign ~
> /path/to/file $ name.ext~
>
> bibtex-mode doesn't recognizes that the dollar sign is verbatim for the file field,
> leading to wrong highlighting.

This behaviour is still present in Emacs 29.  Perhaps Roland has some
comments; added to the CCs.





  reply	other threads:[~2022-08-22 14:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 17:48 bug#50202: bibtex-mode: unescaped dollar sign in file field leads to wrong highlighting Yuu Yin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-22 14:33 ` Lars Ingebrigtsen [this message]
2022-08-25  2:58   ` Roland Winkler
2022-08-25 12:52     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-25 16:36       ` Roland Winkler
2022-08-25 17:41         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26 15:52           ` Roland Winkler
2022-08-26 19:00             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-29 15:19               ` Roland Winkler
2022-12-30  5:49                 ` Roland Winkler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtbw4acj.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50202@debbugs.gnu.org \
    --cc=winkler@gnu.org \
    --cc=yuuyin@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).