From unknown Sat Jun 21 05:18:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24691: 11.89.5; AucTex mode creates 2 separate buffers for the same master Tex file Resent-From: Ta Quang Trung Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 14 Oct 2016 15:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24691 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 24691@debbugs.gnu.org X-Debbugs-Original-To: "bug-auctex@gnu.org" Reply-To: Ta Quang Trung Received: via spool by submit@debbugs.gnu.org id=B.147645939216563 (code B ref -1); Fri, 14 Oct 2016 15:37:03 +0000 Received: (at submit) by debbugs.gnu.org; 14 Oct 2016 15:36:32 +0000 Received: from localhost ([127.0.0.1]:55445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv4X6-0004Iy-Ku for submit@debbugs.gnu.org; Fri, 14 Oct 2016 11:36:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buwcQ-0005wU-K1 for submit@debbugs.gnu.org; Fri, 14 Oct 2016 03:09:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buwcJ-0006gn-IP for submit@debbugs.gnu.org; Fri, 14 Oct 2016 03:09:21 -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.4 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buwcJ-0006gj-En for submit@debbugs.gnu.org; Fri, 14 Oct 2016 03:09:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buwcH-00077I-3U for bug-auctex@gnu.org; Fri, 14 Oct 2016 03:09:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buwcD-0006fJ-Nu for bug-auctex@gnu.org; Fri, 14 Oct 2016 03:09:16 -0400 Received: from nm37-vm5.bullet.mail.ne1.yahoo.com ([98.138.229.133]:51955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buwcD-0006f6-FL for bug-auctex@gnu.org; Fri, 14 Oct 2016 03:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1476428952; bh=qV5tcPO1ocU8Ptoy/t5kaTXVka8ausIm4jBRW6IA3w4=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=QnP5nIxnFK0UH8Apsp85UvaS7xL7F967co8VBO41Y7GxX9rtPYwBZQO86S65r0pQGmPsP3GZEOp6QcIeQBrMChmHRXGVcFSHHsS0NWJHpVleH164/TczwJDEnA7jw37Pnqg6QgkzMf+tuj1e0UaWG5RGjdxAAUAyf1bMEWrOndQdZlzHxkvlHD2ivSLuSN6y0eHiN74D64dYgZDA+AC8tOXNB6vFoyIMYb8V4rRcRleby2+NlQoL01hdcJuhKW/irqwxjFzl8A5AMzKLeJQmI70lHPCVHFl8ty+q6TY+J0Wy2asFkrxsBrg3vTds2UuLNYSvK9Q1rXiZs+DHV2nVgQ== Received: from [127.0.0.1] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:09:12 -0000 Received: from [98.138.100.116] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:06:17 -0000 Received: from [98.138.226.168] by tm107.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:05:17 -0000 Received: from [127.0.0.1] by omp1069.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:05:17 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 20917.12187.bm@omp1069.mail.ne1.yahoo.com X-YMail-OSG: sPCB8y4VM1n12s4ZlVizB0Z1yGuJoPE_xK5P46_GUFTC3PZY5offFkLvVFVMcU6 YNzoi9lHpbwaXcIeiwIMXa8ZA7fWYFP2ch0svktnH5SPxHUbHfb8aoTIJV1j4Ft52ssANZYkKDuZ 7P7TyidQNmKzGL0bYYG6UBcP5Dog4SzV1PMRuWbhhKuqyfnjPC1r9b33mo83NVpJYzR.74jJqN.d IUzSoSRGLtKdiarYkvrZPBDfIM_iDeePOlJrxEFY1ipO0iPyxnM3MWv4uv6Rs1BcojFpV9zRytpU CeLyzn_4REQaAaSLOLAs_gqMuALJDUQWw3lPaHtlZWksPz4HcdIcd3cTwd.99veDVTGgAGM6OnWI KTNzQydKKqCi2AA4xHm8TCRIMyF5lDVpwfAWCOk7_I_E01kbL8.m9rEHaeuV_kjpOAA.5tPOqaIy eVGEaxeZX7RpTKn0RzCdVGbDy43d6rCavs4QO9I48Dp.onwCwEb8pcg38C7hNnGSLDdn0GQ.18PY ej.0QfSj0ihcXnIY47iUayDy0SCTY5K3SwaInlSPUjg9cgdJoS0lFhQgsAZKOEURk8XJilTEHhfM vMY_a1lq.Gw-- Received: from jws200086.mail.ne1.yahoo.com by sendmailws163.mail.ne1.yahoo.com; Fri, 14 Oct 2016 07:05:16 +0000; 1476428716.650 Date: Fri, 14 Oct 2016 07:05:16 +0000 (UTC) From: Ta Quang Trung Message-ID: <166225117.82164.1476428716290@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_82163_93350370.1476428716283" References: <166225117.82164.1476428716290.ref@mail.yahoo.com> Content-Length: 22726 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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.3 (---) X-Mailman-Approved-At: Fri, 14 Oct 2016 11:36:27 -0400 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 (---) ------=_Part_82163_93350370.1476428716283 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Remember to cover the basics, that is, what you expected to happen andwhat = in fact did happen. Be sure to consult the FAQ section in the manual before submittinga bug rep= ort. =C2=A0In addition check if the bug is reproducable with anup-to-date v= ersion of AUCTeX. =C2=A0So please upgrade to the versionavailable from http= ://www.gnu.org/software/auctex/ if yourinstallation is older than the one a= vailable from the web site. If the bug is triggered by a specific (La)TeX file, you should tryto produc= e a minimal sample file showing the problem and include itin your report. Your report will be posted for the auctex package at the GNU bugtracker. = =C2=A0Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Dauctexto browse = existing AUCTeX bugs.------------------------------------------------------= ------------------ ** Description AucTex mode creates 2 separate buffers for the same master file ** Reproduction guide Start EmacsOpen the master file of a Latex project. Suppose the master Tex = file is main.tex, and at the end of the file, it contains these comments to= indicate it as the master file.%%% Local Variables:%%% mode: latex%%% TeX-= master: "main"%%% End: ** Observed behaviour: Two separate buffers are created for the same file main.tex.As indicated in= the attached picture, there are two buffers main.tex and main.tex. N= ote that fm16 is the folder containing the file main.tex ** Expected behaviour:Only 1 buffer should be created for the master Tex fi= le Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10= .8)=C2=A0of 2016-08-26 on leoPackage: 11.89.5 current state:=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D(setq=C2=A0AUCTeX-d= ate "2016-09-01"=C2=A0window-system 'x=C2=A0LaTeX-version "2e"=C2=A0TeX-sty= le-path '("~/.emacs.d/auctex" "/home/trungtq/.emacs.d/elpa/auctex-11.89.5/s= tyle"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "/home/= trungtq/.emacs.d/auctex/auto"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "/home/trungtq/.emacs.d/auctex/style" "auto" "style")=C2= =A0TeX-auto-save t=C2=A0TeX-parse-self t=C2=A0TeX-master "main"=C2=A0TeX-co= mmand-list '(("Make" "make" TeX-run-compile nil t)=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("TeX"=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"%(PDF)%(tex) %(file= -line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t"=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TeX-run-TeX nil (pla= in-tex-mode ams-tex-mode texinfo-mode) :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Run plain TeX")=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("LaTeX" "%`%l%(mod= e)%' %t" TeX-run-TeX nil (latex-mode doctex-mode)=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:help "Run LaTeX")=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Makein= fo" "makeinfo %(extraopts) %t" TeX-run-compile nil=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(texinfo-mode) :help "R= un Makeinfo with Info output")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"= TeX-run-compile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0nil (texinfo-mode) :help "Run Makeinfo with HTML output")= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("AmS= TeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TeX-run-TeX nil (ams= -tex-mode) :help "Run AMSTeX")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("ConTeXt" "%(cntxcom) --once --texutil %(extraopt= s) %(execopts)%t"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0TeX-run-TeX nil (context-mode) :help "Run ConTeXt once"= )=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Co= nTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nil (cont= ext-mode) :help "Run ConTeXt until completion")=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("BibTeX" "bibtex %s" TeX-run-Bib= TeX nil t :help "Run BibTeX")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("Biber" "biber %s" TeX-run-Biber nil t :help "Run= Biber")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Print" "%p= " TeX-run-command t t :help "Print the file")=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Queue" "%q" TeX-run-background = nil t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"View the printer queue" :visible TeX-queue-command)=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("File" "%(o?)d= vips %d -o %f " TeX-run-dvips t t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Generate PostScript file")=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Dvips" "%(= o?)dvips %d -o %f " TeX-run-dvips nil t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Convert DVI file to PostSc= ript")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Convert DVI file t= o PDF with dvipdfmx")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Conve= rt PostScript file to PDF")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 ("Index" "makeindex %s" TeX-run-index nil t :help=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"R= un makeindex to create index file")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Xindy" "texindy %s" TeX-run-command nil t= :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0"Run xindy to create index file")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Check" "lacheck %s" TeX-run-compile ni= l (latex-mode) :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"Check LaTeX file for correctness")=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("ChkTeX" "chktex -v6 = %s" TeX-run-compile nil (latex-mode) :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Check LaTeX file for common m= istakes")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"S= pell-check the document")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ("Clean" "TeX-clean" TeX-run-function nil t :help=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"D= elete generated intermediate files")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Clean All" "(TeX-clean t)" TeX-run-functi= on nil t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"Delete generated intermediate and output files")=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Other" "" = TeX-run-command t t :help "Run an arbitrary command"))=C2=A0) ------=_Part_82163_93350370.1476428716283 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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<= /div>
a bug report.  I= n addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So pleas= e upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the on= e 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 i= t
in your report.

