From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 17:03:18 2015 Received: (at submit) by debbugs.gnu.org; 3 Aug 2015 21:03:18 +0000 Received: from localhost ([127.0.0.1]:38667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMMtB-0005ZO-Le for submit@debbugs.gnu.org; Mon, 03 Aug 2015 17:03:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34932) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMMq8-0005Tv-Vl for submit@debbugs.gnu.org; Mon, 03 Aug 2015 17:00:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMMq7-0004j9-8e for submit@debbugs.gnu.org; Mon, 03 Aug 2015 17:00:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMq7-0004iv-6f for submit@debbugs.gnu.org; Mon, 03 Aug 2015 17:00:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMq5-0005vY-UW for bug-auctex@gnu.org; Mon, 03 Aug 2015 17:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMMpx-0004WG-G4 for bug-auctex@gnu.org; Mon, 03 Aug 2015 17:00:05 -0400 Received: from mail-db3on0078.outbound.protection.outlook.com ([157.55.234.78]:58688 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMpx-0004Uy-6Y for bug-auctex@gnu.org; Mon, 03 Aug 2015 16:59:57 -0400 Received: from AM3PR01MB0391.eurprd01.prod.exchangelabs.com (10.141.47.27) by AM3PR01MB0391.eurprd01.prod.exchangelabs.com (10.141.47.27) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 3 Aug 2015 20:28:09 +0000 Received: from AM3PR01MB0391.eurprd01.prod.exchangelabs.com ([10.141.47.27]) by AM3PR01MB0391.eurprd01.prod.exchangelabs.com ([10.141.47.27]) with mapi id 15.01.0225.018; Mon, 3 Aug 2015 20:28:09 +0000 From: "Ortner, Christoph" To: "bug-auctex@gnu.org" Subject: 11.88; Wrap line break references to labels Thread-Topic: 11.88; Wrap line break references to labels Thread-Index: AQHQzirp8PGanZqYqkyHPNqkdsbmGg== Date: Mon, 3 Aug 2015 20:28:09 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=C.Ortner@warwick.ac.uk; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [174.1.92.123] x-microsoft-exchange-diagnostics: 1; AM3PR01MB0391; 5:Od+3HU+/MbNf02lmAk2/9tXtPQPxOhFxK4cciZMZX4mhDGMfzLy/FvfERPDiA1ghCVxxQ3BwZOTnKJeF60IF6eP3KTaF0m0E5IoH1D4slNiHDqfwCBeP40QxcItBS8uflMuUQqU62XNEPsx/ynh4jQ==; 24:wGTEeMxBfWGFwpv5YtZKwUcvN+7CLOfFiLStCnVL1yDfO0S8RK44fZPpsj3zH00SZN2v5VqrBhsLcP5qT6c02LU4xTkHOnTwMmz+dD/6lWk=; 20:oP/+Bje8prDUrECufTRk47EJ6QI5kJgnNJK5S6OqOBrgcngB/BD3dSy6VAq1aoj/atYzwNK6Ck/Oa0/XCNZmFw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR01MB0391; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:AM3PR01MB0391; BCL:0; PCL:0; RULEID:; SRVR:AM3PR01MB0391; x-forefront-prvs: 0657D528EC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377424004)(189002)(199003)(92566002)(33656002)(87936001)(66066001)(68736005)(101416001)(2656002)(64706001)(19580395003)(74482002)(77096005)(2900100001)(46102003)(15975445007)(82746002)(102836002)(83716003)(86362001)(106356001)(106116001)(54356999)(81156007)(105586002)(50986999)(4001540100001)(5001830100001)(450100001)(2501003)(5001860100001)(189998001)(5002640100001)(229853001)(4001150100001)(97736004)(2351001)(62966003)(110136002)(122556002)(77156002)(40100003)(5001960100002)(107886002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR01MB0391; H:AM3PR01MB0391.eurprd01.prod.exchangelabs.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: warwick.ac.uk does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: warwick.ac.uk X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2015 20:28:09.8014 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 09bacfbd-47ef-4465-9265-3546f2eaf6bc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR01MB0391 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 03 Aug 2015 17:03:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Remember to cover the basics, that is, what you expected to happen and what in fact did happen. Be sure to consult the FAQ section in the manual before submitting a bug report. In addition check if the bug is reproducable with an up-to-date version of AUCTeX. So please upgrade to the version available from http://www.gnu.org/software/auctex/ if your installation is older than the one available from the web site. If the bug is triggered by a specific (La)TeX file, you should try to produce a minimal sample file showing the problem and include it in your report. Your report will be posted for the auctex package at the GNU bug tracker. Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Dauctex to browse existing AUCTeX bugs. ------------------------------------------------------------------------ If I do automatic line wrap in paragraphs with latex labels, e.g., \ref{eq:a long descriptive label} then it will often be separated into two lines, and the reference breaks. Same problem with labels themselves in fact. Emacs : GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, Carbon Version 157 Ap= pKit 1265.21) of 2014-10-22 on Atago.local Package: 11.88 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2014-10-29" window-system 'mac LaTeX-version "2e" TeX-style-path '("/usr/local/var/auctex" "/Users/ortner/.emacs.d/elpa/aucte= x-11.88.1/style" "/Users/ortner/.emacs.d/auctex/auto" "/Users/ortner/.emacs.d/auctex/sty= le" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master "multiscale" TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%= S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) = :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-m= ode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile ni= l (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-r= un-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec --once --texutil %(extraopts) %(execopts)%t" TeX-= run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "texexec %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue"= :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help "Generate PostScript file") ("Index" "makeindex %s" TeX-run-command nil t :help "Create index fil= e") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 17:36:38 2015 Received: (at 21183) by debbugs.gnu.org; 3 Aug 2015 21:36:38 +0000 Received: from localhost ([127.0.0.1]:38680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMNPS-0006O5-6C for submit@debbugs.gnu.org; Mon, 03 Aug 2015 17:36:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44135) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMNPQ-0006Nx-72 for 21183@debbugs.gnu.org; Mon, 03 Aug 2015 17:36:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMNPM-0003KB-HZ for 21183@debbugs.gnu.org; Mon, 03 Aug 2015 17:36:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMNPM-0003K5-EK for 21183@debbugs.gnu.org; Mon, 03 Aug 2015 17:36:32 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:35918) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZMNPL-0008C8-Sr for 21183@debbugs.gnu.org; Mon, 03 Aug 2015 17:36:32 -0400 Received: by ioeg141 with SMTP id g141so158333737ioe.3 for <21183@debbugs.gnu.org>; Mon, 03 Aug 2015 14:36:31 -0700 (PDT) X-Received: by 10.107.34.147 with SMTP id i141mr144255ioi.59.1438637791265; Mon, 03 Aug 2015 14:36:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.31.201 with HTTP; Mon, 3 Aug 2015 14:35:51 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Mon, 3 Aug 2015 23:35:51 +0200 Message-ID: Subject: Re: bug#21183: 11.88; Wrap line break references to labels To: "Ortner, Christoph" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 21183 Cc: 21183@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.2 (-----) Hi Cristoph, 2015-08-03 22:28 GMT+02:00 Ortner, Christoph : > If I do automatic line wrap in paragraphs with latex labels, e.g., > \ref{eq:a long descriptive label} > then it will often be separated into two lines, and the reference > breaks. Same problem with labels themselves in fact. This document --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} \begin{equation} \label{eq:a very long label with spaces in it} a+b=3Dc \end{equation} This is a very long paragraph with a~(\ref{eq:a very long label with spaces= in it}) \end{document} --8<---------------cut here---------------end--------------->8--- compiles fine for me, even with a line break in the ref macro. I'd suggest not to use spaces in labels at all, see also https://tex.stackexchange.com/questions/149701/are-latexs-label-names-case-= sensitive-can-label-names-contain-spaces#comment340547_149704 Anyway, you can add the ref macro (and all other ref-like macros) to the `LaTeX-verbatim-macros-with-braces-local' variable in your init file, in order to avoid breaking it: (add-to-list 'LaTeX-verbatim-macros-with-braces-local "ref") Let me know if this suffices. Bye, Mos=C3=A8 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 31 06:52:55 2015 Received: (at 21183-done) by debbugs.gnu.org; 31 Aug 2015 10:52:56 +0000 Received: from localhost ([127.0.0.1]:43462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZWMhr-0002XL-If for submit@debbugs.gnu.org; Mon, 31 Aug 2015 06:52:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38407) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZWMhp-0002XC-3V for 21183-done@debbugs.gnu.org; Mon, 31 Aug 2015 06:52:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWMhn-00053N-Fb for 21183-done@debbugs.gnu.org; Mon, 31 Aug 2015 06:52:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,BAYES_50, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:49799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWMhn-00053G-Cj for 21183-done@debbugs.gnu.org; Mon, 31 Aug 2015 06:52:51 -0400 Received: from mail-ig0-f182.google.com ([209.85.213.182]:36714) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZWMhm-00050X-MT for 21183-done@debbugs.gnu.org; Mon, 31 Aug 2015 06:52:51 -0400 Received: by igboj15 with SMTP id oj15so22573708igb.1 for <21183-done@debbugs.gnu.org>; Mon, 31 Aug 2015 03:52:49 -0700 (PDT) X-Received: by 10.50.137.100 with SMTP id qh4mr12574548igb.1.1441018369970; Mon, 31 Aug 2015 03:52:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.158.215 with HTTP; Mon, 31 Aug 2015 03:52:10 -0700 (PDT) In-Reply-To: <827D7336-F564-4A2F-99F0-6239934B59A7@live.warwick.ac.uk> References: <827D7336-F564-4A2F-99F0-6239934B59A7@live.warwick.ac.uk> From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Mon, 31 Aug 2015 12:52:10 +0200 Message-ID: Subject: Re: bug#21183: 11.88; Wrap line break references to labels To: "Ortner, Christoph" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21183-done Cc: 21183-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Hi Christop, 2015-08-31 11:39 GMT+02:00 Ortner, Christoph : > sorry for the late response. Yes, thank you, this clarifies everything! Thanks for reporting back, I'm closing this ticket. Bye, Mos=C3=A8 From unknown Sun Aug 10 20:05:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Sep 2015 11:24:04 +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