unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 37134@debbugs.gnu.org
Subject: bug#37134: 27.0.50; in LaTeX mode, font-lock / bracket matching on \url behaves incorrectly
Date: Wed, 30 Oct 2019 21:07:40 +0100	[thread overview]
Message-ID: <877e4mov3n.fsf@gnus.org> (raw)
In-Reply-To: <87tvaa4jeh.fsf@vinc17.net> (Vincent Lefevre's message of "Wed, 21 Aug 2019 17:39:50 +0200")

Vincent Lefevre <vincent@vinc17.net> writes:

> The "%" character is sometimes use in URL's, thus in \url as a real
> character, but the LaTeX mode thinks that's beginning a comment: %
> and the following characters in the line are colorized as a comment,
> and } isn't seen as a closing bracket. Example:
>
>   \url{http://localhost/#foo%20bar}

I've now sort of fixed this in Emacs 27 -- the "}" character still has
the wrong face, but the rest has the correct tex-verbatim face.

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





      reply	other threads:[~2019-10-30 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21 15:39 bug#37134: 27.0.50; in LaTeX mode, font-lock / bracket matching on \url behaves incorrectly Vincent Lefevre
2019-10-30 20:07 ` Lars Ingebrigtsen [this message]

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=877e4mov3n.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=37134@debbugs.gnu.org \
    --cc=vincent@vinc17.net \
    /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).