🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98702

Re: bs tab bug

#98702
From: Stephen Gildea
Date: Mon, 11 Mar 1991 14:41
24 lines
1678 bytes
    If the cursor is sitting on top up a tab character and I type C-D
    the tab gets removed from the buffer just the way it should.

    If the cursor is immediatly to the right of a tab and I type a
    backspace the same thing should happen.

    Instead what happens is that the tab gets replaced by seven (7)
    spaces, as though there were eight spaces before hand.


Just what behavior Delete has depends on the current major mode.  Some
modes bind it to delete-backward-char, which does what you think
should happen.  Other modes bind DEL to backward-delete-char-untabify,
which may make it easier to edit a file containing tabs in unexpected
places.

You need to note what modes use backward-delete-char-untabify, and
then decide if it is really inappropriate for the mode.  If you can
convince others, perhaps the default behavior will be changed.  In any
case, it is simple enough to customize the offending modes.

 < Stephen
   MIT X Consortium
Technical Details
Message-ID: <9103111441.AA15633@alex.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
References: <9103070620.AA02087@churchy.ai.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,d838a5acdbadd61e
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-12 00:22:18 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: gildea@EXPO.LCS.MIT.EDU (Stephen Gildea)
Newsgroups: gnu.emacs.bug
Subject: Re: bs tab bug
Message-ID: <9103111441.AA15633@alex.lcs.mit.edu>
Date: 11 Mar 91 14:41:51 GMT
References: <9103070620.AA02087@churchy.ai.mit.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: MIT X Consortium
Lines: 24
Approved: bug-gnu-emacs@prep.ai.mit.edu