>>>>> "Ronan" == Ronan Waide <[EMAIL PROTECTED]> writes:

    Ronan> On September 22, [EMAIL PROTECTED] said:
    >>
    >> I have a lot of VM folders for my email, and VM provides the
    >> capability to set up an alist for filing.  So I've added a
    >> mail-folder field to my BBDB database, and I use the following
    >> function to set up VM's auto-folder alist.  If the following
    >> isn't redundant with other approaches to the same problem (I
    >> seem to often develop redundant solutions!), perhaps it would
    >> be of general interest for bbdb-vm?

    Ronan> what's this doing that bbdb/vm-set-auto-folder-alist isn't
    Ronan> already doing?

    Ronan> (bbdb/vm-set-auto-folder-alist)

    Ronan> Create a `vm-auto-folder-alist' according to the records in
    Ronan> the bbdb.  For each record that has a 'vm-folder'
    Ronan> attribute, add an element (email-regexp . folder) to the
    Ronan> `vm-auto-folder-alist'.

Thanks.  I redid my vm initialization to use this.  One thing seemed
odd to me --- we have a customization variable to control what field
of the BBDB database we use to set up the alist, but there doesn't
seem to be a customization variable to control WHETHER we set up the
alist.  Any reason not to have a "bbdb/vm-set-auto-folder-alist-p"
custom boolean variable?  There may be some emacs-lisp convention that
indicates why one shouldn't have variables like this, I don't know.
But if we did have that, then we could just have

(when bbdb/vm-set-auto-folder-alist-p
  (bbdb/vm-set-auto-folder-alist))

in bbdb-insinuate-vm, instead of requiring people to add more code to
their emacs initialization files (mine are thousands of lines long by
now, and filled with all kinds of stuff that's accreted over O(20
years).

Best,
R

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to