GNU bug report logs - #34790
LaTeX mode \href bug

Previous Next

Package: emacs;

Reported by: Nathan Ullberg <nathan.ullberg <at> gmail.com>

Date: Sat, 9 Mar 2019 00:05:01 UTC

Severity: normal

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nathan Ullberg <nathan.ullberg <at> gmail.com>
Subject: bug#34790: closed (Re: bug#34790: LaTeX mode \href bug)
Date: Mon, 01 Apr 2019 19:23:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#34790: LaTeX mode \href bug

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 34790 <at> debbugs.gnu.org.

-- 
34790: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34790
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: 34790-done <at> debbugs.gnu.org
Subject: Re: bug#34790: LaTeX mode \href bug
Date: Mon, 01 Apr 2019 21:15:26 +0200
Arash Esbati <arash <at> gnu.org> writes:

> Thanks for catching this.  I've added to patch to hyperref.el fixing
> this issue[1].  As an intermediate solution, you can add the following
> lines to your init file until the next release of AUCTeX:
>
>     (with-eval-after-load "hyperref"
>       (add-to-list 'LaTeX-verbatim-macros-with-braces-local "href")
>       (font-latex-update-font-lock t))

Following up myself, this was an AUCTeX issue which is resolved.  Hence
I'm closing this report.

Best, Arash

[Message part 3 (message/rfc822, inline)]
From: Nathan Ullberg <nathan.ullberg <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: LaTeX mode \href bug
Date: Fri, 8 Mar 2019 23:51:02 +0100
[Message part 4 (text/plain, inline)]
Hi!

I am sorry if this is the wrong place to report this but:

When editing in LaTeX mode in Emacs, if an href link has a percent sign, 
it will display the rest of the line as if it were a comment.
Everything still "compiles" correctly, but in terms of the "visual 
effect", it is wrong, since percent signs in the link should not give 
the impression of "commenting out" the rest of the line.
Here is an example:

This is what actually happens:
*\href{https://en.wikipedia.org/wiki/Wigner%E2%80%93Seitz_cell}{Wigner-Seitz 
cell}*

This is how it should be:
*\href{https://en.wikipedia.org/wiki/Wigner%E2%80%93Seitz_cell}{Wigner-Seitz 
cell}*

Could someone forward this report/query to the right location...
(Also, in case it's relevant I'm using Emacs 25.2.2 on Ubuntu 18.04.2 
GNU/Linux.)

Best,
/Nathan

[Message part 5 (text/html, inline)]

This bug report was last modified 6 years and 111 days ago.

Previous Next


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