unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* escape codes in emacs
@ 2005-03-01 15:24 Guy Thomas
  2005-03-01 15:34 ` Albert Reiner
  2005-03-01 15:58 ` Reiner Steib
  0 siblings, 2 replies; 3+ messages in thread
From: Guy Thomas @ 2005-03-01 15:24 UTC (permalink / raw)


How do I reproduce in emacs the vi combination

i (insert)
Ctrl-V (start escape code)
ESC

Displayed in vi: ^[

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

* Re: escape codes in emacs
  2005-03-01 15:24 escape codes in emacs Guy Thomas
@ 2005-03-01 15:34 ` Albert Reiner
  2005-03-01 15:58 ` Reiner Steib
  1 sibling, 0 replies; 3+ messages in thread
From: Albert Reiner @ 2005-03-01 15:34 UTC (permalink / raw)


[Guy Thomas <giethomas@gmail.com>, Tue, 01 Mar 2005 15:24:24 GMT]:
> How do I reproduce in emacs the vi combination
> 
> i (insert)
> Ctrl-V (start escape code)
> ESC
> 
> Displayed in vi: ^[

Does that insert a literal ESC?

I think you need C-q ESC to get that: ^[

HTH,

Albert.

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

* Re: escape codes in emacs
  2005-03-01 15:24 escape codes in emacs Guy Thomas
  2005-03-01 15:34 ` Albert Reiner
@ 2005-03-01 15:58 ` Reiner Steib
  1 sibling, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2005-03-01 15:58 UTC (permalink / raw)


On Tue, Mar 01 2005, Guy Thomas wrote:

> How do I reproduce in emacs the vi combination
>
> i (insert)
> Ctrl-V (start escape code)
> ESC
>
> Displayed in vi: ^[

,----[ C-h f quoted-insert RET ]
| quoted-insert is an interactive compiled Lisp function in `simple'.
| It is bound to C-q.
| (quoted-insert ARG)
| 
| Read next input character and insert it.
| This is useful for inserting control characters.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

end of thread, other threads:[~2005-03-01 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-01 15:24 escape codes in emacs Guy Thomas
2005-03-01 15:34 ` Albert Reiner
2005-03-01 15:58 ` Reiner Steib

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).