Your report will be posted for the auctex package at the GNU bug
<= div id=3D"yui_3_16_0_ym19_1_1476428675823_2837">tracker.  Visit http:/= /debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Dauctex
to browse existing AUCTeX bugs.
-------------------------------------= -----------------------------------

** Description

AucTex mod= e creates 2 separate buffers for the same master file

** Reproductio= n guide

Start Emacs
Open the master file of a Latex project. Suppose the master Tex file = is main.tex, and at the end of the file, it contains these comments to indi= cate it as the master file.
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "main"
%%% End:

** Observed behaviour:

Two separate buffers ar= e created for the same file main.tex.
As indicated in the attached picture, there are two buffer= s main.tex<fm16> and main.tex. Note that fm16 is the folder containin= g the file main.tex
<= br id=3D"yui_3_16_0_ym19_1_1476428675823_2865">
** Expected behaviour:
Only 1 buffer should be created for the master= Tex file

Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, = GTK+ Version 3.10.8)
=  of 2016-08-26 on leo
Package: 11.89.5

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
 AUCTeX-date "2016-09-01"
 window-system 'x
 LaTeX-version "2e"
<= div id=3D"yui_3_16_0_ym19_1_1476428675823_2881"> TeX-style-path '("~/.= emacs.d/auctex" "/home/trungtq/.emacs.d/elpa/auctex-11.89.5/style"
        &= nbsp;         "/home/trungtq/.emacs.d/auctex/auto"
      &nbs= p;           "/home/trungtq/.emacs.d/auctex/style"= "auto" "style")
