From xemacs-m  Wed Jun  4 13:45:11 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 NAA19625
	for <xemacs-beta@xemacs.org>; Wed, 4 Jun 1997 13:45:09 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id UAA29833; Wed, 4 Jun 1997 20:45:06 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: cc-mode delete behavior [PATCH]
References: <bcipvu2pbof.fsf@corp.Sun.COM>
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: 04 Jun 1997 20:45:06 +0200
In-Reply-To: Gary.Foster@Corp.Sun.COM's message of 04 Jun 1997 09:36:48 -0700
Message-ID: <kiglo4qjjgt.fsf@jagor.srce.hr>
Lines: 31
X-Mailer: Gnus v5.4.52/XEmacs 20.2

Gary.Foster@Corp.Sun.COM (Gary D. Foster) writes:

> Ok, I put a patch together to make cc-mode honor the desired delete
> behavior (either forwards or backwards).  It works in both normal and
> 'hungry' mode and seems to work well in tty mode as well.  I also
> removed the hook and rebound DEL to the c-electric-delete function via
> define-keys so I can hopefully dispel all remaining doubts that this
> is a "hook solution".  It's not.  This should prove that. ;)

Since I have acted as Advocato Diabolo (pardon my Danish) in this
case, can you please write a short paragraph which explains how your
solution works.  Yes, I can read the source, but I want to hear it
from you.  Here is my interpretation:

  - XEmacs works right by default.

  - Modes that want to provide its own backspace and delete functions
    should bind delete to `backspace-or-delete'.  What should they
    bind backspace to?

  - What should modes that want to use backspace and delete for
    various unholy purposes (such as scrolling in Gnus) do?

I have abstained from giving any comments before I hear whether my
interpretation is correct.  Please do write it down.

-- 
Crazie Eddie  <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"You are all Crazy Eddies.  The cure will end up being worse than
the disease."

