From xemacs-m  Thu Jun  5 02:29:47 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA28443
	for <xemacs-beta@xemacs.org>; Thu, 5 Jun 1997 02:29:45 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id JAA23499; Thu, 5 Jun 1997 09:29:42 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: cc-mode delete behavior [PATCH]
References: <bcipvu2pbof.fsf@corp.Sun.COM> 	<kiglo4qjjgt.fsf@jagor.srce.hr> 	<bciiuzuqjae.fsf@corp.Sun.COM> 	<kighgfejhf5.fsf@jagor.srce.hr> 	<199706042305.AAA01342@cerise.sensei.co.uk> 	<bci4tbeorrl.fsf@corp.Sun.COM> <199706050605.HAA05979@cerise.sensei.co.uk>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 05 Jun 1997 09:29:40 +0200
In-Reply-To: Glynn Clements's message of Thu, 5 Jun 1997 07:05:05 +0100
Message-ID: <kigbu5l5wyj.fsf@jagor.srce.hr>
Lines: 35
X-Mailer: Gnus v5.4.52/XEmacs 20.3(beta3)

Glynn Clements <glynn@sensei.co.uk> writes:

> My personal favourite solution is for \177 to be mapped to BackSpace,
> particularly if it's the tty erase character. I suspect that PC-style
> Delete keys are more likely to generate \e[3~.

That's solution b) in my lousy lingo.  That solution is technically
good, but it creates all sorts of compatibility problems you don't
really want to know about.

> > Besides, we already (kind of) have a keysym that unconditionally
> > erases forward (meaning everyone pretty much expects it, not that it
> > can't be overridden).  That would be the C-d key.
> 
> I'm aware from reading the documentation that C-d generally deletes
> forwards.  However, my subconscious is convinced that C-d is EOF (as
> it

Maybe you should get in touch with more Emacs old-timers before
actually changing anything.  C-d has deleted forwards in Emacs for
*ages* without ever being bearing a connection to EOF.  Doubting that
may cause serious religious wars.

> There is a second issue, namely ASCII to keysym translation. This IMO
> should be done up in lisp-land, not down in the C guts.

We all seem to agree on this -- me, Gary, Martin Buchholz, Ben Wing,
Jamie Zawinski...  I don't remember Steve or Chuck giving an opinion,
but I don't think they'd oppose violently.  The variable to get this
in Lisp is called `function-key-map', and it's even console-local.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.

