Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!ira.uka.de!t500i0!fuchs From: fuchs@t500i0.telematik.informatik.uni-karlsruhe.de (Harald Fuchs) Newsgroups: comp.emacs Subject: Re: mail aliases Message-ID: Date: 9 Apr 91 23:23:49 GMT References: <786@mlfarm.com> Sender: news@ira.uka.de (USENET News System) Organization: University of Karlsruhe, FRG Lines: 18 breen@skyler.arc.ab.ca (Breen Liblong) writes: >I would also like to know of any attempts to make mailalias.el >handle aliases with full names. I'm hacking something together >right now to make it work, but I'd appreciate anyone's elisp code >where some thought has gone into making it work right. No thought, just a quick hack to build-mail-aliases in mailalias.el: ;; Don't lose if no final newline. (goto-char (point-max)) (or (eq (preceding-char) ?\n) (newline)) + ;; Addition: remove full names in parens + (goto-char (point-min)) + (replace-regexp " *([^)]+)" "") + (goto-char (point-min)) -- Harald Fuchs