home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / emacs / 2701 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.7 KB

  1. Path: sparky!uunet!sun-barr!ames!bionet!raven.alaska.edu!news.u.washington.edu!news.u.washington.edu!ethanb
  2. From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
  3. Newsgroups: comp.emacs,cs.emacs
  4. Subject: Re: Is there a way to get RMAIL to behave like this:
  5. Message-ID: <ETHANB.92Jul24101518@ptolemy.astro.washington.edu>
  6. Date: 24 Jul 92 18:15:18 GMT
  7. References: <1992Jul24.142245.9472@bronze.ucs.indiana.edu>
  8. Sender: news@u.washington.edu (USENET News System)
  9. Organization: U. of Washington
  10. Lines: 22
  11. In-Reply-To: ericg@bronze.ucs.indiana.edu's message of Fri, 24 Jul 92 14:22:45 GMT
  12. To: ericg@bronze.ucs.indiana.edu (E. Chris Garrison)
  13.  
  14. In article <1992Jul24.142245.9472@bronze.ucs.indiana.edu> ericg@bronze.ucs.indiana.edu (E. Chris Garrison) writes:
  15.    I am trying to get RMAIL to include a message I am replying to
  16.    with > characters at the beginning of a line.  When I used to
  17.    use /bin/mail with vi, all I had to do was R reply and then
  18.    had a mapped key to do the following vi global search and
  19.    replace command:
  20.  
  21.    :%s/^/>/
  22.  
  23.    Easy enough.  Not so in RMAIL, replying does not include
  24.    text, and I can't get regexp-replace to do the above replace.
  25.  
  26. C-C C-Y will yank down the current message from your RMAIL buffer; it
  27. will be indented by four spaces with vanilla RMAIL.  Replace-regexp
  28. replacing ``^'' (or ``^   '') with ``>'' should work; it does for me
  29. (remember that you have to be at the start of the text).
  30.  
  31. Instead of doing the replace, you can make a trivial change to the
  32. code of RMAIL to cause it to insert ``>'' by default, or you can get
  33. the supercite package from
  34. archive.cis.ohio-state.edu:/pub/gnu/emacs/elisp-archive/packages/sc-2.2.tar.Z
  35. which will do that and much more.
  36. --
  37. -- Ethan (ethanb@u.washington.edu)
  38.