From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 08 19:04:52 2019 Received: (at submit) by debbugs.gnu.org; 9 Mar 2019 00:04:52 +0000 Received: from localhost ([127.0.0.1]:36841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2PTv-0004VW-OF for submit@debbugs.gnu.org; Fri, 08 Mar 2019 19:04:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2OKp-0002pk-IY for submit@debbugs.gnu.org; Fri, 08 Mar 2019 17:51:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:45216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2OKk-0000BG-75 for submit@debbugs.gnu.org; Fri, 08 Mar 2019 17:51:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2OKj-0002K0-7Q for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 17:51:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2OKg-0008Lf-GY for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 17:51:16 -0500 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:40614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2OKa-0007pI-VQ for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 17:51:10 -0500 Received: by mail-lf1-x12f.google.com with SMTP id a8so15382683lfi.7 for ; Fri, 08 Mar 2019 14:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=I/mj7S9OLT23Z7j0asqtU46ckt0gKpP6y2yDo0H9wfc=; b=d4XdANhO+3UTZ5/UQtoa5WN+665dCr9ju1CXNLOZ39qYqsnBDCqUW6StcUTIz/hbN/ JKZrXwf4edPT0wWVaAWRHNFNKELfTKCSn25e4f4G3umBqj6hezvkoKAJ1GupoxyDF9eS pha58FpaX3alwPWge7ku5X9AdES5StqPRnV/sCD5W6HWOFoAnijQKKDWH63D1CvmTgYt wNj3zNqQOdpEBqxhtn03sdVWbaR7ey/4Darfp3ygRbQEHdzezTHRqWtd1shizB/TEWys bJtL2DuVId2/89Md8eadK1QPqL8Xu75nX6vKU+zyRCNQhCTnCUM27hvShE/0gs5zVtbc rrjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=I/mj7S9OLT23Z7j0asqtU46ckt0gKpP6y2yDo0H9wfc=; b=IhfFUAJ4p23jn+ubjYUyzFI+/4C0MEg96Q8n8xkqXu8omtM2WpEye6HA0B9Rys+mDN 8qpUEiu+lORVDWCMsPOkPYZuNpafkQzCbaBgbpGsVNqESLhVsPDkC8cu4bDIPxDCsVLo 6nwzC3lJxl7HNC+4j4n8osTJznEt10dXP/OS2zyfo+3qmyYP5sl9dfq4SIVHCus+PSEm lkw0imavBWdb9EiPrV+UWaSZLWbmM8358b+TTDbEUnm5g1GgykPGwCXMeiPf5VOtgmCF 66QVfYGJSFKahukmHzGxO6AzUcAy3yPuG1eidHfSpdyzQC5CVkyhO0T8ypKXBk0LpGYy vH3A== X-Gm-Message-State: APjAAAVfXAF/TaNHFdSS1LGW7vXsg8TeBzc45Q5CFZb+TVrRADQorkpI ZhXnHwng0YXng1m4ExDWhACVBVua X-Google-Smtp-Source: APXvYqwX9F3/TZk8ewF6eXoHQEIAynczZgZMV5Wk53OW+MbQg5/NenzOcFYW9YZBy4VciPS527LvcA== X-Received: by 2002:a19:27c2:: with SMTP id n185mr592320lfn.142.1552085464274; Fri, 08 Mar 2019 14:51:04 -0800 (PST) Received: from [192.168.1.146] (h-155-4-135-204.NA.cust.bahnhof.se. [155.4.135.204]) by smtp.gmail.com with ESMTPSA id n25sm1705285lfe.70.2019.03.08.14.51.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 14:51:03 -0800 (PST) To: bug-gnu-emacs@gnu.org From: Nathan Ullberg Subject: LaTeX mode \href bug Message-ID: Date: Fri, 8 Mar 2019 23:51:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------CA5C8C5A738A5A078C079E6C" Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::12f X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 08 Mar 2019 19:04:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------CA5C8C5A738A5A078C079E6C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 --------------CA5C8C5A738A5A078C079E6C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

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

--------------CA5C8C5A738A5A078C079E6C-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 16 17:42:32 2019 Received: (at 34790) by debbugs.gnu.org; 16 Mar 2019 21:42:32 +0000 Received: from localhost ([127.0.0.1]:46779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h5H4a-0001js-5I for submit@debbugs.gnu.org; Sat, 16 Mar 2019 17:42:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h5H4Y-0001jh-6B for 34790@debbugs.gnu.org; Sat, 16 Mar 2019 17:42:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5H4R-0001f4-1c; Sat, 16 Mar 2019 17:42:24 -0400 Received: from p4fe3e6e0.dip0.t-ipconnect.de ([79.227.230.224]:50382 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1h5H4Q-0007SE-Fz; Sat, 16 Mar 2019 17:42:22 -0400 From: Arash Esbati To: Nathan Ullberg Subject: Re: bug#34790: LaTeX mode \href bug References: Date: Sat, 16 Mar 2019 22:41:09 +0100 In-Reply-To: (Nathan Ullberg's message of "Fri, 8 Mar 2019 23:51:02 +0100") Message-ID: <86y35eijka.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34790 Cc: 34790@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nathan Ullberg writes: > I am sorry if this is the wrong place to report this but: Hi Nathan, I presume you're using AUCTeX. In that case, the correct list is bug-auctex@gnu.org. > 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. 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)) Best, Arash Footnotes: [1] http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=fcaef6bab89e6a629d60f1b43038a2433e34fbd5 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 01 15:22:11 2019 Received: (at 34790-done) by debbugs.gnu.org; 1 Apr 2019 19:22:11 +0000 Received: from localhost ([127.0.0.1]:39906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB2VV-0001SE-Ba for submit@debbugs.gnu.org; Mon, 01 Apr 2019 15:22:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB2VT-0001Rv-5m for 34790-done@debbugs.gnu.org; Mon, 01 Apr 2019 15:22:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hB2VO-0001Qz-0E for 34790-done@debbugs.gnu.org; Mon, 01 Apr 2019 15:22:02 -0400 Received: from p5b326365.dip0.t-ipconnect.de ([91.50.99.101]:52569 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hB2VN-0002Hi-Dr for 34790-done@debbugs.gnu.org; Mon, 01 Apr 2019 15:22:01 -0400 From: Arash Esbati To: 34790-done@debbugs.gnu.org Subject: Re: bug#34790: LaTeX mode \href bug References: <86y35eijka.fsf@gmail.com> Date: Mon, 01 Apr 2019 21:15:26 +0200 In-Reply-To: <86y35eijka.fsf@gmail.com> (Arash Esbati's message of "Sat, 16 Mar 2019 22:41:09 +0100") Message-ID: <86sgv14jw1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34790-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arash Esbati 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 From unknown Mon Aug 18 04:43:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 Apr 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator