[BBDB] ChangeLog 2014-05-06

2014-05-06 Thread Roland Winkler
(1) BBDB now allows arbitrary lisp expressions as values of
xfields.  Interactively, you can call bbdb-insert-field or
bbdb-edit-field with a prefix arg for this.  If the value of an
xfield is not a string, it is displayed using the same
pretty-printer used by describe-variable.

There might still be some rough edges with this new feature that
I have overlooked.  Please report them here.

(2) Do not treat bbdb-change-hook special when inside
bbdb-notice-mail-hook or bbdb-notice-record-hook.


2014-05-06  Roland Winkler  wink...@gnu.org
Do not treat bbdb-change-hook special when inside
bbdb-notice-mail-hook or bbdb-notice-record-hook.
* lisp/bbdb.el (bbdb-notice-mail-hook, bbdb-notice-record-hook):
Update docstring.
(bbdb-notice-hook-pending): Remove.
(bbdb-change-record): Always call bbdb-change-hook if a record was
changed.
* lisp/bbdb-mua.el (bbdb-update-records, bbdb-annotate-message):
Change accordingly.

2014-05-06  Roland Winkler  wink...@gnu.org
Allow arbitrary lisp expressions as values of xfields.
* lisp/bbdb.el (bbdb-record-type): Update accordingly.
(bbdb-string-trim): New optional arg null.
(bbdb-record-xfield-intern): Return xfield value unmodified if it
is not a string.
(bbdb-record-xfield-string): New function.
(bbdb-record-xfield-split): Throw error if xfield value is not a
string.
(bbdb-record-set-xfield, bbdb-record-set-field)
(bbdb-merge-xfield, bbdb-display-record-one-line)
(bbdb-display-record-multi-line)
* lisp/bbdb-com.el (bbdb-search, bbdb-read-field)
(bbdb-edit-field, bbdb-read-xfield): Allow xfield values that are
not a string.
(bbdb-add-mail-alias): Simplify.

2014-05-06  Roland Winkler  wink...@gnu.org
* lisp/bbdb.el (bbdb-parse-postcode): Finish immediately if one
test succeeds.


BBDB is available at
http://savannah.nongnu.org/projects/bbdb/

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [BBDB] ChangeLog 2014-05-06

2014-05-06 Thread Eric Abrahamsen
Roland Winkler wink...@gnu.org writes:

 (1) BBDB now allows arbitrary lisp expressions as values of
 xfields.  Interactively, you can call bbdb-insert-field or
 bbdb-edit-field with a prefix arg for this.  If the value of an
 xfield is not a string, it is displayed using the same
 pretty-printer used by describe-variable.

 There might still be some rough edges with this new feature that
 I have overlooked.  Please report them here.

Very cool! Thanks!

 (2) Do not treat bbdb-change-hook special when inside
 bbdb-notice-mail-hook or bbdb-notice-record-hook.


 2014-05-06  Roland Winkler  wink...@gnu.org
   Do not treat bbdb-change-hook special when inside
   bbdb-notice-mail-hook or bbdb-notice-record-hook.
   * lisp/bbdb.el (bbdb-notice-mail-hook, bbdb-notice-record-hook):
   Update docstring.
   (bbdb-notice-hook-pending): Remove.
   (bbdb-change-record): Always call bbdb-change-hook if a record was
   changed.
   * lisp/bbdb-mua.el (bbdb-update-records, bbdb-annotate-message):
   Change accordingly.

 2014-05-06  Roland Winkler  wink...@gnu.org
   Allow arbitrary lisp expressions as values of xfields.
   * lisp/bbdb.el (bbdb-record-type): Update accordingly.
   (bbdb-string-trim): New optional arg null.
   (bbdb-record-xfield-intern): Return xfield value unmodified if it
   is not a string.
   (bbdb-record-xfield-string): New function.
   (bbdb-record-xfield-split): Throw error if xfield value is not a
   string.
   (bbdb-record-set-xfield, bbdb-record-set-field)
   (bbdb-merge-xfield, bbdb-display-record-one-line)
   (bbdb-display-record-multi-line)
   * lisp/bbdb-com.el (bbdb-search, bbdb-read-field)
   (bbdb-edit-field, bbdb-read-xfield): Allow xfield values that are
   not a string.
   (bbdb-add-mail-alias): Simplify.

 2014-05-06  Roland Winkler  wink...@gnu.org
   * lisp/bbdb.el (bbdb-parse-postcode): Finish immediately if one
   test succeeds.


 BBDB is available at
 http://savannah.nongnu.org/projects/bbdb/

 --
 Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
 #149; 3 signs your SCM is hindering your productivity
 #149; Requirements for releasing software faster
 #149; Expert tips and advice for migrating your SCM now
 http://p.sf.net/sfu/perforce
 ___
 bbdb-info@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bbdb-info
 BBDB Home Page: http://bbdb.sourceforge.net/


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Compose mail to everyone whose record is displayed, including all addresses in the net field?

2014-05-06 Thread Marc D Ronell
 RW == Roland Winkler wink...@gnu.org writes:

RW On Sun May 4 2014 Eric Abrahamsen wrote:
  kid name  net: m...@gmail.com, d...@gmail.com  AKA: family
 name  mail-alias: soccer_team_name
 
  I would ideally like to list all email addresses in each BBDB
 tuple in  the To: field of the email using one command on the
 *BBDB* buffer.
 
 Check the docstring for bbdb-mail, which is the function that
 starts mail composition from the BBDB buffer. Looks like if you
 give it a C-u prefix, it will use all of the mail addresses. If
 you're combining this with the * prefix to act on all the
 visible records, you've got to hit the * before the C-u prefix
 key.

RW The above reply refers to BBDB 3.  It seems that Marc is using
RW BBDB 2.  I do not know about the latter.  Marc, can you switch
RW to BBDB 3?

RW Roland

Roland and Eric,

Thank you both.  I upgraded  to BBDB3, reconfigured the customization,
and then used the * C-u m key sequence in the BBDB buffer to broadcast
the message to the email list.   I appreciate the advice and help with
BBDB.

I  really  like   the  BBDB  package  and  appreciate   the  work  and
improvements going into it.

Thanks,

marc

-- 




--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/