GNU bug report logs - #44609
12.3.1; auctex.el does not (provide 'auctex), which breaks use-package

Previous Next

Package: auctex;

Reported by: Vladimir Nikishkin <lockywolf <at> gmail.com>

Date: Fri, 13 Nov 2020 02:09:01 UTC

Severity: normal

Found in version 12.3.1

Done: Mosè Giordano <mose <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 44609 in the body.
You can then email your comments to 44609 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#44609; Package auctex. (Fri, 13 Nov 2020 02:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vladimir Nikishkin <lockywolf <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Fri, 13 Nov 2020 02:09:01 GMT) Full text and rfc822 format available.

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

From: Vladimir Nikishkin <lockywolf <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: 12.3.1; auctex.el does not (provide 'auctex), which breaks use-package
Date: Fri, 13 Nov 2020 10:07:55 +0800
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) :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"))
 )
-- 
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)




Reply sent to Mosè Giordano <mose <at> gnu.org>:
You have taken responsibility. (Fri, 13 Nov 2020 10:18:02 GMT) Full text and rfc822 format available.

Notification sent to Vladimir Nikishkin <lockywolf <at> gmail.com>:
bug acknowledged by developer. (Fri, 13 Nov 2020 10:18:02 GMT) Full text and rfc822 format available.

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

From: Mosè Giordano <mose <at> gnu.org>
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Cc: 44609-done <at> debbugs.gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 13 Nov 2020 10:16:19 +0000
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 <lockywolf <at> gmail.com> 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")
>                     ("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) :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"))
>  )
> --
> Vladimir Nikishkin (MiEr, lockywolf)
> (Laptop)
>
>
>
> _______________________________________________
> bug-auctex mailing list
> bug-auctex <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-auctex




Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 13 Nov 2020 10:21:02 GMT) Full text and rfc822 format available.

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

From: Vladimir Nikishkin <lockywolf <at> gmail.com>
To: Mosè Giordano <mose <at> gnu.org>
Cc: 44609-done <at> debbugs.gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 13 Nov 2020 18:19:52 +0800
[Message part 1 (text/plain, inline)]
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 <mose <at> gnu.org> 于 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 <lockywolf <at> gmail.com>
> 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")
> >                     ("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) :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"))
> >  )
> > --
> > Vladimir Nikishkin (MiEr, lockywolf)
> > (Laptop)
> >
> >
> >
> > _______________________________________________
> > bug-auctex mailing list
> > bug-auctex <at> gnu.org
> > https://lists.gnu.org/mailman/listinfo/bug-auctex
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 13 Nov 2020 10:23:02 GMT) Full text and rfc822 format available.

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

From: Vladimir Nikishkin <lockywolf <at> gmail.com>
To: 44609 <at> debbugs.gnu.org
Subject: Re: bug#44609: closed (Re: bug#44609: 12.3.1; auctex.el does not
 (provide 'auctex), which breaks use-package)
Date: Fri, 13 Nov 2020 18:22:00 +0800
[Message part 1 (text/plain, inline)]
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 <help-debbugs <at> gnu.org> 于 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 44609 <at> debbugs.gnu.org.
>
> --
> 44609: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44609
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
>
>
> ---------- Forwarded message ----------
> From: "Mosè Giordano" <mose <at> gnu.org>
> To: Vladimir Nikishkin <lockywolf <at> gmail.com>
> Cc: 44609-done <at> debbugs.gnu.org
> Bcc:
> Date: Fri, 13 Nov 2020 10:16:19 +0000
> 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 <lockywolf <at> gmail.com>
> 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")
> >                     ("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) :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"))
> >  )
> > --
> > Vladimir Nikishkin (MiEr, lockywolf)
> > (Laptop)
> >
> >
> >
> > _______________________________________________
> > bug-auctex mailing list
> > bug-auctex <at> gnu.org
> > https://lists.gnu.org/mailman/listinfo/bug-auctex
>
>
>
>
> ---------- Forwarded message ----------
> From: Vladimir Nikishkin <lockywolf <at> gmail.com>
> To: bug-auctex <at> gnu.org
> Cc:
> Bcc:
> Date: Fri, 13 Nov 2020 10:07:55 +0800
> Subject: 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) :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"))
>  )
> --
> Vladimir Nikishkin (MiEr, lockywolf)
> (Laptop)
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 13 Nov 2020 11:21:03 GMT) Full text and rfc822 format available.

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

From: Mosè Giordano <mose <at> gnu.org>
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Cc: 44609-done <at> debbugs.gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 13 Nov 2020 11:20:02 +0000
On Fri, 13 Nov 2020 at 10:20, Vladimir Nikishkin <lockywolf <at> gmail.com> 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è




Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 13 Nov 2020 11:35:02 GMT) Full text and rfc822 format available.

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

From: Vladimir Nikishkin <lockywolf <at> gmail.com>
To: Mosè Giordano <mose <at> gnu.org>
Cc: 44609-done <at> debbugs.gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 13 Nov 2020 19:33:47 +0800
[Message part 1 (text/plain, inline)]
Well, how would I know that? It's that documented anywhere?

--
Yours sincerely, Vladimir Nikishkin
(Sent with Google mail mobile.)

Mosè Giordano <mose <at> gnu.org> 于 2020年11月13日周五 19:20写道:

> On Fri, 13 Nov 2020 at 10:20, Vladimir Nikishkin <lockywolf <at> gmail.com>
> 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è
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 13 Nov 2020 11:38:01 GMT) Full text and rfc822 format available.

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

From: Mosè Giordano <mose <at> gnu.org>
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Cc: 44609-done <at> debbugs.gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 13 Nov 2020 11:36:55 +0000
On Fri, 13 Nov 2020 at 11:34, Vladimir Nikishkin <lockywolf <at> gmail.com> 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è




Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 13 Nov 2020 11:45:02 GMT) Full text and rfc822 format available.

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

From: Vladimir Nikishkin <lockywolf <at> gmail.com>
To: Mosè Giordano <mose <at> gnu.org>
Cc: 44609-done <at> debbugs.gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 13 Nov 2020 19:43:52 +0800
[Message part 1 (text/plain, inline)]
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 <mose <at> gnu.org> 于 2020年11月13日周五 19:37写道:

> On Fri, 13 Nov 2020 at 11:34, Vladimir Nikishkin <lockywolf <at> gmail.com>
> 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è
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-auctex <at> gnu.org:
bug#44609; Package auctex. (Fri, 20 Nov 2020 13:25:01 GMT) Full text and rfc822 format available.

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

From: Arash Esbati <arash <at> gnu.org>
To: 44609 <at> debbugs.gnu.org
Cc: lockywolf <at> gmail.com, mose <at> gnu.org
Subject: Re: bug#44609: 12.3.1; auctex.el does not (provide 'auctex), which
 breaks use-package
Date: Fri, 20 Nov 2020 14:23:17 +0100
Hi Mosè,

Mosè Giordano <mose <at> gnu.org> 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 archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Dec 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 185 days ago.

Previous Next


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