bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
Hi Mosè, Mosè Giordano writes: > did you read the README.md of `use-package'? It actually has an > example about AUCTeX: > https://github.com/jwiegley/use-package/blob/caa92f1d64fc25480551757d854b4b49981dfa6b/README.md#package-installation > >> If you need to install a different package from the one named by >> use-package, you can specify it like this: > > (use-package tex > :ensure auctex) should we add this to AUCTeX manual? Is this snippet also necessary when AUCTeX is installed via ELPA? I don't do use-package, so I can't tell. Best, Arash ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
Do you have an exhaustive list of all the packages that have a mismatch between the package name and the feature name, that I need to collect to make a pull request to use-package documentation, in order to make it an authoritative source? I suspect that making such a list is a hard (if even possible) job, therefore it's is reasonable to assume that documenting such a discrepancy is reasonabe to be seen as belonging to each individual package documentation, rather than to be centrally corrected at use-package. Especially since there may be other dependency management packages that we are not aware of. -- Yours sincerely, Vladimir Nikishkin (Sent with Google mail mobile.) Mosè Giordano 于 2020年11月13日周五 19:37写道: > On Fri, 13 Nov 2020 at 11:34, Vladimir Nikishkin > wrote: > > > > Well, how would I know that? It's that documented anywhere? > > I showed you it's a notable example in `use-package' documentation. > > Bye, > Mosè > ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
On Fri, 13 Nov 2020 at 11:34, Vladimir Nikishkin wrote: > > Well, how would I know that? It's that documented anywhere? I showed you it's a notable example in `use-package' documentation. Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
Well, how would I know that? It's that documented anywhere? -- Yours sincerely, Vladimir Nikishkin (Sent with Google mail mobile.) Mosè Giordano 于 2020年11月13日周五 19:20写道: > On Fri, 13 Nov 2020 at 10:20, Vladimir Nikishkin > wrote: > > > > I do not see how this is connected to the bug report. I'm not installing > the tex package. > > The connection you're missing is that `tex' is the name of the feature > provided by AUCTeX: > > http://git.savannah.gnu.org/cgit/auctex.git/tree/tex.el?id=3982971f7efa2db9275b1470fcd17d1d9f285f6e#n6731 > . > That's also the name of the feature you want to use to ensure > `auctex-latemk' is loaded after AUCTeX. > > Bye, > Mosè > ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
On Fri, 13 Nov 2020 at 10:20, Vladimir Nikishkin wrote: > > I do not see how this is connected to the bug report. I'm not installing the > tex package. The connection you're missing is that `tex' is the name of the feature provided by AUCTeX: http://git.savannah.gnu.org/cgit/auctex.git/tree/tex.el?id=3982971f7efa2db9275b1470fcd17d1d9f285f6e#n6731. That's also the name of the feature you want to use to ensure `auctex-latemk' is loaded after AUCTeX. Bye, Mosè ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
I do not see how this is connected to the bug report. I'm not installing the tex package. -- Yours sincerely, Vladimir Nikishkin (Sent with Google mail mobile.) Mosè Giordano 于 2020年11月13日周五 18:17写道: > Hi Vladimir, > > did you read the README.md of `use-package'? It actually has an > example about AUCTeX: > > https://github.com/jwiegley/use-package/blob/caa92f1d64fc25480551757d854b4b49981dfa6b/README.md#package-installation > > > If you need to install a different package from the one named by > use-package, you can specify it like this: > > (use-package tex > :ensure auctex) > > Bye, > Mosè > > > On Fri, 13 Nov 2020 at 02:09, Vladimir Nikishkin > wrote: > > > > > > Dear AUCTeX developers. > > I am using use-package to keep the init.el decently structured. > > It is typical for package files to (provide) a feature that has the same > > name as the name of the package itself. > > For example, it helps with dependency tracking. > > > > E.g. you would say "Only load auctex-latexmk after 'auctex has been > > loaded". > > Could something like `(provide 'auctex)' be added to the auctex.el? > > > > Yours sincerely, > > Vladimir > > > > Emacs : GNU Emacs 27.1 (build 1, x86_64-slackware-linux-gnu, GTK+ > Version 3.24.22) > > of 2020-08-12 > > Package: 12.3.1 > > > > current state: > > == > > (setq > > AUCTeX-date "2020-10-22" > > window-system 'x > > LaTeX-version "2e" > > TeX-style-path '("~/.emacs.d/auctex" > "/home/lockywolf/.emacs.d/elpa/auctex-12.3.1/style" > > "/home/lockywolf/.emacs.d/auctex/auto" > > "/home/lockywolf/.emacs.d/auctex/style" "auto" "style") > > TeX-auto-save nil > > TeX-parse-self nil > > TeX-master t > > TeX-command-list '(("LatexMk" "latexmk %(-PDF)%S%(mode) > %(file-line-error) %(extraopts) %t" > > TeX-run-latexmk nil (plain-tex-mode latex-mode > doctex-mode) :help > > "Run LatexMk") > > ("TeX" > > "%(PDF)%(tex) %(file-line-error) %`%(extraopts) > %S%(PDFout)%(mode)%' %t" > > TeX-run-TeX nil (plain-tex-mode ams-tex-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) %t" > TeX-run-compile nil > > (texinfo-mode) :help "Run Makeinfo with Info > output") > > ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" > TeX-run-compile nil > > (texinfo-mode) :help "Run Makeinfo with HTML > output") > > ("AmSTeX" "amstex %(PDFout) %`%(extraopts) > %S%(mode)%' %t" TeX-run-TeX > > nil (ams-tex-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 %s" TeX-run-BibTeX nil > > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode > > context-mode) > > :help "Run BibTeX") > > ("Biber" "biber %s" TeX-run-Biber nil > > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > > "Run Biber") > > ("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 ams-tex-mode > texinfo-mode) :help > > "Generate PostScript file") > > ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil > > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > > "Convert DVI file to PostScript") > > ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil > > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > > "Convert DVI file to PDF with dvipdfmx") > > ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil > > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > > "Convert PostScript file to PDF") > > ("Glossaries" "makeglossaries %s" TeX-run-command nil > >
bug#44609: closed (Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package)
The response doesn't seem connected to the bug report in any sense. -- Yours sincerely, Vladimir Nikishkin (Sent with Google mail mobile.) GNU bug Tracking System 于 2020年11月13日周五 18:18写道: > Your bug report > > #44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks > use-package > > which was filed against the auctex package, has been closed. > > The explanation is attached below, along with your original report. > If you require more details, please reply to 44...@debbugs.gnu.org. > > -- > 44609: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44609 > GNU Bug Tracking System > Contact help-debb...@gnu.org with problems > > > > -- Forwarded message -- > From: "Mosè Giordano" > To: Vladimir Nikishkin > Cc: 44609-d...@debbugs.gnu.org > Bcc: > Date: Fri, 13 Nov 2020 10:16:19 + > Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), > which breaks use-package > Hi Vladimir, > > did you read the README.md of `use-package'? It actually has an > example about AUCTeX: > > https://github.com/jwiegley/use-package/blob/caa92f1d64fc25480551757d854b4b49981dfa6b/README.md#package-installation > > > If you need to install a different package from the one named by > use-package, you can specify it like this: > > (use-package tex > :ensure auctex) > > Bye, > Mosè > > > On Fri, 13 Nov 2020 at 02:09, Vladimir Nikishkin > wrote: > > > > > > Dear AUCTeX developers. > > I am using use-package to keep the init.el decently structured. > > It is typical for package files to (provide) a feature that has the same > > name as the name of the package itself. > > For example, it helps with dependency tracking. > > > > E.g. you would say "Only load auctex-latexmk after 'auctex has been > > loaded". > > Could something like `(provide 'auctex)' be added to the auctex.el? > > > > Yours sincerely, > > Vladimir > > > > Emacs : GNU Emacs 27.1 (build 1, x86_64-slackware-linux-gnu, GTK+ > Version 3.24.22) > > of 2020-08-12 > > Package: 12.3.1 > > > > current state: > > == > > (setq > > AUCTeX-date "2020-10-22" > > window-system 'x > > LaTeX-version "2e" > > TeX-style-path '("~/.emacs.d/auctex" > "/home/lockywolf/.emacs.d/elpa/auctex-12.3.1/style" > > "/home/lockywolf/.emacs.d/auctex/auto" > > "/home/lockywolf/.emacs.d/auctex/style" "auto" "style") > > TeX-auto-save nil > > TeX-parse-self nil > > TeX-master t > > TeX-command-list '(("LatexMk" "latexmk %(-PDF)%S%(mode) > %(file-line-error) %(extraopts) %t" > > TeX-run-latexmk nil (plain-tex-mode latex-mode > doctex-mode) :help > > "Run LatexMk") > > ("TeX" > > "%(PDF)%(tex) %(file-line-error) %`%(extraopts) > %S%(PDFout)%(mode)%' %t" > > TeX-run-TeX nil (plain-tex-mode ams-tex-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) %t" > TeX-run-compile nil > > (texinfo-mode) :help "Run Makeinfo with Info > output") > > ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" > TeX-run-compile nil > > (texinfo-mode) :help "Run Makeinfo with HTML > output") > > ("AmSTeX" "amstex %(PDFout) %`%(extraopts) > %S%(mode)%' %t" TeX-run-TeX > > nil (ams-tex-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 %s" TeX-run-BibTeX nil > > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode > > context-mode) >
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
Hi Vladimir, did you read the README.md of `use-package'? It actually has an example about AUCTeX: https://github.com/jwiegley/use-package/blob/caa92f1d64fc25480551757d854b4b49981dfa6b/README.md#package-installation > If you need to install a different package from the one named by use-package, > you can specify it like this: (use-package tex :ensure auctex) Bye, Mosè On Fri, 13 Nov 2020 at 02:09, Vladimir Nikishkin wrote: > > > Dear AUCTeX developers. > I am using use-package to keep the init.el decently structured. > It is typical for package files to (provide) a feature that has the same > name as the name of the package itself. > For example, it helps with dependency tracking. > > E.g. you would say "Only load auctex-latexmk after 'auctex has been > loaded". > Could something like `(provide 'auctex)' be added to the auctex.el? > > Yours sincerely, > Vladimir > > Emacs : GNU Emacs 27.1 (build 1, x86_64-slackware-linux-gnu, GTK+ Version > 3.24.22) > of 2020-08-12 > Package: 12.3.1 > > current state: > == > (setq > AUCTeX-date "2020-10-22" > window-system 'x > LaTeX-version "2e" > TeX-style-path '("~/.emacs.d/auctex" > "/home/lockywolf/.emacs.d/elpa/auctex-12.3.1/style" > "/home/lockywolf/.emacs.d/auctex/auto" > "/home/lockywolf/.emacs.d/auctex/style" "auto" "style") > TeX-auto-save nil > TeX-parse-self nil > TeX-master t > TeX-command-list '(("LatexMk" "latexmk %(-PDF)%S%(mode) %(file-line-error) > %(extraopts) %t" > TeX-run-latexmk nil (plain-tex-mode latex-mode > doctex-mode) :help > "Run LatexMk") > ("TeX" > "%(PDF)%(tex) %(file-line-error) %`%(extraopts) > %S%(PDFout)%(mode)%' %t" > TeX-run-TeX nil (plain-tex-mode ams-tex-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) %t" TeX-run-compile nil > (texinfo-mode) :help "Run Makeinfo with Info output") > ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" > TeX-run-compile nil > (texinfo-mode) :help "Run Makeinfo with HTML output") > ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' > %t" TeX-run-TeX > nil (ams-tex-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 %s" TeX-run-BibTeX nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode > context-mode) > :help "Run BibTeX") > ("Biber" "biber %s" TeX-run-Biber nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > "Run Biber") > ("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 ams-tex-mode > texinfo-mode) :help > "Generate PostScript file") > ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > "Convert DVI file to PostScript") > ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > "Convert DVI file to PDF with dvipdfmx") > ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > "Convert PostScript file to PDF") > ("Glossaries" "makeglossaries %s" TeX-run-command nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > "Run makeglossaries to create glossary\n file") > ("Index" "makeindex %s" TeX-run-index nil > (plain-tex-mode latex-mode doctex-mode ams-tex-mode > texinfo-mode) :help > "Run makeindex to create index file") >
bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
Dear AUCTeX developers. I am using use-package to keep the init.el decently structured. It is typical for package files to (provide) a feature that has the same name as the name of the package itself. For example, it helps with dependency tracking. E.g. you would say "Only load auctex-latexmk after 'auctex has been loaded". Could something like `(provide 'auctex)' be added to the auctex.el? Yours sincerely, Vladimir Emacs : GNU Emacs 27.1 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.22) of 2020-08-12 Package: 12.3.1 current state: == (setq AUCTeX-date "2020-10-22" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/lockywolf/.emacs.d/elpa/auctex-12.3.1/style" "/home/lockywolf/.emacs.d/auctex/auto" "/home/lockywolf/.emacs.d/auctex/style" "auto" "style") TeX-auto-save nil TeX-parse-self nil TeX-master t TeX-command-list '(("LatexMk" "latexmk %(-PDF)%S%(mode) %(file-line-error) %(extraopts) %t" TeX-run-latexmk nil (plain-tex-mode latex-mode doctex-mode) :help "Run LatexMk") ("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-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) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %t" TeX-run-TeX nil (ams-tex-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 %s" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run Biber") ("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 ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary\n file") ("Index" "makeindex %s" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %s" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-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)