Article View: news.software.readers
Article #27907Re: Sharing mail aliases between slrn and a mailer
From: Sven Guckes
Date: Sun, 24 Nov 1996 00:00
Date: Sun, 24 Nov 1996 00:00
57 lines
2588 bytes
2588 bytes
mito@retriever.qc (Louis-David Mitterrand): > I'm using slrn which is a great program. Often I am forwarding funny (or > discusting) articles to friends (or family) and I have to enter their > full email even if an alias is already defined in my mail config file. > Is there a way to make slrn aware of these aliases and/or easily insert > them from a menu? I don't think that SLRN supports mail aliases yet. So here's what I do: My aliases are defined with my mailer ELM which ships with the "elmalias", a utility that extracts aliases from the "database" and allows for formatting the output. So I can easily call elmalias from my editor, vim, using the following macros in my vimrc (http://www.math.fu-berlin.de/~guckes/vim/vimrc): " Part 8 - News: Insert Adresses for To: and Cc: lines " " ,ca = check alias (reads in expansion of alias name) map ,ca :r!elmalias -f "\%v (\%n)" " ,Ca = check alias (reads in expansion of alias name) map ,Ca :r!elmalias -f "\%n <\%v>" So when I use ",ca" I get this on the command line: :r!elmalias -f "\%v (\%n)" Then I only need to supply the alias name: :r!elmalias -f "\%v (\%n)" slrn And in return I get this: davis@space.mit.edu (John E. Davis) I remember that SLRN once did not like the "address (NAME)" form, but worked well with the other address form, "NAME <address>". That's why there is ",Ca" - it gives you the other form, eg: John E. Davis <davis@space.mit.edu> Ta-dah! I am sure that if you have elmalias on your system that you can easily use it from another editor, too. Sven -- Sven Guckes guckes@math.fu-berlin.de using SLRN 0.9.0.0 [released 960903] SLRN Pages: http://www.math.fu-berlin.de/~guckes/slrn/ latest SLRN Author: John E. Davis http://space.mit.edu/~davis/slrn.html version: SLRN Manual on WWW: http://www.wp.com/TNTCONSULTING/slrn.html 0.9.1.1 [961022]
Technical Details
Message-ID:
<slrn59gqtk.5hg.guckes@banach.math.fu-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn59gosh.25r.mito@retriever.qc>Show Full Headers
Complete Article Headers
Message-ID: <slrn59gqtk.5hg.guckes@banach.math.fu-berlin.de> Subject: Re: Sharing mail aliases between slrn and a mailer Date: Sun, 24 Nov 1996 00:00:00 +0000 From: guckes@banach.math.fu-berlin.de (Sven Guckes) References: <slrn59gosh.25r.mito@retriever.qc> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 198426112 Organization: Freie Universitaet Berlin X-access: 16 17 19 Reply-to: guckes@math.fu-berlin.de Newsgroups: news.software.readers