|
From: | dalanicolai |
Subject: | Re: [ELPA] New package: toc-mode |
Date: | Wed, 21 Sep 2022 09:18:36 +0200 |
> This package has been for a while on MELPA now, but it would be nice if it
> could be moved to ELPA. The source can be found at
> https://github.com/dalanicolai/toc-mode.
>
> I would like to mention that the PDF functionalities largely depend on
> pdf-tools, which is not on ELPA of course (doc-view unfortunately does
> not provide the right features). I am not sure if that somehow is
> a problem.
Since pdf-tools is in NonGNU ELPA, this is not a problem, no.
> The package description is:
>
> Create, cleanup, add and manage Table Of Contents (TOC) of pdf and djvu
> documents with Emacs
Sounds handy, thanks. FWIW, I tend to agree with Jean that the name
suggests its purpose is more general (more like a kind of speedbar/imenu
maybe). Furthermore the "-mode" part of the name suggests it's a major
mode to edit some standard "toc" files rather than an actual tool to
extract things for non-toc files and then edit those files.
So I'd support a renaming (in case you're out of ideas, maybe
"toc-edit/edit-doc-toc", tho maybe "create-doc-toc" is more precise
since it doesn't seem to care very much about editing an existing toc),
but I don't have a strong opinion about it.
Once you've made up your mind about the package name, let me know so
I can add it to `elpa.git`.
> ready for ELPA (although I guess it is already ready for publishing on
> ELPA).
Indeed, except for the copyright line which needs to be adjusted.
The patch below does that along with the obligatory cosmetic tweaks.
I also include the remaining compilation warnings.
Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |