Article View: gnu.emacs.bug
Article #958Re: quoted-insert inserts in overwrite-mode
From: Barry Margolin
Date: Sat, 23 Jan 1993 02:50
Date: Sat, 23 Jan 1993 02:50
32 lines
2021 bytes
2021 bytes
The answer to this whole issue seems to be that there's no one right
answer. Perhaps an option variable would be appropriate.
Assuming we get a variant of overwrite mode where quoted-insert overwrites,
would it be correct for it to overwrite just one character? If I type C-q
C-a, the resulting character displays as "^A", so maybe it should overwrite
two characters. And if I type C-q 200, the result is "\200", so it should
presumably replace four characters.
But maybe not. These representations of non-printing characters are only
used within Emacs and a few other utilities. If you print the files out
the alignment of columns will be wrong, since different control characters
have different effects on output.
This makes me wonder why anyone would use quoted-insert in overwrite mode
in the first place.
My personal complaint about overwrite-mode is the behavior of deletion
commands. I think they should overwrite whatever they're deleting with
spaces, so that the position of text beyond them isn't affected. Actually,
what I'd really like is for it to know what used to be there and restore
it. I often use overwrite-mode for filling in forms that have rows of
underlines, and it would be nice if editing the fields would fill back in
the underlines.
But I'd be satisfied if it just filled in with spaces.
--
Barry Margolin
System Manager, Thinking Machines Corp.
barmar@think.com {uunet,harvard}!think!barmar
Technical Details
Message-ID:
<1jpr8eINNg1o@early-bird.think.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!think.com!barmarReferences:
<9301190456.AA02043@csd.bu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!think.com!barmar From: barmar@think.com (Barry Margolin) Newsgroups: gnu.emacs.bug Subject: Re: quoted-insert inserts in overwrite-mode Date: 22 Jan 1993 21:50:12 -0500 Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 33 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <1jpr8eINNg1o@early-bird.think.com> References: <9301190456.AA02043@csd.bu.edu>