From xemacs-m  Thu May  1 11:30:43 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id LAA02392
	for <xemacs-beta@xemacs.org>; Thu, 1 May 1997 11:30:42 -0500 (CDT)
Received: from Corp.Sun.COM ([129.145.35.78]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id JAA13664; Thu, 1 May 1997 09:40:12 -0700
Received: from legba.Corp.Sun.COM by Corp.Sun.COM (SMI-8.6/SMI-5.3)
	id JAA20474; Thu, 1 May 1997 09:30:08 -0700
Received: by legba.Corp.Sun.COM (SMI-8.6/SMI-SVR4)
	id JAA20779; Thu, 1 May 1997 09:29:56 -0700
To: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: xemacs-beta@xemacs.org
Subject: Re: Brain lossage
References: <bciwwpmohxl.fsf@corp.Sun.COM> 	<m2sp0azpbk.fsf@altair.xemacs.org> <QQcnhg04407.199704290003@crystal.WonderWorks.COM> <yvtpvvdv2ti.fsf@corona.pixar.com> <rjg1w8kj43.fsf@zuse.dina.kvl.dk> <bciafmgcxf8.fsf@corp.Sun.COM> <rj207ripul.fsf@zuse.dina.kvl.dk>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Gary.Foster@Corp.Sun.COM (Gary D. Foster)
Date: 01 May 1997 09:29:56 -0700
In-Reply-To: Per Abrahamsen's message of 01 May 1997 10:00:34 +0200
Message-ID: <bciiv13kvej.fsf@corp.Sun.COM>
Lines: 40
X-Mailer: Gnus v5.4.46/XEmacs 20.2(beta3)

Per Abrahamsen <abraham@dina.kvl.dk> writes:

> > I *think* the problem could be _easily_ fixed by changing the
> > following in lisp/prim/keydefs.el:
> > 
> > ;; Default binding of "Backspace" is the same as delete.
> > ;; Default binding of "Control-h" is help.
> > 
> > (define-key global-map 'backspace '[delete])
> > (define-key global-map '(meta backspace) '[(meta delete)])
> > (define-key global-map '(control backspace) '[(control delete)])
> > (define-key global-map '(control meta backspace) '[(control meta delete)])
> 
> Yep.  The following bindings should avoid a lot of practical problems:
> 
> 	(define-key global-map 'backspace "\C-?")
> 	(define-key global-map '(meta backspace) "\e\C-?")
> 	;; Don't bind control backspace.
> 
> I can think of some religious problems, but who cares?

That's basically what I did... I bound control backspace,
though... any particular reason why I shouldn't?

If not, since I volunteered for this I'll try and bundle together a
little miniature package with your "enable-delete-forward" and another 
defun for "disable-delete-forward" and a couple of bindings for these
key combos that don't tromp on the CUA debate to serve as a barebones
replacement for delbackspace, and then we'll also be able to have
pc-select and pc-mode .el packages so that the PC people can have all
their stuff and the non-PC people can still get del/BS bindings of
their choice without putting up with the rest of the stuff.

Heck, maybe I'll just roll all the functions into one generic package.

Lord knows, it's hard enough to get everyone to agree on just DEL/BS
mappings, I sure don't wanna get involved in forcing CUA on anyone,
least of all me. :)

-- Gary F.

