From unknown Sun Jun 15 08:15:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40449 <40449@debbugs.gnu.org> To: bug#40449 <40449@debbugs.gnu.org> Subject: Status: 12.1; view with okular crashes Reply-To: bug#40449 <40449@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:15:59 +0000 retitle 40449 12.1; view with okular crashes reassign 40449 auctex submitter 40449 Ernst Reissner severity 40449 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 09:09:33 2020 Received: (at submit) by debbugs.gnu.org; 5 Apr 2020 13:09:33 +0000 Received: from localhost ([127.0.0.1]:45355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL51p-0003GQ-1Z for submit@debbugs.gnu.org; Sun, 05 Apr 2020 09:09:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:45496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL51m-0003GD-Qo for submit@debbugs.gnu.org; Sun, 05 Apr 2020 09:09:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52740) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL51l-0000dx-9w for bug-auctex@gnu.org; Sun, 05 Apr 2020 09:09:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_20,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jL51j-0000iD-A5 for bug-auctex@gnu.org; Sun, 05 Apr 2020 09:09:28 -0400 Received: from vsmx012.vodafonemail.xion.oxcs.net ([153.92.174.90]:52684) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jL51j-0000fH-0w for bug-auctex@gnu.org; Sun, 05 Apr 2020 09:09:27 -0400 Received: from vsmx004.vodafonemail.xion.oxcs.net (unknown [192.168.75.198]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTP id 68A59F34D3C; Sun, 5 Apr 2020 13:09:22 +0000 (UTC) Received: from [192.168.2.101] (unknown [188.110.167.247]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 1089A19AEDA; Sun, 5 Apr 2020 13:09:18 +0000 (UTC) To: bug-auctex@gnu.org From: Ernst Reissner Subject: 12.1; view with okular crashes Autocrypt: addr=rei3ner@arcor.de; prefer-encrypt=mutual; keydata= mDMEXomzfhYJKwYBBAHaRw8BAQdA+7rIM+j3LBatGJ1WR+9Kqmi7nV4QD6K2If9RJ5SWuVS0 IUVybnN0IFJlaXNzbmVyIDxyZWkzbmVyQGFyY29yLmRlPoiWBBMWCAA+FiEEfGsS9bl804On o055yeifkC5HY0MFAl6Js34CGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ yeifkC5HY0OcqgEAp2b6EhR0t4SCHCWwLTs93dxpDzIifwu72OYDq67DIoIBAOisjDjYsOWN Usv3ACEG90VHu2IHvVo+RgEkWnKivLgKuDgEXomzfhIKKwYBBAGXVQEFAQEHQLXfIqdcipWb sfw2EEK3HNKXraPHrJvm/MWfzXnBvuUQAwEIB4h+BBgWCAAmFiEEfGsS9bl804Ono055yeif kC5HY0MFAl6Js34CGwwFCQlmAYAACgkQyeifkC5HY0NOTQEA4jJVNZwkkM7mSR4z3ft2aCSZ 2HoQqIEGWVJeODKfiMgBALviyq6zOJeqyn1gc9A+9Qdsv7/5jynlOnQdW2PAxa4L Message-ID: <83feddc3-c647-e3a0-d21b-b95e3c11c255@arcor.de> Date: Sun, 5 Apr 2020 15:09:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US X-VADE-STATUS: LEGIT Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 153.92.174.90 X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. Be sure to consult the FAQ section in the manual before submitting a bug report.  In addition check if the bug is reproducable with an up-to-date version of AUCTeX.  So please upgrade to the version [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rei3ner[at]arcor.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=rei3ner%40arcor.de;ip=209.51.188.17;r=debbugs.gnu.org] 2.0 SPOOFED_FREEMAIL No description available. 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: -0.8 (/) Remember to cover the basics, that is, what you expected to happen and what in fact did happen. Be sure to consult the FAQ section in the manual before submitting a bug report.=C2=A0 In addition check if the bug is reproducable with an up-to-date version of AUCTeX.=C2=A0 So please upgrade to the version available from http://www.gnu.org/software/auctex/ if your installation is older than the one available from the web site. If the bug is triggered by a specific (La)TeX file, you should try to produce a minimal sample file showing the problem and include it in your report. Your report will be posted for the auctex package at the GNU bug tracker.=C2=A0 Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Daucte= x to browse existing AUCTeX bugs. ------------------------------------------------------------------------ In newest version of auctex, there is no tex view list any more. The old one was =C2=A0'(TeX-view-program-list =C2=A0=C2=A0 (quote =C2=A0=C2=A0=C2=A0 (("Okular" "okular -unique %o#src:%n%(masterdir)./%b")= ) =C2=A0=C2=A0=C2=A0 )) but as masterdir seems no longer supported, view crashes. I modified: =C2=A0'(TeX-view-program-list =C2=A0=C2=A0 (quote =C2=A0=C2=A0=C2=A0 ;(("Okular" "okular -unique %o#src:%n%(masterdir)./%b"= )) =C2=A0=C2=A0=C2=A0=C2=A0 (("Okular" "okular -unique %o#src:%n./%b")) =C2=A0=C2=A0=C2=A0 )) This works better but sometimes causes a crash with okular if tried to tap on a menu item. There is a workaround. But of course this config is a workaround itself. Emacs=C2=A0 : GNU Emacs 26.3 (build 1, x86_64-suse-linux-gnu, GTK+ Versio= n 3.24.13) Package: 12.1 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq =C2=A0AUCTeX-date "2017-12-10" =C2=A0window-system 'x =C2=A0LaTeX-version "2e" =C2=A0TeX-style-path '("/usr/share/emacs/site-lisp/auctex/auto" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 "/usr/share/emacs/site-lisp/= auctex/style" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 "/home/ernst/.emacs.d/auctex= /auto" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 "/home/ernst/.emacs.d/auctex= /style" "auto" "style") =C2=A0TeX-auto-save nil =C2=A0TeX-parse-self nil =C2=A0TeX-master t =C2=A0TeX-command-list '(("TeX" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "%(PDF)%(t= ex) %(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 TeX-run-Te= X nil =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 (plain-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 "Run plain= TeX") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("LaTeX" "%`%l%(= mode)%' %T" TeX-run-TeX nil =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 (latex-mod= e doctex-mode) :help "Run LaTeX") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Makeinfo" "mak= einfo %(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 (texinfo-m= ode) :help "Run Makeinfo with Info output") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Makeinfo HTML"= "makeinfo %(extraopts) --html %t" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 TeX-run-co= mpile nil (texinfo-mode) :help =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "Run Makei= nfo with HTML output") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("AmSTeX" "amste= x %(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 TeX-run-Te= X 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 ("ConTeXt" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "%(cntxcom= ) --once --texutil %(extraopts) %(execopts)%t" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 TeX-run-Te= X 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 ("ConTeXt Full" = "%(cntxcom) %(extraopts) %(execopts)%t" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 TeX-run-Te= X nil (context-mode) :help =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "Run ConTe= Xt until completion") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("BibTeX" "bibte= x %s" TeX-run-BibTeX nil t :help =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "Run BibTe= X") =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 ("View" "%V" TeX= -run-discard-or-function t t :help =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "Run Viewe= r") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Print" "%p" Te= X-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 ("Queue" "%q" Te= X-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 "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 ("File" "%(o?)dv= ips %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 "Generate = PostScript file") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Dvips" "%(o?)d= vips %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 "Convert D= VI file to PostScript") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Dvipdfmx" "dvi= pdfmx %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 "Convert D= VI file to PDF with dvipdfmx") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Ps2pdf" "ps2pd= f %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 "Convert P= ostScript file to PDF") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Glossaries" "m= akeglossaries %s" TeX-run-command nil t =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 :help "Run= makeglossaries to create glossary file") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Index" "makein= dex %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 "Run makei= ndex to create index file") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("upMendex" "upm= endex %s" TeX-run-index t t :help =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "Run upmen= dex to create index file") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Xindy" "texind= y %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 "Run xindy= to create index file") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Check" "lachec= k %s" TeX-run-compile nil (latex-mode) =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 :help "Che= ck LaTeX file for correctness") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("ChkTeX" "chkte= x -v6 %s" TeX-run-compile nil (latex-mode) =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 :help "Che= ck LaTeX file for common mistakes") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Spell" "(TeX-i= spell-document \"\")" TeX-run-function nil =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 t :help "S= pell-check the document") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Clean" "TeX-cl= ean" 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 "Delete ge= nerated intermediate files") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("Clean All" "(T= eX-clean t)" 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 "Delete ge= nerated intermediate and output files") =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 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 "Run an ar= bitrary command") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ) =C2=A0) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 17:24:15 2020 Received: (at 40449) by debbugs.gnu.org; 6 Apr 2020 21:24:15 +0000 Received: from localhost ([127.0.0.1]:49308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLZE6-0006Ho-TR for submit@debbugs.gnu.org; Mon, 06 Apr 2020 17:24:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLZE5-0006HP-6d for 40449@debbugs.gnu.org; Mon, 06 Apr 2020 17:24:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLZDy-0005DL-D2; Mon, 06 Apr 2020 17:24:06 -0400 Received: from pd9fb796b.dip0.t-ipconnect.de ([217.251.121.107]:55130 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jLZDx-0000ji-Tg; Mon, 06 Apr 2020 17:24:06 -0400 From: Arash Esbati To: Ernst Reissner Subject: Re: bug#40449: 12.1; view with okular crashes References: <83feddc3-c647-e3a0-d21b-b95e3c11c255@arcor.de> Date: Mon, 06 Apr 2020 23:18:44 +0200 In-Reply-To: <83feddc3-c647-e3a0-d21b-b95e3c11c255@arcor.de> (Ernst Reissner's message of "Sun, 5 Apr 2020 15:09:13 +0200") Message-ID: <86tv1wfh3f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40449 Cc: 40449@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Ernst, Ernst Reissner writes: > In newest version of auctex, there is no tex view list any more. There is still a `TeX-view-program-list' but it is a user customizable variable which defaults to nil. The predefined entries are in `TeX-view-program-list-builtin'. > The old one was > =A0'(TeX-view-program-list > =A0=A0 (quote > =A0=A0=A0 (("Okular" "okular -unique %o#src:%n%(masterdir)./%b")) > =A0=A0=A0 )) > > but as masterdir seems no longer supported, view crashes. > I modified: > > =A0'(TeX-view-program-list > =A0=A0 (quote > =A0=A0=A0 ;(("Okular" "okular -unique %o#src:%n%(masterdir)./%b")) > =A0=A0=A0=A0 (("Okular" "okular -unique %o#src:%n./%b")) > =A0=A0=A0 )) `TeX-view-program-list-builtin' has an entry for Okular which goes like this: ("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "okula= r") %a is an expander defined like this in `TeX-expand-list-builtin', note the comment: ;; Okular forward PDF search requires absolute path. ("%a" (lambda nil (prin1-to-string (expand-file-name (buffer-file-name)= )))) > This works better but sometimes causes a crash with okular > if tried to tap on a menu item. > There is a workaround. > But of course this config is a workaround itself. I don't use Okular but in theory, it should be sufficient if you check the above variables for entries quoted (otherwise please update AUCTeX) and just put something like this in your init file: (setq TeX-view-program-selection '((output-pdf "Okular"))) Okular must be in $PATH then. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 04:04:15 2024 Received: (at 40449) by debbugs.gnu.org; 5 Mar 2024 09:04:15 +0000 Received: from localhost ([127.0.0.1]:46095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhQid-0008EP-7f for submit@debbugs.gnu.org; Tue, 05 Mar 2024 04:04:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhQib-0008Dw-87 for 40449@debbugs.gnu.org; Tue, 05 Mar 2024 04:04:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhQi0-0004SU-Og; Tue, 05 Mar 2024 04:03:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KFci/V1/Ty0dFrsj3sV4DBk/CN1KWSBI+KgtHGg8soQ=; b=c2d4nBxyWvV1J3WuikNy gXU73OHd+Lr29sRn/NoKmKvHb6zL6fVQOCSzhQoKuevkrH7GvQNWMxvyfmoZMKyYdwhipyqWlccjr H3CXHdpOhlbCGtaUKjqfV3At4GnRiV76G6/K/QtL+FG84vtafyFOV9J+NK/Bvf2EFj67ayzgYw9Ab s8dTwAD6t/+uAgiL80yqxbSwJtIubRrqa5hZJJFgFooCo+XQdjDveLYX8Yy4Ykha5RFAAZ9Nlw2kj O4uEK6JN2bEjFxWZ/mVGwecvDXypSm6vZVIJT/mspg4pi+DACegYFCfXwZQa4rVKkgeXHlTpwKOnF aTCxsNg0YjfPcQ==; From: Arash Esbati To: Ernst Reissner Subject: Re: bug#40449: 12.1; view with okular crashes In-Reply-To: <86tv1wfh3f.fsf@gnu.org> (Arash Esbati's message of "Mon, 06 Apr 2020 23:18:44 +0200") References: <83feddc3-c647-e3a0-d21b-b95e3c11c255@arcor.de> <86tv1wfh3f.fsf@gnu.org> Date: Tue, 05 Mar 2024 10:03:34 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40449 Cc: 40449@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Arash Esbati writes: > Hi Ernst, > > Ernst Reissner writes: > >> In newest version of auctex, there is no tex view list any more. > > There is still a `TeX-view-program-list' but it is a user customizable > variable which defaults to nil. The predefined entries are in > `TeX-view-program-list-builtin'. > >> The old one was >> =C2=A0'(TeX-view-program-list >> =C2=A0=C2=A0 (quote >> =C2=A0=C2=A0=C2=A0 (("Okular" "okular -unique %o#src:%n%(masterdir)./%b"= )) >> =C2=A0=C2=A0=C2=A0 )) >> >> but as masterdir seems no longer supported, view crashes. >> I modified: >> >> =C2=A0'(TeX-view-program-list >> =C2=A0=C2=A0 (quote >> =C2=A0=C2=A0=C2=A0 ;(("Okular" "okular -unique %o#src:%n%(masterdir)./%b= ")) >> =C2=A0=C2=A0=C2=A0=C2=A0 (("Okular" "okular -unique %o#src:%n./%b")) >> =C2=A0=C2=A0=C2=A0 )) > > `TeX-view-program-list-builtin' has an entry for Okular which goes like > this: > > ("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%a")) "oku= lar") > > %a is an expander defined like this in `TeX-expand-list-builtin', note > the comment: > > ;; Okular forward PDF search requires absolute path. > ("%a" (lambda nil (prin1-to-string (expand-file-name (buffer-file-nam= e))))) > >> This works better but sometimes causes a crash with okular >> if tried to tap on a menu item. >> There is a workaround. >> But of course this config is a workaround itself. > > I don't use Okular but in theory, it should be sufficient if you check > the above variables for entries quoted (otherwise please update AUCTeX) > and just put something like this in your init file: > > (setq TeX-view-program-selection '((output-pdf "Okular"))) > > Okular must be in $PATH then. (I'm going through old bug reports that unfortunately weren't resolved at the time.) No further comments, therefore I'm closing this report. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 04:04:23 2024 Received: (at control) by debbugs.gnu.org; 5 Mar 2024 09:04:24 +0000 Received: from localhost ([127.0.0.1]:46099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhQil-0008F1-Ld for submit@debbugs.gnu.org; Tue, 05 Mar 2024 04:04:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhQij-0008Eb-Ot for control@debbugs.gnu.org; Tue, 05 Mar 2024 04:04:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhQiA-0004T7-C1 for control@debbugs.gnu.org; Tue, 05 Mar 2024 04:03:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=hjtFjkIU84OisclLdMo93tEEiUtLPCcNg24ya38eBBE=; b=nyL+Nkc6liaSjx EWYc3/qlpNc/BV5b/v/muWgD8IxQQlISSLnWmGbPC7TZUZwexgnFAsRSG1+Ao0WBUzDBtM5V35plu MdWll3k/RRIArdhfygT0xDbXBeWEWIaMfrBMphbsHVo1Yi5/8HyiYqa/NoUjskwkofOCGtNnTc8gT lFfDUO5JjI6wS4ZI1fb6ZzbRsEF6Q7F0P9/xyLIKj7qq5zB3sahy/GNadgNYaglzVLrPbfKlXrRk7 G2I4ruWPWUKSrG8s8BGVaAGbeXpc/mAbkAuYsN0ElELj5GbY6F4pjw5hiOyvCCsR/b3NNb3FoDzf4 NpHaZYQuBGlHMNQA3h0Q==; From: Arash Esbati To: control@debbugs.gnu.org Subject: control message for bug #40449 Date: Tue, 05 Mar 2024 10:03:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 40449 quit From unknown Sun Jun 15 08:15:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Apr 2024 11:24:20 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator