unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Why '`C-h f' now reports previously-autoloaded functions as "autoloaded"'
@ 2013-01-12  5:55 Leo Liu
  2013-01-12 13:11 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Liu @ 2013-01-12  5:55 UTC (permalink / raw)
  To: emacs-devel

I have been trying to get used to this feature since 24.2.90 and I have
found it worse than previous behaviour. What is the rationale behind the
change?

In my use case, all autoloads (i.e. important public entries of a
package) are generated automatically and not hand written. I used to
quickly check, say C-h f ZZZ-mode (I cannot remember/care all the
autoloads in a package but those 2 or 3 important ones) to see if it has
been loaded after modifying its variables (some of them might need set
before package is loaded). The new behaviour leaves me clueless.

Leo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Why '`C-h f' now reports previously-autoloaded functions as "autoloaded"'
  2013-01-12  5:55 Why '`C-h f' now reports previously-autoloaded functions as "autoloaded"' Leo Liu
@ 2013-01-12 13:11 ` Stefan Monnier
  2013-01-12 13:39   ` Leo Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2013-01-12 13:11 UTC (permalink / raw)
  To: Leo Liu; +Cc: emacs-devel

> I have been trying to get used to this feature since 24.2.90 and I have
> found it worse than previous behaviour. What is the rationale behind the
> change?

So you can tell whether you need to `require' its package before
calling it.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Why '`C-h f' now reports previously-autoloaded functions as "autoloaded"'
  2013-01-12 13:11 ` Stefan Monnier
@ 2013-01-12 13:39   ` Leo Liu
  2013-01-12 14:12     ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Liu @ 2013-01-12 13:39 UTC (permalink / raw)
  To: emacs-devel

On 2013-01-12 21:11 +0800, Stefan Monnier wrote:
> So you can tell whether you need to `require' its package before
> calling it.

But then we lose the ability to tell whether the package has been loaded
or not, which is also important information.

Leo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Why '`C-h f' now reports previously-autoloaded functions as "autoloaded"'
  2013-01-12 13:39   ` Leo Liu
@ 2013-01-12 14:12     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2013-01-12 14:12 UTC (permalink / raw)
  To: Leo Liu; +Cc: emacs-devel

>> So you can tell whether you need to `require' its package before
>> calling it.
> But then we lose the ability to tell whether the package has been loaded
> or not, which is also important information.

We tend to consider it less important to know if it's already been
loaded or not, since the package may have been loaded as a side-effect
of various things (e.g. C-h f itself might very likely have loaded the
package if it wasn't loaded already).

Maybe it would help if you could tell us more concretely why you want to
know if a package is loaded.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-12 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12  5:55 Why '`C-h f' now reports previously-autoloaded functions as "autoloaded"' Leo Liu
2013-01-12 13:11 ` Stefan Monnier
2013-01-12 13:39   ` Leo Liu
2013-01-12 14:12     ` Stefan Monnier

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).