[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About <DEL> character and Control character.
From: |
Barry Margolin |
Subject: |
Re: About <DEL> character and Control character. |
Date: |
Wed, 05 Aug 2009 13:28:13 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.3926.1249463831.2239.help-gnu-emacs@gnu.org>,
waterloo <waterloo2005@gmail.com> wrote:
> I am reading Emacs Lisp Reference and can not understand the following
> paragraph:
>
> For historical reasons, Emacs treats the <DEL> character as the
> control equivalent of `?':
>
> ?\^? => 127 ?\C-? => 127
>
> As a result, it is currently not possible to represent the character
> `Control-?', which is a meaningful input character under X, using
> `\C-'. It is not easy to change this, as various Lisp files refer to
> <DEL> in this way.
>
> What I understand is :
> ?\^? = <DEL>
> now we can not represent `Control-?' with `?\ " syntax.
>
> Is it right?
>
> What does "which is a meaningful input character under X, using
> `\C-'. " mean ?
There is no Control-? character in traditional ASCII, which is why it
was originally OK to use ^? as the way to represent DEL. But modern
windowing systems, like X, Windows, and MacOS, allow the control
modifier to be applied to any character on the keyboard. This created
the ambiguity, because now there's a real Control-?.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***