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 to

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

2017-07-11 Thread Vincent Belaïche
nvoyé : jeudi 29 juin 2017 15:05 À : Roland Winkler; BBDB info list Objet : RE: bbdb-print.el lexical binding breaks bbdb-print-record Ooops... there was some mistake in the code based on cl-progv which I supplied. Just to be 100% clear about this alternative solution, it would be as in the att

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

2017-06-30 Thread Vincent Belaïche
directory exists to provide a suitable error message. V. De : Bob Newell Envoyé : vendredi 30 juin 2017 06:51:40 À : BBDB info list Objet : Re: bbdb-print.el lexical binding breaks bbdb-print-record I also ran into this a while ago. I did a kludge fix in my

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

2017-06-29 Thread Bob Newell
I also ran into this a while ago. I did a kludge fix in my initialization: (setq bbdb-print-require t) but of course this makes even blank records print, so it is not exactly recommended for anything other than a quick and sloppy workaround. By the way I also had to do this as I was having a pro

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

2017-06-29 Thread Vincent Belaïche
I can't find this suggest-v3.x branch which you refer to here: https://github.com/barak/BBDB/branches/all V. De : Barak A. Pearlmutter Envoyé : jeudi 29 juin 2017 15:16 À : Roland Winkler Cc : Vincent Belaïche; BBDB info list Objet : Re: bbdb-print.el lexical binding breaks bbdb-

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

2017-06-29 Thread Vincent Belaïche
Ooops... there was some mistake in the code based on cl-progv which I supplied. Just to be 100% clear about this alternative solution, it would be as in the attached patch bug-1.diff. V. De : Vincent Belaïche Envoyé : jeudi 29 juin 2017 13:24:53 À : Roland

Re: BBDB and Wanderlust

2017-03-11 Thread Greg Bognar
> > 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'

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 the

Re: bbdb-com.el organization organizations

2017-01-22 Thread Gijs Hillenius
"Roland Winkler" writes: > 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

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 > bbbd-bu

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

2016-10-22 Thread Stefan Monnier
>> 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 clarification. The code in bbdb-an

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-04 Thread Stefan Monnier
> This variable contains forms that are evaluated using `eval', > assuming that the variables appearing in this form are bound > dynamically. - I believe that old coding schemes like this one, There are two ways to do that with lexical-binding: - use (eval `(( . ,) ( . ,) ...) which will not g

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

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