&nbs= p;TeX-auto-save t
&nb= sp;TeX-parse-self t
&= nbsp;TeX-master "main"
 TeX-command-list '(("Make" "make" TeX-run-compile nil t)
        &nb= sp;           ("TeX"
              &= nbsp;      "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%= S%(PDFout)%(mode)%' %t"
                    &n= bsp;TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help
<= div id=3D"yui_3_16_0_ym19_1_1476428675823_2891">       =              "Run plain TeX")
        &n= bsp;           ("LaTeX" "%`%l%(mode)%' %t" TeX-run= -TeX nil (latex-mode doctex-mode)
                 =    :help "Run LaTeX")
                  =   ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil
        &n= bsp;            (texinfo-mode) :help "Run Mak= einfo with Info output")
                    (= "Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile
        &n= bsp;            nil (texinfo-mode) :help "Run= Makeinfo with HTML output")
                  &nbs= p; ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"
         = ;            TeX-run-TeX nil (ams-tex-mode) := help "Run AMSTeX")
&n= bsp;                   ("ConTe= Xt" "%(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
        &= nbsp;            nil (context-mode) :help "Ru= n ConTeXt until completion")
                  &nbs= p; ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
        &n= bsp;           ("Biber" "biber %s" TeX-run-Biber n= il t :help "Run Biber")
                    ("= View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
         = ;           ("Print" "%p" TeX-run-command t t :hel= p "Print the file")
&= nbsp;                   ("Queu= e" "%q" TeX-run-background nil t :help
                &= nbsp;    "View the printer queue" :visible TeX-queue-command)
      &nb= sp;             ("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 :help
        &n= bsp;            "Convert DVI file to PostScri= pt")
    &n= bsp;               ("Dvipdfmx" "dvipdfmx= %d" TeX-run-dvipdfmx nil t :help
                 =    "Convert DVI file to PDF with dvipdfmx")
           =         ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :he= lp
    &nbs= p;                "Convert PostScri= pt file to PDF")
