[BBDB] branch latex merged into master

2017-07-21 Thread Roland Winkler
I have merged the branch latex into master. This doesn't mean the features for feeding BBDB into LaTeX are now frozen in stone. But the main ideas should be in place. Suggestions are welcome, as always. -- Check out

RE: bbdb-print.el lexical binding breaks bbdb-print-record

2017-07-12 Thread Roland Winkler
On Tue Jul 11 2017 Vincent Belaïche wrote: > Just to mention that the code based on cl-progv which I have > supplied does not work. I don't have any time to investigate why, > so if you want to take my patch, please take the 1st one (that > based on lambda). I believe the purpose of cl-progv is

[BBDB] New branch latex (was: bbdb-print.el lexical binding breaks bbdb-print-record)

2017-07-04 Thread Roland Winkler
> With lexical binding bbdb-print-record makes a void variable error > on address variable. As I told you before, I really didn't like the old / outdated code used in bbdb-print.el, and I didn't want to invest in it anymore. So I created a branch latex in the BBDB repository on savannah that is

Re: Problem creating record

2017-06-26 Thread Roland Winkler
On Sun Jun 25 2017 Angel de Vicente wrote: > , > | (require 'bbdb) > | (bbdb-initialize 'gnus 'message) > | (bbdb-mua-auto-update-init 'gnus 'message) > | (setq bbdb-mua-update-interactive-p '(query . create) > | bbdb-update-records-p 'query > | bbdb-mua-auto-update-p 'query) > |

Re: Problem creating record

2017-06-21 Thread Roland Winkler
On Wed Jun 21 2017 Greg Bognar wrote: > There is an EmacsWiki page for an earlier attempt to integrate WL > and BBDB3: BBDBV3-Wl at https://www.emacswiki.org/emacs/BBDBV3-Wl. > However, the link to the project seems to be dead. While the links to the project seem to be dead, the page says that

Re: Problem creating record

2017-06-21 Thread Roland Winkler
On Wed Jun 21 2017 Greg Bognar wrote: > > To activate BBDB you should not require bbdb but bbdb-loaddefs.el, > > see README. Does this solve your problem? > > No, it does not. It makes no difference. > > I have read the README several times. I have some understanding > of Elisp, but it is no

Re: Problem creating record

