From unknown Fri Sep 05 08:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54099: 13.1.0; Company mode throws error when type "\lab" in a latex buffer Resent-From: =?UTF-8?Q?=E5=90=B4=E9=94=90=E6=89=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 22 Feb 2022 07:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54099 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 54099@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164551565431805 (code B ref -1); Tue, 22 Feb 2022 07:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2022 07:40:54 +0000 Received: from localhost ([127.0.0.1]:39903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMPn4-0008Gu-3D for submit@debbugs.gnu.org; Tue, 22 Feb 2022 02:40:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:55036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMPn2-0008Gn-GM for submit@debbugs.gnu.org; Tue, 22 Feb 2022 02:40:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMPn2-0004Du-9C for bug-auctex@gnu.org; Tue, 22 Feb 2022 02:40:52 -0500 Received: from [2607:f8b0:4864:20::632] (port=44926 helo=mail-pl1-x632.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMPn0-0005V3-Bm for bug-auctex@gnu.org; Tue, 22 Feb 2022 02:40:51 -0500 Received: by mail-pl1-x632.google.com with SMTP id q11so5065793pln.11 for ; Mon, 21 Feb 2022 23:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=TuXxg4CLVKWWBhjuFy+nMltnCv3Up9L6o/6Q+X1y2y8=; b=FHi8TORFkYbccOP1fhXZIn4ifmgJCl1j4Rlouy2HNO8OnDAQq0xeAFPcZ4G1fEE9NP zd+eNhe8boSDhk5/wTZhyXk/rDkwiMXDOB6+A7onWBqciCbixQaphNNFLQSBXSVs/eJY RFMijzMdGSreod82wMR+3Tl70bVw+FuYrIG97q15bIBbl5NFXWL0ufX0BwTE043LkOME 1S4J4BPwK/qxzgEiFQ3DBLgB/Wl7Z7UL2+5b1J+hmBZlO7BU1CkG04JqO+5H9BVIZxKp FEFlF9X/RnQIHB76veCUFnXD86WcmukzaenwgYt5Oo0D3zI+MDiGINkQcanBZYOC2lFo m/cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=TuXxg4CLVKWWBhjuFy+nMltnCv3Up9L6o/6Q+X1y2y8=; b=a8QUETDEE94mcUUMRX1u6mupn1+oMgMqA++PWUOZzBlI2a1b63rCOaEGlzkCFKzqUJ Ryudja+UfbxSlsRMjMM7Kkpaf2sU9HoTFGENwak2ZtRVM2As3vFMFD2rpsWYUUZ6EBUj 6hh5UXoiLkaBcR6YQ6EMSNX1YJKXFDd6NM/BDHgMvPRozTu2umujeBhyNV/NAz7U/Rco EvTOppT+5q3abkPTC+p0GilOuylihi+nBxrGnKQlnMpURp+Di4OlmFuvmiBmeIar0cj/ 3CI9F2poKsPjzbgEO4BLLMr0HPbPG7GoZoGXn9l2rCjhskP7Q5ZOssHDpoVJmy/QH98e O7kA== X-Gm-Message-State: AOAM531G2MqHL10HYGGF7+esbGCCvPGkTvGU61gryksKbuXvNAbDHCdB tXFlruzyvlbMIkrScfdJjDyOFBqhhkQ= X-Google-Smtp-Source: ABdhPJz1G23H80nPRlH1dIm/xkqwWitbOvYrDrDvTd1ndPT0EzwR276U9SqHnJQ1AO5upjuXch4Uww== X-Received: by 2002:a17:902:e84e:b0:14e:cbf5:a9c6 with SMTP id t14-20020a170902e84e00b0014ecbf5a9c6mr22186037plg.169.1645515643108; Mon, 21 Feb 2022 23:40:43 -0800 (PST) Received: from smtpclient.apple ([2600:8800:7105:cc00:93f:75d3:87c3:f98c]) by smtp.gmail.com with ESMTPSA id pf14sm1598741pjb.16.2022.02.21.23.40.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Feb 2022 23:40:42 -0800 (PST) From: =?UTF-8?Q?=E5=90=B4=E9=94=90=E6=89=AC?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Message-Id: <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> Date: Tue, 22 Feb 2022 00:40:41 -0700 X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::632 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=ywwry66@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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 there, As the title suggests, when working in a latex buffer, if I type something starting with a backslash which has possible completions, such as "\lab", "\mak" "\tex", company mode will throw an error. The error trace back is as follows: > Debugger entered--Lisp error: (wrong-type-argument stringp (lambda nil = (interactive) (insert "\\parens*{") (push-mark) (insert "}") = (exchange-point-and-mark))) > LaTeX--completion-annotation-from-math-menu(#("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > TeX--completion-annotation-function(#("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > company-capf--annotation(#("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > company-capf(annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > apply(company-capf (annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference))))) > company-call-backend-raw(annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > apply(company-call-backend-raw (annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference))))) > company--force-sync(company-call-backend-raw (annotation #("label" 0 = 3 (face (completions-common-part)) 3 4 (face = (completions-first-difference)))) company-capf) > company-call-backend(annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > company--create-lines(0 10) > company-pseudo-tooltip-show(1 1 0) > company-pseudo-tooltip-show-at-point(5 3) > company-pseudo-tooltip-frontend(post-command) > company-pseudo-tooltip-unless-just-one-frontend(post-command) > company-call-frontends(post-command) > company-post-command() > company-idle-begin(# # 401 5) > apply(company-idle-begin (# # = 401 5)) > timer-event-handler([t 25108 36699 942896 nil company-idle-begin = (# # 401 5) nil 0]) > read-event(nil t 3) > sit-for(3) > flyspell-check-word-p() > flyspell-post-command-hook() The first line in the output above is because I have the following code in my init.el file: (setq LaTeX-math-list '(("C-9" (lambda () (interactive) (insert = "\\parens*{") (push-mark) (insert "}") (exchange-point-and-mark)) nil = nil))) The problem seems to be the new function LaTeX--completion-annotation-from-math-menu does not like the anonymous function in LaTeX-math-list. Is this a bug or should I just use named functions in LaTeX-math-list? Thanks in advance, Ruiyang Wu Emacs : GNU Emacs 27.2 (build 1, aarch64-apple-darwin20.6.0, Carbon = Version 164 AppKit 2022.6) of 2021-11-21 Package: 13.1.0 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2022-02-21" window-system 'mac LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" = "/Users/ruiyangwu/.emacs.d/elpa/auctex-13.1.0/style" "/Users/ruiyangwu/.emacs.d/auctex/auto" = "/Users/ruiyangwu/.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 Fri Sep 05 08:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54099: 13.1.0; Company mode throws error when type "\lab" in a latex buffer Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 22 Feb 2022 14:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54099 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: =?UTF-8?Q?=E5=90=B4=E9=94=90=E6=89=AC?= Cc: 54099@debbugs.gnu.org Received: via spool by 54099-submit@debbugs.gnu.org id=B54099.164554119517444 (code B ref 54099); Tue, 22 Feb 2022 14:47:01 +0000 Received: (at 54099) by debbugs.gnu.org; 22 Feb 2022 14:46:35 +0000 Received: from localhost ([127.0.0.1]:40587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMWR1-0004X5-13 for submit@debbugs.gnu.org; Tue, 22 Feb 2022 09:46:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMWQy-0004RC-Ki for 54099@debbugs.gnu.org; Tue, 22 Feb 2022 09:46:33 -0500 Received: from [2001:470:142:3::e] (port=49984 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMWQt-0006hD-Av; Tue, 22 Feb 2022 09:46:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=VNVmxVncRqIsWZFR2DHIOgBSYJMM4FP2UngLtKSYsZ4=; b=T4uzT+b/ghkH6+ 7nePHnOiPJG2A2KSa052Jg0vFd+LhpRbdKjOHSnNrn4UijCQ8J1Smw8OrpCHEsZzg7WEf2X7vJF7C PQgbXY3gxacdYb3Beo0MEMbI8GngNsSjwDTr0g2T/gx0V/2qI/XQahDiHfMl6sNDSeB29mXwHWs45 zpS8Gl0yVEl10EvPZvcm91g+5LGnOnE4ngUjB2bEDjcqC+wu5CKHdlidmqnWBYE8NR5UmXhTjQWDB Iw0znA574Tvml5d7/D3iHwgZNNWHnhm+sY0bEOiAirSTRfSBtK6BmNVsBczJu3nz7I/88k0UMlz8C C8X2XMSAultJp5QIo2vA==; Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:47455) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMWQt-00062g-2i; Tue, 22 Feb 2022 09:46:27 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id A940127C0054; Tue, 22 Feb 2022 09:46:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 22 Feb 2022 09:46:25 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeekgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtgfesthhqre dttderjeenucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhurdho rhhgqeenucggtffrrghtthgvrhhnpeeiudfghffhjeevvedvhfffgeetleeljefffeeggf eugeegleehfeeiueejhfehgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhith ihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghs thhmrghilhdrfhhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Feb 2022 09:46:24 -0500 (EST) References: <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> User-agent: mu4e 1.7.9; emacs 29.0.50 From: Tassilo Horn Date: Tue, 22 Feb 2022 15:38:06 +0100 In-reply-to: <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> Message-ID: <87pmnf7ydd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (---) =E5=90=B4=E9=94=90=E6=89=AC writes: > As the title suggests, when working in a latex buffer, if I type > something starting with a backslash which has possible completions, > such as "\lab", "\mak" "\tex", company mode will throw an error. The > error trace back is as follows: > >> Debugger entered--Lisp error: (wrong-type-argument stringp (lambda nil >> (interactive) (insert "\\parens*{") (push-mark) (insert "}") >> (exchange-point-and-mark))) > > The first line in the output above is because I have the following code > in my init.el file: > (setq LaTeX-math-list '(("C-9" (lambda () (interactive) (insert "\\parens= *{") (push-mark) (insert "}") (exchange-point-and-mark)) nil nil))) > > The problem seems to be the new function > LaTeX--completion-annotation-from-math-menu does not like the > anonymous function in LaTeX-math-list. Is this a bug or should I just > use named functions in LaTeX-math-list? It's a bug which I've hopefully fixed right now. I'll make a new ELPA release ASAP. Please report back if it works then. Bye, Tassilo From unknown Fri Sep 05 08:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54099: 13.1.0; Company mode throws error when type "\lab" in a latex buffer Resent-From: =?UTF-8?Q?=E5=90=B4=E9=94=90=E6=89=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 23 Feb 2022 07:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54099 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Tassilo Horn Cc: 54099@debbugs.gnu.org Received: via spool by 54099-submit@debbugs.gnu.org id=B54099.1645601322586 (code B ref 54099); Wed, 23 Feb 2022 07:29:02 +0000 Received: (at 54099) by debbugs.gnu.org; 23 Feb 2022 07:28:42 +0000 Received: from localhost ([127.0.0.1]:43677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMm4o-00009O-31 for submit@debbugs.gnu.org; Wed, 23 Feb 2022 02:28:42 -0500 Received: from mail-pg1-f175.google.com ([209.85.215.175]:40829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMm4m-00008Q-7Z for 54099@debbugs.gnu.org; Wed, 23 Feb 2022 02:28:40 -0500 Received: by mail-pg1-f175.google.com with SMTP id w37so12766514pga.7 for <54099@debbugs.gnu.org>; Tue, 22 Feb 2022 23:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qc0jMWdwfMXgPPnwXHNyHQoubX8fQ0z53bcQ7XxRJ80=; b=CQGnPrLS4aeAVDtINZQDkosMrvVXu4n/MsDU5S71faNIFm1Ei4RfDnsFWCNYG78+Cx Nle5KG4yWSOYFhQC3Tih1TfNQ6s6uzbCzJiOeyeB62sE8OeI1LEI9XqZJddniMbYopD1 XbjaNda2QrgEhWQw0qRBclz4hNt0Z9KJIQ4PAzUUP2DHC6n0ePxG6L7KxlM1lMDo4l/E yVsGco6bsncLjVL0X+G5KIOca9OK4+0XSUWAZNA1rG/+eDakL78OH+LJqdgk/dN/k47c CFftpfR4nnKaj+xSndT0uQKLUdETqUH7fbYTLBLvQb0ysg+wsrAh5Snw4aBkdkC8s0SK iSlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qc0jMWdwfMXgPPnwXHNyHQoubX8fQ0z53bcQ7XxRJ80=; b=6jDh55k63hA0va41hV8b4i3MjwBZRAgVjLzRAqeuAVft7P7IAmRq6QQ6Dlk9aC1wai eKEqhJ1nP7y5rkQCLtAJs2tzaGzHaXVrmRw8vHNiUsg6V8GFkcdEzUWfPSkB2m00/iEG B7AmMfLIgxUdsQLACthN/Ly7jxkSUm2p+5iu+KNg9s0k4pJqOYyogyt1fkTSRQmRZ+Lw 75vBToJuU+AUhAKEVN5Dtar013y7wjRteuAzXN30YcsdL2iGKUlGOQ68pJMsDdtXlJfH lVXpEMZ5oWNXrRWQ2XmyfsfTqJMmiYnCmIRE5QUaxJG/heo2ET+1OX62S/DukcPpCtF8 Eh+w== X-Gm-Message-State: AOAM530GD+YfIUfoDhNC7AOcOV0aq5SccjQZu73OrcEJdKnOiFOFq/6h bpodPg2Q0TIbftSaYMq2RpOsR/cSfXkwdQ== X-Google-Smtp-Source: ABdhPJwjqZEWO8AUibLFa2LfyNekSpqVv0HHuBB8gokOL9winL2DC9gyMOjSDwihA3aOaGaCaiHnLw== X-Received: by 2002:a05:6a00:be5:b0:4e1:9050:1e16 with SMTP id x37-20020a056a000be500b004e190501e16mr28773370pfu.78.1645601314101; Tue, 22 Feb 2022 23:28:34 -0800 (PST) Received: from smtpclient.apple ([2600:8800:7105:cc00:148c:9747:caa2:94c8]) by smtp.gmail.com with ESMTPSA id g1sm18181698pfu.32.2022.02.22.23.28.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Feb 2022 23:28:33 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) From: =?UTF-8?Q?=E5=90=B4=E9=94=90=E6=89=AC?= In-Reply-To: <87pmnf7ydd.fsf@gnu.org> Date: Wed, 23 Feb 2022 00:28:32 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> <87pmnf7ydd.fsf@gnu.org> X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Spam-Score: 0.2 (/) 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 (/) Hi Tassilo, It works now. Thanks for the quick fix. Best, Ruiyang > On Feb 22, 2022, at 7:38 AM, Tassilo Horn wrote: >=20 > =E5=90=B4=E9=94=90=E6=89=AC writes: >=20 >> As the title suggests, when working in a latex buffer, if I type >> something starting with a backslash which has possible completions, >> such as "\lab", "\mak" "\tex", company mode will throw an error. The >> error trace back is as follows: >>=20 >>> Debugger entered--Lisp error: (wrong-type-argument stringp (lambda = nil >>> (interactive) (insert "\\parens*{") (push-mark) (insert "}") >>> (exchange-point-and-mark))) >>=20 >> The first line in the output above is because I have the following = code >> in my init.el file: >> (setq LaTeX-math-list '(("C-9" (lambda () (interactive) (insert = "\\parens*{") (push-mark) (insert "}") (exchange-point-and-mark)) nil = nil))) >>=20 >> The problem seems to be the new function >> LaTeX--completion-annotation-from-math-menu does not like the >> anonymous function in LaTeX-math-list. Is this a bug or should I just >> use named functions in LaTeX-math-list? >=20 > It's a bug which I've hopefully fixed right now. I'll make a new ELPA > release ASAP. Please report back if it works then. >=20 > Bye, > Tassilo From unknown Fri Sep 05 08:43:19 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: =?UTF-8?Q?=E5=90=B4=E9=94=90=E6=89=AC?= Subject: bug#54099: closed (Re: bug#54099: 13.1.0; Company mode throws error when type "\lab" in a latex buffer) Message-ID: References: <87bkyyqb3v.fsf@gnu.org> <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> X-Gnu-PR-Message: they-closed 54099 X-Gnu-PR-Package: auctex Reply-To: 54099@debbugs.gnu.org Date: Wed, 23 Feb 2022 07:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1645602422-2741-1" This is a multi-part message in MIME format... ------------=_1645602422-2741-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #54099: 13.1.0; Company mode throws error when type "\lab" in a latex buffer 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 54099@debbugs.gnu.org. --=20 54099: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54099 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1645602422-2741-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 54099-done) by debbugs.gnu.org; 23 Feb 2022 07:46:25 +0000 Received: from localhost ([127.0.0.1]:43687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMmLx-0000hM-Ia for submit@debbugs.gnu.org; Wed, 23 Feb 2022 02:46:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMmLw-0000h7-2U for 54099-done@debbugs.gnu.org; Wed, 23 Feb 2022 02:46:24 -0500 Received: from [2001:470:142:3::e] (port=42462 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMmLq-00068d-Op; Wed, 23 Feb 2022 02:46:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=LAqF/QEUtdzlhtvb0NLpbhETYfarAhbIc+y0rSAYhbA=; b=EKxkIrKJ4zTUxd R0xdjV0D6zXTOhuZcujF42Z1i3Pz4AbvlDFSlce+XUu+RrAxd9nqfQ1mEInKJilywYAiHd2nVDZzQ U+J51a1MbOzAbXf4mJ2Qc6Rzksq4tMGRFlXR6VLgSnxdLEEDDHA6E+r0Hqoq/XW3TipUmObzW7/Et d1KXB7ZB3TDOCiAd6vu63ACNFGO+Rp+PvWMJAbe4em3H6cC3jDh97zJcYZLrc06eaLvnAxoq1Oe+K EakhwbEUssVyEu0pl6IcaW2RPqAFEZAiBdCy2L1qdd0mCBW79bWi3uZnx3LSwDD5jqrjfwSWXzCA9 5IImm7Y7jeQr9z6+qicw==; Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:44735) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMmLo-0004UK-Mu; Wed, 23 Feb 2022 02:46:18 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 474E327C0054; Wed, 23 Feb 2022 02:46:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 23 Feb 2022 02:46:16 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeelgdduudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffuffgjkfggtgfgsehtqh ertddtreejnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepiedugffhhfejveevvdfhffegteelleejffefge fgueeggeelheefieeujefhheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Feb 2022 02:46:15 -0500 (EST) References: <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> <87pmnf7ydd.fsf@gnu.org> User-agent: mu4e 1.7.9; emacs 29.0.50 From: Tassilo Horn To: =?utf-8?B?5ZC06ZSQ5oms?= Subject: Re: bug#54099: 13.1.0; Company mode throws error when type "\lab" in a latex buffer Date: Wed, 23 Feb 2022 08:45:18 +0100 In-reply-to: Message-ID: <87bkyyqb3v.fsf@gnu.org> 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: 54099-done Cc: 54099-done@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 (---) =E5=90=B4=E9=94=90=E6=89=AC writes: Hi Ruiyang, > It works now. Thanks for the quick fix. You're welcome, and thanks for reporting back! I'm closing the bug. Bye, Tassilo ------------=_1645602422-2741-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Feb 2022 07:40:54 +0000 Received: from localhost ([127.0.0.1]:39903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMPn4-0008Gu-3D for submit@debbugs.gnu.org; Tue, 22 Feb 2022 02:40:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:55036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMPn2-0008Gn-GM for submit@debbugs.gnu.org; Tue, 22 Feb 2022 02:40:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMPn2-0004Du-9C for bug-auctex@gnu.org; Tue, 22 Feb 2022 02:40:52 -0500 Received: from [2607:f8b0:4864:20::632] (port=44926 helo=mail-pl1-x632.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMPn0-0005V3-Bm for bug-auctex@gnu.org; Tue, 22 Feb 2022 02:40:51 -0500 Received: by mail-pl1-x632.google.com with SMTP id q11so5065793pln.11 for ; Mon, 21 Feb 2022 23:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=TuXxg4CLVKWWBhjuFy+nMltnCv3Up9L6o/6Q+X1y2y8=; b=FHi8TORFkYbccOP1fhXZIn4ifmgJCl1j4Rlouy2HNO8OnDAQq0xeAFPcZ4G1fEE9NP zd+eNhe8boSDhk5/wTZhyXk/rDkwiMXDOB6+A7onWBqciCbixQaphNNFLQSBXSVs/eJY RFMijzMdGSreod82wMR+3Tl70bVw+FuYrIG97q15bIBbl5NFXWL0ufX0BwTE043LkOME 1S4J4BPwK/qxzgEiFQ3DBLgB/Wl7Z7UL2+5b1J+hmBZlO7BU1CkG04JqO+5H9BVIZxKp FEFlF9X/RnQIHB76veCUFnXD86WcmukzaenwgYt5Oo0D3zI+MDiGINkQcanBZYOC2lFo m/cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=TuXxg4CLVKWWBhjuFy+nMltnCv3Up9L6o/6Q+X1y2y8=; b=a8QUETDEE94mcUUMRX1u6mupn1+oMgMqA++PWUOZzBlI2a1b63rCOaEGlzkCFKzqUJ Ryudja+UfbxSlsRMjMM7Kkpaf2sU9HoTFGENwak2ZtRVM2As3vFMFD2rpsWYUUZ6EBUj 6hh5UXoiLkaBcR6YQ6EMSNX1YJKXFDd6NM/BDHgMvPRozTu2umujeBhyNV/NAz7U/Rco EvTOppT+5q3abkPTC+p0GilOuylihi+nBxrGnKQlnMpURp+Di4OlmFuvmiBmeIar0cj/ 3CI9F2poKsPjzbgEO4BLLMr0HPbPG7GoZoGXn9l2rCjhskP7Q5ZOssHDpoVJmy/QH98e O7kA== X-Gm-Message-State: AOAM531G2MqHL10HYGGF7+esbGCCvPGkTvGU61gryksKbuXvNAbDHCdB tXFlruzyvlbMIkrScfdJjDyOFBqhhkQ= X-Google-Smtp-Source: ABdhPJz1G23H80nPRlH1dIm/xkqwWitbOvYrDrDvTd1ndPT0EzwR276U9SqHnJQ1AO5upjuXch4Uww== X-Received: by 2002:a17:902:e84e:b0:14e:cbf5:a9c6 with SMTP id t14-20020a170902e84e00b0014ecbf5a9c6mr22186037plg.169.1645515643108; Mon, 21 Feb 2022 23:40:43 -0800 (PST) Received: from smtpclient.apple ([2600:8800:7105:cc00:93f:75d3:87c3:f98c]) by smtp.gmail.com with ESMTPSA id pf14sm1598741pjb.16.2022.02.21.23.40.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Feb 2022 23:40:42 -0800 (PST) From: =?utf-8?B?5ZC06ZSQ5oms?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: 13.1.0; Company mode throws error when type "\lab" in a latex buffer Message-Id: <70D66DF9-FDD4-46CA-AE52-93B1351CD6EA@gmail.com> Date: Tue, 22 Feb 2022 00:40:41 -0700 To: bug-auctex@gnu.org X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::632 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=ywwry66@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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 there, As the title suggests, when working in a latex buffer, if I type something starting with a backslash which has possible completions, such as "\lab", "\mak" "\tex", company mode will throw an error. The error trace back is as follows: > Debugger entered--Lisp error: (wrong-type-argument stringp (lambda nil = (interactive) (insert "\\parens*{") (push-mark) (insert "}") = (exchange-point-and-mark))) > LaTeX--completion-annotation-from-math-menu(#("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > TeX--completion-annotation-function(#("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > company-capf--annotation(#("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > company-capf(annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > apply(company-capf (annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference))))) > company-call-backend-raw(annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > apply(company-call-backend-raw (annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference))))) > company--force-sync(company-call-backend-raw (annotation #("label" 0 = 3 (face (completions-common-part)) 3 4 (face = (completions-first-difference)))) company-capf) > company-call-backend(annotation #("label" 0 3 (face = (completions-common-part)) 3 4 (face (completions-first-difference)))) > company--create-lines(0 10) > company-pseudo-tooltip-show(1 1 0) > company-pseudo-tooltip-show-at-point(5 3) > company-pseudo-tooltip-frontend(post-command) > company-pseudo-tooltip-unless-just-one-frontend(post-command) > company-call-frontends(post-command) > company-post-command() > company-idle-begin(# # 401 5) > apply(company-idle-begin (# # = 401 5)) > timer-event-handler([t 25108 36699 942896 nil company-idle-begin = (# # 401 5) nil 0]) > read-event(nil t 3) > sit-for(3) > flyspell-check-word-p() > flyspell-post-command-hook() The first line in the output above is because I have the following code in my init.el file: (setq LaTeX-math-list '(("C-9" (lambda () (interactive) (insert = "\\parens*{") (push-mark) (insert "}") (exchange-point-and-mark)) nil = nil))) The problem seems to be the new function LaTeX--completion-annotation-from-math-menu does not like the anonymous function in LaTeX-math-list. Is this a bug or should I just use named functions in LaTeX-math-list? Thanks in advance, Ruiyang Wu Emacs : GNU Emacs 27.2 (build 1, aarch64-apple-darwin20.6.0, Carbon = Version 164 AppKit 2022.6) of 2021-11-21 Package: 13.1.0 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2022-02-21" window-system 'mac LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" = "/Users/ruiyangwu/.emacs.d/elpa/auctex-13.1.0/style" "/Users/ruiyangwu/.emacs.d/auctex/auto" = "/Users/ruiyangwu/.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")) ) ------------=_1645602422-2741-1--