home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.emacs,cs.emacs
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!news.cs.indiana.edu!nstn.ns.ca!cs.dal.ca!ug.cs.dal.ca!legrady
- From: legrady@ug.cs.dal.ca (Tom Legrady)
- Subject: Re: Is there a way to get RMAIL to behave like this:
- Message-ID: <BrwIrz.G8u@cs.dal.ca>
- Sender: usenet@cs.dal.ca (USENET News)
- Nntp-Posting-Host: ug.cs.dal.ca
- Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
- References: <1992Jul24.142245.9472@bronze.ucs.indiana.edu>
- Date: Fri, 24 Jul 1992 16:21:35 GMT
- Lines: 33
-
- In article <1992Jul24.142245.9472@bronze.ucs.indiana.edu> ericg@bronze.ucs.indiana.edu (E. Chris Garrison) writes:
- >I am trying to get RMAIL to include a message I am replying to
- >with > characters at the beginning of a line. When I used to
- >use /bin/mail with vi, all I had to do was R reply and then
- >had a mapped key to do the following vi global search and
- >replace command:
- >
- >:%s/^/>/
- >
- >Easy enough. Not so in RMAIL, replying does not include
- >text, and I can't get regexp-replace to do the above replace.
-
-
- In RMAIL, press 'r' to begin a reply. Then press C-c C-y to yank the
- original message into your reply. The minibuffer will ask which
- message you wish to yank, giving as a default the number of the
- message where you were. Then either modify it manually, or use:
-
- Mx replace-regexp (return) ^\(.\) (return) > \1
-
- ~~~~~~ ~~~~~
-
- Te first marked section is the regular expression for anything at the
- start of a line. The second replaces tat expression with a rigt angle
- bracket, a blank space, and then puts back the character which was
- found.
-
-
- If you look at lemacs, the behaviour of C-c C-y as been modified to
- provide the kind of behaviour Mail and elm users are accustumed to.
-
- Tom Legrady
-
-