help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing Lisp Intro with eintr


From: Eduardo Ochs
Subject: Re: Accessing Lisp Intro with eintr
Date: Tue, 18 Oct 2022 00:17:56 -0300

On Mon, 17 Oct 2022 at 01:56, Heime via Users list for the GNU Emacs
text editor <help-gnu-emacs@gnu.org> wrote:
>
> Using info, this is the way to access the manuals using "elisp" and "emacs".
>
> C-h i m elisp <Ret>
> Visits the Emacs Lisp Manual.
>
> C-h i m emacs <Ret> Visits the Emacs Manual.
>
> But the above does not work quite well with the Introduction to Emacs Lisp 
> manual, because
> I cannot do
>
> C-h i m eintr <Ret>
>
> Rather, one has to do the following, with spaces etc.
>
> C-h i m emacs Lisp Intro <Ret>
>
> Would be grateful if info could access the intro with
>
> C-h i m eintr <Ret>

Hi Heime,

In Info mode `c' runs `Info-copy-current-node-name',
whose docstring is:

  "Put the name of the current Info node into the kill ring.
  The name of the Info file is prepended to the node name in parentheses.
  With a zero prefix arg, put the name inside a function call to `info'."

Try to run this with your favorite variant of `C-x C-e':

  (info "(eintr) Top")

then navigate to another section, and type `M-0 c'. This will put a
sexp like (for example) this one in the kill ring:

  (info "(eintr) Kill Ring")

Then you can copy that sexp to your notes and use it as a hyperlink.
Do that for all the pages that you find relevant.
Good fortune will follow.

  Cheers,
    Eduardo Ochs
    http://angg.twu.net/#eev



P.S.: one can use this to access the eintr with just `M-x ei':

  (defun ei () (interactive) (info "(eintr) Top"))

but many people hate functions with very short names like that one.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]