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

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

2017-07-11 Thread Vincent Belaïche
ent@hotmail.fr> Envoyé : 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

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

2017-06-30 Thread Vincent Belaïche
if the directory exists to provide a suitable error message. V. De : Bob Newell <bobnew...@bobnewell.net> 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.

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

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 <ba...@pearlmutter.net> Envoyé : jeudi 29 juin 2017 15:16 À : Roland Winkler Cc : Vincent Belaïche; BBDB info list Objet : Re: bbdb-print.el lexical b

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

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

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

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 >

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

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

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

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

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

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

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

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 >

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

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

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

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

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

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 >

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

2015-06-30 Thread Eric Abrahamsen
Didier Verna did...@xemacs.org 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

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 did...@xemacs.org 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

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-handy --- BBDB window as email-address chooser when write anemail

2015-06-16 Thread ????
@lists.sourceforge.net;Feng Shutuma...@163.com :Re: bbdb-handy --- BBDB window as email-address chooser when write anemail 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

Re: bbdb-message-all-addresses

2015-04-28 Thread Glyn Millington
Nikolaus Rath nikol...@rath.org writes: On Apr 27 2015, Glyn Millington glyn.milling...@gmail.com 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

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

2015-04-27 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 always

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, this

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 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: 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-11 Thread Eric Abrahamsen
Eric Abrahamsen e...@ericabrahamsen.net writes: Roland Winkler wink...@gnu.org 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

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

2015-03-11 Thread Eric Abrahamsen
Roland Winkler wink...@gnu.org 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:

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

2015-03-10 Thread Eric Abrahamsen
Roland Winkler wink...@gnu.org 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

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

2014-08-31 Thread H. Dieter Wilhelm
Carson Chittom car...@wistly.net 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

Re: bbdb-add-mails

2014-08-31 Thread Rene
Roland Winkler winkler at 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

Re: bbdb-print

2014-08-31 Thread Rene
Roland Winkler winkler at 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

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

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 Carson Chittom
Eric Abrahamsen e...@ericabrahamsen.net 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 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: 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 H. Dieter Wilhelm
Roland Winkler wink...@gnu.org 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 patch

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: 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 Dieter

Re: BBDB suddenly not working for me

2014-06-23 Thread Glyn Millington
Steven Arntson ste...@stevenarntson.com 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

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

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 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. So

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 might

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: BBDB suddenly not working for me

2014-06-23 Thread Steven Arntson
Roland Winkler wink...@gnu.org 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

Re: BBDB suddenly not working for me

2014-06-23 Thread Glyn Millington
Roland Winkler wink...@gnu.org 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

Re: BBDB suddenly not working for me

2014-06-23 Thread Steven Arntson
Glyn Millington glyn.milling...@gmail.com writes: Roland Winkler wink...@gnu.org 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

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-12 Thread Eric Abrahamsen
Barak A. Pearlmutter ba...@cs.nuim.ie 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

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

Re: bbdb-notice-hook-pending

2014-04-29 Thread Sam Steingold
* Roland Winkler jvax...@tah.bet [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

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 Aric Gregson
Roland Winkler wink...@gnu.org 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.

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-notice-hook-pending

2014-04-29 Thread Aric Gregson
Roland Winkler wink...@gnu.org 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

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

Re: [BBDB] ChangeLog 2014-04-12

2014-04-15 Thread Ian Kelling
Roland Winkler wink...@gnu.org 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-14 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 widgets.

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 to , for all

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.com; Smith,

Re: [BBDB] ChangeLog 2014-04-12

2014-04-13 Thread Eric Abrahamsen
Roland Winkler wink...@gnu.org 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 worse

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

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 -

Re: bbdb-3.x docs

2014-03-11 Thread Gour
On Tue, 11 Mar 2014 07:47:48 +0100 Bastien b...@gnu.org wrote: The main documentation source for org-mode is its manual: http://orgmode.org/#docs I know about it and there is info manual within Emacs itself. and the tutorials we have on Worg: http://orgmode.org/worg/ Yeah, many useful

Re: [BBDB] version 3.1 released

2014-03-11 Thread Roland Winkler
On Mon Mar 10 2014 Barak A. Pearlmutter wrote: Fixed. (Replaced with @xxx@ for clarity.) I am just curious: In the sed regular expressions, you use [@] instead of plain @. Is there a reason for this? Plain @ seems to be working, too. (I also saw you have several minor unrelated suggestions

Re: [BBDB] version 3.1 released

2014-03-11 Thread Barak A. Pearlmutter
I am just curious: In the sed regular expressions, you use [@] instead of plain @. Is there a reason for this? Plain @ seems to be working, too. To shield the regex from autoconf! --Barak. -- Learn Graph Databases

Re: bbdb-3.x docs

2014-03-11 Thread Roland Winkler
On Mon Mar 10 2014 Gour wrote: I see that org-mode can use org-contacts, but I'm also curious to try BBDB-3.x hearing it's more flexible than 2.x and possibly more suitable as contacts' add-on for org-mode and Gnus' address book. I don't know to what extent org-mode has been fully updated to

Re: [BBDB] version 3.1 released

2014-03-11 Thread Roland Winkler
On Tue Mar 11 2014 Barak A. Pearlmutter wrote: I am just curious:  In the sed regular expressions, you use [@] instead of plain @.  Is there a reason for this?  Plain @ seems to be working, too. To shield the regex from autoconf! But I guess this would be really needed only if

Re: [BBDB] version 3.1 released

2014-03-11 Thread Barak A. Pearlmutter
I am just curious: In the sed regular expressions, you use [@] instead of plain @. Is there a reason for this? Plain @ seems to be working, too. To shield the regex from autoconf! But I guess this would be really needed only if bbdb-site.el.in was actually processed by autoconf.

Re: [BBDB] version 3.1 released

2014-03-11 Thread Roland Winkler
On Tue Mar 11 2014 Barak A. Pearlmutter wrote: The regex appears in Makefile.am which begets Makefile.in which is processed by the ./configure produced by autoconf, rendering the regex susceptible to @@ substitution. You are right, never mind. My testcase was too simple to reveal this

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

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] version 3.1 released

2014-03-10 Thread Barak A. Pearlmutter
Roland Winkler wink...@gnu.org writes: Great, thank you, your new approach should work for everyone. Two minor things: - In bbdb-site.el.in, you kept the value of bbdb-print-tex-path '(/usr/local/share). This seems to be a typo that has been there for some time and should probably be

Re: [BBDB] version 3.1 released

2014-03-09 Thread Barak A. Pearlmutter
Okay, I've reworked it again to satisfy, I believe, all criteria! The pathway is simply bbdb-site.el.in to bbdb-site.el. This is accomplished solely at make time, not ./configure time. (Using sed to replace the @foo@ things as well as the path.) A pre-built bbdb-site.el can be included in the

Re: [BBDB] version 3.1 released

2014-03-09 Thread Roland Winkler
On Sun Mar 9 2014 Barak A. Pearlmutter wrote: Okay, I've reworked it again to satisfy, I believe, all criteria! Great, thank you, your new approach should work for everyone. Two minor things: - In bbdb-site.el.in, you kept the value of bbdb-print-tex-path '(/usr/local/share). This seems to

Re: [BBDB] version 3.1 released

2014-03-08 Thread Roland Winkler
On Tue Mar 4 2014 Barak A. Pearlmutter wrote: The difficulties I see with having bbdb-site grovel around to try to find the right place, or to find a file containing a string which gives the right place (which itself is a bit of a chicken-and-egg issue), are three fold. I see your points.

  1   2   3   4   5   6   7   8   9   >