From unknown Sat Aug 16 00:33:15 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#52740 <52740@debbugs.gnu.org> To: bug#52740 <52740@debbugs.gnu.org> Subject: Status: 12.3 produces in NS variant of GNU Emacs 28.0.90 a Lisp error: (wrong-number-of-arguments # 4) Reply-To: bug#52740 <52740@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:33:15 +0000 retitle 52740 12.3 produces in NS variant of GNU Emacs 28.0.90 a Lisp error= : (wrong-number-of-arguments # 4) reassign 52740 auctex submitter 52740 Peter Dyballa severity 52740 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 15:36:54 2021 Received: (at submit) by debbugs.gnu.org; 22 Dec 2021 20:36:54 +0000 Received: from localhost ([127.0.0.1]:59797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08M1-0007up-1B for submit@debbugs.gnu.org; Wed, 22 Dec 2021 15:36:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:45282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08Lw-0007uf-Af for submit@debbugs.gnu.org; Wed, 22 Dec 2021 15:36:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08Lw-0006Wy-1Z for bug-auctex@gnu.org; Wed, 22 Dec 2021 15:36:48 -0500 Received: from mout.web.de ([212.227.17.12]:48577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08Lt-0000qj-44 for bug-auctex@gnu.org; Wed, 22 Dec 2021 15:36:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1640205401; bh=gn12yzKMh0j/bF8jY7qCM1z24cwjaON9XRb8OfjKtyk=; h=X-UI-Sender-Class:From:Subject:Date:To; b=rCWUvCqryVxWVWata3uP7fb+Wq7KYD35hyi/wwEkAqt4+lVEEku6zUjnN0C6oXQ7s suQVaVz6WS3HXiMRRZZaKstNu/7OmV+B8b3om1PPo8jbUUsfvHbJ/iOSyPje6uh9vU G6OGbUqBGTwKaSTWfWLntvfat8b9ex4xnOTHHXSw= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from smtpclient.apple ([176.199.137.124]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N7gbY-1mLyId0eos-014dw1 for ; Wed, 22 Dec 2021 21:36:41 +0100 From: Peter Dyballa Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: 12.3 produces in NS variant of GNU Emacs 28.0.90 a Lisp error: (wrong-number-of-arguments # 4) Message-Id: Date: Wed, 22 Dec 2021 21:36:40 +0100 To: bug-auctex@gnu.org X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Provags-ID: V03:K1:9pBElb9eAo16akqYMMnP3yZo01hdmDhSvhYR//wLg+aQaZ2hQof QoN74V4/ys9vwrUtx0kfDYEwQt1HFDjy0J8UWtdGTiYuv4NeH0I7WEg820YFC3iXZarJin9 AUHf7diBohnUOU6XEABZ3tvxSXXK88TfBDgax0zJB+Mmxv22hN2zpwrYYFUgtOXL9i3/Hgc jRuVWCKVslhHFDHtJsL6A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EIlaXRtEWPo=:ZiUObHvL4F5hMKze4CwRTj oKiI5wm/BFIR0n3gCPdk97iLVOJcpYD5DD9dLMrjtTVA299BBYVG502ld6Ryztzfp9x/qVgF1 r65GnYZsocwevqbFEhxXQRbAjEPSATN8vU0XdoalulaswY7vZw6+HCNAgcqcNz1AIkW6fOIDQ tJNbEL/IZVU/fqGOxXOY0Km7oFs6BowjJ7NhBShHRYigPLmBkNaA/B0HOQEi015i+SEr6csJv 4R2xYZY2LRPJP8aTist5hygHpYnZm7/jTNamEuDhSLqX5ncIeU3QNbQAVrq3OZsWqb5bW+geb i2mXluHwtcV0ZljKShGwdlWrXT9Mp4eGRJqZkWBBVyTtGxsaYPxriUTn4X0CJswHLC5vibgYK 6D7gvkvAVHGXHpzQ1/eq7vZ0S+e+jATBirrAavgu6IPwuuVHVtPVOcVA4aqToWiV42+cXZPx5 BVe7job5fnz/AwHn3mtZsnmLXoSwh8zntyZIHQa3HZUxMQ6SAHsewSaiOqOhd2PWb09MBU6la xl7ENGFh9NOA0aASdRL3JtPIkp0ObDhPpOA/Nt0XDWeJNrHgKk9u0g9wedRk9c3pqcRWY7TIC ROPgSA563uRV+tFzFIgeQzhgVMdyOaxnY2dkLGtUwyHhqz60a24Sx7bc1Wgxur4PZQiL5CjZ3 /CDk6I5eiCHgLtUJ1lcBQQ5YB6I1YRPmprMcrcw5MF5yngjBEb4FvROGVJmBw8zUNgx7zW5sl 3yqPhUC4xE8a61ub79uKZfYKFkAeNVcdp+vqBUB8l4j/fWWpSl0snEXHSg8AGgxBKmtSzbb6d QSQ39JbrOHPBKASCL3UvQBcVBjn0KKkcruvdk7u3YX8qwEl7Rtmftgy3gxFTYHbxEPm8aaFB7 NlcSbqkoB/hdcYzgKipLCUgoJMd9DoBj3pynJurJViMsUczvtVSwZtQcOXtEbu7aY0R+PIL6/ pcZUb5GSdhhJbn6+bWNGZALUyV5Mw0V//WMQUwOnZ9OpXxtaSchNvM3p4mdNvIRGay0nfS/Ri 1I5/wkOTxO5ox2s4TbxV8duRAAfrQSM9HNj87UIboAsKYueAU/sUQ1FgWNsOsLPK4B24BdB7B ESt+CSuzM6R554= Received-SPF: pass client-ip=212.227.17.12; envelope-from=Peter_Dyballa@Web.DE; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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.4 (--) Hello! While opening a TeX file starting with %% -*- mode: LaTeX; coding: utf-8-unix; -*- and ending with %%% Local Variables: %%% mode: LaTeX %%% TeX-engine: xetex %%% fill-column: 99999 %%% coding: utf-8-unix %%% TeX-command-default: "XeLaTeX5E" %%% End: % AUCTeX complains like this: Debugger entered--Lisp error: (wrong-number-of-arguments # 4) string-match("Form" "document" nil t) #f(compiled-function () #)() #f(compiled-function (hook) #)([TeX-style-hook #f(compiled-function () #) 1]) mapcar(#f(compiled-function (hook) #) ([TeX-style-hook #f(compiled-function () #) 1])) #f(compiled-function (style) #)("hyperref") mapcar(#f(compiled-function (style) #) ("latex2e" "article" "art11" "ifpdf" "ifxetex" = "graphicx" "xcolor" "geometry" "polyglossia" "microtype" "hyperref" = "hyperxmp" "babel" "texnames" "soul" "lucida" "cmap" "fontenc" "array" = "ragged2e" "longtable")) TeX-run-style-hooks("latex2e" "article" "art11" "ifpdf" = "ifxetex" "graphicx" "xcolor" "geometry" "polyglossia" "microtype" = "hyperref" "hyperxmp" "babel" "texnames" "soul" "lucida" "cmap" = "fontenc" "array" "ragged2e" "longtable") (lambda nil (TeX-add-to-alist 'LaTeX-provided-class-options = '(("article" "11pt" "a4paper" "final"))) (TeX-add-to-alist = 'LaTeX-provided-package-options '(("xcolor" "svgnames") ("geometry" = "portrait" "nohead" "ignoreheadfoot" "left=3D1.25mm" "right=3D2.5mm" = "top=3D18.75mm" "bottom=3D0mm" "nomarginpar") ("hyperref" = "raiselinks=3Dtrue") ("babel" "ngerman") ("microtype" "protrusion=3Dtrue" = "expansion=3Dfalse" "activate=3D{true,nocompatibility}" "verbose=3Dtrue") = ("fontenc" "T1"))) (add-to-list 'LaTeX-verbatim-macros-with-braces-local = "hyperref") (add-to-list 'LaTeX-verbatim-macros-with-braces-local = "hyperimage") (add-to-list 'LaTeX-verbatim-macros-with-braces-local = "hyperbaseurl") (add-to-list 'LaTeX-verbatim-macros-with-braces-local = "nolinkurl") (add-to-list 'LaTeX-verbatim-macros-with-braces-local = "url") (add-to-list 'LaTeX-verbatim-macros-with-braces-local "path") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "href") = (add-to-list 'LaTeX-verbatim-macros-with-delims-local "path") = (TeX-run-style-hooks "latex2e" "article" "art11" "ifpdf" "ifxetex" = "graphicx" "xcolor" "geometry" "polyglossia" "microtype" "hyperref" = "hyperxmp" "babel" "texnames" "soul" "lucida" "cmap" "fontenc" "array" = "ragged2e" "longtable") (TeX-add-symbols '("Titel" 2) '("SourceFile" 1) = '("textsl" 1) "OzTeX" "CTeX" "WPtoLaTeX" "author" "title" = "pdffilemoddate" "Context") (LaTeX-add-polyglossia-langs '("german" = "defaultlanguage" = "spelling=3Dnew,latesthyphen=3Dtrue,babelshorthands=3Dtru...")) = (LaTeX-add-fontspec-newfontcmds "slanted"))() #f(compiled-function (hook) #)([TeX-style-hook (lambda nil (TeX-add-to-alist = 'LaTeX-provided-class-options '(("article" "11pt" "a4paper" "final"))) = (TeX-add-to-alist 'LaTeX-provided-package-options '(("xcolor" = "svgnames") ("geometry" "portrait" "nohead" "ignoreheadfoot" = "left=3D1.25mm" "right=3D2.5mm" "top=3D18.75mm" "bottom=3D0mm" = "nomarginpar") ("hyperref" "raiselinks=3Dtrue") ("babel" "ngerman") = ("microtype" "protrusion=3Dtrue" "expansion=3Dfalse" = "activate=3D{true,nocompatibility}" "verbose=3Dtrue") ("fontenc" "T1"))) = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperref") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperimage") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperbaseurl") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "nolinkurl") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "url") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "path") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "href") = (add-to-list 'LaTeX-verbatim-macros-with-delims-local "path") = (TeX-run-style-hooks "latex2e" "article" "art11" "ifpdf" "ifxetex" = "graphicx" "xcolor" "geometry" "polyglossia" "microtype" "hyperref" = "hyperxmp" "babel" "texnames" "soul" "lucida" "cmap" "fontenc" "array" = "ragged2e" "longtable") (TeX-add-symbols '("Titel" 2) '("SourceFile" 1) = '("textsl" 1) "OzTeX" "CTeX" "WPtoLaTeX" "author" "title" = "pdffilemoddate" "Context") (LaTeX-add-polyglossia-langs '("german" = "defaultlanguage" = "spelling=3Dnew,latesthyphen=3Dtrue,babelshorthands=3Dtru...")) = (LaTeX-add-fontspec-newfontcmds "slanted")) 1]) mapcar(#f(compiled-function (hook) #) ([TeX-style-hook (lambda nil (TeX-add-to-alist = 'LaTeX-provided-class-options '(("article" "11pt" "a4paper" "final"))) = (TeX-add-to-alist 'LaTeX-provided-package-options '(("xcolor" = "svgnames") ("geometry" "portrait" "nohead" "ignoreheadfoot" = "left=3D1.25mm" "right=3D2.5mm" "top=3D18.75mm" "bottom=3D0mm" = "nomarginpar") ("hyperref" "raiselinks=3Dtrue") ("babel" "ngerman") = ("microtype" "protrusion=3Dtrue" "expansion=3Dfalse" = "activate=3D{true,nocompatibility}" "verbose=3Dtrue") ("fontenc" "T1"))) = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperref") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperimage") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperbaseurl") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "nolinkurl") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "url") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "path") = (add-to-list 'LaTeX-verbatim-macros-with-braces-local "href") = (add-to-list 'LaTeX-verbatim-macros-with-delims-local "path") = (TeX-run-style-hooks "latex2e" "article" "art11" "ifpdf" "ifxetex" = "graphicx" "xcolor" "geometry" "polyglossia" "microtype" "hyperref" = "hyperxmp" "babel" "texnames" "soul" "lucida" "cmap" "fontenc" "array" = "ragged2e" "longtable") (TeX-add-symbols '("Titel" 2) '("SourceFile" 1) = '("textsl" 1) "OzTeX" "CTeX" "WPtoLaTeX" "author" "title" = "pdffilemoddate" "Context") (LaTeX-add-polyglossia-langs '("german" = "defaultlanguage" = "spelling=3Dnew,latesthyphen=3Dtrue,babelshorthands=3Dtru...")) = (LaTeX-add-fontspec-newfontcmds "slanted")) 1])) #f(compiled-function (style) #)("funktionaler Lebenslauf") mapcar(#f(compiled-function (style) #) ("funktionaler Lebenslauf")) TeX-run-style-hooks("funktionaler Lebenslauf") TeX-update-style(t) #f(compiled-function () #)() run-hooks(find-file-hook) after-find-file(nil nil) find-file-noselect-1(# = "~/Library/texmf/Arbeit/XeLaTeX/funktionaler Lebens..." :nowarn nil = "~/Library/texmf/Arbeit/XeLaTeX/funktionaler Lebens..." (28706671 = 16777233)) = find-file-noselect("/Users/pete/Library/texmf/Arbeit/XeLaTeX/funktiona..."= :nowarn) = desktop-restore-file-buffer("/Users/pete/Library/texmf/Arbeit/XeLaTeX/funk= tiona..." "funktionaler Lebenslauf.tex" nil) desktop-create-buffer(208 = "/Users/pete/Library/texmf/Arbeit/XeLaTeX/funktiona..." "funktionaler = Lebenslauf.tex" latex-mode (auto-fill-mode reftex-mode) 590 (1393 nil) = nil nil ((indent-tabs-mode) (buffer-display-time 24972 20649 336451 0) = (buffer-file-coding-system . utf-8-unix) (fill-column . 99999)) = ((mark-ring (1347 1347 1347 1 4436 1 1714 10039 10613 10611 10611 10786 = 1237 135 135 1228)))) eval-buffer(# nil = "/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-ns" nil t) ; Reading at = buffer position 5766 = load-with-code-conversion("/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-= ns" "/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-ns" t t) #("/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-ns" t t t nil) ad-Advice-load(# = "/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-ns" t t t) apply(ad-Advice-load # = ("/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-ns" t t t)) load("/Users/pete/.emacs.d/PDesktop-28/emacs.desktop-ns" t t = t) desktop-read() #f(compiled-function () #)() run-hooks(after-init-hook delayed-warnings-hook) command-line() normal-top-level() This instance of GNU Emacs is compiled by me. AUCTeX is installed via = MacPorts, and when I launch MacPorts' GNU Emacs 29 (from GIT) it does = not complain. The file emacs.desktop-ns exists, in two different = directories, for both versions. The contain exactly the same block of = information about the file. For HNU Emacs 28.0.90 this block ends at = character position 5766. I don't know which version of GNU Emacs was used to build MacPorts = package, a "port", of AUCTeX 12.3. The shadowed files in = "/Library/Application Support/Emacs" are installed to be shared by all = Emacsen. Most of them are just symbolic-links. Emacs : GNU Emacs 28.0.90 (build 1, x86_64-apple-darwin21.2.0, NS = appkit-2113.20 Version 12.1 (Build 21C52)) of 2021-12-20 Package: 12.3 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-date "2020-10-18" window-system 'ns LaTeX-version "2e" TeX-style-path '("/Library/Application Support/Emacs/auctex/auto" "/Library/Application Support/Emacs/auctex/style" = "/Users/pete/.emacs.d/auctex/auto" "/Users/pete/.emacs.d/auctex/style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master nil TeX-command-list '(("XeTeX" "%`xetex%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode context-mode texinfo-mode = ams-tex-mode) :help "Run XeTeX with xdvipdfmx driver") ("XeTeXx" "%`xetex -output-driver=3Dxdv2pdf%(mode)%' = %t" TeX-run-TeX nil (plain-tex-mode context-mode texinfo-mode = ams-tex-mode) :help "Run XeTeX with xdv2pdf driver") ("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode ams-tex-mode) :help "Run = XeLaTeX with xdvipdfmx driver") ("XeLaTeX5" "%`xelatex -output-driver=3D\"xdvipdfmx = -V 5\"%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode ams-tex-mode) :help "Run XeLaTeX with xdvipdfmx driver for compact PDF = 1.5") ("XeLaTeX5E" "%`xelatex -output-driver=3D\"xdvipdfmx = -E -V 5\"%(mode)%' %t" TeX-run-command nil (latex-mode doctex-mode = ams-tex-mode) :help "Run XeLaTeX with xdvipdfmx driver for compact PDF = 1.5 and embedded fonts") ("XeLaTeXesc" "%`xelatex -shell-escape%(mode)%' %t" = TeX-run-TeX nil (latex-mode doctex-mode ams-tex-mode) :help "Run XeLaTeX with xdvipdfmx driver and with enabled = \\write18{SHELL COMMAND}") ("XeLaTeXx" "%`xelatex = -output-driver=3Dxdv2pdf%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode ams-tex-mode) :help "Run = XeLaTeX with xdv2pdf driver") ("XeLaTeXq" "%`xelatex -output-driver=3D\"xdvipdfmx = -l\"%(mode)%' %t" TeX-run-command nil (latex-mode doctex-mode = ams-tex-mode) :help "Run XeLaTeX with xdvipdfmx driver in landscape = mood") ("XeLaTeXqesc" "%`xelatex -shell-escape -output-driver=3D\"xdvipdfmx= -l\"%(mode)%' %t" TeX-run-command nil (latex-mode doctex-mode = ams-tex-mode) :help "Run XeLaTeX with xdvipdfmx driver in landscape = SHELL mood") ("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" = TeX-run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode) :help = "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil = (latex-mode doctex-mode) :help "Run LaTeX") ("LaTeXesc" "%`%l-shell-escape%(mode)%' %t" = TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX with = enabled \\write18{SHELL COMMAND}") ("Makeinfo" "makeinfo %t" TeX-run-compile nil = (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo --html %t" = TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t" = TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec --once --texutil %(execopts)%t" = TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX = nil (context-mode) :help "Run ConTeXt until completion") ("ConTeXt Clean" "texutil --purgeall" = TeX-run-interactive nil (context-mode) :help "Clean temporary ConTeXt files") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help = "Run BibTeX") ("View" "texdoc --just-view %o" TeX-run-discard 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-command t t = :help "Generate PostScript file") ("Index" "makeindex %s" TeX-run-command nil t :help = "Create index file") ("Check" "lacheck %s" TeX-run-compile nil = (latex-mode) :help "Check LaTeX file for correctness") ("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")) ) In GNU Emacs 28.0.90 (build 1, x86_64-apple-darwin21.2.0, NS = appkit-2113.20 Version 12.1 (Build 21C52)) of 2021-12-20 built on Kleines.fritz.box Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.1 Configured using: 'configure --without-libsystemd --without-pop --without-sound --without-gpm --without-dbus --without-selinux --without-imagemagick --with-ns --with-dumping=3Dpdumper --disable-ns-self-contained --with-x-toolkit=3Dathena --x-libraries=3D/opt/local/lib --x-includes=3D/opt/local/include '--enable-locallisppath=3D/Library/Application Support/Emacs/calendar28:/Library/Application Support/Emacs' --with-file-notification=3Dyes CPPFLAGS=3D-I/opt/local/include = 'CFLAGS=3D-g -H -pipe -fPIC -fno-common -Os -arch x86_64 -fomit-frame-pointer' 'LDFLAGS=3D-v -arch x86_64 -Wl,-bind_at_load -Wl,-t -L /opt/local/lib' = PKG_CONFIG_PATH=3D/opt/local/libexec/openssl3/lib/pkgconfig:/opt/local/lib= /pkgconfig:/opt/local/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pk= gconfig:/opt/X11/lib/pkgconfig CC=3Dclang CXX=3Dclang++ MAKEINFO=3D/opt/local/bin/makeinfo' Configured features: ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB Important settings: value of $LC_CTYPE: de_DE.UTF-8 value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: LaTeX/FP Minor modes in effect: TeX-PDF-mode: t shell-dirtrack-mode: t midnight-mode: t display-time-mode: t desktop-save-mode: t mac-print-mode: t delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t view-mode: t Load-path shadows: /Library/Application Support/Emacs/htmlfontify hides = /usr/local/share/emacs/28.0.90/lisp/htmlfontify /Library/Application Support/Emacs/calendar28/cal-move hides = /usr/local/share/emacs/28.0.90/lisp/calendar/cal-move /Library/Application Support/Emacs/calendar28/lunar hides = /usr/local/share/emacs/28.0.90/lisp/calendar/lunar /Library/Application Support/Emacs/calendar28/solar hides = /usr/local/share/emacs/28.0.90/lisp/calendar/solar /Library/Application Support/Emacs/calendar28/icalendar hides = /usr/local/share/emacs/28.0.90/lisp/calendar/icalendar /Library/Application Support/Emacs/calendar28/calendar hides = /usr/local/share/emacs/28.0.90/lisp/calendar/calendar /Library/Application Support/Emacs/calendar28/cal-html hides = /usr/local/share/emacs/28.0.90/lisp/calendar/cal-html /Library/Application Support/Emacs/calendar28/cal-iso hides = /usr/local/share/emacs/28.0.90/lisp/calendar/cal-iso /Library/Application Support/Emacs/calendar28/cal-tex hides = /usr/local/share/emacs/28.0.90/lisp/calendar/cal-tex /Library/Application Support/Emacs/calendar28/parse-time hides = /usr/local/share/emacs/28.0.90/lisp/calendar/parse-time /Library/Application Support/Emacs/calendar28/holidays hides = /usr/local/share/emacs/28.0.90/lisp/calendar/holidays /Library/Application Support/Emacs/calendar28/cal-menu hides = /usr/local/share/emacs/28.0.90/lisp/calendar/cal-menu /Library/Application Support/Emacs/calendar28/hol-loaddefs hides = /usr/local/share/emacs/28.0.90/lisp/calendar/hol-loaddefs /Library/Application Support/Emacs/calendar28/cal-x hides = /usr/local/share/emacs/28.0.90/lisp/calendar/cal-x /Library/Application Support/Emacs/calendar28/diary-lib hides = /usr/local/share/emacs/28.0.90/lisp/calendar/diary-lib /Library/Application Support/Emacs/calendar28/diary-loaddefs hides = /usr/local/share/emacs/28.0.90/lisp/calendar/diary-loaddefs /Library/Application Support/Emacs/preview-latex hides = /opt/local/share/emacs/site-lisp/preview-latex /Library/Application Support/Emacs/tex-site hides = /opt/local/share/emacs/site-lisp/tex-site /Library/Application Support/Emacs/auctex hides = /opt/local/share/emacs/site-lisp/auctex /Library/Application Support/Emacs/punycode hides = /opt/local/share/emacs/site-lisp/punycode /Library/Application Support/Emacs/idna hides = /opt/local/share/emacs/site-lisp/idna /Library/Application Support/Emacs/cmake-mode hides = /opt/local/share/emacs/site-lisp/cmake-mode Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace help-mode find-func tex-buf reftex-dcr reftex reftex-loaddefs reftex-vars tex-fold noutline outline font-latex latex latex-flymake flymake-proc flymake project warnings thingatpt tex-ispell tex-style tex crm texmathp tex-mode compile text-property-search time-date dired-aux autorevert filenotify dired-x dired dired-loaddefs lunar view diary-lib diary-loaddefs solar cal-dst cal-julian holidays hol-loaddefs cal-move shell pcomplete comint ansi-color ring auto-loads tex-site yaml-mode midnight time cus-load desktop frameset cl session edmacro kmacro mac-print-mode easy-mmode htmlize loadhist delsel derived cal-menu calendar cal-loaddefs time-stamp advice package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) --=20 Mit friedvollen Gr=C3=BC=C3=9Fen Pete Pourquoi faire simple quand on peut faire compliqu=C3=A9? From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 16:12:09 2021 Received: (at submit) by debbugs.gnu.org; 22 Dec 2021 21:12:09 +0000 Received: from localhost ([127.0.0.1]:59855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08u9-0000Oy-8O for submit@debbugs.gnu.org; Wed, 22 Dec 2021 16:12:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:43204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08u6-0000Op-La for submit@debbugs.gnu.org; Wed, 22 Dec 2021 16:12:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08u6-0000VH-HM for bug-auctex@gnu.org; Wed, 22 Dec 2021 16:12:06 -0500 Received: from [2001:470:142:3::e] (port=56140 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 1n08u5-0002Fx-OC; Wed, 22 Dec 2021 16:12:05 -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=v1rVRMub1Dx4Ig+Jg/COPfs0RVo3KZKKl/ZczxqDlow=; b=TmwCe8wy2S+bql sC8wbrFnqs7toLgJb45WOnan3y6GOQY/8pRDzP/inOefOzeMYa+dQwuP4zvICW8M+L8l3daoBFdBM /MNIF0P2SiR+Bbe6k4+RKm0GnCMHEHeKKz46160PRt/jmLa9uZYASN0bgSmk8dHOm7KdIw8BJXRlq KeuFMaodRwe1HG13Wpo56FYf10T5MUDu/+lvoTsDQx3pRYa7eo3518u5goBUTC8pOhzmm9IqNLwQE wqvZdl5UNLAy59kO3VZEC2CTKO3KpRMJBUhN62BaFK28Ztj62gXxcKZhVHclnrhGyWgMP5GBgIc/I pDXsdWxohGUPju3Yb/gQ==; Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:33025) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n08u5-0003os-C3; Wed, 22 Dec 2021 16:12:05 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 6219027C0054; Wed, 22 Dec 2021 16:12:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 22 Dec 2021 16:12:04 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtiedgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe evveeikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnod hmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedv leekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Dec 2021 16:12:03 -0500 (EST) References: User-agent: mu4e 1.7.5; emacs 29.0.50 From: Tassilo Horn To: Peter Dyballa Subject: Re: bug#52740: 12.3 produces in NS variant of GNU Emacs 28.0.90 a Lisp error: (wrong-number-of-arguments # 4) Date: Wed, 22 Dec 2021 21:57:36 +0100 In-reply-to: Message-ID: <87fsqke44e.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: bug-auctex@gnu.org, 52740-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 (---) Peter Dyballa writes: Hi Peter, > AUCTeX complains like this: > > Debugger entered--Lisp error: (wrong-number-of-arguments # 4) > string-match("Form" "document" nil t) `string-match' has 2 mandatory and 2 optional args in my current emacs 29/master but only 2 mandatory plus one optional argument in emacs 27/28. > This instance of GNU Emacs is compiled by me. AUCTeX is installed via > MacPorts, and when I launch MacPorts' GNU Emacs 29 (from GIT) it does > not complain. The file emacs.desktop-ns exists, in two different > directories, for both versions. The contain exactly the same block of > information about the file. For HNU Emacs 28.0.90 this block ends at > character position 5766. I don't know what an emacs.desktop-ns file is but it looks like your AUCTeX version was compiled with emacs 29 where string-match has up to 4 arguments whereas your emacs 28 version has at most 3, hence the error. In emacs 29, string-match-p will be compiled to the 4-arg version of string-match. Up to emacs 28, that's different. In any case: you can run byte-code produced by older emacs versions in newer emacs versions but not the other way round. I'm closing this issue. Bye, Tassilo From unknown Sat Aug 16 00:33:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Jan 2022 12:24:08 +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