From unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 27 Aug 2021 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 50225@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163006705326280 (code B ref -1); Fri, 27 Aug 2021 12:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Aug 2021 12:24:13 +0000 Received: from localhost ([127.0.0.1]:51418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJau5-0006po-6O for submit@debbugs.gnu.org; Fri, 27 Aug 2021 08:24:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJau1-0006pe-OY for submit@debbugs.gnu.org; Fri, 27 Aug 2021 08:24:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJau1-0000DH-H3 for bug-auctex@gnu.org; Fri, 27 Aug 2021 08:24:09 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:44927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJatz-00063g-AU for bug-auctex@gnu.org; Fri, 27 Aug 2021 08:24:09 -0400 Received: by mail-qt1-x82e.google.com with SMTP id r21so5126544qtw.11 for ; Fri, 27 Aug 2021 05:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:date:message-id:mime-version; bh=MMjiWapCsXJVzR23j/dbsFi/z8nOkkd+MP0uFSmfQF8=; b=JzbZMNSVqAS444EDHAL3+4NOcmpNhJ8zareaZY6x8iH/JZUr6VW8uNaTUu3gGNLsIQ 21o0W80H5KrK0b4d2nf8Tjt3jWNUTATHgS5F8wyFWgFQ2xPBnrrrTuFHggVKHra3SzzO lnnM5qE+9JQsaNZHGTNoM+Tj1oUoQI94VcNK8V2mhybABOt1OFBbskpiIitWRMmDb721 mNkjVwqeE8uQKGGKnJ9t2WtE0gBrBxlv7lJbb44kf5ul0BslZ7bAvx7JqugXAWIDPt1o YCNAmYHrVsc/m66GSwJrIb6y+Pekn7EEuKQryhvKhwL/XuInrXSxF3iVWlGJ6S/gFTB7 66rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:date :message-id:mime-version; bh=MMjiWapCsXJVzR23j/dbsFi/z8nOkkd+MP0uFSmfQF8=; b=VL8RztL0InsY6XdIUcqO49SF+DW7ZOCN59O0teQkt+1D0nkL0jEClpVOvqSwDYfChH 2TX1fFgGVkiENPctN2MmpxXruzzc+eTOxo0Uq8kTMTuLfOKHrIaSfDs3CS6tn0jr2UT0 xSUcKYd3iMjCzMVflw7nnOHY5kYGLDFJ5m2KZ1IY0aDBt6CHQsCI4YNIKvi81H98nWwg TMQaPq0zzoOvn9lIA+CX9tTbrEAn0jfuwCatpTl9eDPlWE/kZWFKcva3EbslCkRSHeM4 bFwgLwwrlmzIL6ANMBmi+HnXTNpXdh0HykHpl5/TYMxzIqQ/Z+YlhG1VZrblBITpSLlv t6VA== X-Gm-Message-State: AOAM533WEi+R2AHzUY1KVWxL7pRgzeOklIBY0co4YanCqAaXxRF4QVzl rpgD9z+U3019t7kGlIv1EdUuAmkjQaU= X-Google-Smtp-Source: ABdhPJzK6hs4tXDUwcc2OmIfvLznwRlE+D1wY4W/qQO+34k4ZdbaN1JWPBohXJMRf2ijtexCNde+pQ== X-Received: by 2002:ac8:110b:: with SMTP id c11mr7973394qtj.388.1630067044846; Fri, 27 Aug 2021 05:24:04 -0700 (PDT) Received: from gusbrs-laptop ([102.129.152.110]) by smtp.gmail.com with ESMTPSA id l126sm4732926qke.96.2021.08.27.05.24.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 05:24:03 -0700 (PDT) User-agent: mu4e 1.6.5; emacs 27.2 From: Gustavo Barros Date: Fri, 27 Aug 2021 09:20:54 -0300 Message-ID: <87h7fbqdnj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=gusbrs.2016@gmail.com; helo=mail-qt1-x82e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) Hi All, Since the latest release (v13.0.14), I'm having problems opening a new `.tex' buffer (still non-file-visiting) when `TeX-view-evince-keep-focus' is `t'. As far as I can tell/recall, I did not face this until upgrading today (and this is a procedure I do commonly, but I did not rigorously test this to pin down the change). An ECM to reproduce the issue is: start `emacs -Q'. Do an initial setup: #+begin_src emacs-lisp (add-to-list 'load-path "~/.emacs.d/elpa/auctex-13.0.14") (load "auctex.el" nil t t) (setq TeX-parse-self t) (setq TeX-auto-save t) (setq TeX-view-evince-keep-focus t) #+end_src Now, find a `.tex' file which does not yet exist, say "~/test/test.tex" with `C-x C-f test/test.tex RET'. We then get the error "File mode specification error: (file-missing Setting current directory No such file or directory /home/gustavo/test/)". The file itself gets opened in fundamental mode. With `M-x toggle-debug-on-error' and repeating the procedure, we get the following backtrace (its final part): #+begin_example Debugger entered--Lisp error: (file-missing "Setting current directory" "No such file or directory" "/home/gustavo/test/") call-process("/bin/bash" nil t nil "-c" "atril --help") call-process-shell-command("atril --help" nil t) shell-command("atril --help" t) shell-command-to-string("atril --help") TeX-view-program-select-evince("mate" "atril") byte-code("\10\301\267\202\n\0\302\207\303\207\304\305\306\307\310\311DE\312\313\314\315\316\317\"\320BB\321\315\322\323\"\324BB\325\315\326\327\"\330BB\331BBBBB..." [system-type # (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap") ("dviout" ("dviout -1 " ((paper-a4 paper-portrait) "-y=A4 ") ((paper-a4 paper-landscape) "-y=A4L ") ((paper-a5 paper-portrait) "-y=A5 ") ((paper-a5 paper-landscape) "-y=A5L ") ((paper-b5 paper-portrait) "-y=E5 ") ((paper-b5 paper-landscape) "-y=E5L ") ((paper-b4jis paper-portrait) "-y=B4 ") ((paper-b4jis paper-landscape) "-y=B4L ") ((paper-b5jis paper-portrait) "-y=B5 ") ((paper-b5jis paper-landscape) "-y=B5L ") (paper-legal "-y=Legal ") (paper-letter "-y=Letter ") (paper-executive "-y=Executive ") "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout") ("PDF Tools" TeX-pdf-tools-sync-view) ("SumatraPDF" ("SumatraPDF -reuse-instance" (mode-io-correlate " -forward-search \"%b\" %n") " %o") "SumatraPDF") ("dvips and start" "dvips %d -o && start \"\" %f" "dvips") ("start" "start \"\" %o")) (("Preview.app" "open -a Preview.app %o" "open") ("Skim" "open -a Skim.app %o" "open") ("PDF Tools" TeX-pdf-tools-sync-view) ("displayline" "displayline %n %o %b" "displayline") ("open" "open %o" "open")) ("dvi2tty" ("dvi2tty -q -w 132 %o")) ("xdvi" ("%(o?)xdvi" (mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"") ((paper-a4 paper-portrait) " -paper a4") ((paper-a4 paper-landscape) " -paper a4r") ((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-landscape) " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -paper us") (paper-legal " -paper legal") (paper-executive " -paper 7.25x10.5in") " %d") "%(o?)xdvi") "dvips and gv" "%(o?)dvips %d -o && gv %f" "%(o?)dvips" "gv" ("gv" "gv %o" "gv") ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate " %(outpage)")) "xpdf") "Evince" TeX-view-program-select-evince "gnome" "evince" ("evince") "Atril" "mate" "atril" ("atril") "Xreader" "x" "reader" ("xreader") (("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open" "xdg-open %o" "xdg-open") ("PDF Tools" TeX-pdf-tools-sync-view) ("Zathura" ("zathura %o" (mode-io-correlate " --synctex-forward %n:0:\"%b\" -x \"emacsclient +%{li...")) "zathura"))] 11) (defvar TeX-view-program-list-builtin (byte-code "\10\301\267\202\n\0\302\207\303\207\304\305\306\307\310\311DE\312\313\314\315\316\317\"\320BB\321\315\322\323\"\324BB\325\315\326\327\"\330BB\331BBBBB..." [system-type # (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap") ("dviout" ("dviout -1 " ((paper-a4 paper-portrait) "-y=A4 ") ((paper-a4 paper-landscape) "-y=A4L ") ((paper-a5 paper-portrait) "-y=A5 ") ((paper-a5 paper-landscape) "-y=A5L ") ((paper-b5 paper-portrait) "-y=E5 ") ((paper-b5 paper-landscape) "-y=E5L ") ((paper-b4jis paper-portrait) "-y=B4 ") ((paper-b4jis paper-landscape) "-y=B4L ") ((paper-b5jis paper-portrait) "-y=B5 ") ((paper-b5jis paper-landscape) "-y=B5L ") (paper-legal "-y=Legal ") (paper-letter "-y=Letter ") (paper-executive "-y=Executive ") "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout") ("PDF Tools" TeX-pdf-tools-sync-view) ("SumatraPDF" ("SumatraPDF -reuse-instance" (mode-io-correlate " -forward-search \"%b\" %n") " %o") "SumatraPDF") ("dvips and start" "dvips %d -o && start \"\" %f" "dvips") ("start" "start \"\" %o")) (("Preview.app" "open -a Preview.app %o" "open") ("Skim" "open -a Skim.app %o" "open") ("PDF Tools" TeX-pdf-tools-sync-view) ("displayline" "displayline %n %o %b" "displayline") ("open" "open %o" "open")) ("dvi2tty" ("dvi2tty -q -w 132 %o")) ("xdvi" ("%(o?)xdvi" (mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"") ((paper-a4 paper-portrait) " -paper a4") ((paper-a4 paper-landscape) " -paper a4r") ((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-landscape) " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -paper us") (paper-legal " -paper legal") (paper-executive " -paper 7.25x10.5in") " %d") "%(o?)xdvi") "dvips and gv" "%(o?)dvips %d -o && gv %f" "%(o?)dvips" "gv" ("gv" "gv %o" "gv") ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate " %(outpage)")) "xpdf") "Evince" TeX-view-program-select-evince "gnome" "evince" ("evince") "Atril" "mate" "atril" ("atril") "Xreader" "x" "reader" ("xreader") (("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open" "xdg-open %o" "xdg-open") ("PDF Tools" TeX-pdf-tools-sync-view) ("Zathura" ("zathura %o" (mode-io-correlate " --synctex-forward %n:0:\"%b\" -x \"emacsclient +%{li...")) "zathura"))] 11) ("/home/gustavo/.emacs.d/elpa/auctex-13.0.14/tex.elc" . 38206)) TeX-tex-mode() apply(TeX-tex-mode nil) tex-mode() set-auto-mode-0(tex-mode nil) set-auto-mode() normal-mode(t) after-find-file(t t) find-file-noselect-1(# "~/test/test.tex" nil nil "~/test/test.tex" nil) find-file-noselect("~/test/test.tex" nil nil t) find-file("~/test/test.tex" t) #+end_example Best regards, Gustavo. Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2021-03-25 Package: 13.0.14 current state: ============== (setq AUCTeX-date "2021-08-26" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/gustavo/.emacs.d/elpa/auctex-13.0.14/style" "/home/gustavo/.emacs.d/auctex/auto" "/home/gustavo/.emacs.d/auctex/style" "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)%' %(output-dir) %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) %(o-dir) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) %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 %(O?aux)" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run Biber") ("Texindex" "texindex %s.??" TeX-run-command nil (texinfo-mode) :help "Run Texindex") ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command nil (texinfo-mode) :help "Run Texi2dvi or Texi2pdf") ("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 (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %(d-dir) %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary file") ("Index" "makeindex %(O?idx)" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %(O?idx)" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :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 unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 27 Aug 2021 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Gustavo Barros Cc: 50225@debbugs.gnu.org X-Debbugs-Original-Cc: bug-auctex@gnu.org, 50225@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16300776993807 (code B ref -1); Fri, 27 Aug 2021 15:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Aug 2021 15:21:39 +0000 Received: from localhost ([127.0.0.1]:52743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJdfm-0000zK-SN for submit@debbugs.gnu.org; Fri, 27 Aug 2021 11:21:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:53606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJdfl-0000zD-Jh for submit@debbugs.gnu.org; Fri, 27 Aug 2021 11:21:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJdfl-0006lR-DD for bug-auctex@gnu.org; Fri, 27 Aug 2021 11:21:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51086) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJdfl-00054Z-41; Fri, 27 Aug 2021 11:21:37 -0400 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:51025) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJdfl-0003JU-0a; Fri, 27 Aug 2021 11:21:37 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 4993727C0054; Fri, 27 Aug 2021 11:21:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 27 Aug 2021 11:21:35 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddufedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffuffgjkfggtgesthdtre dttdertdenucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhurdho rhhgqeenucggtffrrghtthgvrhhnpeevveeikeetkeeviefgfeffiedvteeguddvffeuue duveegtddthedvhfeuveffhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhith ihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghs thhmrghilhdrfhhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Aug 2021 11:21:34 -0400 (EDT) References: <87h7fbqdnj.fsf@gmail.com> User-agent: mu4e 1.6.5; emacs 28.0.50 From: Tassilo Horn Date: Fri, 27 Aug 2021 17:13:16 +0200 In-reply-to: <87h7fbqdnj.fsf@gmail.com> Message-ID: <8735quncar.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Gustavo Barros writes: Hi Gustavo, > Now, find a `.tex' file which does not yet exist, say > "~/test/test.tex" with `C-x C-f test/test.tex RET'. > > We then get the error "File mode specification error: (file-missing > Setting current directory No such file or directory > /home/gustavo/test/)". The problem is that not just the tex file doesn't exist but the containing directory ~/test/ doesn't exist either. But that seems to be already set as `default-directory' so the shell commands testing for the availability of the evince-based viewers should run in a non-existend CWD. Well, those tests will work the same no matter which `default-directory', so we could bind `default-directory' to "~" for those calls, I think. I'll come to that when I find some spare time. Bye, Tassilo From unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 27 Aug 2021 15:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Tassilo Horn Cc: 50225@debbugs.gnu.org X-Debbugs-Original-Cc: bug-auctex@gnu.org, 50225@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163007908014661 (code B ref -1); Fri, 27 Aug 2021 15:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Aug 2021 15:44:40 +0000 Received: from localhost ([127.0.0.1]:52788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJe24-0003oO-Jk for submit@debbugs.gnu.org; Fri, 27 Aug 2021 11:44:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:44476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJe1z-0003o7-TK for submit@debbugs.gnu.org; Fri, 27 Aug 2021 11:44:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJe1z-0004Ju-Ly for bug-auctex@gnu.org; Fri, 27 Aug 2021 11:44:35 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:33602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJe1w-0004LR-Oy; Fri, 27 Aug 2021 11:44:35 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id a5so4280477qvq.0; Fri, 27 Aug 2021 08:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=6VbSLo72gA+hIwGKnhVikhcQaSoNQRX3TEm9Herx/vM=; b=Bw/LTtO0TyC+ZwBnoHGCPVjN+QviYAFLAol0f8IoRd+ljBvb4LsV0dTPBrqbLyLOFS lDIZ/YYoEq07sTGbeG7e6xAh7ab9T8SG2RdgLseGI75e4Ryhf8SxsA2B2nF+muEB7iFx n9x/vIrFqM+xeKbiQjzFYlcw4HTyiCBuSfib/YikwJnm6Fbd+9tFPDcHvHMvKGal03XR SD+bX/Xz7R0st+YtMX2nERgvHDRhGbUpb8FgsGp9s7p60ZoFyATCTgx2E7Dm6TdfcW0y /g/dD5ahuxKPclC/a3dq3Hmi9P4CN5t7g7iReVOWU/ph2juMh27lg1JVMlzN73LySs6b uTUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :date:in-reply-to:message-id:mime-version; bh=6VbSLo72gA+hIwGKnhVikhcQaSoNQRX3TEm9Herx/vM=; b=pN3sOo9kmA8AnFkQSl2ermFQbTFIPN2jJGs07uCPg6g7hT0yLop8L+hTNz8AmICsJ5 eBYbuSnflu965rdXLvwAM4zagIMAPuWfDu7L3DUIhsQk1Ay3oaILmOzKDT5RXKHzjkEA FO1CBX7pnDyk0D3htcJkk42ODRXZM2aklOhwfS5pZrCx/Yk34K3A+kCED7h7eH2itOO4 c+AzrUqC7vzX7kHSSB67gts3aOc0Pz+2ePQHFStCG+mXXcHBU0aJsgEXvMqooCTSG+hw /mB2R02QxsONEbmbQKSn9vCRmc3cQh942df8/cfq9kR8vu1Y7i3cmBSyOOlAc+1ZTlDI W5wg== X-Gm-Message-State: AOAM530NSXYrdNRtSZnUSqciP5WxT9XehrtaQa7PPE5DjK92xpcQK6jk UYl4daIXNkjBbZem/IctQxhxwcE1+sE= X-Google-Smtp-Source: ABdhPJxOQzQ932xgzpYN781l1E2Mrn52thS0w3AS7fA/Fd32RWbdexKGq6FJ+j3XQstkM3CG3z8HLw== X-Received: by 2002:ad4:51ca:: with SMTP id p10mr10432651qvq.27.1630079070333; Fri, 27 Aug 2021 08:44:30 -0700 (PDT) Received: from gusbrs-laptop ([102.129.153.57]) by smtp.gmail.com with ESMTPSA id w20sm3648629qtj.72.2021.08.27.08.44.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 08:44:29 -0700 (PDT) References: <87h7fbqdnj.fsf@gmail.com> <8735quncar.fsf@gnu.org> User-agent: mu4e 1.6.5; emacs 27.2 From: Gustavo Barros Date: Fri, 27 Aug 2021 12:40:15 -0300 In-reply-to: <8735quncar.fsf@gnu.org> Message-ID: <875yvqzycm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=gusbrs.2016@gmail.com; helo=mail-qv1-xf2b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) Hi Tassilo, On Fri, 27 Aug 2021 at 17:13, Tassilo Horn wrote: > The problem is that not just the tex file doesn't exist but the > containing directory ~/test/ doesn't exist either. But that seems to > be > already set as `default-directory' so the shell commands testing for > the > availability of the evince-based viewers should run in a non-existend > CWD. Well, I always create "throw away" test files under a "throw away" dir, not to have to deal with stray `TeX-auto-local' directories mixed with my actual files. ;-) > Well, those tests will work the same no matter which > `default-directory', so we could bind `default-directory' to "~" for > those calls, I think. > > I'll come to that when I find some spare time. I'm not up-to-date with the recent changes related to the issue. But I thank you for looking into it when you can. Best, Gustavo. From unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sat, 28 Aug 2021 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Gustavo Barros Cc: 50225@debbugs.gnu.org X-Debbugs-Original-Cc: bug-auctex@gnu.org, 50225@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16301349506651 (code B ref -1); Sat, 28 Aug 2021 07:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2021 07:15:50 +0000 Received: from localhost ([127.0.0.1]:53308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJsZB-0001jD-N1 for submit@debbugs.gnu.org; Sat, 28 Aug 2021 03:15:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:36884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJsZ7-0001j2-2t for submit@debbugs.gnu.org; Sat, 28 Aug 2021 03:15:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJsZ6-0004yA-RL for bug-auctex@gnu.org; Sat, 28 Aug 2021 03:15:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55538) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJsZ6-0007Ik-IJ; Sat, 28 Aug 2021 03:15:44 -0400 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:46473) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJsZ6-0005bW-5R; Sat, 28 Aug 2021 03:15:44 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id 7672427C0054; Sat, 28 Aug 2021 03:15:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 28 Aug 2021 03:15:43 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddugedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepveevieekteekveeigfefffeivdetgeduvdffue euudevgedttdehvdfhueevfffhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 Aug 2021 03:15:42 -0400 (EDT) References: <87h7fbqdnj.fsf@gmail.com> <8735quncar.fsf@gnu.org> <875yvqzycm.fsf@gmail.com> User-agent: mu4e 1.6.5; emacs 28.0.50 From: Tassilo Horn Date: Sat, 28 Aug 2021 09:10:01 +0200 In-reply-to: <875yvqzycm.fsf@gmail.com> Message-ID: <87lf4mujja.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Hey Gustavo, >> The problem is that not just the tex file doesn't exist but the >> containing directory ~/test/ doesn't exist either. But that seems to >> be already set as `default-directory' so the shell commands testing >> for the availability of the evince-based viewers should run in a >> non-existend CWD. > > Well, I always create "throw away" test files under a "throw away" > dir, not to have to deal with stray `TeX-auto-local' directories mixed > with my actual files. ;-) That's a sensible habit. I guess you haven't seen that error previously because you always opened another tex file in some existing directory first. The error only occurred when tex.el was initially loaded while default-directory was set to some non-existent directory. >> Well, those tests will work the same no matter which >> `default-directory', so we could bind `default-directory' to "~" for >> those calls, I think. >> >> I'll come to that when I find some spare time. > > I'm not up-to-date with the recent changes related to the issue. No, the problem is definitely there since 2016, no recent change involved. > But I thank you for looking into it when you can. Should be fixed on master. Please give it a try. Bye, Tassilo From unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sat, 28 Aug 2021 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Tassilo Horn Cc: 50225@debbugs.gnu.org X-Debbugs-Original-Cc: bug-auctex@gnu.org, 50225@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163017867924288 (code B ref -1); Sat, 28 Aug 2021 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2021 19:24:39 +0000 Received: from localhost ([127.0.0.1]:55024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK3wR-0006Jb-Aa for submit@debbugs.gnu.org; Sat, 28 Aug 2021 15:24:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:41486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK3wM-0006JK-6l for submit@debbugs.gnu.org; Sat, 28 Aug 2021 15:24:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK3wM-0000Wa-1N for bug-auctex@gnu.org; Sat, 28 Aug 2021 15:24:30 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:36583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mK3wK-0001vv-Aj; Sat, 28 Aug 2021 15:24:29 -0400 Received: by mail-qt1-x835.google.com with SMTP id t32so8206527qtc.3; Sat, 28 Aug 2021 12:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=jeTRcqcU40qvP/XYtNzpYZ+Jm2pzxIZHNC8UkZ/IG9Y=; b=Vquzi8fZNnqtnZXUpBQkrwBNevlV7Vs7sMyeJiq/23j/Pdx5kj+GO1JypPzU9LCYC9 lNag3z8POTiN1Zqu/Id84iC+gAE7k2lZkCkyPfbBnuC3Kcd0tOHZUwhlO7reFl/kytqy GFhA6zbYA3LTa/znuWWRr3I14gmD3gXEalqbrJRI7N2tcb8b5ZKNBpNipnOanAL8ivBQ 1xoU77v3ed7S/sc1UIcbPtgrdd56DqmH7k2FhlC85Gkdfrqaewue9sYZsxnTQSydu5Dk WmI5hJWzjxiubrutX/okBZXgajBD8wAx+uI865Vdjw8jFf1bhQhTC5/VBq4C704Opzbw D23A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :date:in-reply-to:message-id:mime-version; bh=jeTRcqcU40qvP/XYtNzpYZ+Jm2pzxIZHNC8UkZ/IG9Y=; b=jBni/PAzkTzGCe4LPZPfoTNv4wtTAsGVAzZ1ijYLF8Ku/sLi1SE+XZepo77p0xI9oS 6bRV2wbJ84lCFS6xZYmoR/G4rxFlssvJV9y4daOnAv21eGXuJ5enNo2cNJVoeyZcE6qC TwCfTsBoZaSR5XrKT3Gf/vmt0E97/l3atwu978+W1xL/eMXqoywRAwW9qEuY7VoQbt+A /NPlOuqOlRurruiXJvPd9YPq0Een+PaxlBWgiIeuFe9VpwLoYk4LZ+dIe8gV2PfivBu9 nLwV1uKd346JNRf85slTaf+ro6yyZW6mYChU1Mpjv3hfs/k0l3zE7wU7Tn5OJj1ic3g3 /qZg== X-Gm-Message-State: AOAM5317S0tOItnF5Fpq8RJEZsEqZGLxRX9xsHA4sR6ePUax32teYU0d OQfwU/DI8SE9fHap+mhwH5iWvMZv28A= X-Google-Smtp-Source: ABdhPJyVBVHLATP7Lh7VKf/T7VAMcRrSAWtMp2B0NCPRUhvE4/h6Nc0PaT/l5GRs1lVa7BHCCcjTGw== X-Received: by 2002:a05:622a:28d:: with SMTP id z13mr14199688qtw.313.1630178665023; Sat, 28 Aug 2021 12:24:25 -0700 (PDT) Received: from gusbrs-laptop ([102.129.152.28]) by smtp.gmail.com with ESMTPSA id x25sm5863354qtj.77.2021.08.28.12.24.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Aug 2021 12:24:23 -0700 (PDT) References: <87h7fbqdnj.fsf@gmail.com> <8735quncar.fsf@gnu.org> <875yvqzycm.fsf@gmail.com> <87lf4mujja.fsf@gnu.org> User-agent: mu4e 1.6.5; emacs 27.2 From: Gustavo Barros Date: Sat, 28 Aug 2021 16:05:32 -0300 In-reply-to: <87lf4mujja.fsf@gnu.org> Message-ID: <877dg51ifw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=gusbrs.2016@gmail.com; helo=mail-qt1-x835.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) Hi Tassilo, On Sat, 28 Aug 2021 at 09:10, Tassilo Horn wrote: >>> The problem is that not just the tex file doesn't exist but the >>> containing directory ~/test/ doesn't exist either. But that seems >>> to >>> be already set as `default-directory' so the shell commands testing >>> for the availability of the evince-based viewers should run in a >>> non-existend CWD. >> >> Well, I always create "throw away" test files under a "throw away" >> dir, not to have to deal with stray `TeX-auto-local' directories >> mixed >> with my actual files. ;-) > > That's a sensible habit. I guess you haven't seen that error > previously > because you always opened another tex file in some existing directory > first. The error only occurred when tex.el was initially loaded while > default-directory was set to some non-existent directory. > >> I'm not up-to-date with the recent changes related to the issue. > > No, the problem is definitely there since 2016, no recent change > involved. > Well, I was much surprised by this. For I really do this frequently, and do it purposefully. And have been doing it for some time. Creating a new directory in the process is what ensures I'm getting a clean slate, so I'm sure to do it. And the first time I met the issue was the day I reported it. Since I had just upgraded AUCTeX, I assumed it must have been it, wrongly, as it turns out. But I did some checking now. I reverted to v13.0.13, and the problem was there. Then to v13.0.12, and the problem was there. I did upgrade my OS just this week (Mint 20.1 to 20.2 Cinnamon), so there might have been some change on `evince's side making it less lenient. Truth is: I don't know what changed, even though I'm convinced something has, recently. But, as far as I can tell from my tests, I think you are right in saying it was not AUCTeX. > > Should be fixed on master. Please give it a try. > I have, and can gladly report the issue is gone on my side with the fix. Thank you very much. Best, Gustavo. From unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sat, 28 Aug 2021 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Gustavo Barros Cc: 50225-done@debbugs.gnu.org, 50225@debbugs.gnu.org X-Debbugs-Original-Cc: 50225-done@debbugs.gnu.org, bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163018040727041 (code B ref -1); Sat, 28 Aug 2021 19:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2021 19:53:27 +0000 Received: from localhost ([127.0.0.1]:55048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK4ON-000724-Fs for submit@debbugs.gnu.org; Sat, 28 Aug 2021 15:53:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:43616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK4OL-00071x-2i for submit@debbugs.gnu.org; Sat, 28 Aug 2021 15:53:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK4OK-0003cj-Ih for bug-auctex@gnu.org; Sat, 28 Aug 2021 15:53:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45652) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK4OK-00048T-9t; Sat, 28 Aug 2021 15:53:24 -0400 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:47711) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK4OI-00065H-Vh; Sat, 28 Aug 2021 15:53:24 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 962A127C0054; Sat, 28 Aug 2021 15:53:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 28 Aug 2021 15:53:21 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudduhedgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepveevieekteekveeigfefffeivdetgeduvdffue euudevgedttdehvdfhueevfffhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 Aug 2021 15:53:20 -0400 (EDT) References: <87h7fbqdnj.fsf@gmail.com> <8735quncar.fsf@gnu.org> <875yvqzycm.fsf@gmail.com> <87lf4mujja.fsf@gnu.org> <877dg51ifw.fsf@gmail.com> User-agent: mu4e 1.6.5; emacs 28.0.50 From: Tassilo Horn Date: Sat, 28 Aug 2021 21:47:47 +0200 In-reply-to: <877dg51ifw.fsf@gmail.com> Message-ID: <87h7f98hxu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Gustavo Barros writes: Hi Gustavo, >>> I'm not up-to-date with the recent changes related to the issue. >> >> No, the problem is definitely there since 2016, no recent change >> involved. > > Well, I was much surprised by this. For I really do this frequently, > and do it purposefully. And have been doing it for some time. > Creating a new directory in the process is what ensures I'm getting a > clean slate, so I'm sure to do it. And the first time I met the issue > was the day I reported it. Since I had just upgraded AUCTeX, I > assumed it must have been it, wrongly, as it turns out. But I did > some checking now. I reverted to v13.0.13, and the problem was there. > Then to v13.0.12, and the problem was there. I did upgrade my OS just > this week (Mint 20.1 to 20.2 Cinnamon), so there might have been some > change on `evince's side making it less lenient. No no, the error comes from emacs complaining that it cannot set the working directory for the shell to a directory which doesn't exist. > Truth is: I don't know what changed, even though I'm convinced > something has, recently. But, as far as I can tell from my tests, I > think you are right in saying it was not AUCTeX. I just checked with an emacs 22 installation. You get the very same error there. >> Should be fixed on master. Please give it a try. > > I have, and can gladly report the issue is gone on my side with the > fix. That's all that matters. :-) > Thank you very much. You're welcome! Bye, Tassilo From unknown Tue Aug 19 02:59:45 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: Gustavo Barros Subject: bug#50225: closed (Re: bug#50225: 13.0.14; Non-file-visiting TeX buffers) Message-ID: References: <87h7f98hxu.fsf@gnu.org> <87h7fbqdnj.fsf@gmail.com> X-Gnu-PR-Message: they-closed 50225 X-Gnu-PR-Package: auctex Reply-To: 50225@debbugs.gnu.org Date: Sat, 28 Aug 2021 19:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1630180442-27104-1" This is a multi-part message in MIME format... ------------=_1630180442-27104-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50225: 13.0.14; Non-file-visiting TeX buffers 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 50225@debbugs.gnu.org. --=20 50225: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50225 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1630180442-27104-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50225-done) by debbugs.gnu.org; 28 Aug 2021 19:53:31 +0000 Received: from localhost ([127.0.0.1]:55051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK4OQ-00072J-Pa for submit@debbugs.gnu.org; Sat, 28 Aug 2021 15:53:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK4OP-00071w-Mn for 50225-done@debbugs.gnu.org; Sat, 28 Aug 2021 15:53:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45652) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mK4OK-00048T-9t; Sat, 28 Aug 2021 15:53:24 -0400 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:47711) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK4OI-00065H-Vh; Sat, 28 Aug 2021 15:53:24 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 962A127C0054; Sat, 28 Aug 2021 15:53:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 28 Aug 2021 15:53:21 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudduhedgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepveevieekteekveeigfefffeivdetgeduvdffue euudevgedttdehvdfhueevfffhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 Aug 2021 15:53:20 -0400 (EDT) References: <87h7fbqdnj.fsf@gmail.com> <8735quncar.fsf@gnu.org> <875yvqzycm.fsf@gmail.com> <87lf4mujja.fsf@gnu.org> <877dg51ifw.fsf@gmail.com> User-agent: mu4e 1.6.5; emacs 28.0.50 From: Tassilo Horn To: Gustavo Barros Subject: Re: bug#50225: 13.0.14; Non-file-visiting TeX buffers Date: Sat, 28 Aug 2021 21:47:47 +0200 In-reply-to: <877dg51ifw.fsf@gmail.com> Message-ID: <87h7f98hxu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50225-done Cc: 50225-done@debbugs.gnu.org, bug-auctex@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.3 (---) Gustavo Barros writes: Hi Gustavo, >>> I'm not up-to-date with the recent changes related to the issue. >> >> No, the problem is definitely there since 2016, no recent change >> involved. > > Well, I was much surprised by this. For I really do this frequently, > and do it purposefully. And have been doing it for some time. > Creating a new directory in the process is what ensures I'm getting a > clean slate, so I'm sure to do it. And the first time I met the issue > was the day I reported it. Since I had just upgraded AUCTeX, I > assumed it must have been it, wrongly, as it turns out. But I did > some checking now. I reverted to v13.0.13, and the problem was there. > Then to v13.0.12, and the problem was there. I did upgrade my OS just > this week (Mint 20.1 to 20.2 Cinnamon), so there might have been some > change on `evince's side making it less lenient. No no, the error comes from emacs complaining that it cannot set the working directory for the shell to a directory which doesn't exist. > Truth is: I don't know what changed, even though I'm convinced > something has, recently. But, as far as I can tell from my tests, I > think you are right in saying it was not AUCTeX. I just checked with an emacs 22 installation. You get the very same error there. >> Should be fixed on master. Please give it a try. > > I have, and can gladly report the issue is gone on my side with the > fix. That's all that matters. :-) > Thank you very much. You're welcome! Bye, Tassilo ------------=_1630180442-27104-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Aug 2021 12:24:13 +0000 Received: from localhost ([127.0.0.1]:51418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJau5-0006po-6O for submit@debbugs.gnu.org; Fri, 27 Aug 2021 08:24:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJau1-0006pe-OY for submit@debbugs.gnu.org; Fri, 27 Aug 2021 08:24:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJau1-0000DH-H3 for bug-auctex@gnu.org; Fri, 27 Aug 2021 08:24:09 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:44927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJatz-00063g-AU for bug-auctex@gnu.org; Fri, 27 Aug 2021 08:24:09 -0400 Received: by mail-qt1-x82e.google.com with SMTP id r21so5126544qtw.11 for ; Fri, 27 Aug 2021 05:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:date:message-id:mime-version; bh=MMjiWapCsXJVzR23j/dbsFi/z8nOkkd+MP0uFSmfQF8=; b=JzbZMNSVqAS444EDHAL3+4NOcmpNhJ8zareaZY6x8iH/JZUr6VW8uNaTUu3gGNLsIQ 21o0W80H5KrK0b4d2nf8Tjt3jWNUTATHgS5F8wyFWgFQ2xPBnrrrTuFHggVKHra3SzzO lnnM5qE+9JQsaNZHGTNoM+Tj1oUoQI94VcNK8V2mhybABOt1OFBbskpiIitWRMmDb721 mNkjVwqeE8uQKGGKnJ9t2WtE0gBrBxlv7lJbb44kf5ul0BslZ7bAvx7JqugXAWIDPt1o YCNAmYHrVsc/m66GSwJrIb6y+Pekn7EEuKQryhvKhwL/XuInrXSxF3iVWlGJ6S/gFTB7 66rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:date :message-id:mime-version; bh=MMjiWapCsXJVzR23j/dbsFi/z8nOkkd+MP0uFSmfQF8=; b=VL8RztL0InsY6XdIUcqO49SF+DW7ZOCN59O0teQkt+1D0nkL0jEClpVOvqSwDYfChH 2TX1fFgGVkiENPctN2MmpxXruzzc+eTOxo0Uq8kTMTuLfOKHrIaSfDs3CS6tn0jr2UT0 xSUcKYd3iMjCzMVflw7nnOHY5kYGLDFJ5m2KZ1IY0aDBt6CHQsCI4YNIKvi81H98nWwg TMQaPq0zzoOvn9lIA+CX9tTbrEAn0jfuwCatpTl9eDPlWE/kZWFKcva3EbslCkRSHeM4 bFwgLwwrlmzIL6ANMBmi+HnXTNpXdh0HykHpl5/TYMxzIqQ/Z+YlhG1VZrblBITpSLlv t6VA== X-Gm-Message-State: AOAM533WEi+R2AHzUY1KVWxL7pRgzeOklIBY0co4YanCqAaXxRF4QVzl rpgD9z+U3019t7kGlIv1EdUuAmkjQaU= X-Google-Smtp-Source: ABdhPJzK6hs4tXDUwcc2OmIfvLznwRlE+D1wY4W/qQO+34k4ZdbaN1JWPBohXJMRf2ijtexCNde+pQ== X-Received: by 2002:ac8:110b:: with SMTP id c11mr7973394qtj.388.1630067044846; Fri, 27 Aug 2021 05:24:04 -0700 (PDT) Received: from gusbrs-laptop ([102.129.152.110]) by smtp.gmail.com with ESMTPSA id l126sm4732926qke.96.2021.08.27.05.24.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 05:24:03 -0700 (PDT) User-agent: mu4e 1.6.5; emacs 27.2 From: Gustavo Barros To: bug-auctex@gnu.org Subject: 13.0.14; Non-file-visiting TeX buffers Date: Fri, 27 Aug 2021 09:20:54 -0300 Message-ID: <87h7fbqdnj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=gusbrs.2016@gmail.com; helo=mail-qt1-x82e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) Hi All, Since the latest release (v13.0.14), I'm having problems opening a new `.tex' buffer (still non-file-visiting) when `TeX-view-evince-keep-focus' is `t'. As far as I can tell/recall, I did not face this until upgrading today (and this is a procedure I do commonly, but I did not rigorously test this to pin down the change). An ECM to reproduce the issue is: start `emacs -Q'. Do an initial setup: #+begin_src emacs-lisp (add-to-list 'load-path "~/.emacs.d/elpa/auctex-13.0.14") (load "auctex.el" nil t t) (setq TeX-parse-self t) (setq TeX-auto-save t) (setq TeX-view-evince-keep-focus t) #+end_src Now, find a `.tex' file which does not yet exist, say "~/test/test.tex" with `C-x C-f test/test.tex RET'. We then get the error "File mode specification error: (file-missing Setting current directory No such file or directory /home/gustavo/test/)". The file itself gets opened in fundamental mode. With `M-x toggle-debug-on-error' and repeating the procedure, we get the following backtrace (its final part): #+begin_example Debugger entered--Lisp error: (file-missing "Setting current directory" "No such file or directory" "/home/gustavo/test/") call-process("/bin/bash" nil t nil "-c" "atril --help") call-process-shell-command("atril --help" nil t) shell-command("atril --help" t) shell-command-to-string("atril --help") TeX-view-program-select-evince("mate" "atril") byte-code("\10\301\267\202\n\0\302\207\303\207\304\305\306\307\310\311DE\312\313\314\315\316\317\"\320BB\321\315\322\323\"\324BB\325\315\326\327\"\330BB\331BBBBB..." [system-type # (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap") ("dviout" ("dviout -1 " ((paper-a4 paper-portrait) "-y=A4 ") ((paper-a4 paper-landscape) "-y=A4L ") ((paper-a5 paper-portrait) "-y=A5 ") ((paper-a5 paper-landscape) "-y=A5L ") ((paper-b5 paper-portrait) "-y=E5 ") ((paper-b5 paper-landscape) "-y=E5L ") ((paper-b4jis paper-portrait) "-y=B4 ") ((paper-b4jis paper-landscape) "-y=B4L ") ((paper-b5jis paper-portrait) "-y=B5 ") ((paper-b5jis paper-landscape) "-y=B5L ") (paper-legal "-y=Legal ") (paper-letter "-y=Letter ") (paper-executive "-y=Executive ") "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout") ("PDF Tools" TeX-pdf-tools-sync-view) ("SumatraPDF" ("SumatraPDF -reuse-instance" (mode-io-correlate " -forward-search \"%b\" %n") " %o") "SumatraPDF") ("dvips and start" "dvips %d -o && start \"\" %f" "dvips") ("start" "start \"\" %o")) (("Preview.app" "open -a Preview.app %o" "open") ("Skim" "open -a Skim.app %o" "open") ("PDF Tools" TeX-pdf-tools-sync-view) ("displayline" "displayline %n %o %b" "displayline") ("open" "open %o" "open")) ("dvi2tty" ("dvi2tty -q -w 132 %o")) ("xdvi" ("%(o?)xdvi" (mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"") ((paper-a4 paper-portrait) " -paper a4") ((paper-a4 paper-landscape) " -paper a4r") ((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-landscape) " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -paper us") (paper-legal " -paper legal") (paper-executive " -paper 7.25x10.5in") " %d") "%(o?)xdvi") "dvips and gv" "%(o?)dvips %d -o && gv %f" "%(o?)dvips" "gv" ("gv" "gv %o" "gv") ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate " %(outpage)")) "xpdf") "Evince" TeX-view-program-select-evince "gnome" "evince" ("evince") "Atril" "mate" "atril" ("atril") "Xreader" "x" "reader" ("xreader") (("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open" "xdg-open %o" "xdg-open") ("PDF Tools" TeX-pdf-tools-sync-view) ("Zathura" ("zathura %o" (mode-io-correlate " --synctex-forward %n:0:\"%b\" -x \"emacsclient +%{li...")) "zathura"))] 11) (defvar TeX-view-program-list-builtin (byte-code "\10\301\267\202\n\0\302\207\303\207\304\305\306\307\310\311DE\312\313\314\315\316\317\"\320BB\321\315\322\323\"\324BB\325\315\326\327\"\330BB\331BBBBB..." [system-type # (("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap") ("dviout" ("dviout -1 " ((paper-a4 paper-portrait) "-y=A4 ") ((paper-a4 paper-landscape) "-y=A4L ") ((paper-a5 paper-portrait) "-y=A5 ") ((paper-a5 paper-landscape) "-y=A5L ") ((paper-b5 paper-portrait) "-y=E5 ") ((paper-b5 paper-landscape) "-y=E5L ") ((paper-b4jis paper-portrait) "-y=B4 ") ((paper-b4jis paper-landscape) "-y=B4L ") ((paper-b5jis paper-portrait) "-y=B5 ") ((paper-b5jis paper-landscape) "-y=B5L ") (paper-legal "-y=Legal ") (paper-letter "-y=Letter ") (paper-executive "-y=Executive ") "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout") ("PDF Tools" TeX-pdf-tools-sync-view) ("SumatraPDF" ("SumatraPDF -reuse-instance" (mode-io-correlate " -forward-search \"%b\" %n") " %o") "SumatraPDF") ("dvips and start" "dvips %d -o && start \"\" %f" "dvips") ("start" "start \"\" %o")) (("Preview.app" "open -a Preview.app %o" "open") ("Skim" "open -a Skim.app %o" "open") ("PDF Tools" TeX-pdf-tools-sync-view) ("displayline" "displayline %n %o %b" "displayline") ("open" "open %o" "open")) ("dvi2tty" ("dvi2tty -q -w 132 %o")) ("xdvi" ("%(o?)xdvi" (mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"") ((paper-a4 paper-portrait) " -paper a4") ((paper-a4 paper-landscape) " -paper a4r") ((paper-a5 paper-portrait) " -paper a5") ((paper-a5 paper-landscape) " -paper a5r") (paper-b5 " -paper b5") (paper-letter " -paper us") (paper-legal " -paper legal") (paper-executive " -paper 7.25x10.5in") " %d") "%(o?)xdvi") "dvips and gv" "%(o?)dvips %d -o && gv %f" "%(o?)dvips" "gv" ("gv" "gv %o" "gv") ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate " %(outpage)")) "xpdf") "Evince" TeX-view-program-select-evince "gnome" "evince" ("evince") "Atril" "mate" "atril" ("atril") "Xreader" "x" "reader" ("xreader") (("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "okular") ("xdg-open" "xdg-open %o" "xdg-open") ("PDF Tools" TeX-pdf-tools-sync-view) ("Zathura" ("zathura %o" (mode-io-correlate " --synctex-forward %n:0:\"%b\" -x \"emacsclient +%{li...")) "zathura"))] 11) ("/home/gustavo/.emacs.d/elpa/auctex-13.0.14/tex.elc" . 38206)) TeX-tex-mode() apply(TeX-tex-mode nil) tex-mode() set-auto-mode-0(tex-mode nil) set-auto-mode() normal-mode(t) after-find-file(t t) find-file-noselect-1(# "~/test/test.tex" nil nil "~/test/test.tex" nil) find-file-noselect("~/test/test.tex" nil nil t) find-file("~/test/test.tex" t) #+end_example Best regards, Gustavo. Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2021-03-25 Package: 13.0.14 current state: ============== (setq AUCTeX-date "2021-08-26" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/gustavo/.emacs.d/elpa/auctex-13.0.14/style" "/home/gustavo/.emacs.d/auctex/auto" "/home/gustavo/.emacs.d/auctex/style" "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)%' %(output-dir) %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) %(o-dir) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) %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 %(O?aux)" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run Biber") ("Texindex" "texindex %s.??" TeX-run-command nil (texinfo-mode) :help "Run Texindex") ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command nil (texinfo-mode) :help "Run Texi2dvi or Texi2pdf") ("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 (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %(d-dir) %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary file") ("Index" "makeindex %(O?idx)" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %(O?idx)" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :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")) ) ------------=_1630180442-27104-1-- From unknown Tue Aug 19 02:59:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50225: 13.0.14; Non-file-visiting TeX buffers Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sat, 28 Aug 2021 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50225 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Tassilo Horn Cc: 50225-done@debbugs.gnu.org, 50225@debbugs.gnu.org X-Debbugs-Original-Cc: 50225-done@debbugs.gnu.org, bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163018125628443 (code B ref -1); Sat, 28 Aug 2021 20:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2021 20:07:36 +0000 Received: from localhost ([127.0.0.1]:55063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK4c4-0007Oc-2S for submit@debbugs.gnu.org; Sat, 28 Aug 2021 16:07:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:44822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mK4c0-0007OS-Pn for submit@debbugs.gnu.org; Sat, 28 Aug 2021 16:07:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mK4c0-0005IF-JL for bug-auctex@gnu.org; Sat, 28 Aug 2021 16:07:32 -0400 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]:42549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mK4bz-00051F-8G; Sat, 28 Aug 2021 16:07:32 -0400 Received: by mail-qv1-xf33.google.com with SMTP id gf5so6077755qvb.9; Sat, 28 Aug 2021 13:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=Vnl+znFgC8qOkS2wkO1SGharKuq472VaRxJBPuWjjWw=; b=cniwoEjkMzDkY48jn+oqyMa9aV/9YJhvRGxOlUM/ePUIedL7IFZYCju/JaIDTiXa61 /SxRNvVoGCETdjWmgqjAWvNnyEcRnXjlzQjM882DoJ25azp7SMKqoe9nP0AHjsMcK7SH Ke1++y6PSaf60aZm8HiYwuIAkWcsaqhrd8vplOebPHCpgZyTJN/yRqS8zYEF7aOZ19A4 fZ2lPsmuiZkmbJqKoZQGmE+W6JsO9iJQaNhWXfZkTwK9lYdU7d44tey7D386wBUpqp4k cAe/+yT2BomYk0J/nJb+U5hqDY3kYeM++DacN4XH+ZSZh1h6v1RLjztNrI8BszrV61NA KwaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :date:in-reply-to:message-id:mime-version; bh=Vnl+znFgC8qOkS2wkO1SGharKuq472VaRxJBPuWjjWw=; b=OtRy6eeZLZR4vHsSvCw8FDvIgELnzovcgCVgCWRrKu1YHU9fOdcrMz7FaF+BQZ1XX6 NbHtfSZfLfmbkUHrIgquomX++tquAzoDEaXVE3OfRArVLqovignYCMc6472Nl9OcrFSZ isMr2qruHQ8hBnbrAFu9OjJDIzHd0ayFUvOU/WAk9VOT6nEEJgJVaRmOa0c7+28YuzsJ am4qmJlEKyPHOOaMI+lXfI8zPDakqPdeq+PIIh8grLzVrJYKa00VVTIitoWbI+CTdFHE Os7qPjngg8E2XpCgcrmlmbxeAxgTWka6dgBkN/LJGGSzzOeu+nuMjKzjEL9Cq3cgsazT KAtw== X-Gm-Message-State: AOAM532CwWTcImpebocr5gaPUa9Dcio/f1i0xn/gqf4IO+cbYHJMTyBi V1HL4bXZJiDnU4BpildOzbBsjjBtQgM= X-Google-Smtp-Source: ABdhPJxRHUmVesRYZYKm0LfpooekoDBiv6Oo/qd0fiA5m1f3raMDgSMS/bRh/Isa4Lxxov2VnEI3GQ== X-Received: by 2002:a05:6214:c3:: with SMTP id f3mr16526315qvs.1.1630181249469; Sat, 28 Aug 2021 13:07:29 -0700 (PDT) Received: from gusbrs-laptop ([102.129.152.28]) by smtp.gmail.com with ESMTPSA id o19sm2978687qtv.85.2021.08.28.13.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Aug 2021 13:07:28 -0700 (PDT) References: <87h7fbqdnj.fsf@gmail.com> <8735quncar.fsf@gnu.org> <875yvqzycm.fsf@gmail.com> <87lf4mujja.fsf@gnu.org> <877dg51ifw.fsf@gmail.com> <87h7f98hxu.fsf@gnu.org> User-agent: mu4e 1.6.5; emacs 27.2 From: Gustavo Barros Date: Sat, 28 Aug 2021 17:00:57 -0300 In-reply-to: <87h7f98hxu.fsf@gnu.org> Message-ID: <87o89hl4ea.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::f33; envelope-from=gusbrs.2016@gmail.com; helo=mail-qv1-xf33.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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: -2.1 (--) Hi Tassilo, On Sat, 28 Aug 2021 at 21:47, Tassilo Horn wrote: > > No no, the error comes from emacs complaining that it cannot set the > working directory for the shell to a directory which doesn't exist. > > > I just checked with an emacs 22 installation. You get the very same > error there. > Well... what to say? I'm baffled. I guess the only thing I can still blame for it is my own age. ;-) >>> Should be fixed on master. Please give it a try. >> >> I have, and can gladly report the issue is gone on my side with the >> fix. > > That's all that matters. :-) > Indeed, that sorts things out. (I'll go take my pills now... :-) Bye, Gustavo.