bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46964: [ELPA]: [PATCH] Replace modus-*-theme with modus-themes from


From: Stefan Monnier
Subject: bug#46964: [ELPA]: [PATCH] Replace modus-*-theme with modus-themes from :core
Date: Wed, 10 Mar 2021 13:41:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> While in archive-devel, the Org file is present, though the Info file is
> practically empty:
>
>  drwxr-xr-x    prot/prot          0 modus-themes-1.2.3.0.20210306.91600/
>  -rw-r--r--    prot/prot     122691 
> modus-themes-1.2.3.0.20210306.91600/modus-themes.org
>  -rw-r--r--    prot/prot       2550 
> modus-themes-1.2.3.0.20210306.91600/modus-operandi-theme.el
>  -rw-r--r--    prot/prot        541 modus-themes-1.2.3.0.20210306.91600/dir
>  -rw-r--r--    prot/prot       2544 
> modus-themes-1.2.3.0.20210306.91600/modus-vivendi-theme.el
>  -rw-r--r--    prot/prot        414 
> modus-themes-1.2.3.0.20210306.91600/modus-themes-pkg.el
>  -rw-r--r--    prot/prot     343994 
> modus-themes-1.2.3.0.20210306.91600/modus-themes.el
>  -rw-r--r--    prot/prot        218 
> modus-themes-1.2.3.0.20210306.91600/modus-themes.info

Hmm... I made further changes to elpa-admin.el to handle this case.
Here were the problems I encountered:
- The .texi file generated by Org was basically empty because the .org
  file that Org saw was literally empty (a symlink pointing nowhere),
  because the `emacs` subdir was not included in the sandbox.
- After adding the `emacs` subdir to the sandbox the problem was that
  Emacs followed the symlink to the `emacs` subdir and then Org
  tried to generate ../emacs/doc/misc/modus-themes.texi into
  ../packages/modus-themes/modus-themes.texi.
- After preventing Emacs to follow symlinks Org generated a proper .texi
  but makeinfo complained of a missing doclicense.texi, so I had to add
  "doc/misc/doclicense.texi" to the :core keyword.

I believe it should work now.  Please try again,


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]