Paul Nelson <[email protected]> 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 
> "[email protected]")
>   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: [email protected]

@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 <[email protected]>

?  I can change the current line to:

;; Maintainer: AUCTeX Maintenance Team <[email protected]>

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



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#70961:... Paul Nelson
    • bug#7... Arash Esbati
      • b... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
        • ... Arash Esbati
          • ... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
            • ... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
              • ... Arash Esbati

Reply via email to