From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 03:37:23 2016 Received: (at submit) by debbugs.gnu.org; 23 Oct 2016 07:37:23 +0000 Received: from localhost ([127.0.0.1]:47256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byDLO-0002R6-TB for submit@debbugs.gnu.org; Sun, 23 Oct 2016 03:37:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byDLN-0002Qt-79 for submit@debbugs.gnu.org; Sun, 23 Oct 2016 03:37:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byDLG-0001y7-U7 for submit@debbugs.gnu.org; Sun, 23 Oct 2016 03:37:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_50,GAPPY_SUBJECT, T_DKIM_INVALID,T_FILL_THIS_FORM_SHORT autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byDLG-0001y1-Qk for submit@debbugs.gnu.org; Sun, 23 Oct 2016 03:37:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byDLF-00040x-CL for bug-auctex@gnu.org; Sun, 23 Oct 2016 03:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byDLC-0001wk-9O for bug-auctex@gnu.org; Sun, 23 Oct 2016 03:37:13 -0400 Received: from postout1.mail.lrz.de ([129.187.255.137]:32788) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byDLB-0001sg-Of for bug-auctex@gnu.org; Sun, 23 Oct 2016 03:37:10 -0400 Received: from lxmhs51.srv.lrz.de (localhost [127.0.0.1]) by postout1.mail.lrz.de (Postfix) with ESMTP id 3t1rpL4cRGzyTF for ; Sun, 23 Oct 2016 09:36:58 +0200 (CEST) Authentication-Results: postout.lrz.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=tum.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tum.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received; s=postout; t=1477208218; bh=rG1dan9h5GYwLIfCMCe4N856L De00jNUvgkt13tTBTY=; b=j9tz+SHmzZMRjDNif6vXTZ5FGOEYb3xZKgMSdVDDo kux28VmKtUJ4MJ/EjvGs66GQKwG8X2Wya2AOV2XMf4E0cstBE2GnLtr1kFBxoLaK 2TuFMji5Ti4d29ODSddqLMclVrPfZysG1Uy06WP87CNQ/tuqwnox/gmxSzBDsdkT mQtOA94oVxPj0pN3rlPL5sURD8B1FiMwTXr0i7NGm09j/SKmuHanVfIVymXtGU8j 5HqBqnKNSjo1LC8BboZeJDndg+ED41KSjfCpK0SKVcQ5T2ZMOAZj0PNO42oF1+C0 5JT7EVExG7poE7WG1Tdx5/P64LC++ZIlaFghKkZuMoqXQ== X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs51.srv.lrz.de Received: from postout1.mail.lrz.de ([127.0.0.1]) by lxmhs51.srv.lrz.de (lxmhs51.srv.lrz.de [127.0.0.1]) (amavisd-new, port 20024) with LMTP id w19O93gQh5vY for ; Sun, 23 Oct 2016 09:36:58 +0200 (CEST) Received: from pegasus (p5DD3D76B.dip0.t-ipconnect.de [93.211.215.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by postout1.mail.lrz.de (Postfix) with ESMTPSA id 3t1rpK5hxyzyT5 for ; Sun, 23 Oct 2016 09:36:57 +0200 (CEST) From: Uwe Siart To: bug-auctex@gnu.org Subject: 11.89.6; C-c C-c misses one LaTeX run in BibTeX documents Date: Sun, 23 Oct 2016 09:36:47 +0200 Message-ID: <84bmybjz3k.fsf@tum.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: submit 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: -3.7 (---) 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. ------------------------------------------------------------------------ When I compile documents that use BibTeX by "C-c C-c" or by "C-c C-a" AUCTeX 11.89.6 calls the viewer before all citations are resolved. In other words, "C-c C-c" calls the command "View" even after the warning "There were unresolved citations". AFAIR it worke well in 11.89.5. Thanks and regards, Uwe Emacs : GNU Emacs 25.1.50.1 (i686-pc-mingw32) of 2016-10-19 Package: 11.89.6 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2016-10-14" window-system 'w32 LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "c:/Dokumente und Einstellungen/siart= /.emacs.d/elpa/auctex-11.89.6/style" "c:/Dokumente und Einstellungen/siart/.emacs.d/auctex/aut= o" "c:/Dokumente und Einstellungen/siart/.emacs.d/auctex/sty= le" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master t 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-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-= run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' = %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(= execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"= TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run B= ibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Bibe= r") ("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-dvips t t :help = "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :he= lp "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help = "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Conve= rt PostScript file to PDF") ("Index" "makeindex %s" TeX-run-index nil t :help "Run = makeindex to create index file") ("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-mo= de) :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 "Dele= te generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :he= lp "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary= command")) ) --=20 Dr.-Ing. Uwe Siart Chair of High-Frequency Engineering Technical University of Munich (TUM) Arcisstr. 21, 80333 M=FCnchen, Germany Email: uwe.siart@tum.de Tel.: +49.89.289.23374 Fax: +49.89.289.23365 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 04:29:13 2016 Received: (at 24771) by debbugs.gnu.org; 23 Oct 2016 08:29:13 +0000 Received: from localhost ([127.0.0.1]:47384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byE9Z-0003h6-Kb for submit@debbugs.gnu.org; Sun, 23 Oct 2016 04:29:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byE9Y-0003gs-Fv for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 04:29:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byE9Q-0002Es-4w for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 04:29:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,GAPPY_SUBJECT, RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byE9Q-0002Eo-1G for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 04:29:04 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:32882) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1byE9P-0003FF-L5 for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 04:29:03 -0400 Received: by mail-wm0-f47.google.com with SMTP id c78so8354094wme.0 for <24771@debbugs.gnu.org>; Sun, 23 Oct 2016 01:29:03 -0700 (PDT) X-Gm-Message-State: ABUngvcFYpx8jpe13NM/EnTTJ/9Qn4ZPuyp+fRJsRGdg6l4oPrZUpW4quRhC4t/FqelOI3V9U660lkkPTGk84Q== X-Received: by 10.194.84.40 with SMTP id v8mr8255209wjy.51.1477211342439; Sun, 23 Oct 2016 01:29:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.42.35 with HTTP; Sun, 23 Oct 2016 01:28:21 -0700 (PDT) In-Reply-To: <84bmybjz3k.fsf@tum.de> References: <84bmybjz3k.fsf@tum.de> From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Sun, 23 Oct 2016 10:28:21 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#24771: 11.89.6; C-c C-c misses one LaTeX run in BibTeX documents To: Uwe Siart 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: 2001:4830:134:3::e X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 24771 Cc: 24771@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: -3.5 (---) Hi Uwe, 2016-10-23 9:36 GMT+02:00 Uwe Siart : > When I compile documents that use BibTeX by "C-c C-c" or by "C-c C-a" > AUCTeX 11.89.6 calls the viewer before all citations are resolved. In > other words, "C-c C-c" calls the command "View" even after the warning > "There were unresolved citations". AFAIR it worke well in 11.89.5. Could you please share a minimal working example (TeX document + BibTeX bibliography) reproducing this error? Between 11.89.5 and 11.89.6 I did play with the BibTeX sentinel in order to fix a problem similar to the one you're reporting now when bibtex issues warnings. Have I messed up something else? Bye, Mos=C3=A8 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 05:17:53 2016 Received: (at 24771) by debbugs.gnu.org; 23 Oct 2016 09:17:54 +0000 Received: from localhost ([127.0.0.1]:47534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byEuf-0004vZ-P1 for submit@debbugs.gnu.org; Sun, 23 Oct 2016 05:17:53 -0400 Received: from postout1.mail.lrz.de ([129.187.255.137]:37352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byEud-0004vO-LS for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 05:17:52 -0400 Received: from lxmhs51.srv.lrz.de (localhost [127.0.0.1]) by postout1.mail.lrz.de (Postfix) with ESMTP id 3t1v2k318PzyTj; Sun, 23 Oct 2016 11:17:50 +0200 (CEST) Authentication-Results: postout.lrz.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=tum.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tum.de; h= content-description:content-transfer-encoding:content-type :content-type:x-mailer:references:in-reply-to:message-id:subject :subject:mime-version:date:date:from:from:received:received; s= postout; t=1477214270; bh=Gbdk1KtIUEbE/ZI0NOyZnr7VuKJKPTnFykUAY5 ke0BQ=; b=xstL1SrlCsTTZ5EOqei6F1pmAVM3gFwzJeujtXVz08CZETp5n89KEK h5chvVm7FUGnxkkijxVjO1vD+fWHjhlLH5+/TYWL5PcujvAf5YrTsmswl3Qm2DX7 GsQjLStko6TFw56USHfNkeKpJO3FseL+UKc+vDv82I25QrOMaTE/jaI2kKLpuZKa oD/9CR1HOKEgY78t/JEUMtJbh7tAknsN+3dPBFxmfRbIWt4UU0WWfAGabRNvB/jV WQa0C0WBRW7WHma2n5tAaul9m5Jjx0ZVhn4DLg/6DoQG2a4fUmsHcpF6xdZLsfkk /bkaWSca8+8rpJHPp1dWejGCCdEZ1ojg== X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs51.srv.lrz.de X-Spam-Flag: NO X-Spam-Score: -0.838 X-Spam-Level: X-Spam-Status: No, score=-0.838 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, GAPPY_SUBJECT=1.954, LRZ_DMARC_TUM_FAIL=0.001, LRZ_DMARC_TUM_REJECT=0.1, LRZ_ENVFROM_TUM_S=0.001, LRZ_FROM_AP_PHRASE=0.001, LRZ_FROM_HOSTED_DOMAIN=0.001, LRZ_FROM_PHRASE=0.001, LRZ_FROM_PRE_SUR=0.001, LRZ_FROM_PRE_SUR_PHRASE=0.001, LRZ_FROM_TUM_S=0.001] autolearn=no autolearn_force=no Received: from postout1.mail.lrz.de ([127.0.0.1]) by lxmhs51.srv.lrz.de (lxmhs51.srv.lrz.de [127.0.0.1]) (amavisd-new, port 20024) with LMTP id Mr79y3Xa0nGY; Sun, 23 Oct 2016 11:17:50 +0200 (CEST) Received: from [129.187.212.213] (o213.tum.vpn.lrz.de [129.187.212.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by postout1.mail.lrz.de (Postfix) with ESMTPSA id 3t1v2j5RD0zyTB; Sun, 23 Oct 2016 11:17:49 +0200 (CEST) From: "Uwe Siart" To: "=?ISO-8859-1?Q?Mos=E8_Giordano?=" Date: Sun, 23 Oct 2016 11:17:47 +0200 MIME-Version: 1.0 Subject: Re: bug#24771: 11.89.6; C-c C-c misses one LaTeX run in BibTeX documents Message-ID: <580C803B.15528.5BB8378@uwe.siart.tum.de> Priority: normal In-reply-to: References: <84bmybjz3k.fsf@tum.de>, X-mailer: Pegasus Mail for Windows (4.72.572) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 24771 Cc: 24771@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 (-) On 23 Oct 2016 at 10:28, Mos=E8 Giordano wrote: > Hi Uwe, > > 2016-10-23 9:36 GMT+02:00 Uwe Siart : > > When I compile documents that use BibTeX by "C-c C-c" or by "C-c C-a" > > AUCTeX 11.89.6 calls the viewer before all citations are resolved. In > > other words, "C-c C-c" calls the command "View" even after the warning > > "There were unresolved citations". AFAIR it worke well in 11.89.5. > > Could you please share a minimal working example (TeX document + > BibTeX bibliography) reproducing this error? Between 11.89.5 and > 11.89.6 I did play with the BibTeX sentinel in order to fix a problem > similar to the one you're reporting now when bibtex issues warnings. > Have I messed up something else? By trying to generate the MWE I think I found the culprit. Perhaps nothing to do with 11.89.6 but could have happend before as well. The described behaviour is observed when there are multiply defined labels. When I compile the following MWE by "C-c C-a" it ends up with undefined references (one LaTeX run too few): \documentclass{article} \begin{filecontents}{test-a.bib} @Article{reed:1958:398, author =3D {Reed, John}, title =3D {The Multiple Branch Waveguide Coupler}, journal =3D {IRE Trans. Microw. Theory Techn.}, year =3D {1958}, volume =3D {6}, number =3D {4}, pages =3D {398--403}, month =3D {Apr}, } \end{filecontents} \begin{document} Test \cite{reed:1958:398} \begin{figure} \caption{Caption A} \label{fig:A} \end{figure} \begin{figure} \caption{Caption B} \label{fig:A} \end{figure} \bibliographystyle{plain} \bibliography{test-a} \end{document} -- Uwe From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 05:59:27 2016 Received: (at 24771) by debbugs.gnu.org; 23 Oct 2016 09:59:27 +0000 Received: from localhost ([127.0.0.1]:47662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byFYt-0005y4-2O for submit@debbugs.gnu.org; Sun, 23 Oct 2016 05:59:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byFYr-0005xs-GX for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 05:59:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byFYi-0004bI-OM for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 05:59:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,GAPPY_SUBJECT, RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byFYi-0004bB-KZ for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 05:59:16 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:36551) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1byFYi-0004HF-5R for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 05:59:16 -0400 Received: by mail-wm0-f43.google.com with SMTP id b80so55643880wme.1 for <24771@debbugs.gnu.org>; Sun, 23 Oct 2016 02:59:15 -0700 (PDT) X-Gm-Message-State: AA6/9RlfFoqDlKIZIKWxdN3uPX70rrp4Z/G5K8AWA+hPKbmzgwh4xG5C+v2BejqM/FBeYS+RW3M+xy3yZ7lfFw== X-Received: by 10.28.30.3 with SMTP id e3mr18179287wme.40.1477216755059; Sun, 23 Oct 2016 02:59:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.42.35 with HTTP; Sun, 23 Oct 2016 02:58:34 -0700 (PDT) In-Reply-To: <580C803B.15528.5BB8378@uwe.siart.tum.de> References: <84bmybjz3k.fsf@tum.de> <580C803B.15528.5BB8378@uwe.siart.tum.de> From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Sun, 23 Oct 2016 11:58:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#24771: 11.89.6; C-c C-c misses one LaTeX run in BibTeX documents To: Uwe Siart 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: 2001:4830:134:3::e X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 24771 Cc: 24771@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: -3.5 (---) Hi Uwe, 2016-10-23 11:17 GMT+02:00 Uwe Siart : > By trying to generate the MWE I think I found the culprit. Perhaps > nothing to do with 11.89.6 but could have happend before as well. > > The described behaviour is observed when there are multiply defined > labels. > > When I compile the following MWE by "C-c C-a" it ends up with undefined > references (one LaTeX run too few): > > \documentclass{article} > \begin{filecontents}{test-a.bib} > @Article{reed:1958:398, > author =3D {Reed, John}, > title =3D {The Multiple Branch Waveguide Coupler}, > journal =3D {IRE Trans. Microw. Theory Techn.}, > year =3D {1958}, > volume =3D {6}, > number =3D {4}, > pages =3D {398--403}, > month =3D {Apr}, > } > \end{filecontents} > \begin{document} > Test \cite{reed:1958:398} > \begin{figure} > \caption{Caption A} > \label{fig:A} > \end{figure} > \begin{figure} > \caption{Caption B} > \label{fig:A} > \end{figure} > \bibliographystyle{plain} > \bibliography{test-a} > \end{document} Thanks for the MWE. Indeed, it has nothing to do with the BibTeX sentinel but with the LaTeX one. The problems pops up only when there is a BibTeX bibliography by chance. Your document produces two relevant warnings: LaTeX Warning: Label `fig:A' multiply defined. LaTeX Warning: Citation `reed:1958:398' on page 1 undefined on input line 15. but `TeX-LaTeX-sentinel' knows only about the second one. When it finds it, it suggests to directly open the viewer. The problem here is that LaTeX does not help AUCTeX to decide the right thing to do. If there weren't the multiple label (or no label at all), there will be also the warning LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. that in this case is missing. I would say that AUCTeX is doing the right thing given the information it has. This is a corner case that I don't know how to deal with. Do you or someone else have suggestion about what's the best solution? Bye, Mos=C3=A8 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 06:15:52 2016 Received: (at 24771) by debbugs.gnu.org; 23 Oct 2016 10:15:52 +0000 Received: from localhost ([127.0.0.1]:47693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byFom-0006NF-Hu for submit@debbugs.gnu.org; Sun, 23 Oct 2016 06:15:52 -0400 Received: from postout2.mail.lrz.de ([129.187.255.138]:35866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byFol-0006N7-1F for 24771@debbugs.gnu.org; Sun, 23 Oct 2016 06:15:51 -0400 Received: from lxmhs52.srv.lrz.de (localhost [127.0.0.1]) by postout2.mail.lrz.de (Postfix) with ESMTP id 3t1wKf1h7rzySS; Sun, 23 Oct 2016 12:15:50 +0200 (CEST) Authentication-Results: postout.lrz.de (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=tum.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tum.de; h= content-transfer-encoding:content-type:content-type:mime-version :user-agent:message-id:in-reply-to:date:date:reply-to:references :subject:subject:from:from:received:received; s=postout; t= 1477217749; bh=2lNtYf+KLUFtAhNFBBbs2WYvb4aFU2xvkT6iSaKogyg=; b=R EBPq7F3WjJfAkB/RRdGyPFFVWIbMxt6nwlhSRYm5ZzpauPyPWiIcPUIFCD7CF/rM j7gJUcCW8s7jiUI8PMslc7cIr4zGK8EdkHiMuZ7JmPa7A8daT/NBt+CmYlrIRPK0 11kLWM9K0OEGxPqN/vn6Aqm7C3mS7kZYzq1c0LFaBd3Bsu4siJJq8qbqrHNt2KfG wWzdzBhtaja8yBBVFd1Te8tsLiQDp9COtPxQZjrZnKh9F5r+Ia/JsdE/CGJquoYL m97kNj9K9XXwOYsazSwlyabbZ5r3Jvvj14n63rPfDHEZ8VeZuTg2JaFzQJ5JsWzI Ciz/ExwqPqFQn9ZLsGx5Q== X-Virus-Scanned: by amavisd-new at lrz.de in lxmhs52.srv.lrz.de X-Spam-Flag: NO X-Spam-Score: -0.837 X-Spam-Level: X-Spam-Status: No, score=-0.837 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, GAPPY_SUBJECT=1.954, LRZ_DMARC_TUM_FAIL=0.001, LRZ_DMARC_TUM_REJECT=0.1, LRZ_ENVFROM_TUM_S=0.001, LRZ_FROM_HOSTED_DOMAIN=0.001, LRZ_FROM_PHRASE=0.001, LRZ_FROM_PRE_SUR=0.001, LRZ_FROM_PRE_SUR_PHRASE=0.001, LRZ_FROM_TUM_S=0.001, LRZ_HAS_REPLY_TO=0.001, LRZ_MSGID_AN_AN=0.001] autolearn=no autolearn_force=no Received: from postout2.mail.lrz.de ([127.0.0.1]) by lxmhs52.srv.lrz.de (lxmhs52.srv.lrz.de [127.0.0.1]) (amavisd-new, port 20024) with LMTP id qAaYAeVboxAc; Sun, 23 Oct 2016 12:15:49 +0200 (CEST) Received: from pegasus (g130.tum.vpn.lrz.de [129.187.100.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by postout2.mail.lrz.de (Postfix) with ESMTPSA id 3t1wKd0BmgzySK; Sun, 23 Oct 2016 12:15:48 +0200 (CEST) From: Uwe Siart To: =?iso-8859-1?Q?Mos=E8?= Giordano Subject: Re: bug#24771: 11.89.6; C-c C-c misses one LaTeX run in BibTeX documents References: <84bmybjz3k.fsf@tum.de> <580C803B.15528.5BB8378@uwe.siart.tum.de> Date: Sun, 23 Oct 2016 12:15:42 +0200 In-Reply-To: (=?iso-8859-1?Q?=22Mos=E8?= Giordano"'s message of "Sun, 23 Oct 2016 11:58:34 +0200") Message-ID: <8460ojjrqp.fsf@tum.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 24771 Cc: 24771@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: , Reply-To: uwe.siart@tum.de Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Mos=E8, Mos=E8 Giordano writes: > This is a corner case that I don't know how to deal with. Do you or > someone else have suggestion about what's the best solution? No, I don't have a good suggestion for this. As far as I am concerned I would say that I can live with it. The wrong behaviour of AUCTeX just happens in consequence of a defective document. Once the flaw is fixed AUCTeX also compiles fine again. So I would say it's not a bug but just a lack of robustness. The only trouble is that for the user it takes a while to see the connection. --=20 Uwe From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 17:01:59 2024 Received: (at control) by debbugs.gnu.org; 4 Mar 2024 22:02:00 +0000 Received: from localhost ([127.0.0.1]:45111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhGNj-0006UW-Mf for submit@debbugs.gnu.org; Mon, 04 Mar 2024 17:01:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhGNi-0006UK-15 for control@debbugs.gnu.org; Mon, 04 Mar 2024 17:01:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhGN8-0008Pe-Om for control@debbugs.gnu.org; Mon, 04 Mar 2024 17:01:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=PV2CRCefOiwLlrpEzioBsADutaChTbTQU2tdBYTddwc=; b=D3TI/y43imsdid oTFejWlrH1VAniiFCNFT0oCtYO/Nhgu9go9Ftt4YYTXZIw+dKVD8ozvCY8O30uz++hmKcmUPXUJ8A GfAk6AnrZzc0wg0ZpFo8LQMiN5TAuSGUjMcCZ0V7OjC9Aac0yI7gQogR5cLD3Jj8iIwq/cYtYJ7De tqTyh4EauXSpON5SjngdxEbbKWcVPhhkxxS84zCJF+3Had1XHPo9dOtYqVKU4sZt6UpzUc5QJ34ig OquzGTR/BPLazgvM3imNdP1exPMWqfZD3FH9GDsBHq4qQ1EAe4E+JmqBjfPkTF6n4MZ7kU69RZYWM MEfZzGR6OUrRU6NWy/NA==; From: Arash Esbati To: control@debbugs.gnu.org Subject: control message for bug #24771 Date: Mon, 04 Mar 2024 23:01:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 24771 notabug close 24771 quit From unknown Thu Sep 18 21:58:13 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, 02 Apr 2024 11:24:28 +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