* bug#66350: 30.0.50; Description for (use-package emacs ...)
@ 2023-10-04 21:29 Arash Esbati
2023-10-05 5:45 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Arash Esbati @ 2023-10-04 21:29 UTC (permalink / raw)
To: 66350
Hi all,
use-package.texi contains this example[1]:
@lisp
@group
;; Completely hide visual-line-mode and change auto-fill-mode to " AF".
(use-package emacs
:delight
(auto-fill-function " AF")
(visual-line-mode))
@end group
@end lisp
The usage of (use-package emacs ...) isn't described anywhere in the
file, though. There was a discussion about it here[2], but I think it
should be documented in the manual somehow. I'm not familiar enough
with use-package to make a suggestion, sorry.
Best, Arash
Footnotes:
[1] https://git.savannah.gnu.org/cgit/emacs.git/tree/doc/misc/use-package.texi#n1539
[2] https://www.reddit.com/r/emacs/comments/mk9ehd/curious_whats_the_use_of_usepackage_emacs/
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#66350: 30.0.50; Description for (use-package emacs ...)
2023-10-04 21:29 bug#66350: 30.0.50; Description for (use-package emacs ...) Arash Esbati
@ 2023-10-05 5:45 ` Eli Zaretskii
2023-10-06 3:39 ` John Wiegley
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2023-10-05 5:45 UTC (permalink / raw)
To: Arash Esbati, John Wiegley; +Cc: 66350
> From: Arash Esbati <arash@gnu.org>
> Date: Wed, 04 Oct 2023 23:29:26 +0200
>
> Hi all,
>
> use-package.texi contains this example[1]:
>
> @lisp
> @group
> ;; Completely hide visual-line-mode and change auto-fill-mode to " AF".
> (use-package emacs
> :delight
> (auto-fill-function " AF")
> (visual-line-mode))
> @end group
> @end lisp
>
> The usage of (use-package emacs ...) isn't described anywhere in the
> file, though. There was a discussion about it here[2], but I think it
> should be documented in the manual somehow. I'm not familiar enough
> with use-package to make a suggestion, sorry.
>
> Best, Arash
>
> Footnotes:
> [1] https://git.savannah.gnu.org/cgit/emacs.git/tree/doc/misc/use-package.texi#n1539
>
> [2] https://www.reddit.com/r/emacs/comments/mk9ehd/curious_whats_the_use_of_usepackage_emacs/
Adding John, in case he has any thoughts about this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#66350: 30.0.50; Description for (use-package emacs ...)
2023-10-05 5:45 ` Eli Zaretskii
@ 2023-10-06 3:39 ` John Wiegley
2023-10-06 17:19 ` Arash Esbati
0 siblings, 1 reply; 4+ messages in thread
From: John Wiegley @ 2023-10-06 3:39 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Arash Esbati, 66350
>>>>> Eli Zaretskii <eliz@gnu.org> writes:
>> (use-package emacs
> Adding John, in case he has any thoughts about this.
The ‘(use-package emacs …)‘ declaration has no special meaning. It just takes
advantage of the fact that ‘(featurep 'emacs)‘ is always true, so in a way
it’s just for consistency’s sake, and doesn’t actually do anything special.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#66350: 30.0.50; Description for (use-package emacs ...)
2023-10-06 3:39 ` John Wiegley
@ 2023-10-06 17:19 ` Arash Esbati
0 siblings, 0 replies; 4+ messages in thread
From: Arash Esbati @ 2023-10-06 17:19 UTC (permalink / raw)
To: 66350
John Wiegley <johnw@gnu.org> writes:
> The ‘(use-package emacs …)‘ declaration has no special meaning. It just takes
> advantage of the fact that ‘(featurep 'emacs)‘ is always true, so in a way
> it’s just for consistency’s sake, and doesn’t actually do anything special.
Thanks for your response. I wonder which use-package keywords don't
make sense in that form? The way I see it things like :defer, :init et
al. are useless since we're talking about Emacs with all preloaded
libraries, right?
Best, Arash
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-06 17:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 21:29 bug#66350: 30.0.50; Description for (use-package emacs ...) Arash Esbati
2023-10-05 5:45 ` Eli Zaretskii
2023-10-06 3:39 ` John Wiegley
2023-10-06 17:19 ` Arash Esbati
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).