unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* what are <remap> and <switch-to-buffer>
@ 2009-03-15  9:01 Santanu
  2009-03-15  9:47 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Santanu @ 2009-03-15  9:01 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

From a recent post in this newsgroup, I came to know about the
ido-mode. I still don't know much about this, but while exploring,
I gave the command 'M-x ido-switch-buffer'. In the minibuffer, emacs
told me
"You can run the command ido-switch-buffer with <remap> <switch-to-
buffer>"
Now, I know about M(Meta), C(Control), S(Shift). But what is <remap>
and
<switch-to-buffer> ?

I know this might be too obvious to most (all?) of you, but could you
please give me a hint... I am just too lazy to go through the
whole manual searching for this right now :-)

Regards,
Santanu Chatterjee


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

* Re: what are <remap> and <switch-to-buffer>
  2009-03-15  9:01 what are <remap> and <switch-to-buffer> Santanu
@ 2009-03-15  9:47 ` Pascal J. Bourguignon
  2009-03-15 10:37   ` Santanu
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal J. Bourguignon @ 2009-03-15  9:47 UTC (permalink / raw)
  To: help-gnu-emacs

Santanu <thisissantanu@gmail.com> writes:

> Hi,
>
> From a recent post in this newsgroup, I came to know about the
> ido-mode. I still don't know much about this, but while exploring,
> I gave the command 'M-x ido-switch-buffer'. In the minibuffer, emacs
> told me
> "You can run the command ido-switch-buffer with <remap> <switch-to-
> buffer>"
> Now, I know about M(Meta), C(Control), S(Shift). But what is <remap>
> and <switch-to-buffer> ?

You can know what keys a command is bound to with C-h w
C-h w ido-switch-buffer RET 
(here it says it's not bound to any key).

However, when I do C-h w find-file RET it says:
find-file is on <open>, C-x C-f, <menu-bar> <file> <new-file>

Notice the comas!  There's three ways to find-file thru "keys".

1-  keying the   <open>   key,

2-  keying C-x C-f,

3-  selecting the <menu-bar>, selecting the <file> item, 
    and selecting the <new-file> item.

I'd guess that the <open> key is what happens when you click on the
open button in the tool-bar.

-- 
__Pascal Bourguignon__


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

* Re: what are <remap> and <switch-to-buffer>
  2009-03-15  9:47 ` Pascal J. Bourguignon
@ 2009-03-15 10:37   ` Santanu
  0 siblings, 0 replies; 3+ messages in thread
From: Santanu @ 2009-03-15 10:37 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 15, 2:47 pm, p...@informatimago.com (Pascal J. Bourguignon)
replied:
> You can know what keys a command is bound to with C-h w

Thanks. Didn't know about that.

> However, when I do C-h w find-file RET it says:
> find-file is on <open>, C-x C-f, <menu-bar> <file> <new-file>

Yes, I was wondering about keys like these <open>, <remap>, etc.
that emacs talk about sometimes.

> I'd guess that the <open> key is what happens when you click on the
> open button in the tool-bar.

When I click on the open button in the tool bar, the minibuffer shows
'tool-bar open-file'.

Talking about these peculiar (to me) 'keys', I was wondering if there
are
some keyboards that have keys like <open>, etc.

Regards,
Santanu Chatterjee


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

end of thread, other threads:[~2009-03-15 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15  9:01 what are <remap> and <switch-to-buffer> Santanu
2009-03-15  9:47 ` Pascal J. Bourguignon
2009-03-15 10:37   ` Santanu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).