all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* is there C-h help for a "require" feature?
@ 2002-09-28 17:31 Robert P. J. Day
  2002-09-28 23:18 ` Michael J. Barillier
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2002-09-28 17:31 UTC (permalink / raw)



  looking at someone else's elisp load file, and for the line
(require 'cl), is there any C-h help for "cl"?  given that it's
not a function or variable, is there another C-h key sequence
that would give help for that, perhaps from embedded documentation
in the corresponding file?

rday

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

* Re: is there C-h help for a "require" feature?
       [not found] <mailman.1033234465.16189.help-gnu-emacs@gnu.org>
@ 2002-09-28 17:55 ` Jesper Harder
  0 siblings, 0 replies; 5+ messages in thread
From: Jesper Harder @ 2002-09-28 17:55 UTC (permalink / raw)


"Robert P. J. Day" <rpjday@mindspring.com> writes:

>   looking at someone else's elisp load file, and for the line (require
> 'cl), is there any C-h help for "cl"?  given that it's not a function
> or variable, is there another C-h key sequence that would give help
> for that, perhaps from embedded documentation in the corresponding
> file?

There's `M-x finder-commentary'.

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

* Re: is there C-h help for a "require" feature?
  2002-09-28 17:31 Robert P. J. Day
@ 2002-09-28 23:18 ` Michael J. Barillier
  2002-09-28 23:54   ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Michael J. Barillier @ 2002-09-28 23:18 UTC (permalink / raw)
  Cc: Robert P. J. Day

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "rd" == Robert P J Day <rpjday@mindspring.com> writes:

    rd>   looking at someone else's elisp load file, and for the line
    rd> (require 'cl), is there any C-h help for "cl"?  given that
    rd> it's not a function or variable, is there another C-h key
    rd> sequence that would give help for that, perhaps from embedded
    rd> documentation in the corresponding file?

`(require 'cl)' makes sure cl.el (Common Lisp-like functions) are
loaded.  `cl' is just a symbol, and if it's not in the `features' list
then the corresponding file is loaded.  Are you looking for some
method of attaching per-file documentation?  Sounds like a slick idea,
but not supported by the current `require'/`provide' mechanism
(AFAIK).

- -- 
Michael J. Barillier
(let ((n "blackwolf") (h "pcisys.net")) (concatenate 'string n "@" h))
GnuPG public key ID: 0x35E54973
Fingerprint: EDB9 4FBC 4D0B 070C C0E3 2EE4 D822 78CE 35E5 4973
``A designer knows he has achieved perfection not when there is nothing
left to add, but when there is nothing left to take away.''
        -- Antoine de Saint-Exupery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9ljja2CJ4zjXlSXMRAjy7AJ9pKYRTmDutFmwXEuHVrStcFuZlNQCfcYj2
nJOZFBOH2LA0VrC7wAyoLiQ=
=Y5bv
-----END PGP SIGNATURE-----

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

* Re: is there C-h help for a "require" feature?
  2002-09-28 23:18 ` Michael J. Barillier
@ 2002-09-28 23:54   ` Robert P. J. Day
  0 siblings, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2002-09-28 23:54 UTC (permalink / raw)


On Sat, 28 Sep 2002, Michael J. Barillier wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >>>>> "rd" == Robert P J Day <rpjday@mindspring.com> writes:
> 
>     rd>   looking at someone else's elisp load file, and for the line
>     rd> (require 'cl), is there any C-h help for "cl"?  given that
>     rd> it's not a function or variable, is there another C-h key
>     rd> sequence that would give help for that, perhaps from embedded
>     rd> documentation in the corresponding file?
> 
> `(require 'cl)' makes sure cl.el (Common Lisp-like functions) are
> loaded.  `cl' is just a symbol, and if it's not in the `features' list
> then the corresponding file is loaded.

that part i had pretty much figured out.

> Are you looking for some
> method of attaching per-file documentation?  Sounds like a slick idea,
> but not supported by the current `require'/`provide' mechanism

that's what i was asking about, kind of like the DOCSTRING part of
a "defvar".  ah well, it was a shot in the dark.

rday

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

* Re: is there C-h help for a "require" feature?
       [not found] <mailman.1033257451.14053.help-gnu-emacs@gnu.org>
@ 2002-09-29 21:35 ` Stefan Monnier <foo@acm.com>
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-09-29 21:35 UTC (permalink / raw)


> that's what i was asking about, kind of like the DOCSTRING part of
> a "defvar".  ah well, it was a shot in the dark.

You can take a look at (cdr (assoc "cl" load-library)) to see
what functions/variables are defined.


        Stefan

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

end of thread, other threads:[~2002-09-29 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1033234465.16189.help-gnu-emacs@gnu.org>
2002-09-28 17:55 ` is there C-h help for a "require" feature? Jesper Harder
     [not found] <mailman.1033257451.14053.help-gnu-emacs@gnu.org>
2002-09-29 21:35 ` Stefan Monnier <foo@acm.com>
2002-09-28 17:31 Robert P. J. Day
2002-09-28 23:18 ` Michael J. Barillier
2002-09-28 23:54   ` Robert P. J. Day

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.