&nbs= p;                   ("Index" = "makeindex %s" TeX-run-index nil t :help
               =      "Run makeindex to create index file")
          &n= bsp;         ("Xindy" "texindy %s" TeX-run-command nil = t :help
   =                  "Run xindy t= o create index file")
                    ("Ch= eck" "lacheck %s" TeX-run-compile nil (latex-mode) :help
          &nbs= p;          "Check LaTeX file for correctness")
      &n= bsp;             ("ChkTeX" "chktex -v6 %s" Te= X-run-compile nil (latex-mode) :help
                &nb= sp;    "Check LaTeX file for common mistakes")
          &nbs= p;         ("Spell" "(TeX-ispell-document \"\")" TeX-ru= n-function nil t :help
                    &nb= sp;"Spell-check the document")
                  &n= bsp; ("Clean" "TeX-clean" TeX-run-function nil t :help
           =          "Delete generated intermediate files")
      &= nbsp;             ("Clean All" "(TeX-clean t)= " TeX-run-function nil t :help
                  &n= bsp;  "Delete generated intermediate and output files")
         = ;           ("Other" "" TeX-run-command t t :help = "Run an arbitrary command"))
 )

<= /html> ------=_Part_82163_93350370.1476428716283-- From unknown Sat Jun 21 05:18:51 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ta Quang Trung Subject: bug#24691: closed (Re: bug#24691: 11.89.5; AucTex mode creates 2 separate buffers for the same master Tex file) Message-ID: References: <87d1j21xel.fsf@gnu.org> <166225117.82164.1476428716290@mail.yahoo.com> X-Gnu-PR-Message: they-closed 24691 X-Gnu-PR-Package: auctex Reply-To: 24691@debbugs.gnu.org Date: Fri, 14 Oct 2016 20:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1476477362-11712-1" This is a multi-part message in MIME format... ------------=_1476477362-11712-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24691: 11.89.5; AucTex mode creates 2 separate buffers for the same master= Tex file which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24691@debbugs.gnu.org. --=20 24691: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24691 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1476477362-11712-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24691-close) by debbugs.gnu.org; 14 Oct 2016 20:35:50 +0000 Received: from localhost ([127.0.0.1]:55878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv9Co-00032W-LD for submit@debbugs.gnu.org; Fri, 14 Oct 2016 16:35:50 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv9Cm-00032O-KS for 24691-close@debbugs.gnu.org; Fri, 14 Oct 2016 16:35:48 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 82A2520784; Fri, 14 Oct 2016 16:35:48 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Fri, 14 Oct 2016 16:35:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=8R95P5YduEXnLrgflSQg2Ayj0hE=; b=WYSjX L3OG0+NWWDTi8E+oCJcDLpjv9s/w13CMQBTfLNGrTGiLrOG1+xQNtKPxzSlYKZMM sW/mlGYgPONwyoVEbXsWtgWTyFxu1WECMizsmXjvmrxayl4+5r7N+uAESHL4+/V7 PL6ttO16BbPx6kknDd7TjCdH1hseyxhkYn7hwc= X-Sasl-enc: //Xqypj/ug5SiePWP+eJsqtnebSBQLQ2dNhnOH3HB3jO 1476477348 Received: from thinkpad-t440p (p2e504ba3.dip0.t-ipconnect.de [46.80.75.163]) by mail.messagingengine.com (Postfix) with ESMTPA id D5BA4CC0BF; Fri, 14 Oct 2016 16:35:47 -0400 (EDT) From: Tassilo Horn To: Ta Quang Trung Subject: Re: bug#24691: 11.89.5; AucTex mode creates 2 separate buffers for the same master Tex file References: <166225117.82164.1476428716290.ref@mail.yahoo.com> <166225117.82164.1476428716290@mail.yahoo.com> Date: Fri, 14 Oct 2016 22:35:46 +0200 In-Reply-To: <166225117.82164.1476428716290@mail.yahoo.com> (Ta Quang Trung's message of "Fri, 14 Oct 2016 07:05:16 +0000 (UTC)") Message-ID: <87d1j21xel.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 24691-close Cc: 24691-close@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: 0.3 (/) Ta Quang Trung writes: Hi! > AucTex mode creates 2 separate buffers for the same master file > > ** Reproduction guide > > Start Emacs > Open the master file of a Latex project. Suppose the master Tex file > is main.tex, and at the end of the file, it contains these comments to > indicate it as the master file. > > %%% Local Variables: > %%% mode: latex > %%% TeX-master: "main" > %%% End: The master file should appoint itself as master file using %%% Local Variables: %%% TeX-master: t %%% End: i.e., it doesn't state its name as a string but just t (true, I am the Master). Bye, Tassilo ------------=_1476477362-11712-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Oct 2016 15:36:32 +0000 Received: from localhost ([127.0.0.1]:55445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv4X6-0004Iy-Ku for submit@debbugs.gnu.org; Fri, 14 Oct 2016 11:36:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buwcQ-0005wU-K1 for submit@debbugs.gnu.org; Fri, 14 Oct 2016 03:09:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buwcJ-0006gn-IP for submit@debbugs.gnu.org; Fri, 14 Oct 2016 03:09:21 -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.4 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buwcJ-0006gj-En for submit@debbugs.gnu.org; Fri, 14 Oct 2016 03:09:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buwcH-00077I-3U for bug-auctex@gnu.org; Fri, 14 Oct 2016 03:09:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buwcD-0006fJ-Nu for bug-auctex@gnu.org; Fri, 14 Oct 2016 03:09:16 -0400 Received: from nm37-vm5.bullet.mail.ne1.yahoo.com ([98.138.229.133]:51955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buwcD-0006f6-FL for bug-auctex@gnu.org; Fri, 14 Oct 2016 03:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1476428952; bh=qV5tcPO1ocU8Ptoy/t5kaTXVka8ausIm4jBRW6IA3w4=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=QnP5nIxnFK0UH8Apsp85UvaS7xL7F967co8VBO41Y7GxX9rtPYwBZQO86S65r0pQGmPsP3GZEOp6QcIeQBrMChmHRXGVcFSHHsS0NWJHpVleH164/TczwJDEnA7jw37Pnqg6QgkzMf+tuj1e0UaWG5RGjdxAAUAyf1bMEWrOndQdZlzHxkvlHD2ivSLuSN6y0eHiN74D64dYgZDA+AC8tOXNB6vFoyIMYb8V4rRcRleby2+NlQoL01hdcJuhKW/irqwxjFzl8A5AMzKLeJQmI70lHPCVHFl8ty+q6TY+J0Wy2asFkrxsBrg3vTds2UuLNYSvK9Q1rXiZs+DHV2nVgQ== Received: from [127.0.0.1] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:09:12 -0000 Received: from [98.138.100.116] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:06:17 -0000 Received: from [98.138.226.168] by tm107.bullet.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:05:17 -0000 Received: from [127.0.0.1] by omp1069.mail.ne1.yahoo.com with NNFMP; 14 Oct 2016 07:05:17 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 20917.12187.bm@omp1069.mail.ne1.yahoo.com X-YMail-OSG: sPCB8y4VM1n12s4ZlVizB0Z1yGuJoPE_xK5P46_GUFTC3PZY5offFkLvVFVMcU6 YNzoi9lHpbwaXcIeiwIMXa8ZA7fWYFP2ch0svktnH5SPxHUbHfb8aoTIJV1j4Ft52ssANZYkKDuZ 7P7TyidQNmKzGL0bYYG6UBcP5Dog4SzV1PMRuWbhhKuqyfnjPC1r9b33mo83NVpJYzR.74jJqN.d IUzSoSRGLtKdiarYkvrZPBDfIM_iDeePOlJrxEFY1ipO0iPyxnM3MWv4uv6Rs1BcojFpV9zRytpU CeLyzn_4REQaAaSLOLAs_gqMuALJDUQWw3lPaHtlZWksPz4HcdIcd3cTwd.99veDVTGgAGM6OnWI KTNzQydKKqCi2AA4xHm8TCRIMyF5lDVpwfAWCOk7_I_E01kbL8.m9rEHaeuV_kjpOAA.5tPOqaIy eVGEaxeZX7RpTKn0RzCdVGbDy43d6rCavs4QO9I48Dp.onwCwEb8pcg38C7hNnGSLDdn0GQ.18PY ej.0QfSj0ihcXnIY47iUayDy0SCTY5K3SwaInlSPUjg9cgdJoS0lFhQgsAZKOEURk8XJilTEHhfM vMY_a1lq.Gw-- Received: from jws200086.mail.ne1.yahoo.com by sendmailws163.mail.ne1.yahoo.com; Fri, 14 Oct 2016 07:05:16 +0000; 1476428716.650 Date: Fri, 14 Oct 2016 07:05:16 +0000 (UTC) From: Ta Quang Trung To: "bug-auctex@gnu.org" Message-ID: <166225117.82164.1476428716290@mail.yahoo.com> Subject: 11.89.5; AucTex mode creates 2 separate buffers for the same master Tex file MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_82163_93350370.1476428716283" References: <166225117.82164.1476428716290.ref@mail.yahoo.com> Content-Length: 22726 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 14 Oct 2016 11:36:27 -0400 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: Ta Quang Trung Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) ------=_Part_82163_93350370.1476428716283 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Remember to cover the basics, that is, what you expected to happen andwhat = in fact did happen. Be sure to consult the FAQ section in the manual before submittinga bug rep= ort. =C2=A0In addition check if the bug is reproducable with anup-to-date v= ersion of AUCTeX. =C2=A0So please upgrade to the versionavailable from http= ://www.gnu.org/software/auctex/ if yourinstallation is older than the one a= vailable from the web site. If the bug is triggered by a specific (La)TeX file, you should tryto produc= e a minimal sample file showing the problem and include itin your report. Your report will be posted for the auctex package at the GNU bugtracker. = =C2=A0Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Dauctexto browse = existing AUCTeX bugs.------------------------------------------------------= ------------------ ** Description AucTex mode creates 2 separate buffers for the same master file ** Reproduction guide Start EmacsOpen the master file of a Latex project. Suppose the master Tex = file is main.tex, and at the end of the file, it contains these comments to= indicate it as the master file.%%% Local Variables:%%% mode: latex%%% TeX-= master: "main"%%% End: ** Observed behaviour: Two separate buffers are created for the same file main.tex.As indicated in= the attached picture, there are two buffers main.tex and main.tex. N= ote that fm16 is the folder containing the file main.tex ** Expected behaviour:Only 1 buffer should be created for the master Tex fi= le Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10= .8)=C2=A0of 2016-08-26 on leoPackage: 11.89.5 current state:=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D(setq=C2=A0AUCTeX-d= ate "2016-09-01"=C2=A0window-system 'x=C2=A0LaTeX-version "2e"=C2=A0TeX-sty= le-path '("~/.emacs.d/auctex" "/home/trungtq/.emacs.d/elpa/auctex-11.89.5/s= tyle"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "/home/= trungtq/.emacs.d/auctex/auto"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "/home/trungtq/.emacs.d/auctex/style" "auto" "style")=C2= =A0TeX-auto-save t=C2=A0TeX-parse-self t=C2=A0TeX-master "main"=C2=A0TeX-co= mmand-list '(("Make" "make" TeX-run-compile nil t)=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("TeX"=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"%(PDF)%(tex) %(file= -line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t"=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TeX-run-TeX nil (pla= in-tex-mode ams-tex-mode texinfo-mode) :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Run plain TeX")=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("LaTeX" "%`%l%(mod= e)%' %t" TeX-run-TeX nil (latex-mode doctex-mode)=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:help "Run LaTeX")=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Makein= fo" "makeinfo %(extraopts) %t" TeX-run-compile nil=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(texinfo-mode) :help "R= un Makeinfo with Info output")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"= TeX-run-compile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0nil (texinfo-mode) :help "Run Makeinfo with HTML output")= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("AmS= TeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TeX-run-TeX nil (ams= -tex-mode) :help "Run AMSTeX")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("ConTeXt" "%(cntxcom) --once --texutil %(extraopt= s) %(execopts)%t"=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0TeX-run-TeX nil (context-mode) :help "Run ConTeXt once"= )=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Co= nTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nil (cont= ext-mode) :help "Run ConTeXt until completion")=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("BibTeX" "bibtex %s" TeX-run-Bib= TeX nil t :help "Run BibTeX")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("Biber" "biber %s" TeX-run-Biber nil t :help "Run= Biber")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Print" "%p= " TeX-run-command t t :help "Print the file")=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Queue" "%q" TeX-run-background = nil t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"View the printer queue" :visible TeX-queue-command)=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("File" "%(o?)d= vips %d -o %f " TeX-run-dvips t t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Generate PostScript file")=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Dvips" "%(= o?)dvips %d -o %f " TeX-run-dvips nil t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Convert DVI file to PostSc= ript")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Convert DVI file t= o PDF with dvipdfmx")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Conve= rt PostScript file to PDF")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 ("Index" "makeindex %s" TeX-run-index nil t :help=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"R= un makeindex to create index file")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Xindy" "texindy %s" TeX-run-command nil t= :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0"Run xindy to create index file")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Check" "lacheck %s" TeX-run-compile ni= l (latex-mode) :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0"Check LaTeX file for correctness")=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("ChkTeX" "chktex -v6 = %s" TeX-run-compile nil (latex-mode) :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Check LaTeX file for common m= istakes")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"S= pell-check the document")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ("Clean" "TeX-clean" TeX-run-function nil t :help=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"D= elete generated intermediate files")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Clean All" "(TeX-clean t)" TeX-run-functi= on nil t :help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0"Delete generated intermediate and output files")=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Other" "" = TeX-run-command t t :help "Run an arbitrary command"))=C2=A0) ------=_Part_82163_93350370.1476428716283 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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<= /div>
a bug report.  I= n addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So pleas= e upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the on= e 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 i= t
in your report.

