* Re: Accessing Lisp Intro with eintr
@ 2022-10-17 17:02 Drew Adams
0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2022-10-17 17:02 UTC (permalink / raw)
To: 'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
> 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>
`m' matches your input against the title of the manual
`m int RET' does what you want.
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 12792 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Accessing Lisp Intro with eintr
@ 2022-10-17 4:55 Heime via Users list for the GNU Emacs text editor
2022-10-17 7:20 ` Jean Louis
2022-10-18 3:17 ` Eduardo Ochs
0 siblings, 2 replies; 4+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2022-10-17 4:55 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Accessing Lisp Intro with eintr
2022-10-17 4:55 Heime via Users list for the GNU Emacs text editor
@ 2022-10-17 7:20 ` Jean Louis
2022-10-18 3:17 ` Eduardo Ochs
1 sibling, 0 replies; 4+ messages in thread
From: Jean Louis @ 2022-10-17 7:20 UTC (permalink / raw)
To: Heime; +Cc: help-gnu-emacs@gnu.org
* Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2022-10-17 07:57]:
> Using info, this is the way to access the manuals using "elisp" and
> "emacs".
I recommend using Hyperbole package to get some quicker functions:
{M-x package-install RET hyperbole} as then what you see here within
curly brackets becomes a link that you activate with M-RET:
- For Emacs Lisp reference I use always {C-h r TAB RET}
- To get into Emacs Lisp Intro is to evaluate this function:
(info "(eintr) Top")
- To make a command, meaning invokable Emacs Lisp function:
(defun my-emacs-lisp-intro ()
(interactive)
(info "(eintr) Top"))
- To assign that command to a key:
(keymap-set global-map "C-c e" #'my-emacs-lisp-intro)
Now all what you need to do is press {C-c e} to get
"An Introduction to Programming in Emacs Lisp"
And remember that key bindings shall rather begin with C-c for
user configured functions.
You can put those definitions in your init file.
(defun my-emacs-lisp-intro ()
(interactive)
(info "(eintr) Top"))
Little problem is that function `keymap-set' is in my latest version of Emacs, so you better use:
(define-key global-map (kbd "C-c e") #'my-emacs-lisp-intro)
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Accessing Lisp Intro with eintr
2022-10-17 4:55 Heime via Users list for the GNU Emacs text editor
2022-10-17 7:20 ` Jean Louis
@ 2022-10-18 3:17 ` Eduardo Ochs
1 sibling, 0 replies; 4+ messages in thread
From: Eduardo Ochs @ 2022-10-18 3:17 UTC (permalink / raw)
To: Heime; +Cc: help-gnu-emacs@gnu.org
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-10-18 3:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 17:02 Accessing Lisp Intro with eintr Drew Adams
-- strict thread matches above, loose matches on Subject: below --
2022-10-17 4:55 Heime via Users list for the GNU Emacs text editor
2022-10-17 7:20 ` Jean Louis
2022-10-18 3:17 ` Eduardo Ochs
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.