all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#10929: 24.0.94; `psetq' is autoloaded but not recognized in `emacs -Q'
@ 2012-03-02 16:51 Drew Adams
  2012-03-02 16:58 ` Lawrence Mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2012-03-02 16:51 UTC (permalink / raw)
  To: 10929

I don't claim this is a bug - you decide.
 
emacs -Q
 
C-h f psetq    ;; Not recognized
 
M-x load-library cl RET
 
C-h f psetq    ;; says it is autoloaded
 
This is likely true of other such macros as well.
 

In GNU Emacs 24.0.94.1 (i386-mingw-nt5.1.2600)
 of 2012-02-26 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'
 






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

* bug#10929: 24.0.94; `psetq' is autoloaded but not recognized in `emacs -Q'
  2012-03-02 16:51 bug#10929: 24.0.94; `psetq' is autoloaded but not recognized in `emacs -Q' Drew Adams
@ 2012-03-02 16:58 ` Lawrence Mitchell
  2012-03-02 17:06   ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Lawrence Mitchell @ 2012-03-02 16:58 UTC (permalink / raw)
  To: 10929

Drew Adams wrote:
> I don't claim this is a bug - you decide.

not-a-bug, as below.

> emacs -Q

> C-h f psetq    ;; Not recognized

CL symbols aren't exposed in emacs -Q without loading cl

> M-x load-library cl RET

> C-h f psetq    ;; says it is autoloaded

That's cos it is.  The autoloads for cl functions/macros are in
cl-loaddefs.el.  When you load cl.el it loads cl-loaddefs.el
autoloading additional names without loading the files
immediately.

Lawrence

-- 
Lawrence Mitchell <wence@gmx.li>






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

* bug#10929: 24.0.94; `psetq' is autoloaded but not recognized in `emacs -Q'
  2012-03-02 16:58 ` Lawrence Mitchell
@ 2012-03-02 17:06   ` Drew Adams
  2012-05-30 18:04     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2012-03-02 17:06 UTC (permalink / raw)
  To: 'Lawrence Mitchell', 10929

> The autoloads for cl functions/macros are in
> cl-loaddefs.el.  When you load cl.el it loads
> cl-loaddefs.el autoloading additional names without
> loading the files immediately.

Yes, I know all that.  But thanks anyway - I probably wasn't clear enough.

My question really is, I guess, whether users should be able to get help about
such macros without first loading cl.el.

Autoloading has a couple different (but related) purposes.  One of them helps
Emacs be the self-documenting editor it claims to be.






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

* bug#10929: 24.0.94; `psetq' is autoloaded but not recognized in `emacs -Q'
  2012-03-02 17:06   ` Drew Adams
@ 2012-05-30 18:04     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2012-05-30 18:04 UTC (permalink / raw)
  To: 10929-done


> I don't claim this is a bug - you decide.

It is not.

> Autoloading has a couple different (but related) purposes. One of them
> helps Emacs be the self-documenting editor it claims to be.

This is not what the cl autoloads are for (nor should any autoload be
used for this purpose IMO).





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

end of thread, other threads:[~2012-05-30 18:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 16:51 bug#10929: 24.0.94; `psetq' is autoloaded but not recognized in `emacs -Q' Drew Adams
2012-03-02 16:58 ` Lawrence Mitchell
2012-03-02 17:06   ` Drew Adams
2012-05-30 18:04     ` Glenn Morris

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.