all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: About <DEL> character and Control character.
Date: Wed, 05 Aug 2009 13:28:13 -0400	[thread overview]
Message-ID: <barmar-5EBCDC.13281305082009@news.eternal-september.org> (raw)
In-Reply-To: mailman.3926.1249463831.2239.help-gnu-emacs@gnu.org

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 ***


       reply	other threads:[~2009-08-05 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3926.1249463831.2239.help-gnu-emacs@gnu.org>
2009-08-05 17:28 ` Barry Margolin [this message]
2009-08-05  9:17 About <DEL> character and Control character waterloo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=barmar-5EBCDC.13281305082009@news.eternal-september.org \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.