djm@eng.umd.edu (David J. MacKenzie) (11/16/89)
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 <djm@eng.umd.edu>
djm@mojo.UUCP ("David J. MacKenzie") (11/16/89)
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 <djm@eng.umd.edu>