GNU bug report logs - #70961
14.0.3.2024-03-17; can't "describe-package 'auctex"

Previous Next

Package: auctex;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Wed, 15 May 2024 16:25:01 UTC

Severity: normal

Found in version 14.0.3.2024

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70961 in the body.
You can then email your comments to 70961 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#70961; Package auctex. (Wed, 15 May 2024 16:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Nelson <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Wed, 15 May 2024 16:25:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Nelson <ultrono <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Wed, 15 May 2024 18:24:25 +0200
[Message part 1 (text/plain, inline)]
Steps to reproduce:

Emacs -Q
M-: (package-initialize)
M-: (describe-package 'auctex)

These give an error with the following backtrace:

#+begin_src elisp
Debugger entered--Lisp error: (wrong-type-argument listp "
auctex-devel <at> gnu.org")
  describe-package-1(auctex)
  #f(compiled-function () #<bytecode 0x14658afd66b6c08d>)()
  help--window-setup("*Help*" #f(compiled-function () #<bytecode
0x14658afd66b6c08d>))
  describe-package(auctex)
  (progn (describe-package 'auctex))
  eval((progn (describe-package 'auctex)) t)
  elisp--eval-last-sexp(t)
  #f(compiled-function () #<bytecode 0x1866e58ce5d2>)()
  eval-last-sexp(t)
  eval-print-last-sexp(nil)
  funcall-interactively(eval-print-last-sexp nil)
  command-execute(eval-print-last-sexp)
#+end_src

I'm not familiar enough with how Emacs packaging works to know if this is
an issue with auctex, my setup or something else, but I noticed that auctex
is the only entry in my package-alist with ":maintainer nil".  The error
comes from the following block of code, which is called with "maintainers"
equal to "(nil . "auctex-devel <at> gnu.org")":

#+begin_src elisp
  (dolist (maintainer maintainers)
          (when (bolp)tain
            (insert (make-string 13 ?\s)))
          (package--print-email-button maintainer))
#+end_src

The following simpler code produces the same error:

#+begin_src elisp
(dolist (maintainer '(nil . "auctex-devel <at> gnu.org")))
#+end_src

Any suggestions welcome.  I also tried this with the latest devel version
and encountered the same error -- I guess it's an issue with how the
package is listed, which is maybe something to do with elpa?

Thanks, best,

Paul

---

Emacs  : GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.3.0, NS
appkit-2487.40 Version 14.3.1 (Build 23D60))
 of 2024-04-02
Package: 14.0.3.2024-03-17

current state:
==============
(setq
 AUCTeX-date "2024-03-17"
 window-system 'ns
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/var/auctex"
                  "/Users/au710211/.emacs.d/elpa/auctex-14.0.4/style"
                  "/Users/au710211/.emacs.d/auctex/auto"
                  "/Users/au710211/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save nil
 TeX-parse-self nil
 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 AmSTeX-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 (AmSTeX-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 AmSTeX-mode
Texinfo-mode
                      ConTeXt-mode)
                     :help "Run BibTeX")
                    ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-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 AmSTeX-mode
Texinfo-mode) :help
                     "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-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 AmSTeX-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 AmSTeX-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 AmSTeX-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 AmSTeX-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 AmSTeX-mode
Texinfo-mode) :help
                     "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-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"))
 )
[Message part 2 (text/html, inline)]

Information forwarded to bug-auctex <at> gnu.org:
bug#70961; Package auctex. (Thu, 16 May 2024 09:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 70961 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70961 <at> debbugs.gnu.org
Subject: Re: bug#70961: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Thu, 16 May 2024 11:17:50 +0200
Paul Nelson <ultrono <at> gmail.com> writes:

> Steps to reproduce:
>
> Emacs -Q
> M-: (package-initialize)
> M-: (describe-package 'auctex)
>
> These give an error with the following backtrace:
>
> #+begin_src elisp
> Debugger entered--Lisp error: (wrong-type-argument listp "auctex-devel <at> gnu.org")
>   describe-package-1(auctex)
>   #f(compiled-function () #<bytecode 0x14658afd66b6c08d>)()
>   help--window-setup("*Help*" #f(compiled-function () #<bytecode 0x14658afd66b6c08d>))
>   describe-package(auctex)
>   (progn (describe-package 'auctex))
>   eval((progn (describe-package 'auctex)) t)
>   elisp--eval-last-sexp(t)
>   #f(compiled-function () #<bytecode 0x1866e58ce5d2>)()
>   eval-last-sexp(t)
>   eval-print-last-sexp(nil)
>   funcall-interactively(eval-print-last-sexp nil)
>   command-execute(eval-print-last-sexp)
> #+end_src

Thanks, confirmed.  I wonder why we get this.  AFAICT, AUCTeX is
following the ELPA rules[1, 2]:

--8<---------------cut here---------------start------------->8---
*** Add a simple package as =<pkg-name>.el=.

The file needs to follow the usual coding conventions (most importantly start
with =";;; <file> --- <description> -*- lexical-binding: t -*-"=) and have a
=Version:= and =Maintainer:= pseudo-header (see the [[Format]] subsection
below). ...

** Format

Each package should follow the ELPA packaging conventions, but there are
some differences due to the way the deployment script creates the packages
and the web-pages from this source code:
- Multi-file packages put the package metadata in the main =<pkg-name>.el= file
  in the format used for single-file packages: the =<pkg-name>-pkg.el= file is
  auto-generated from it.
- Every package should have both a =Version:= /and/ a =Maintainer:=.
- The =Version:= must be acceptable to =version-to-list=.
- The =URL:= header can be used to specify the home page
  of the package, if it's maintained externally.
- A =News:= section (or "NEWS" file) can/should be used to list the
  user-visible changes of each version.
--8<---------------cut here---------------end--------------->8---

auctex.el has everything in place; the only thing I can imagine is that
ELPA is not happy with

;; Maintainer: auctex-devel <at> gnu.org

@Stefan: Sorry for bothering you again, but can you please shed some
light on this?  Should Maintainer: look like Author:, e.g.

;; Author: J. R. Hacker <jrh <at> example.com>

?  I can change the current line to:

;; Maintainer: AUCTeX Maintenance Team <auctex-devel <at> gnu.org>

or something like that if that helps.

Best, Arash

Footnotes:
[1]  https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/README#n384
[2]  https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/README#n432




Information forwarded to bug-auctex <at> gnu.org:
bug#70961; Package auctex. (Thu, 16 May 2024 13:06:02 GMT) Full text and rfc822 format available.

Message #11 received at 70961 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Arash Esbati <arash <at> gnu.org>
Cc: 70961 <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#70961: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Thu, 16 May 2024 09:05:16 -0400
> auctex.el has everything in place; the only thing I can imagine is that
> ELPA is not happy with
>
> ;; Maintainer: auctex-devel <at> gnu.org

That should work fine.  The problem must be elsewhere.


        Stefan





Information forwarded to bug-auctex <at> gnu.org:
bug#70961; Package auctex. (Thu, 16 May 2024 14:50:01 GMT) Full text and rfc822 format available.

Message #14 received at 70961 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70961 <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#70961: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Thu, 16 May 2024 16:48:45 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> That should work fine.  The problem must be elsewhere.

Thanks for your response.  Is that "elsewhere" inside package.el or
inside AUCTeX, I'm not sure where to look.

Best, Arash




Information forwarded to bug-auctex <at> gnu.org:
bug#70961; Package auctex. (Thu, 16 May 2024 14:53:02 GMT) Full text and rfc822 format available.

Message #17 received at 70961 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Arash Esbati <arash <at> gnu.org>
Cc: 70961 <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#70961: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Thu, 16 May 2024 10:52:20 -0400
>> That should work fine.  The problem must be elsewhere.
> Thanks for your response.  Is that "elsewhere" inside package.el or
> inside AUCTeX, I'm not sure where to look.

Could be in `describe-package`.  I fixed a bug in tht area not too
long ago.


        Stefan





Information forwarded to bug-auctex <at> gnu.org:
bug#70961; Package auctex. (Thu, 16 May 2024 15:07:01 GMT) Full text and rfc822 format available.

Message #20 received at 70961 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Arash Esbati <arash <at> gnu.org>
Cc: 70961 <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#70961: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Thu, 16 May 2024 11:06:39 -0400
>>> That should work fine.  The problem must be elsewhere.
>> Thanks for your response.  Is that "elsewhere" inside package.el or
>> inside AUCTeX, I'm not sure where to look.
> Could be in `describe-package`.  I fixed a bug in tht area not too
> long ago.

And I just fixed a further bug in there (see bug#69712).


        Stefan





Reply sent to Arash Esbati <arash <at> gnu.org>:
You have taken responsibility. (Thu, 16 May 2024 17:15:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Nelson <ultrono <at> gmail.com>:
bug acknowledged by developer. (Thu, 16 May 2024 17:15:02 GMT) Full text and rfc822 format available.

Message #25 received at 70961-done <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70961-done <at> debbugs.gnu.org, Paul Nelson <ultrono <at> gmail.com>
Subject: Re: bug#70961: 14.0.3.2024-03-17; can't "describe-package 'auctex"
Date: Thu, 16 May 2024 19:14:01 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> And I just fixed a further bug in there (see bug#69712).

Thanks for the quick fix; I can confirm that your change fixes the
issue.

@Paul: I presume it works for you too, therefore I'm closing this
report.  I think you can follow-up with bug#69712 if you still see the
issue.

Best, Arash




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Jun 2024 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.