From: Arthur Miller <arthur.miller@live.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [External] : Re: Patch: perform autoloading when docs is missing from autoload object
Date: Sat, 18 Sep 2021 19:34:54 +0200 [thread overview]
Message-ID: <AM9PR09MB4977AC06CDE8FD2656F91C5296DE9@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <SJ0PR10MB54881802B4348A86576CE0E7F3DE9@SJ0PR10MB5488.namprd10.prod.outlook.com> (Drew Adams's message of "Sat, 18 Sep 2021 16:03:16 +0000")
Drew Adams <drew.adams@oracle.com> writes:
>> It is quite likely that you want to use the
>> library if you've looked up the symbol in a
>> *Help* buffer, so why not, indeed, just load
>> it at that point?
>
> It's also quite likely - even more likely IMO
> - that you do NOT want to use (load) the
> library - you just wanted to check the doc of
> something in it.
>
> "Just load it" isn't right. Let _users_ load
> it when they want to. That's trivial to do.
>
> If you added an option that does such eager
> loading, that would be one thing. But to
> "just load" unconditionally would be very
> wrong, IMHO.
>
>> So I think I'd be fine with adding the proposed
>> functionality. If there are people that don't
>> want this, we can add a user option to switch it off.
>
> That's wrong. Add an option to switch it
> on, if you want to provide such an optional
> behavior.
:) Yes I agree with you.
That option is in the patch already, and the default is 'nil'. Haven't you
looked at it?
Everything is "as-before" until user actively toggles that option on:
(defcustom help-enable-symbol-autoload nil
"Perform autoload when documentation is not present in autoload object."
:type 'boolean
:group 'help
:version "28.1")
next prev parent reply other threads:[~2021-09-18 17:34 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 13:51 Patch: perform autoloading when docs is missing from autoload object Arthur Miller
2021-09-15 18:14 ` Stefan Monnier
2021-09-15 22:29 ` Arthur Miller
2021-09-17 16:38 ` Stefan Monnier
2021-09-17 16:56 ` Generic autoloading? [Was Patch: perform autoloading when docs is missing from autoload object] Qiantan Hong
2021-09-17 19:36 ` Stefan Monnier
2021-09-17 19:51 ` Qiantan Hong
2021-09-17 21:25 ` Arthur Miller
2021-09-17 21:09 ` Patch: perform autoloading when docs is missing from autoload object Arthur Miller
2021-09-18 13:37 ` Stefan Monnier
2021-09-18 18:25 ` Arthur Miller
2021-09-20 17:02 ` Stefan Monnier
2021-09-22 16:18 ` Arthur Miller
2021-09-16 12:51 ` Lars Ingebrigtsen
2021-09-17 6:49 ` Arthur Miller
2021-09-17 14:01 ` Lars Ingebrigtsen
2021-09-17 15:04 ` Arthur Miller
2021-09-18 13:21 ` Lars Ingebrigtsen
2021-09-18 16:03 ` [External] : " Drew Adams
2021-09-18 17:34 ` Arthur Miller [this message]
2021-09-18 17:31 ` Arthur Miller
2021-09-18 17:53 ` Lars Ingebrigtsen
2021-09-18 18:38 ` Arthur Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM9PR09MB4977AC06CDE8FD2656F91C5296DE9@AM9PR09MB4977.eurprd09.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.