2016-10-02 Thread Sam Steingold
> * Roland Winkler [2016-10-02 00:20:17 -0500]: > > I switched to lexical binding for all elisp files of BBDB except > for bbdb-anniv.el (which relies on `diary-date-forms' that is not > compatible with lexical binding). I think if you add (defvar diary-date-forms) to bbdb-anniv.el, it will

Re: [BBDB] ChangeLog 2016-07-20

2016-07-22 Thread Gijs Hillenius
On 22 Jul 2016, Roland Winkler wrote: > 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

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-ha

Re: [BBDB] ChangeLog 2016-07-20

2016-07-22 Thread Gijs Hillenius
On 21 Jul 2016, Roland Winkler wrote: [...] > 2016-07-20 Roland Winkler > Make bbdb-hashtable a proper hash table. > * lisp/bbdb.el (bbdb-hashtable): Use make-hash-table. > (bbdb-puthash, bbdb-gethash, bbdb-remhash, bbdb-buffer) > * lisp/bbdb-com.el (bbdb-completion-pre

Re: bbdb prevents mu4e from sending a message

2015-12-23 Thread Alan Schmitt
On 2015-12-23 13:41, "Roland Winkler" writes: > The error means that you try to run some BBDB function or command in > a buffer using mu4e-compose-mode, yet BBDB doesn't know this mode. > > I don't know mu4e, but it looks like mu4e-compose-mode is derived > from message-mode which you use as an a

Re: bbdb prevents mu4e from sending a message

2015-12-23 Thread Eric Abrahamsen
"Roland Winkler" writes: > 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) >> (m

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 messag

Re: bbdb prevents mu4e from sending a message

2015-12-23 Thread Roland Winkler
On Mon Dec 21 2015 Alan Schmitt wrote: > I'm trying to use both gnus and mu4e, and I'm having an issue when > sending a message from mu4e: I get the following error: > > bbdb-mua: BBDB: MUA `mu4e-compose-mode' not supported > > I'm using a recent version of BBDB (the Melpa version from November o

Re: bbdb prevents mu4e from sending a message

2015-12-22 Thread Igor Sosa Mayor
Alan Schmitt writes: > On 2015-12-22 09:42, Igor Sosa Mayor writes: > >>> Thank you very much for the suggestion. Here is what I added to my >>> configuration to make things work: >>> >>> #+begin_src emacs-lisp >>> (add-to-list 'bbdb-mua-mode-alist '(message mu4e-compose-mode)) >>> #+end_src >>

Re: bbdb prevents mu4e from sending a message

2015-12-22 Thread Alan Schmitt
On 2015-12-22 09:42, Igor Sosa Mayor writes: >> Thank you very much for the suggestion. Here is what I added to my >> configuration to make things work: >> >> #+begin_src emacs-lisp >> (add-to-list 'bbdb-mua-mode-alist '(message mu4e-compose-mode)) >> #+end_src > > finally which is the exact and

Re: bbdb prevents mu4e from sending a message

2015-12-22 Thread Igor Sosa Mayor
Alan Schmitt writes: > Hello Eric, > > On 2015-12-21 21:37, Eric Abrahamsen writes: > >> BBDB checks current modes against the bbdb-muda-mode-alist variable, >> which you should be able to add to. It comes with (mu4e mu4e-view-mode) >> in there, maybe you can add something like (mu4e-message-mod

Re: bbdb prevents mu4e from sending a message

2015-12-22 Thread Alan Schmitt
Hello Eric, On 2015-12-21 21:37, Eric Abrahamsen writes: > BBDB checks current modes against the bbdb-muda-mode-alist variable, > which you should be able to add to. It comes with (mu4e mu4e-view-mode) > in there, maybe you can add something like (mu4e-message-mode > message-mode) to the list an

Re: bbdb prevents mu4e from sending a message

2015-12-21 Thread Michael Strey
On Mo, 2015-12-21 at 14:37, Eric Abrahamsen wrote: > Michael Strey writes: [...] >> I finally gave up trying to use mu4e in parallel to gnus for the same reason. > > BBDB checks current modes against the bbdb-muda-mode-alist variable, > which you should be able to add to. It comes with (mu4e mu4

Re: bbdb prevents mu4e from sending a message

2015-12-21 Thread Eric Abrahamsen
Michael Strey writes: > Hi Alan, > > On Mo, 2015-12-21 at 09:14, Alan Schmitt wrote: > > [...] > >> I tried adding the 'mu4e symbol to both lines and it's not changing >> anything. I don't necessarily want BBDB to work with mu4e: I want to be >> able to send messages with mu4e while still using B

Re: bbdb prevents mu4e from sending a message

2015-12-21 Thread Michael Strey
Hi Alan, On Mo, 2015-12-21 at 09:14, Alan Schmitt wrote: [...] > I tried adding the 'mu4e symbol to both lines and it's not changing > anything. I don't necessarily want BBDB to work with mu4e: I want to be > able to send messages with mu4e while still using BBDB with gnus. Is > this possible? >

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

2015-11-09 Thread Marco Wahl
"Roland Winkler" writes: > Also, I added a new snarfing rule `eu' following a suggestion by > Marco Wahl sent to this list. I am sorry, Marco, my final code > has turned out rather different from your original suggestion. This is perfectly fine for me. Thanks for remembering my attempts! I tr

Re: [BBDB] ChangeLog 2015-09-10

2015-09-11 Thread Eric Abrahamsen
"Roland Winkler" writes: > On Wed Sep 9 2015 Eric Abrahamsen wrote: >> "Roland Winkler" 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 small issue, but personally I'd pr

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

2015-09-08 Thread Eric Abrahamsen
"Roland Winkler" writes: > 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. Yup. Obvi

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 -

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

2015-09-07 Thread Eric Abrahamsen
"Roland Winkler" writes: > On Sun Sep 6 2015 Eric Abrahamsen wrote: >> Okay, here's a new version of the patch that does that. > > Please check my slightly different version of bbdb-copy-fields-as-kill. > I tried to avoid hard-coded formatting rules, but instead I added new > rules to the user va

Re: BBDB to the-rest-of-the-world

2015-06-30 Thread Feng Shu
Sriram Karra writes: > [Sending to list] > > On Tue, Jun 30, 2015 at 1:17 AM, Didier Verna wrote: > > > I was using Asynk until recently, but it has never really worked, and > now it doesn't work at all (when from 404 on some google page to "no > module named atom" in the latest version). Bac

Re: BBDB to the-rest-of-the-world

2015-06-30 Thread Eric Abrahamsen
Didier Verna writes: > Hi, > > I know this is a recurrent topic, but what is your advice for exporting > BBDB to google contacts and Mac Contacts ? I don't even need full > synchronization, I usually only modify BBDB and propagate. > > I was using Asynk until recently, but it has never really

Re: BBDB to the-rest-of-the-world

2015-06-29 Thread Sriram Karra
[Sending to list] On Tue, Jun 30, 2015 at 1:17 AM, Didier Verna wrote: > I was using Asynk until recently, but it has never really worked, and > now it doesn't work at all (when from 404 on some google page to "no > module named atom" in the latest version). Back in the days, I was using > a th

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

2015-06-16 Thread ????
The reason is that i don't like the behavor of bbdb-complete-mail, its code is very hard to understand and i can not.add feature my need, ------ ??:"Roland Winkler" :2015??6??17?? ?? 4:41 ??:"Feng Shu" :"bbdb-info";&quo

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: bbdb-message-all-addresses

2015-04-28 Thread Glyn Millington
Nikolaus Rath writes: > On Apr 27 2015, Glyn Millington wrote: > >> (setq bbdb-message-all-addresses t) > > Can you explain what this setting does? > > The help says > > , > | If t `bbdb-update-records' returns all mail addresses of a message. > | Otherwise this function returns only the

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

2015-04-26 Thread Peter Münster
On Sun, Apr 26 2015, Roland Winkler wrote: > [...] > But bbdb-completing-read-mails does not use something like > REQUIRE-MATCH. Thanks for your explanation, Roland. Now I understand. In my situation, it doesn't matter, because I know, that an email-address is required in the end, so I would alwa

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 ri

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

2015-04-26 Thread Peter Münster
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 address. -- Peter -

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 believ

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

2015-04-26 Thread Peter Münster
On Sun, Apr 26 2015, Roland Winkler wrote: > I am sorry, the code is broken. A bad hack to make it work > *somehow* is to use a prompt for bbdb-completing-read-mails that > looks like a mail header, for example > > (bbdb-completing-read-mails "Resend-message(s)-to: ") This is not a *bad* hack,

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." > (interac

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

2015-03-11 Thread Eric Abrahamsen
"Roland Winkler" writes: > 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. So it does! Here's another. >From 49be4b2f1e22075eb41c29a6e9e3e37fe23dc255 Mon Sep 17 00:00:00 2001 From: Eric Abr

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 W

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

2015-03-11 Thread Eric Abrahamsen
Eric Abrahamsen writes: > "Roland Winkler" writes: > >> 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-lab

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

2015-03-10 Thread Eric Abrahamsen
"Roland Winkler" writes: > 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 labe

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

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

Re: bbdb-print

2014-08-31 Thread Rene
Roland Winkler gnu.org> writes: > 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 doc

Re: bbdb-add-mails

2014-08-31 Thread Rene
Roland Winkler gnu.org> writes: > I am not sure I fully understand what you want. But it seems your > rule needs to go into bbdb-mua-update-interactive-p (some suitable > function). Is it more appropriate to use bbdb-mua-update-interactive-p or bbdb-mua-auto-update-p? What is exactly the diff

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

2014-08-31 Thread H. Dieter Wilhelm
"Roland Winkler" writes: > On Sat Aug 30 2014 Eric Abrahamsen wrote: >> I've never even gotten bbdb-print to work, it's always complained >> about undefined control sequences or something. > > The lisp code should work fine. I made sure that bbdb-print-record > does not fail in the rare case tha

Re: bbdb-print and utf8 bbdb file

2014-08-31 Thread H. Dieter Wilhelm
Carson Chittom writes: > die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > >> my bbdb file is encoded in utf8 and when I try to print entries and >> converting the resulting bbdb.tex file, I'm getting weird characters in >> either the .dvi and .pdf file. How would you deal with the situa

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

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-print and utf8 bbdb file

2014-08-30 Thread Rene
H. Dieter Wilhelm duenenhof-wilhelm.de> writes: > my bbdb file is encoded in utf8 and when I try to print entries and > converting the resulting bbdb.tex file, I'm getting weird characters in > either the .dvi and .pdf file. How would you deal with the situation? How do you manage to create a c

Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Carson Chittom
Eric Abrahamsen writes: > I've never even gotten bbdb-print to work, it's always complained about > undefined control sequences or something. The tex code is very old, and I had this error trying to run the file through pdflatex, but it worked fine with pdftex. --

Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Carson Chittom
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > my bbdb file is encoded in utf8 and when I try to print entries and > converting the resulting bbdb.tex file, I'm getting weird characters in > either the .dvi and .pdf file. How would you deal with the situation? How are you creating the

Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Eric Abrahamsen
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > Hello list, > > my bbdb file is encoded in utf8 and when I try to print entries and > converting the resulting bbdb.tex file, I'm getting weird characters in > either the .dvi and .pdf file. How would you deal with the situation? I've nev

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 RECOR

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

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

2014-08-02 Thread H. Dieter Wilhelm
"Roland Winkler" writes: > On Mon Jul 28 2014 H. Dieter Wilhelm wrote: >> is it normal that bbdb-do-all-records is *not* working for all entries >> in conjunction with mail-aliases "*a", only the entry where the cursor >> is sitting? >> >> I'm using emacs "24.3.92.2" and bbdb "3.1.2"... > > The

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

2014-08-01 Thread Roland Winkler
On Mon Jul 28 2014 H. Dieter Wilhelm wrote: > is it normal that bbdb-do-all-records is *not* working for all entries > in conjunction with mail-aliases "*a", only the entry where the cursor > is sitting? > > I'm using emacs "24.3.92.2" and bbdb "3.1.2"... The patch below should fix that. 2014-08

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

2014-07-29 Thread Eric Abrahamsen
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > Hello, > > is it normal that bbdb-do-all-records is *not* working for all entries > in conjunction with mail-aliases "*a", only the entry where the cursor > is sitting? > > I'm using emacs "24.3.92.2" and bbdb "3.1.2"... > > Thanks >

Re: BBDB suddenly not working for me

2014-06-23 Thread Steven Arntson
Glyn Millington writes: > "Roland Winkler" writes: > >> 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

Re: BBDB suddenly not working for me

2014-06-23 Thread Glyn Millington
"Roland Winkler" writes: > 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-L

Re: BBDB suddenly not working for me

2014-06-23 Thread Steven Arntson
"Roland Winkler" writes: > 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-

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

Re: BBDB suddenly not working for me

2014-06-23 Thread Barak A. Pearlmutter
>> 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 at this in the debugger to see > what

Re: BBDB suddenly not working for me

2014-06-23 Thread Steven Arntson
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 know, I have no file named "bbdb"---mine is ".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 loo

Re: BBDB suddenly not working for me

2014-06-23 Thread Barak A. Pearlmutter
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. -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find

Re: BBDB suddenly not working for me

2014-06-23 Thread Glyn Millington
Steven Arntson writes: > Emacs 24.3.1 BBDB 20140515.806 > > I've been using BBDB with great success for a few months, but tonight it > has stopped working. I was changing with some settings for org-agenda, > trying to get BBDB to send info on anniversaries. I'm not sure if it was > this or someth

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: [BBDB] ChangeLog 2014-05-06

2014-06-12 Thread Eric Abrahamsen
Eric Abrahamsen writes: > "Barak A. Pearlmutter" writes: > >> I'd check for the function. Seems more robust. (E.g., if someone forks >> an older version and updates the date string, or if the function is >> renamed or removed in the future.) If there's a bug you need to check >> for you can alwa

Re: [BBDB] ChangeLog 2014-05-06

2014-06-12 Thread Eric Abrahamsen
"Barak A. Pearlmutter" writes: > I'd check for the function. Seems more robust. (E.g., if someone forks > an older version and updates the date string, or if the function is > renamed or removed in the future.) If there's a bug you need to check > for you can always complicate the guard later. >

Re: [BBDB] ChangeLog 2014-05-06

2014-06-12 Thread Barak A. Pearlmutter
I'd check for the function. Seems more robust. (E.g., if someone forks an older version and updates the date string, or if the function is renamed or removed in the future.) If there's a bug you need to check for you can always complicate the guard later. --Barak.

Re: [BBDB] ChangeLog 2014-05-06

2014-06-11 Thread Eric Abrahamsen
"Roland Winkler" 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-p

Re: [BBDB] ChangeLog 2014-05-06

2014-05-06 Thread Eric Abrahamsen
"Roland Winkler" 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-p

Re: bbdb-notice-hook-pending

2014-04-29 Thread Aric Gregson
Roland Winkler writes: > 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 the timestamp. What is the setting to shut this off? I continue to have odd errors with the bbdb file and would prefer it not b

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 reproducibl

Re: bbdb-notice-hook-pending

2014-04-29 Thread Aric Gregson
Roland Winkler writes: > What is your problem? - Here we are talking about situations where a > user has customized bbdb-notice-mail-hook and/or bbdb-notice-record-hook. > If for you these hooks are bound to nil (their default) the current > discussion should be irrelevant for you. Perfect. Than

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 and/

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 updat

Re: bbdb-notice-hook-pending

2014-04-29 Thread Sam Steingold
> * Roland Winkler [2014-04-28 20:36:29 -0500]: > > The more I think about it the more I am convinced that there is no > reason bbdb-notice-mail-hook and bbdb-notice-record-hook should > treat bbdb-change-hook specially (by suppressing calls of > bbdb-change-hook). does this imply that whenever I

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 editin

Re: [BBDB] ChangeLog 2014-04-12

2014-04-15 Thread Ian Kelling
"Roland Winkler" writes: > On Tue Apr 8 2014 i...@iankelling.org wrote: >> I found a bug: Using (first . last) name arg to >> bbdb-create-internal fails. >> >> An example of the error:: >> (error "type mismatch: expect (or nil (cons string string)), got >> `(Bob . Dole)'") > > Thanks, that was

Re: [BBDB] ChangeLog 2014-04-12

2014-04-13 Thread Stephen J. Turnbull
Roland Winkler writes: > > I can't stand the widget system, but that's just one opinion, > > obviously... > > I have never used it for anything more frequently (I do not use > customize for customizing emacs). Per Cederqvist's "ewoc" may be a lighter-weight alternative to Per Abrahamsen's "

Re: [BBDB] ChangeLog 2014-04-12

2014-04-13 Thread Roland Winkler
On Mon Apr 14 2014 Eric Abrahamsen wrote: > Or to store the value as a list of strings, That's what BBDB does anyway, and that's what bbdb-seperator-alist is about: how to split the string which the user edits into what gets actually stored in the database (see split-string). > and make users lo

Re: [BBDB] ChangeLog 2014-04-12

2014-04-13 Thread Eric Abrahamsen
"Roland Winkler" writes: >> > "John Smith; John Smith, Jr; J. Smith, Esquire" >> >> I guess we have no shortage in such examples requiring something >> like `;' instead of `,'. Besides AKAs / names, we may also have >> >>organization: HAL, Inc.; Smith, Miller & Davis; Company 17 >> >> Yet

Re: [BBDB] ChangeLog 2014-04-12

2014-04-13 Thread Roland Winkler
> > "John Smith; John Smith, Jr; J. Smith, Esquire" > > I guess we have no shortage in such examples requiring something > like `;' instead of `,'. Besides AKAs / names, we may also have > >organization: HAL, Inc.; Smith, Miller & Davis; Company 17 > > Yet worse > >mail: sm...@example.

Re: [BBDB] ChangeLog 2014-04-12

2014-04-13 Thread Roland Winkler
On Sun Apr 13 2014 Barak A. Pearlmutter wrote: > > > > bbdb-separator-alist defines the separator for almost all fields > > > > to be ", ".  Only for AKAs it is "; ".  I do not know anymore > > > > how this came about.  But I find it confusing, and I am thinking > > > > about changing the default t

Re: [BBDB] ChangeLog 2014-04-12

2014-04-12 Thread Barak A. Pearlmutter
> > > bbdb-separator-alist defines the separator for almost all fields > > > to be ", ". Only for AKAs it is "; ". I do not know anymore > > > how this came about. But I find it confusing, and I am thinking > > > about changing the default to ", " for all fields. > > > > > > Thoughts or comments

Re: [BBDB] version 3.1 released

2014-03-12 Thread Roland Winkler
Check it out at https://savannah.nongnu.org/projects/bbdb The lisp code in BBDB 3.1.1 is identical to the lisp code in BBDB 3.1. Only the autoconf and automake scripts have been updated. -- Learn Graph Databases - Downl

Re: [BBDB] ChangeLog 2014-03-11

2014-03-11 Thread Barak A. Pearlmutter
> ... I think it would be > good to have a pre-built bbdb-site.el included in the distribution > tarball. But ideally `make' should rebuild this file whenever the > user re-runs make with a new value for pkgdatadir. The dependency on ../config.something should cause it to be regenerated when the

Re: [BBDB] ChangeLog 2014-03-11

2014-03-11 Thread Roland Winkler
On Tue Mar 11 2014 Barak A. Pearlmutter wrote: > The dependency on ../config.something should cause it to be > regenerated when the configuration changes. This is the mechanism > automake uses for .in files processed by ./configure. > > One can imagine regenerating it when variables passed to make

  1   2   3   4   5   6   7   8   9   10   >