home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!shearson.com!newshost!rens
- From: rens@lorax.shearson.com (Rens Troost)
- Subject: Re: How do I set the variable 'vm-auto-folder-alist'
- In-Reply-To: meyer@geomatic.no's message of Mon, 14 Sep 1992 09:01:53 GMT
- Message-ID: <RENS.92Sep14080257@lorax.shearson.com>
- Sender: news@shearson.com (News)
- Reply-To: rens@shearson.com
- Organization: Lehman Brothers
- References: <MEYER.92Sep14100153@ibsen.geomatic.no>
- Date: Mon, 14 Sep 1992 12:02:57 GMT
- Lines: 36
-
-
-
- In article <MEYER.92Sep14100153@ibsen.geomatic.no> meyer@geomatic.no (Harald Martens Meyer) writes:
-
-
- (Maybe an example or two...)
-
- Well, Here's mine:
-
- (setq vm-auto-folder-alist
- '(
- ("From"
-
- ("^\\([^\@ ]+\\)" . (buffer-substring (match-beginning 1) (match-end 1) ))
- )))
-
- What this does is give me the user name (if it is a well-formatted
- INET address) as the default folder. If you are at an oddly-configured
- site, you might want to (setq vm-gargle-uucp t).
-
- The documentation is a little confusing, and should probably provide
- an examnple. It says:
-
- buffer. You can use the match data from any `\( ... \)' grouping
- constructs in REGEXP along with the function buffer-substring
- to build a
-
- -Rens
-
-
- --
- __ ___ , __
- /__) /__ /| / ( | J. Laurens Troost Lehman Brothers Technical Services
- / \ (___ / |/ __) | *Opinions expressed herein are mine. Mine, I tell you!*
- -------------------------------------------------------------------------------
- INET: rens@shearson.com VOICE: (212) 464-3705 FAX: (212) 464-2040
-