GNU bug report logs -
#60366
[PATCH] Simplify introduction of use-package manual
Previous Next
Reported by: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Date: Tue, 27 Dec 2022 21:44:02 UTC
Severity: normal
Tags: patch
Found in version 29.0.60
Done: Stefan Kangas <stefankangas <at> gmail.com>
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 60366 in the body.
You can then email your comments to 60366 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60366
; Package
emacs
.
(Tue, 27 Dec 2022 21:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 27 Dec 2022 21:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
Hello Emacs,
A couple of things intrigue me in the current introduction of the
use-package manual:
> This chapter provides instructions and examples for quickly getting
> started with use-package. The first thing you need to do is make sure
> that ‘use-package’ itself is loaded. To do that, put this at the top of
> your init file:
>
> (require 'use-package)
>
> The above makes the ‘use-macro’ available for us in the rest of your
> init file. In this manual, we say that each call to ‘use-macro’ is a
> “declaration”, to highlight the declarative nature of its syntax.
— (info "(use-package) Getting Started")
(a) I don't think use-package defines anything called "use-macro";
guessing this was supposed to read "‘use-package’ macro" instead? I
guess the former could be a shorthand for the latter, but it's not used
anywhere else in the manual.
(b) AFAICT use-package is autoloaded, so there should be no need for the
user to (require 'use-package)?
I've made a patch against emacs-29 to simplify this part of the manual
according to these hypotheses. I hope they are correct; apologies for
the noise if not.
(And even if the hypotheses are correct, I hope the patch is OK: the
second sentence in this tentative new paragraph feels a bit disconnected
from the first to me. Still, I figured it was worth submitting anyway
just to validate those hypotheses before racking more of my brain on
optimal wording)
Thanks.
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0) of 2022-12-26 built on hirondell
Repository revision: 2ffe1494e16381cfc7fec95a6a0879f268df3e95
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)
Configured using:
'configure --cache-file=/home/peniblec/.cache/emacs/config,src,emacs
--with-cairo --with-gconf --with-sqlite3 --with-xinput2'
[0001-Simplify-introduction-of-use-package-manual.patch (text/patch, attachment)]
bug Marked as found in versions 29.0.60.
Request was from
Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 29 Dec 2022 18:37:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60366
; Package
emacs
.
(Fri, 30 Dec 2022 10:01:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 60366 <at> debbugs.gnu.org (full text, mbox):
[ CC'ing StefanK, since these specific bits were authored in 2022-12-08
"Add new use-package manual" (98e54f597e1) ]
Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes:
> Hello Emacs,
>
> A couple of things intrigue me in the current introduction of the
> use-package manual:
>
>> This chapter provides instructions and examples for quickly getting
>> started with use-package. The first thing you need to do is make sure
>> that ‘use-package’ itself is loaded. To do that, put this at the top of
>> your init file:
>>
>> (require 'use-package)
>>
>> The above makes the ‘use-macro’ available for us in the rest of your
>> init file. In this manual, we say that each call to ‘use-macro’ is a
>> “declaration”, to highlight the declarative nature of its syntax.
> — (info "(use-package) Getting Started")
>
> (a) I don't think use-package defines anything called "use-macro";
> guessing this was supposed to read "‘use-package’ macro" instead? I
> guess the former could be a shorthand for the latter, but it's not used
> anywhere else in the manual.
>
> (b) AFAICT use-package is autoloaded, so there should be no need for the
> user to (require 'use-package)?
>
> I've made a patch against emacs-29 to simplify this part of the manual
> according to these hypotheses. I hope they are correct; apologies for
> the noise if not.
>
> (And even if the hypotheses are correct, I hope the patch is OK: the
> second sentence in this tentative new paragraph feels a bit disconnected
> from the first to me. Still, I figured it was worth submitting anyway
> just to validate those hypotheses before racking more of my brain on
> optimal wording)
>
> Thanks.
Reply sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
You have taken responsibility.
(Sat, 31 Dec 2022 09:53:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 31 Dec 2022 09:53:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 60366-done <at> debbugs.gnu.org (full text, mbox):
Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes:
> I've made a patch against emacs-29 to simplify this part of the manual
Thanks for the patch! It looks good to me, so I pushed it to emacs-29
(commit 01acecc79c3).
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60366
; Package
emacs
.
(Sat, 31 Dec 2022 11:43:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 60366-done <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes:
>
>> I've made a patch against emacs-29 to simplify this part of the manual
>
> Thanks for the patch! It looks good to me, so I pushed it to emacs-29
> (commit 01acecc79c3).
My pleasure 🙏
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 28 Jan 2023 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.