Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!usc!bbn!gateway!mojo.UUCP!djm From: djm@mojo.UUCP ("David J. MacKenzie") Newsgroups: comp.emacs Subject: Having trouble filtering out headers in GNU rmail mode Message-ID: <48383@bbn.COM> Date: 16 Nov 89 06:03:41 GMT Sender: news@bbn.COM Reply-To: "David J. MacKenzie" Organization: BBN news/mail gateway Lines: 19 I'm trying to set the list of mail headers that GNU emacs rmail mode won't display. It involves the variable rmail-ignored-headers, but I can't figure out how to set it. Putting a line like the one below in my ~/.emacs doesn't have any effect. Can someone tell me what's wrong? (I also tried defconst and defvar with a documentation string at the end, and they didn't have any effect either.) (setq rmail-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^status:\\|^received:\\|^message-id:\\|^summa ry-line:\\|^return-path:\\|sender:\\|reply-to:") The default value of the variable is being used, because using the 't' command in rmail mode reveals that "received-by:" lines are being filtered out. But the ones I added to the end of my string (like "reply-to:") are not. This is in GNU emacs 18.54 on SunOS 4.0. -- David J. MacKenzie