unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@elta.co.il>
Cc: schwab@suse.de, bug-gnu-emacs@gnu.org
Subject: Re: inconsistent bindings of backspace and delete between X and xterm
Date: 08 Feb 2004 08:03:56 +0200	[thread overview]
Message-ID: <u7jyyaz03.fsf@elta.co.il> (raw)
In-Reply-To: <lmznbucsxb.fsf@dernhelm.edmonton.yottayotta.com> (message from Dale Hagglund on Sat, 07 Feb 2004 17:32:16 -0700)

> From: Dale Hagglund <rdh@yottayotta.com>
> Date: Sat, 07 Feb 2004 17:32:16 -0700
> 
> My question boils down to this: Why not map the kdch1/kD sequence to
> <delete> instead of <deletechar>?  Wouldn't that make bindings like
> 
>         (global-set-key [delete] 'what-ever)
> 
> work the same both under X and within xterm or other terminal
> emulators?  Please forgive me if I'm missing something blindingly
> obvious here.

Nothing is ever obvious in the key-binding arcana... ;-)

IIRC, it's the other way around: <delete> was there before
<deletechar>, since it worked first in a windowed Emacs.  So it's
xterm and other terminals that are chasing window-system.  I may be
wrong, though.

In any case, the reason <delete> is mapped to C-d is so you could use
C-d on any text terminal and get the same results.

  reply	other threads:[~2004-02-08  6:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07  3:35 inconsistent bindings of backspace and delete between X and xterm Dale Hagglund
2004-02-07 14:38 ` Andreas Schwab
2004-02-07 17:35   ` Dale Hagglund
2004-02-07 18:45     ` Andreas Schwab
2004-02-08  0:32       ` Dale Hagglund
2004-02-08  6:03         ` Eli Zaretskii [this message]
2004-02-07 15:41 ` Eli Zaretskii
2004-02-07 15:56   ` Andreas Schwab
2004-02-07 17:27     ` Dale Hagglund
2004-02-07 18:40       ` Andreas Schwab
2004-02-07 17:21   ` Dale Hagglund
2004-02-11  0:13     ` Dale Hagglund
2004-02-11  6:57       ` Eli Zaretskii
2004-02-11 10:03         ` Dale Hagglund
     [not found] ` <mailman.2052.1076164878.928.bug-gnu-emacs@gnu.org>
2004-02-07 21:00   ` Thomas Dickey

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u7jyyaz03.fsf@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=schwab@suse.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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