home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / emacs / bug / 1690 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: gnu.emacs.bug
  4. Subject: Re: quoted-insert inserts in overwrite-mode
  5. Date: 22 Jan 1993 21:50:12 -0500
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 33
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-emacs@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <1jpr8eINNg1o@early-bird.think.com>
  12. References: <9301190456.AA02043@csd.bu.edu>
  13.  
  14. The answer to this whole issue seems to be that there's no one right
  15. answer.  Perhaps an option variable would be appropriate.
  16.  
  17. Assuming we get a variant of overwrite mode where quoted-insert overwrites,
  18. would it be correct for it to overwrite just one character?  If I type C-q
  19. C-a, the resulting character displays as "^A", so maybe it should overwrite
  20. two characters.  And if I type C-q 200, the result is "\200", so it should
  21. presumably replace four characters.
  22.  
  23. But maybe not.  These representations of non-printing characters are only
  24. used within Emacs and a few other utilities.  If you print the files out
  25. the alignment of columns will be wrong, since different control characters
  26. have different effects on output.
  27.  
  28. This makes me wonder why anyone would use quoted-insert in overwrite mode
  29. in the first place.
  30.  
  31. My personal complaint about overwrite-mode is the behavior of deletion
  32. commands.  I think they should overwrite whatever they're deleting with
  33. spaces, so that the position of text beyond them isn't affected.  Actually,
  34. what I'd really like is for it to know what used to be there and restore
  35. it.  I often use overwrite-mode for filling in forms that have rows of
  36. underlines, and it would be nice if editing the fields would fill back in
  37. the underlines.
  38.  
  39. But I'd be satisfied if it just filled in with spaces.
  40.  
  41. -- 
  42. Barry Margolin
  43. System Manager, Thinking Machines Corp.
  44.  
  45. barmar@think.com          {uunet,harvard}!think!barmar
  46.  
  47.