Path: utzoo!attcan!uunet!aplcen!haven!mimsy!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.emacs Subject: Having trouble filtering out headers in GNU rmail mode Message-ID: <1989Nov16.060341.9169@eng.umd.edu> Date: 16 Nov 89 06:03:41 GMT Sender: news@eng.umd.edu (The News System) Reply-To: djm@eng.umd.edu (David J. MacKenzie) Distribution: na Organization: University of Maryland 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:\\|^summary-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