Your report will be posted for the auctex package at the GNU bug
<= div id=3D"yui_3_16_0_ym19_1_1476428675823_2837">tracker.  Visit http:/= /debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Dauctex
to browse existing AUCTeX bugs.
-------------------------------------= -----------------------------------

** Description

AucTex mod= e creates 2 separate buffers for the same master file

** Reproductio= n guide

Start Emacs
Open the master file of a Latex project. Suppose the master Tex file = is main.tex, and at the end of the file, it contains these comments to indi= cate it as the master file.
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "main"
%%% End:

** Observed behaviour:

Two separate buffers ar= e created for the same file main.tex.
As indicated in the attached picture, there are two buffer= s main.tex<fm16> and main.tex. Note that fm16 is the folder containin= g the file main.tex
<= br id=3D"yui_3_16_0_ym19_1_1476428675823_2865">
** Expected behaviour:
Only 1 buffer should be created for the master= Tex file

Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, = GTK+ Version 3.10.8)
=  of 2016-08-26 on leo
Package: 11.89.5

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
 AUCTeX-date "2016-09-01"
 window-system 'x
 LaTeX-version "2e"
<= div id=3D"yui_3_16_0_ym19_1_1476428675823_2881"> TeX-style-path '("~/.= emacs.d/auctex" "/home/trungtq/.emacs.d/elpa/auctex-11.89.5/style"
        &= nbsp;         "/home/trungtq/.emacs.d/auctex/auto"
      &nbs= p;           "/home/trungtq/.emacs.d/auctex/style"= "auto" "style")