2017-06-21 Thread Roland Winkler
On Tue Jun 20 2017 Greg Bognar wrote: > The relevant parts of my init.el: > > (require 'bbdb) To activate BBDB you should not require bbdb but bbdb-loaddefs.el, see README. Does this solve your problem? -- Check out

Re: Problem creating record

2017-06-21 Thread Roland Winkler
On Tue Jun 20 2017 Angel de Vicente wrote: > In my .emacs file I have: > , > | (require 'bbdb) > | (bbdb-initialize 'gnus 'message) > | (bbdb-mua-auto-update-init) > ` The function bbdb-mua-auto-update-init is called like bbdb-initialize: you need to specify the MUAs it should hook into.

Re: Problem creating record

2017-06-19 Thread Roland Winkler
On Mon Jun 19 2017 Greg Bognar wrote: > I am in the same situation with Wanderlust, so it seems a general > BBDB3 problem. With BBDB2 I was able to do something similar to > what you describe in WL. Now BBDB never asks to harvest any > address (unless I press :), no matter what settings I try.

Re: Problem creating record

2017-06-19 Thread Roland Winkler
On Mon Jun 19 2017 Angel de Vicente wrote: > Ideally I would like: > > 1. when reading a message, see if the sender is in my database (I can do >that by pressing ":") It seems you figured this out. > 2. Once the BBDB buffer is shown, I would like that when I move to >another message,

Re: Problem creating record

2017-06-16 Thread Roland Winkler
On Fri Jun 16 2017 Angel de Vicente wrote: > I'm not sure if this is due to upgrading to BBDB 3 or due to the > other packages that I installed (ivy, counsel, etc.)... Lots of configuration options have changed from BBDB 2 to 3, see https://www.emacswiki.org/emacs/UpgradeBBDB I suggest you

Re: BBDB and Wanderlust

2017-03-08 Thread Roland Winkler
On Thu Mar 2 2017 Greg Bognar wrote: > Hi, I'm trying to use BBDB with Wanderlust. I installed the > latest melpa version (20170129.2224), but couldn't get it to work. > I noticed that the README at https://github.com/dmj/bbdbv3 says > BBDB must be built with > > `--with-wl-dir=DIR' specifies

[BBDB] ChangeLog 2017-01-28: Use lexical binding for bbdb-anniv.el

2017-01-28 Thread Roland Winkler
even got Emacs 25 in the meanwhile. On the plus side, the discontinued support for Emacs 23 now allows me to use cl-lib, and I've used the new freedom in one of the other changes described below. Thanks again! 2017-01-28 Roland Winkler <wink...@gnu.org> * lisp/bbdb-anniv.el (bbd

Re: bbdb-com.el organization organizations

2017-01-21 Thread Roland Winkler
On Sat Jan 21 2017 Gijs Hillenius wrote: > When I create a new record M-x bbdb-create, I'm asked "name", and > then "organizations" (with s). I enter a name (test) but not an > organization, and answer the rest of the questions. > > Once this record is created, I can visit it, and in the >

uuid field [was: more than one BBDB file]

2016-10-23 Thread Roland Winkler
On Sat Oct 22 2016 Saša Janiška wrote: > recently I did asked author of vdir.el to provide support for > using more than one repo vdir repo for the contacts since I manage > email accounts for my & my wife on the desktop while she is mostly > using mobile phone. > > So, I’m interested if there is

Re: [BBDB] ChangeLog 2016-10-02: Use lexical binding

2016-10-07 Thread Roland Winkler
On Fri Oct 7 2016 Stefan Monnier wrote: > The first solution binds the variables lexically rather than > dynamically. That means that if those appear lexically inside > the things will work correctly, but if calls a function > which then refers to this reference will fail. Thank you for the

Re: [BBDB] ChangeLog 2016-10-02: Use lexical binding

2016-10-06 Thread Roland Winkler
On Tue Oct 4 2016 Stefan Monnier wrote: > There are two ways to do that with lexical-binding: > - use (eval `(( . ,) ( . ,) ...) > which will not give the exact same behavior but works well in many > cases (i.e. depends on the code put in diary-date-forms). > - use > > (defvar ) (defvar

Re: [BBDB] ChangeLog 2016-10-02: Use lexical binding

2016-10-02 Thread Roland Winkler
On Sun Oct 2 2016 Sam Steingold wrote: > I think if you add > > (defvar diary-date-forms) > > to bbdb-anniv.el, it will work with lexical-binding too. This variable contains forms that are evaluated using `eval', assuming that the variables appearing in this form are bound dynamically. - I

[BBDB] ChangeLog 2016-10-02: Use lexical binding

2016-10-01 Thread Roland Winkler
. If this happens let me know. 2016-10-02 Roland Winkler <wink...@gnu.org> * lisp/bbdb-com.el, lisp/bbdb-gnus.el, lisp/bbdb-ispell.el: * lisp/bbdb-message.el, lisp/bbdb-mhe.el, lisp/bbdb-migrate.el: * lisp/bbdb-mu4e.el, lisp/bbdb-mua.el, lisp/bbdb-pgp.el: * lisp/bbdb-pr

Re: unhappiness on macos

2016-08-30 Thread Roland Winkler
On Sat Aug 27 2016 Randy Bush wrote: > macosx 10.11.6 (15G31) > GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of > 2015-04-11 on builder10-9.porkrind.org [2 times] > bbdb from packages > wanderlust from packages > > all used to work in emacs 22 and bbdb from some ancient

Re: [BBDB] ChangeLog 2016-07-20

2016-07-22 Thread Roland Winkler
On Fri Jul 22 2016 Gijs Hillenius wrote: > My Emacs (24.5) bring CPU to 100% for minutes (until C-g) when I try to > read `bbdb-hashtable', following the link from reading about > bbdb-gethash... What is it you want to do? Under normal circumstances there should never be a need to inspect

[BBDB] ChangeLog 2016-07-20

2016-07-20 Thread Roland Winkler
I've tried to catch up. Let me know if in the list below I forgot anything significant that came up on this list recently or whether there are any unexpected problems with these changes. 2016-07-20 Roland Winkler <wink...@gnu.org> Update copyright year in all files. 2016

Re: Agenda view of BBDB entries with Hebrew dates for anniversaries

2016-06-23 Thread Roland Winkler
On Thu Jun 23 2016 ST wrote: > > In particular, `calendar-date-style' is obeyed via `diary-date-forms'. > > How can I try to use it? (I'm new to Emacs...) Emacs has calendar and diary facilities, see the node in the info manual for Emacs. In the diary file you can specify entries for

Re: Agenda view of BBDB entries with Hebrew dates for anniversaries

2016-06-23 Thread Roland Winkler
On Thu Jun 23 2016 ST wrote: > I managed to add anniversaries/birthdays to BBDB and display them in > org-agenda. Now I need to move to the next step and provide those dates > as Hebrew dates. In diary mode the dates seem to look like HSivan 17, > 5776 . However if I put it to BBDB like

RE: Patch to support printout internationalization

2016-06-17 Thread Roland Winkler
On Wed Jun 8 2016 Vincent Belaïche wrote: > My contribution does not change this approach. Just it splits the existing > styles files in a way that allows more easilly to select what language you > want > to format the address book. > > In other words all the macros that are language specific

Re: Patch to support printout internationalization

2016-06-08 Thread Roland Winkler
On Tue Jun 7 2016 Vincent Belaïche wrote: > Here is attached a patch for printout to be in another language > than English. > > BTW, the 'P' keymap is no longer active for bbdb-print. Any plan > to resurrect it or make some other mapping ? I have a (so far incomplete) re-write of bbdb-print

Re: how to reload a changed bbdb-file or using another bbdb-file

2016-06-08 Thread Roland Winkler
On Fri Jun 3 2016 H. Dieter Wilhelm wrote: > how can I make bbdb aware of changes in my bbdb-file or loading a > different bbdb-file without restarting Emacs? As usual, you can use revert-buffer bound to `g'. -- What

Re: can I auto save the bbdb file after each change?

2016-02-06 Thread Roland Winkler
On Fri Feb 5 2016 Alan Schmitt wrote: > Thanks a lot for the suggestion! It was simply a matter of: > > (add-hook 'bbdb-after-change-hook 'bbdb-save) bbdb-after-change-hook runs with one argument, the record that was changed. The first arg of bbdb-save is the optional arg PROMPT. So this arg

Re: EIEIO version of BBDB

2015-12-26 Thread Roland Winkler
On Thu Dec 24 2015 Eric Abrahamsen wrote: > A while ago there was a very brief exchange about the possibility of a > version of BBDB refactored on top of the EIEIO object orientation > library. I've been thinking about that for a while, and recently wrote > a sort of prototype. I'd like to share

Re: bbdb prevents mu4e from sending a message

2015-12-23 Thread Roland Winkler
On Mon Dec 21 2015 Michael Strey wrote: > ((vm vm-mode vm-virtual-mode vm-summary-mode vm-presentation-mode) > (gnus gnus-summary-mode gnus-article-mode gnus-tree-mode) > (rmail rmail-mode rmail-summary-mode) > (mh mhe-mode mhe-summary-mode mh-folder-mode) > (message notmuch-message-mode

Re: Adding BBDB 3 core to Emacs

2015-11-23 Thread Roland Winkler
On Mon Nov 23 2015 Richard Stallman wrote: > > The file bbdb-snarf.el says GPL 1. > > Can you arrange to completely discard that? The new BBDB also has a file bbdb-snarf.el which is a complete rewrite of the old file, where only the general concept of "snarfing records into BBDB" survived.

Re: Adding BBDB 3 core to Emacs

2015-11-22 Thread Roland Winkler
On Sun Nov 22 2015 Richard Stallman wrote: > The previous version of BBDB was released under GPL 2-or-later, right? According to http://bbdb.sourceforge.net, the last version of the "old" BBDB was 2.35 released on January 30, 2007. Most lisp files in this tar ball specify GPL 2-or-later. The

Re: Adding BBDB 3 core to Emacs

2015-11-22 Thread Roland Winkler
On Sun Nov 22 2015 Stephen J. Turnbull wrote: > > BBDB v3 on savannah.nongnu.org is essentially a complete rewrite, > > "Essentially" as understood by programmers is rarely anything > close to what a lawyer thinks of as an independent work not > considered a derivative. I doubt *any* of the

Re: Adding BBDB 3 core to Emacs

2015-11-22 Thread Roland Winkler
On Mon Nov 23 2015 Stephen J. Turnbull wrote: > > Have you looked at the new code? > > I don't need to; I trust you that 'most every line has been changed, > and many functions completely rewritten. The point is that old > configuration works with very little change with the new code. >

Re: eudc conversion to bbdb (in bbdb3.1.2?)

2015-11-22 Thread Roland Winkler
On Sun Nov 22 2015 Barak A. Pearlmutter wrote: > Part of the motivation of making a stable and nice API is that > people might find other unanticipated uses. Letting my imagination > run wild: integration with spelling correction to make it correct > names, There is actually already

Re: Add basic support for Wanderlust

2015-11-22 Thread Roland Winkler
On Sun Nov 22 2015 David Maus wrote: > Attached diff against current master adds basic support for > Wanderlust, a mail/news management system with IMAP4rev1 support for > Emacsen. Thank you. I saw that you have already assigned your copyright for Emacs to the FSF, that's good. Could you

Re: Adding BBDB 3 core to Emacs

2015-11-21 Thread Roland Winkler
On Sat Nov 21 2015 John Wiegley wrote: > I would much prefer this to be in "tarball ELPA", so that it is > included in the distribution, but not a focus for the other > developers. Would there be any need to include it within core > itself? The question is to what extent one wants to consider

Re: MELPA BBDB - bbdb-version

2015-11-21 Thread Roland Winkler
On Sat Nov 21 2015 George McNinch wrote: > That was actually inaccurate - I had failed to snip a setting of > load-path pointing to a directory for bbdb that I had populated via git > (and that seemed to be the version of bbdb being used). Which git repository did you use? The "official"

Re: eudc conversion to bbdb (in bbdb3.1.2?)

2015-11-21 Thread Roland Winkler
On Sat, Nov 21 2015, Eric Abrahamsen wrote: > I might add to this a clearer API for the "noticing" functionality of > BBDB -- ie, make it easier to write the hooks for "doing things to > BBDB records when you receive mails from/compose mails to those > records. I didn't see your posting on the

Re: eudc conversion to bbdb (in bbdb3.1.2?)

2015-11-21 Thread Roland Winkler
On Sat Nov 21 2015 Barak A. Pearlmutter wrote: > I guess was thinking that having a stable and ration API, rather > than just exporting some internal functions etc, might encourage > people to build good conduits to/from Google Contacts, Android, > iPhone, skype, etc etc. Sure, this was really

Re: MELPA BBDB - bbdb-version

2015-11-21 Thread Roland Winkler
On Sat Nov 21 2015 George McNinch wrote: > This behavior of a MELPA install is what I was trying to report. > Surely there is *some* way to have the MELPA install process > "properly make" BBDB? I do not know many details about MELPA. Yet it uses an automated scheme where I was told it was not

Re: Adding BBDB 3 core to Emacs

2015-11-21 Thread Roland Winkler
On Sat Nov 21 2015 Eli Zaretskii wrote: > Didn't BBDB have some copyright issues that precluded its > distribution with Emacs or under the same license? (Apologies if > I'm misremembering.) No, you are perfectly right. BBDB v2 *did* have copyright issues. BBDB v3 on savannah.nongnu.org is

Re: eudc conversion to bbdb (in bbdb3.1.2?)

2015-11-20 Thread Roland Winkler
On Wed Nov 18 2015 Barak A. Pearlmutter wrote: > But this does bring up a deeper issue, namely exposing a > documented stable bbdb API might be a good idea. The question is what kind of scenarios the API is supposed to cover. I have never thought in much detail about this question. - This

[BBDB] ChangeLog 2015-11-14 - fix defcustoms

2015-11-14 Thread Roland Winkler
This fixes a couple of defcustoms. 2015-11-14 Roland Winkler <wink...@gnu.org> * lisp/bbdb.el (bbdb-auto-revert, bbdb-dedicated-window) (bbdb-default-domain, bbdb-mua-pop-up) (bbdb-horiz-pop-up-window-size, bbdb-xfields-sort-order) (bbdb-mua-summary-unifi

[BBDB] ChangeLog 2015-11-08 Re-sorting records and new snarfing rule

2015-11-08 Thread Roland Winkler
and it should also be useful for yet more people. 2015-11-08 Roland Winkler <wink...@gnu.org> Add new snarfing rule eu for many continental European countries. Improve snarfing algorithm. * lisp/bbdb-snarf.el (bbdb-snarf-rule-alist): Add new rule eu. (bbdb

[BBDB] ChangeLog 2015-09-10

2015-09-10 Thread Roland Winkler
On Wed Sep 9 2015 Eric Abrahamsen wrote: > "Roland Winkler" <wink...@gnu.org> writes: > > You mean having two newline characters for the new `record' rule in > > bbdb-separator-alist? Yes, I think that makes sense. > > Yup. Obviously it's a very s

Re: [BBDB] ChangeLog 2015-09-07 (new command bbdb-copy-fields-as-kill)

2015-09-08 Thread Roland Winkler
On Tue Sep 8 2015 Eric Abrahamsen wrote: > I'd still personally prefer two newlines between records, but > that's not a big deal. You mean having two newline characters for the new `record' rule in bbdb-separator-alist? Yes, I think that makes sense. Roland

[BBDB] ChangeLog 2015-09-07 (new command bbdb-copy-fields-as-kill)

2015-09-07 Thread Roland Winkler
ist. The other changes listed below are rather minor. 2015-09-07 Roland Winkler <wink...@gnu.org> * lisp/bbdb-com.el (bbdb-search-changed): Fix docstring. 2015-09-07 Roland Winkler <wink...@gnu.org> * lisp/bbdb-com.el (bbdb-delete-field-or-record): Use delete for ph

Re: [PATCH] Function for copying field values

2015-09-05 Thread Roland Winkler
On Thu Sep 3 2015 Eric Abrahamsen wrote: > Basically it does what it says: if point is on a record name, the > whole record is copied, like before. If point is on a particular > field, the value (but not label) of that field is copied. I am just trying to understand a typical usage pattern for

Re: [PATCH] Function for copying field values

2015-09-05 Thread Roland Winkler
On Sat Sep 5 2015 Roland Winkler wrote: > On Thu Sep 3 2015 Eric Abrahamsen wrote: > > Basically it does what it says: if point is on a record name, the > > whole record is copied, like before. If point is on a particular > > field, the value (but not label) of that field is c

Re: bbdb-handy --- BBDB window as email-address chooser when write an email

2015-06-16 Thread Roland Winkler
On Tue Jun 16 2015 Feng Shu wrote: bbdb-handy is a BBDB tool, when in headers (TO: and CC:) of message-mode buffer, Type TAB key will will pop up a BBDB window as email-address chooser. Why not use bbdb-complete-mail?

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-06-01 Thread Roland Winkler
On Mon Jun 1 2015 Barak A. Pearlmutter wrote: To put a slightly different perspective on this, I have a sizable bbdb file, and sometimes I can't find someone because I'm spelling their name wrong. Maybe Steven vs Stephen. The classic way to deal with this is to do a SOUNDEX search, or one of

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-06-01 Thread Roland Winkler
On Tue Jun 2 2015 Roland Winkler wrote: Any approximate search will give you yet more matches than what you get otherwise. So it might not always simplify life if you have a large BBDB file. The examples at the bottom of lisp/soundex.el illustrate this quite well

Re: [PATCH] bbdb-search: make `string-match' customizable.

2015-05-31 Thread Roland Winkler
On Sat May 30 2015 Feng Shu wrote: This patch make `string-match' used by `bbdb-search' customizable. I use this feature to search Chinese contacts names with pinyin. this is a very useful feature for CJK users. ...I am surprised: what is the purpose of replacing string-match with something

Re: [PATCH] custom format functions -- don't use dynamic variable access

2015-05-23 Thread Roland Winkler
On Thu Nov 20 2014 Eric Abrahamsen wrote: Attached is a patch that changes how variables are accessed by custom field formatting functions. We've been relying on dynamic variable access by those functions, but the variables should probably be passed in as arguments instead. This is really

[BBDB] ChangeLog 2015-05-23

2015-05-23 Thread Roland Winkler
On Thu Mar 12 2015 Eric Abrahamsen wrote: For this issue, this patch ought to do it. The optional arg COMPARE-FN of add-to-list defaults to equal. So it does! Here's another. I have marginally simplified your patch. 2015-05-23 Eric Abrahamsen e...@ericabrahamsen.net *

Re: Update records in some Gnus groups

2015-04-30 Thread Roland Winkler
On Thu Apr 30 2015 Eric Abrahamsen wrote: Best yet, let's simplify BBDB's whole noticing mechanism, and _then_ write a manual for it. *ducks* Suggestions welcome. This code used to be yet much messier. However it should cover a rather diverse spectrum of use cases.

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Roland Winkler
On Sun Apr 26 2015 Peter Münster wrote: gnus-summary-resend-message asks in the minibuffer for the destination address, and that's the place, where I want to use the bbdb-tab-completion. With your hack, it works just fine, no need to fix anything. I am glad you are satisfied. Still I believe

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Roland Winkler
On Sun Apr 26 2015 Peter Münster wrote: On Sun, Apr 26 2015, Roland Winkler wrote: Still I believe that partially completed email addresses are not very meaningful return values in such a context. Sorry, I don't understand... Why partially? After completion, gnus gets the right

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Roland Winkler
On Sat Apr 25 2015 Peter Münster wrote: When using bbdb-completing-read-mails like this: --8---cut here---start-8--- (defadvice gnus-summary-resend-message (before pm/resend-with-bbdb act) Resend message with bbdb address completion. (interactive

Re: bbdb-record-set-field, strings, and 'eq

2015-03-11 Thread Roland Winkler
On Wed Mar 11 2015 Eric Abrahamsen wrote: For this issue, this patch ought to do it. The optional arg COMPARE-FN of add-to-list defaults to equal. Roland -- Dive into the World of Parallel Programming The Go Parallel

Re: bbdb-record-set-field, strings, and 'eq

2015-03-10 Thread Roland Winkler
On Tue Mar 10 2015 Eric Abrahamsen wrote: When `bbdb-record-set-field' is setting a phone or address field, it adds the new label to the list of existing labels like this: (add-to-list 'bbdb-phone-label-list (bbdb-phone-label phone) nil 'eq) The labels are strings, and 'eq comparison means

Re: How to add an organization to a record?

2014-11-26 Thread Roland Winkler
On Wed Nov 26 2014 Marco Wahl wrote: Let's say one record has no organizations yet. Is there a possibility to add an organization to this record via the *BBDB* buffer interface? bbdb-insert-field bound to i --

Re: how to choose from multiple email addresses in message buffer

2014-11-09 Thread Roland Winkler
On Sun Nov 9 2014 H. Dieter Wilhelm wrote: pick the third mail address for writing a mail. But this might not be exactly the thing you are looking for. Right, it should work in a mail buffer as well and not only in bbdb. The command bbdb-complete-mail seems to be what you want. The

Re: Fwd: Bug#766518: cannot easily add new entries anymore in gnus

2014-10-27 Thread Roland Winkler
On Sat Oct 25 2014 Barak A. Pearlmutter wrote: There is a stub bbdb.texinfo file in the repo, which isn't in the debian binary package because including an empty info file seemed silly. However it would be a good place to push info like this. Roland, how about a installation and configuration

Re: Fwd: Bug#766518: cannot easily add new entries anymore in gnus

2014-10-24 Thread Roland Winkler
On Fri Oct 24 2014 Barak A. Pearlmutter wrote: Package: bbdb3 Version: 3.1.2-1 http://bbdb.sourceforge.net/bbdb.html#SEC36 says that : should ask if we want to add the person if they don't already exist. But it is not documented that way anymore in : runs the command

Re: Fwd: Bug#766518: cannot easily add new entries anymore in gnus

2014-10-24 Thread Roland Winkler
On Sat Oct 25 2014 積丹尼 Dan Jacobson wrote: (bbdb-mua-update-interactive-p) Interactive spec for arg UPDATE-P of `bbdb-mua-display-records' and friends. If these commands are called without a prefix, the value of their arg UPDATE-P is the car of the variable `bbdb-mua-update-interactive-p'.

Re: bbdb-add-mails

2014-08-31 Thread Roland Winkler
On Sun Aug 31 2014 Rene wrote: Is it more appropriate to use bbdb-mua-update-interactive-p or bbdb-mua-auto-update-p? What is exactly the difference between these two variables? One is for interactive commands, the other for noninteractive functions running in the background (see the README

[BBDB] ChangeLog 2014-08-30 (bbdb-print and utf8 bbdb file)

2014-08-30 Thread Roland Winkler
. -- Volunteers welcome! (Please assign the copyright for such a project to the FSF. Copyright is another reason to get rid of the old TeX files.) 2014-08-30 Roland Winkler wink...@gnu.org * lisp/bbdb-print.el (bbdb-print-require): Improve docstring. 2014-08-30 Roland Winkler wink

Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Roland Winkler
On Sun Aug 31 2014 Rene wrote: When using *M-x bbdb-print or even M-x bbdb-print I only get a TeX file containing the current displayed record (the one my pointer is on in the *BBDB* buffer). All these commands use the prefix `*', see the docstring of bbdb-print.

Re: bbdb-add-mails

2014-08-30 Thread Roland Winkler
On Sun Aug 31 2014 Rene wrote: In BBDB2 I used to set bbdb-always-add-addresses so that I could ignore new addresses in all folders except the `vm-primary-inbox'. In order to do so I would make use of `rf-bbdb/vm-ignore-old-addresses' found in bbdb-rf.el. I can I get this same behavior with

Re: BBDBv3 will lost record when snarf an exist email to database.

2014-08-09 Thread Roland Winkler
issue: the rules currently used by bbdb-snarf are somewhat heuristic and not the most reliable. If someone comes up with new / better rules, please post them here. 2014-08-09 Roland Winkler wink...@gnu.org * lisp/bbdb-snarf.el (bbdb-snarf): Always install and display the new record

Re: bbdb-do-all-records with mail-alias

2014-08-03 Thread Roland Winkler
On Sat Aug 2 2014 Roland Winkler wrote: Possible scenarios for such things are too diverse to define multiple commands to cover all possible cases. In your case, it seems to me you want something like (untested!) (defun my-bbdb-add-mail-alias (records alias) Add same ALIAS to RECORDS

Re: bbdb-do-all-records with mail-alias

2014-08-02 Thread Roland Winkler
On Sat Aug 2 2014 H. Dieter Wilhelm wrote: Yes, with above change it is possible to create mail-aliases with bbdb-do-all-records in a *sequential* way for all entries. Thanks Would it also be possible to do this for all selected entries with the same value of a mail-alias *at once*. Can I

Re: let BBDBv3 support adjust field sorting manually.

2014-08-01 Thread Roland Winkler
On Fri Aug 1 2014 stardiviner wrote: Let BBDBv3 support adjust field sorting manually with =[M-Up/Down]=. So I can see important field first, instead have to be limited by the time of field added. You can transpose fields of the same type (two phone numbers, two addresses, etc.) via

Re: BBDBv3 will lost record when snarf an exist email to database.

2014-08-01 Thread Roland Winkler
On Sat Aug 2 2014 stardiviner wrote: When I use =bbdb-snarf= to add email to a new record. report error: When I try to re-add this email, after lost the record, it report error: =(error BBDB: marker absent)= I think BBDB show check the database before really do write action. If database

Re: define faces for variant BBDB field names

2014-08-01 Thread Roland Winkler
On Sat Aug 2 2014 Eric Abrahamsen wrote: I think this is just a misunderstanding about what `bbdb-name-face-alist' does. It *only* provides font-locking for the actual name of the record, not the other fields. You give the record an xfield called 'name-face, and the *value* of that field

[BBDB] ChangeLog 2014-07-22

2014-07-22 Thread Roland Winkler
2014-07-22 Roland Winkler wink...@gnu.org * lisp/Makefile.am: Do not load init files or site files for byte compilation (Bug#42482). Use long options. * lisp/makefile-temp: Ditto. New variable emacs_compile. BBDB is available at http://savannah.nongnu.org/projects/bbdb

Re: BBDB suddenly not working for me

2014-06-23 Thread Roland Winkler
On Mon Jun 23 2014 Barak A. Pearlmutter wrote: I've been having similar issues. When it happens I delete the .bbdb and *BBDB* buffers and they get reloaded and everything seems okay again. I have never encountered this. Could you possibly try to provide a reproducible recipe for this or look

Re: BBDB suddenly not working for me

2014-06-23 Thread Roland Winkler
On Mon Jun 23 2014 Steven Arntson wrote: Here's the strangest thing I've encountered in emacs for awhile. I just started a new session, and BBDB still wasn't working. I hit C-x C-b to list the buffers and it informed me of this buffer: bbdb 20446 Emacs-Lisp ~/.emacs.d/bbdb As far as I

Re: 0 becomes X upon phone entry

2014-06-19 Thread Roland Winkler
On Thu Jun 19 2014 jida...@jidanni.org wrote: Upon entering 09... it becomes phone (Office): x98373737373 Looks like you want to bind bbdb-phone-style to nil. -- HPCC Systems Open Source Big Data Platform from

Re: [BBDB] ChangeLog 2014-05-06

2014-06-12 Thread Roland Winkler
On Thu Jun 12 2014 Barak A. Pearlmutter wrote: I'd check for the function. Seems more robust. Agreed. -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data

Re: Patch to makefile-temp

2014-06-03 Thread Roland Winkler
On Tue Jun 3 2014 Vincent Belaïche wrote: Anyway, you are right in mentioning that my patch has some border effect on other systems than MSYS. Please find herein attached an updated patch. I am sorry, I am still not excited about this. The idea about lisp/makefile-temp has been to keep it

Re: Patch to makefile-temp

2014-06-02 Thread Roland Winkler
On Mon Jun 2 2014 Vincent Belaïche wrote: - --eval '(setq generated-autoload-file '`pwd`/$@')' \ + --eval '(setq generated-autoload-file $(cur_dir)\\$@)' \ How is the backslash supposed to work on unix-like systems? Am I missing something?

Re: add bbdb-mail-aliases to bbdb-insinuate-gnus?

2014-05-22 Thread Roland Winkler
On Thu May 22 2014 Eric Abrahamsen wrote: There is already a skeleton on savannah, volunteers welcome. I do request that contributors assign their copyright to the FSF (I believe you already have). I've seen that, but I guess by skeleton I meant not a texi file outline, but a general

Re: add bbdb-mail-aliases to bbdb-insinuate-gnus?

2014-05-20 Thread Roland Winkler
On Tue May 20 2014 Eric Abrahamsen wrote: I don't know enough about the auto-update stuff to say. It never made a whole lot of sense to me, requiring both (bbdb-initialize 'gnus) and (bbdb-mua-auto-update-init 'gnus), because I can't really imagine wanting one but not the other. Are you

Re: add bbdb-mail-aliases to bbdb-insinuate-gnus?

2014-05-19 Thread Roland Winkler
On Mon May 19 2014 Eric Abrahamsen wrote: For a year or more I've been mildly curious about why mail aliases didn't work in BBDB -- nothing ever expanded. I finally tried to figure out why, and realized you have to manually call `bbdb-mail-aliases' in order to make it work. It seems like

[BBDB] ChangeLog 2014-05-15

2014-05-15 Thread Roland Winkler
On Mon May 12 2014 Roland Winkler wrote: On Mon Apr 28 2014 Barak A. Pearlmutter wrote: PS bbdb-fix-record updates the timestamp even if it hasn't changed anything else. The patch below should fix this. Well, this did not quite work when the code got compiled. Now it should work properly

[BBDB] ChangeLog 2014-05-12

2014-05-12 Thread Roland Winkler
this variable as an internal variable of BBDB. Is there possibly a usage scenario where a user wants to set it to non-nil globally in his init file? 2014-05-12 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-change-record): If an editing command did not change a record

[BBDB] ChangeLog 2014-05-06

2014-05-06 Thread Roland Winkler
. 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

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

2014-05-04 Thread Roland Winkler
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

Re: Problems Generating bbdb-loaddefs.el

2014-04-30 Thread Roland Winkler
On Tue Apr 29 2014 Charles Philip Chan wrote: For the past little while I have been having problems generating bbdb-loaddefs.el. The error that I have been getting is: , | emacs -batch -l autoload \ | --eval '(setq generated-autoload-file

Re: bbdb-notice-hook-pending

2014-04-29 Thread Roland Winkler
On Tue Apr 29 2014 Sam Steingold wrote: does this imply that whenever I read a message from a known sender the sender's record's timestamp will be updated? If you have set up one of the notice hooks to modify the record whenever you read a message from a known sender, then yes, this will update

Re: bbdb-notice-hook-pending

2014-04-29 Thread Roland Winkler
On Tue Apr 29 2014 Aric Gregson wrote: What is the setting to shut this off? I continue to have odd errors with the bbdb file and would prefer it not be touched if not necessary. What is your problem? - Here we are talking about situations where a user has customized bbdb-notice-mail-hook

Re: bbdb-notice-hook-pending

2014-04-29 Thread Roland Winkler
On Tue Apr 29 2014 Aric Gregson wrote: I sporadically get errors that certain records are presenting problems and then they will go away. Just thought maybe that preventing writing when not necessary would help. Whatever your problem is, it would be best if you could post here a reproducible

Re: [BBDB] version 3.1.2 released

2014-04-28 Thread Roland Winkler
On Mon Apr 28 2014 Barak A. Pearlmutter wrote: PS bbdb-fix-record updates the timestamp even if it hasn't changed anything else. Barak, I post this on the list for everyone. There are two issues here: - Quite generally, BBDB could be smarter about making changes to bbdb-file. If an editing

bbdb-notice-hook-pending

2014-04-28 Thread Roland Winkler
On Mon Apr 28 2014 Roland Winkler wrote: For example, it's a left-over from BBDB 2 that inside calls of bbdb-notice-mail-hook and bbdb-notice-record-hook, bbdb-change-hook is not called. I do not know why this was set up that way. It appears random to me. The more I think about it the more

[BBDB] version 3.1.2 released

2014-04-27 Thread Roland Winkler
Check it out at https://savannah.nongnu.org/projects/bbdb This is a bugfix release before I start playing with new features. -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with

Re: xfield with non-string value?

2014-04-25 Thread Roland Winkler
On Fri Apr 25 2014 Eric Abrahamsen wrote: It wouldn't be hard to store information about a *single* message: you could concatenate message id, subject, group name, and whatever else into a single string, if necessary. But to be really useful, I was hoping to get a value like: '(((234234

Re: xfield with non-string value?

2014-04-24 Thread Roland Winkler
On Thu Apr 24 2014 Eric Abrahamsen wrote: I'm trying to create a custom xfield for records that is a list, not a string. So far as I can tell, it's only possible for xfield values to be strings. Is that correct? Is it possible to circumvent this at the moment? By default, the values ox

  1   2   3   4   5   6   >