* how can I replace one keybing with another one ?
@ 2012-09-26 8:25 horse_rivers
0 siblings, 0 replies; 10+ messages in thread
From: horse_rivers @ 2012-09-26 8:25 UTC (permalink / raw)
To: emacs help list
hi,
how can I replace one keybing with another one ?
for example,I want to use ctrl-a to replace ctrl-x-o,how to write my .emacs file?
thanks!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how can I replace one keybing with another one ?
[not found] <mailman.9754.1348647929.855.help-gnu-emacs@gnu.org>
@ 2012-09-26 10:10 ` Pascal J. Bourguignon
2012-09-26 13:07 ` horse_rivers
0 siblings, 1 reply; 10+ messages in thread
From: Pascal J. Bourguignon @ 2012-09-26 10:10 UTC (permalink / raw)
To: help-gnu-emacs
horse_rivers <horse_rivers@126.com> writes:
> hi,
> how can I replace one keybing with another one ?
> for example,I want to use ctrl-a to replace ctrl-x-o,how to write my .emacs file?
C-h k C-x C-o will tell you waht function is bound to C-x C-o.
(global-set-key (kbd "C-a") 'that-function) in you ~/.emacs will bind
C-a to that function.
Here, C-x C-o is bound to delete-blank-lines, so:
(global-set-key (kbd "C-a") 'delete-blank-lines)
You can activate it immediately typing C-x C-e after it.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re:Re: how can I replace one keybing with another one ?
2012-09-26 10:10 ` how can I replace one keybing with another one ? Pascal J. Bourguignon
@ 2012-09-26 13:07 ` horse_rivers
2012-09-26 14:52 ` Óscar Fuentes
0 siblings, 1 reply; 10+ messages in thread
From: horse_rivers @ 2012-09-26 13:07 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
oh,yeah! thank you very much!
but what is the meaning of kbd ?
At 2012-09-26 18:10:33,"Pascal J. Bourguignon" <pjb@informatimago.com> wrote:
>horse_rivers <horse_rivers@126.com> writes:
>
>> hi,
>> how can I replace one keybing with another one ?
>> for example,I want to use ctrl-a to replace ctrl-x-o,how to write my .emacs file?
>
>C-h k C-x C-o will tell you waht function is bound to C-x C-o.
>(global-set-key (kbd "C-a") 'that-function) in you ~/.emacs will bind
>C-a to that function.
>
>Here, C-x C-o is bound to delete-blank-lines, so:
>(global-set-key (kbd "C-a") 'delete-blank-lines)
>You can activate it immediately typing C-x C-e after it.
>
>--
>__Pascal Bourguignon__ http://www.informatimago.com/
>A bad day in () is better than a good day in {}.
[-- Attachment #2: Type: text/html, Size: 1748 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how can I replace one keybing with another one ?
2012-09-26 13:07 ` horse_rivers
@ 2012-09-26 14:52 ` Óscar Fuentes
2012-09-27 1:15 ` horse_rivers
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2012-09-26 14:52 UTC (permalink / raw)
To: help-gnu-emacs
horse_rivers <horse_rivers@126.com> writes:
> oh,yeah! thank you very much!
> but what is the meaning of kbd ?
C-h f kbd [ENTER]
kbd is a compiled Lisp function in `subr.el'.
(kbd KEYS)
Convert KEYS to the internal Emacs key representation.
KEYS should be a string constant in the format used for
saving keyboard macros (see `edmacro-mode').
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re:Re: how can I replace one keybing with another one ?
2012-09-26 14:52 ` Óscar Fuentes
@ 2012-09-27 1:15 ` horse_rivers
2012-09-27 2:25 ` Óscar Fuentes
0 siblings, 1 reply; 10+ messages in thread
From: horse_rivers @ 2012-09-27 1:15 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 515 bytes --]
is there some documentation for these base knowledge?
thanks!
在 2012-09-26 22:52:05,"Óscar Fuentes" <ofv@wanadoo.es> 写道:
>horse_rivers <horse_rivers@126.com> writes:
>
>> oh,yeah! thank you very much!
>> but what is the meaning of kbd ?
>
>C-h f kbd [ENTER]
>
>kbd is a compiled Lisp function in `subr.el'.
>
>(kbd KEYS)
>
>Convert KEYS to the internal Emacs key representation.
>KEYS should be a string constant in the format used for
>saving keyboard macros (see `edmacro-mode').
>
>
[-- Attachment #2: Type: text/html, Size: 1108 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how can I replace one keybing with another one ?
2012-09-27 1:15 ` horse_rivers
@ 2012-09-27 2:25 ` Óscar Fuentes
2012-09-27 2:39 ` horse_rivers
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2012-09-27 2:25 UTC (permalink / raw)
To: help-gnu-emacs
horse_rivers <horse_rivers@126.com> writes:
> is there some documentation for these base knowledge?
Emacs is self-documented, as demonstrated on the response to your
previous inquiry. Additionally, it comes with a manual for the Emacs
Lisp language and for Emacs proper.
To learn more explore the contents of the Help menu in your Emacs.
If your question is about representing key sequences, see the "Key
Sequences" section on the Elisp Manual.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re:Re: how can I replace one keybing with another one ?
2012-09-27 2:25 ` Óscar Fuentes
@ 2012-09-27 2:39 ` horse_rivers
2012-09-27 3:36 ` Óscar Fuentes
0 siblings, 1 reply; 10+ messages in thread
From: horse_rivers @ 2012-09-27 2:39 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
thank you !
if I want to read the manul for lisp in emacs help manul doc ,what key to type in emacs ?
At 2012-09-27 10:25:54,"Óscar Fuentes" <ofv@wanadoo.es> wrote:
>horse_rivers <horse_rivers@126.com> writes:
>
>> is there some documentation for these base knowledge?
>
>Emacs is self-documented, as demonstrated on the response to your
>previous inquiry. Additionally, it comes with a manual for the Emacs
>Lisp language and for Emacs proper.
>
>To learn more explore the contents of the Help menu in your Emacs.
>
>If your question is about representing key sequences, see the "Key
>Sequences" section on the Elisp Manual.
>
>
[-- Attachment #2: Type: text/html, Size: 1361 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how can I replace one keybing with another one ?
2012-09-27 2:39 ` horse_rivers
@ 2012-09-27 3:36 ` Óscar Fuentes
2012-09-27 6:04 ` horse_rivers
0 siblings, 1 reply; 10+ messages in thread
From: Óscar Fuentes @ 2012-09-27 3:36 UTC (permalink / raw)
To: help-gnu-emacs
horse_rivers <horse_rivers@126.com> writes:
> if I want to read the manul for lisp in emacs help manul doc ,what key
> to type in emacs ?
Go to the "Help" menu, then to "More Manuals" and finally to "Emacs Lisp
Reference".
Another way is
C-h i m elisp [INTRO]
It is recommended to first read the "Introduction to Emacs Lisp",
available from the same submenu as the other manual.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re:Re: how can I replace one keybing with another one ?
2012-09-27 3:36 ` Óscar Fuentes
@ 2012-09-27 6:04 ` horse_rivers
2012-09-27 16:08 ` Stefan Schlee
0 siblings, 1 reply; 10+ messages in thread
From: horse_rivers @ 2012-09-27 6:04 UTC (permalink / raw)
To: help-gnu-emacs
when I read the manul .I will get into the subitem step by step , so how to come back to previous view ?
At 2012-09-27 11:36:15,"Óscar Fuentes" <ofv@wanadoo.es> wrote:
>horse_rivers <horse_rivers@126.com> writes:
>
>> if I want to read the manul for lisp in emacs help manul doc ,what key
>> to type in emacs ?
>
>Go to the "Help" menu, then to "More Manuals" and finally to "Emacs Lisp
>Reference".
>
>Another way is
>
>C-h i m elisp [INTRO]
>
>It is recommended to first read the "Introduction to Emacs Lisp",
>available from the same submenu as the other manual.
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: how can I replace one keybing with another one ?
2012-09-27 6:04 ` horse_rivers
@ 2012-09-27 16:08 ` Stefan Schlee
0 siblings, 0 replies; 10+ messages in thread
From: Stefan Schlee @ 2012-09-27 16:08 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]
You might want to read the html-versions of these manuals:
http://www.gnu.org/software/emacs/manual/emacs.html
http://www.gnu.org/software/emacs/emacs-lisp-intro/
http://www.gnu.org/software/emacs/manual/elisp.html
________________________________
From: horse_rivers <horse_rivers@126.com>
To: help-gnu-emacs@gnu.org
Sent: Thursday, September 27, 2012 8:04 AM
Subject: Re:Re: how can I replace one keybing with another one ?
when I read the manul .I will get into the subitem step by step , so how to come back to previous view ?
At 2012-09-27 11:36:15,"Óscar Fuentes" <ofv@wanadoo.es> wrote:
>horse_rivers <horse_rivers@126.com> writes:
>
>> if I want to read the manul for lisp in emacs help manul doc ,what key
>> to type in emacs ?
>
>Go to the "Help" menu, then to "More Manuals" and finally to "Emacs Lisp
>Reference".
>
>Another way is
>
>C-h i m elisp [INTRO]
>
>It is recommended to first read the "Introduction to Emacs Lisp",
>available from the same submenu as the other manual.
>
>
[-- Attachment #2: Type: text/html, Size: 2353 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-09-27 16:08 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.9754.1348647929.855.help-gnu-emacs@gnu.org>
2012-09-26 10:10 ` how can I replace one keybing with another one ? Pascal J. Bourguignon
2012-09-26 13:07 ` horse_rivers
2012-09-26 14:52 ` Óscar Fuentes
2012-09-27 1:15 ` horse_rivers
2012-09-27 2:25 ` Óscar Fuentes
2012-09-27 2:39 ` horse_rivers
2012-09-27 3:36 ` Óscar Fuentes
2012-09-27 6:04 ` horse_rivers
2012-09-27 16:08 ` Stefan Schlee
2012-09-26 8:25 horse_rivers
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.