[gnu.emacs.bug] vm-auto-folder-alist -- how?

jeff1@stretch.mun.edu (Jeff Sparkes) (09/01/89)

In article <1989Aug31.134955.3352@talos.uucp> kjones@talos.uucp (Kyle Jones) writes:
   Chris Shenton writes:
    >         ("(From)|(Sender)"
    >          ("steve"       . "steve")
    >          ("chris"       . "chris")
    >         )

   There are a number of things wrong with this, but the reason it won't
   work is because the HEADER portion of the alist is supposed to be a
   literal header name, not a regular expression.  The match always fails
   because no header will ever begin a `('.  The incorrect regular
   expression syntax has no bearing on the problem.  Use:

	     ("From"
	      ("steve"       . "steve")
	      ("chris"       . "chris")
	     )
	     ("Sender"
	      ("steve"       . "steve")
	      ("chris"       . "chris")
	     )

Actually, this is good extension to vm.  My vm-auto-folder-alist
contains the exact same thing for "To" and "Cc" and "Sender".