home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / vm / bug / 557 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.5 KB  |  44 lines

  1. x-gateway: rodan.UU.NET from bug-vm to gnu.emacs.vm.bug; Wed, 2 Sep 1992 20:00:04 EDT
  2. From: kyle@uunet.uu.net (Kyle Jones)
  3. Date: Wed, 2 Sep 1992 19:59:10 -0400
  4. Message-ID: <9209022359.AA16901@wendy-fate.UU.NET>
  5. Subject: vm-reply-ignored-addresses etc.
  6. References: <KPC.92Sep2160452@zog.arc.nasa.gov>
  7. Newsgroups: gnu.emacs.vm.bug
  8. Path: sparky!uunet!wendy-fate.uu.net!bug-vm
  9. Sender: bug-vm-request@uunet.uu.net
  10. Lines: 32
  11.  
  12. k p c writes:
  13.  > three problems, all related:
  14.  > 
  15.  > (setq vm-reply-ignored-addresses '("\\bkpc\\b"))
  16.  > 
  17.  > when somebody from kpc.com sends me mail (From: person@kpc.com), the
  18.  > summary says the mail is to me (i have jwz's to header hack), and when
  19.  > i reply to the mail it gives me a blank to line.
  20.  > 
  21.  > how can i improve this regexp?
  22.  
  23. "kpc@\\|kpc\\b[^.]"
  24.  
  25.  > can vm be updated to allow me not to worry about improving it?
  26.  > aren't address conventions built into vm or mail-extr?
  27.  
  28. Not in VM.  VM does basic parsing.  It can breka onup lists of
  29. addresses but does not do much inside of the address itself.
  30.  
  31.  > in a related problem,
  32.  > 
  33.  > (setq vm-invisible-header-regexp
  34.  >       "^To: kpc$\\|^To: kpc@[^ ,]*$")
  35.  > 
  36.  > and so on is how i try to make mail to me (but only to me) have the
  37.  > from header invisible.  but it needs to be more complicated for all
  38.  > the address formats.  is there a way not to have to get complicated
  39.  > with regexps?
  40.  
  41. I assume you mean make the _To_ header invisible in this case.
  42. No, there's no way to avoid terribly complex regexps if you want
  43. to do it right.
  44.