&nbs= p;TeX-auto-save t
&nb= sp;TeX-parse-self t
&= nbsp;TeX-master "main"
 TeX-command-list '(("Make" "make" TeX-run-compile nil t)
        &nb= sp;           ("TeX"
              &= nbsp;      "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%= S%(PDFout)%(mode)%' %t"
                    &n= bsp;TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help
<= div id=3D"yui_3_16_0_ym19_1_1476428675823_2891">       =              "Run plain TeX")
        &n= bsp;           ("LaTeX" "%`%l%(mode)%' %t" TeX-run= -TeX nil (latex-mode doctex-mode)
                 =    :help "Run LaTeX")
                  =   ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil
        &n= bsp;            (texinfo-mode) :help "Run Mak= einfo with Info output")
                    (= "Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile
        &n= bsp;            nil (texinfo-mode) :help "Run= Makeinfo with HTML output")
                  &nbs= p; ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"
         = ;            TeX-run-TeX nil (ams-tex-mode) := help "Run AMSTeX")
&n= bsp;                   ("ConTe= Xt" "%(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
        &= nbsp;            nil (context-mode) :help "Ru= n ConTeXt until completion")
                  &nbs= p; ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
        &n= bsp;           ("Biber" "biber %s" TeX-run-Biber n= il t :help "Run Biber")
                    ("= View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
         = ;           ("Print" "%p" TeX-run-command t t :hel= p "Print the file")
&= nbsp;                   ("Queu= e" "%q" TeX-run-background nil t :help
                &= nbsp;    "View the printer queue" :visible TeX-queue-command)
      &nb= sp;             ("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 :help
        &n= bsp;            "Convert DVI file to PostScri= pt")
    &n= bsp;               ("Dvipdfmx" "dvipdfmx= %d" TeX-run-dvipdfmx nil t :help
                 =    "Convert DVI file to PDF with dvipdfmx")
           =         ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :he= lp
    &nbs= p;                "Convert PostScri= pt file to PDF")
&nbs= p;                   ("Index" = "makeindex %s" TeX-run-index nil t :help
               =      "Run makeindex to create index file")
          &n= bsp;         ("Xindy" "texindy %s" TeX-run-command nil = t :help
   =                  "Run xindy t= o create index file")
                    ("Ch= eck" "lacheck %s" TeX-run-compile nil (latex-mode) :help
          &nbs= p;          "Check LaTeX file for correctness")
      &n= bsp;             ("ChkTeX" "chktex -v6 %s" Te= X-run-compile nil (latex-mode) :help
                &nb= sp;    "Check LaTeX file for common mistakes")
          &nbs= p;         ("Spell" "(TeX-ispell-document \"\")" TeX-ru= n-function nil t :help
                    &nb= sp;"Spell-check the document")
                  &n= bsp; ("Clean" "TeX-clean" TeX-run-function nil t :help
           =          "Delete generated intermediate files")
      &= nbsp;             ("Clean All" "(TeX-clean t)= " TeX-run-function nil t :help
                  &n= bsp;  "Delete generated intermediate and output files")
         = ;           ("Other" "" TeX-run-command t t :help = "Run an arbitrary command"))
 )

<= /html> ------=_Part_82163_93350370.1476428716283-- ------------=_1476477362-11712-1--