Re: setting bbdb-mua-pop-up to horiz

2013-04-23 Thread Roland Winkler
On Tue Apr 23 2013 Eric Abrahamsen wrote: Obviously this clobbers whatever was in bbdb-mua-mode-alist, Certainly you should not change bbdb-mua-mode-alist, it's defined as a constant for good reason. But your personal version of bbdb-mua-window-p could use a different variable that you defined

Re: [PATCH] Fix thinko in bbdb-mua-summary-mark

2013-04-21 Thread Roland Winkler
On Sun Apr 21 2013 Leo Liu wrote: - (or (prog1 (functionp bbdb-mua-summary-mark-field) -(funcall bbdb-mua-summary-mark-field record)) + (or (when (functionp bbdb-mua-summary-mark-field) +(funcall bbdb-mua-summary-mark-field record) +

Re: [bug #38780] configure does not honor --prefix option

2013-04-20 Thread Roland Winkler
On Sat Apr 20 2013 Vincent Belaïche wrote: URL: http://savannah.nongnu.org/bugs/?38780 Summary: configure does not honor --prefix option Project: Insidious Big Brother Database Submitted by: vincentb1 Submitted on: sam. 20 avril

Re: To-From-Newsgroup and BBDB

2013-04-18 Thread Roland Winkler
On Wed Apr 17 2013 Vincent Beffara wrote: Finally flet is deprecated, and the suggested replacement cl-flet does lexical rather than dynamical meaning that it cannot do what I want. For the public code of BBDB I have avoided cl completely. But for your personal customization that's fine as

Re: To-From-Newsgroup and BBDB

2013-04-16 Thread Roland Winkler
On Tue Apr 16 2013 Vincent Beffara wrote: For some reason this reply wont go through to the mailing list ... Maybe it will eventually and there will be 2 copies, sorry if that happens! Is there a way to combine BBDB with the functionality of %f in summary buffers (displaying the recipient

Re: To-From-Newsgroup and BBDB

2013-04-16 Thread Roland Winkler
On Tue Apr 16 2013 Vincent Beffara wrote: (defun gnus-user-format-function-f (header) (flet ((gnus-summary-extract-address-component (x) (bbdb-mua-summary-unify x))) (gnus-summary-from-or-to-or-newsgroups gnus-tmp-header gnus-tmp-from)))

Re: To-From-Newsgroup and BBDB

2013-04-15 Thread Roland Winkler
On Mon Apr 15 2013 Vincent Beffara wrote: Is there a way to combine BBDB with the functionality of %f in summary buffers (displaying the recipient if the mail is from me, with a nice - in front) ? What is BBDB supposed to contribute here? I do not understand what you want to achieve.

Re: setting bbdb-mua-pop-up to horiz

2013-04-15 Thread Roland Winkler
On Tue Apr 16 2013 Eric Abrahamsen wrote: Right now, setting bbdb-mua-pop-up to 'horiz splits the *Summary* buffer horizontally, not the *Article* buffer! Perhaps because point is in the *Summary* buffer when *BBDB* is popped? My *Summary* buffer takes up much less of the frame than *Article*,

[BBDB] ChangeLog 2013-04-13 (bbdb-snarf.el revived)

2013-04-13 Thread Roland Winkler
below. 2013-04-13 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-utilities-snarf): New custom group. * lisp/bbdb-snarf.el: New file. * lisp/Makefile.in, lisp/makefile-temp: Compile it. 2013-04-13 Roland Winkler wink...@gnu.org * lisp/bbdb-com.el (bbdb-merge

Re: bbdb database corrupted

2013-04-08 Thread Roland Winkler
On Sun Apr 7 2013 Julien Cubizolles wrote: bbdb can't access a lot of my contacts in the .bbdb file anymore. I'm not sure exactly when it started but every time I run bbdb, I get for example: --8---cut here---start-8--- bbdb-format-address-default: Wrong

Fixed (Pebkac) Re: bug? trying to add email address turns into a loop

2013-03-23 Thread Roland Winkler
On Sat Mar 23 2013 Gijs Hillenius wrote: 0) I just added a new record to my .bbbd. I do this by hitting the ':' key while reading an email message in Gnus. The new contact, lets call him First O' Lastname shows up immediately in the minibuffer, so far so good. Thanks to Roland for

Re: bug? trying to add email address turns into a loop

2013-03-21 Thread Roland Winkler
On Wed Mar 20 2013 Gijs Hillenius wrote: 0) I just added a new record to my .bbbd. I do this by hitting the ':' key while reading an email message in Gnus. The new contact, lets call him First O' Lastname shows up immediately in the minibuffer, so far so good. 1) I know that I have a

Re: EUDC and BBDB V3

2013-03-15 Thread Roland Winkler
On Thu Mar 14 2013 Sam Steingold wrote: * Brett Presnell cerfa...@fgng.hsy.rqh [2013-03-13 20:46:05 -0400]: Is anyone out there successfully using EUDC and BBDB V3 together? I keep getting the following: Symbol's function definition is void: bbdb-record-net it has been renamed to

Re: bbdb-new-mails-primary

2013-03-13 Thread Roland Winkler
On Tue Mar 12 2013 Gijs Hillenius wrote: I suggest to make 'query the default value for defcustom bbdb-new-mails-primary in bbdb.el. The default is currently 'nil. Bbdb already queries the user when it notices a contact with a new email addres. This is because the default value is 'query for

Re: BBDB3 and bbdb-vcard

2013-03-05 Thread Roland Winkler
On Tue Mar 5 2013 Colin Hall wrote: I aim to have bbdb-vcard (any fork) work with bbdb3 (Winkler-Zlatanaov). I started a couple of days ago. I'm using bbdb current master installed from this repo: http://savannah.nongnu.org/projects/bbdb/ and bbdb-vard.el current master from this repo:

Re: [BBDB] ChangeLog 2013-02-16

2013-02-28 Thread Roland Winkler
On Wed Feb 27 2013 Ivan Kanis wrote: I find the documentation of the variable confusing. What's a Xfield? We had this discussion a little while ago on this list. Extra (user-defined) fields were generally called notes fields. Each of these fields has a key to identify and distinguish this

[BBDB] ChangeLog 2013-02-16 (was: [PATCH] change e-mail name completion)

2013-02-16 Thread Roland Winkler
this reformatting. - The new user variables bbdb-print-name-format and bbdb-print-name give more flexibility when printing records. - The other changes should normally not be noticable. 2013-02-16 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-mail-name-format, bbdb-mail-name): New

Re: [BBDB] ChangeLog 2013-02-02 (avoid text properties more carefully)

2013-02-03 Thread Roland Winkler
On Sun Feb 3 2013 Sriram Karra wrote: On Sun, Feb 3, 2013 at 5:54 AM, Sriram Karra karra@gmail.com wrote: On Saturday, February 2, 2013, Roland Winkler wrote Currently I am hesitant to make such changes because it could become difficult to ensure the overall consistency between

[BBDB] ChangeLog 2013-02-02 (avoid text properties more carefully)

2013-02-02 Thread Roland Winkler
-02-02 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-mail-user-agent): Use non-nil default taken from mail-user-agent. (bbdb-lastname-re, bbdb-lastname-suffix-re): New user variables. (bbdb-divide-name): Use them. Pass first and last name through

Re: [PATCH] change e-mail name completion

2013-02-02 Thread Roland Winkler
On Sat Feb 2 2013 Ivan Kanis wrote: This patch allows to rename e-mail completion with a function. I use it to strip accents from people's name. It does two things for me: - I can complete french name without having to switch input method - It puts name in the To: and Cc: field of my

Re: [BBDB] ChangeLog 2013-02-02 (avoid text properties more carefully)

2013-02-02 Thread Roland Winkler
On Sat Feb 2 2013 Sriram Karra wrote: On Sat, Feb 2, 2013 at 6:40 PM, Roland Winkler wink...@gnu.org wrote: Following recent discussions with Sriram on this list, the patch below tries to avoid more carefully that text properties accidentally enter BBDB. Great! I am

Re: Vector form for strings in ~/.bbdb

2013-01-27 Thread Roland Winkler
On Sun Jan 27 2013 Daniel Doherty wrote: For what it's worth, I would like to see text properties kept out of the db until there is some need for them. Right now, one of the big pluses for BBDBv3 to my mind is that it allows two-way syncing with Sriram's Asynk facility, which is what motivated

Re: Vector form for strings in ~/.bbdb

2013-01-25 Thread Roland Winkler
On Thu Jan 24 2013 Sriram Karra wrote: On Wed, Jan 23, 2013 at 9:35 PM, Roland Winkler wink...@gnu.org wrote: On Wed Jan 23 2013 Sriram Karra wrote: #(John 0 4 (fontified nil)) Could you be a bit more specific? Which version of BBDB are you talking about? BBDB v3

Re: Vector form for strings in ~/.bbdb

2013-01-25 Thread Roland Winkler
On Thu Jan 24 2013 Sriram Karra wrote: The function bbdb-divide-name uses substring to extract the first and last names. Note that this code uses both substring and match-string. And the latter uses substring, too (not substring-no-properties). So it really does not make sense to try to rely

Re: Vector form for strings in ~/.bbdb

2013-01-23 Thread Roland Winkler
On Wed Jan 23 2013 Sriram Karra wrote: In some instances it has been observed that the strings written to the .bbdb file are in vector form containing some fontification metadata. For e.g. in the field position for a contact's first name, where one would normally expect to find a string John

Re: BBDB failed to handle what it considers duplicates

2013-01-13 Thread Roland Winkler
On Sat Jan 12 2013 Leo Liu wrote: It seems we are going back in time. The problem is name cannot single-handedly identify a record. Having used BBDB since v2 I have nearly a thousand records. Duplicates happen and v3 can not handle it or handle it badly. End of the year I installed a bunch of

Re: [BBDB] ChangeLog 2013-01-13 (completion for organization field)

2013-01-13 Thread Roland Winkler
On Sun Jan 13 2013 Roland Winkler wrote: The patch below provides completion for the organization field using completing-read-multiple. This requires GNU Emacs from the trunk (version 24.3). Only the latter handles multi-character separators properly. To avoid confusion: with a less recent

Re: [BBDB] ChangeLog 2013-01-13 (completion for organization field)

2013-01-13 Thread Roland Winkler
On Sun Jan 13 2013 Roland Winkler wrote: The patch below provides completion for the organization field using completing-read-multiple. This requires GNU Emacs from the trunk (version 24.3). Only the latter handles multi-character separators properly. Now this should work as promised

Re: BBDB failed to handle what it considers duplicates

2013-01-11 Thread Roland Winkler
On Sat Jan 12 2013 Leo Liu wrote: In my mail yesterday, I only thought of bbdb-complete-mail being affected by duplicate records. BBDB's MUA interface is actually more subtle. Here I can think of situations where BBDB can get confused and give strange results if, say, a message uses a name

Re: vm-pcrisis.el (was: [BBDB] ChangeLog 2012-12-30) buffer support)

2013-01-03 Thread Roland Winkler
On Wed Jan 2 2013 Uday S Reddy wrote: In any case, transtitioning to BBDB 3.0 is difficult at the moment because it is incompatible with BBDB 2 in various ways. If you can define aliases (using defalias and defvaralias) so that the BBDB 2 functions/variables are mapped to BBDB 3

Re: [PATCH] TAB completion for organization field

2013-01-03 Thread Roland Winkler
On Thu Jan 3 2013 Stefan Monnier wrote: You can use a minibuffer-with-setup-hook to change the keymap used in your particular completing-read-multiple calls. Thanks, that seems reasonable. Yes, that's currently a limitation of crm.el. Patch welcome. I already looked into crm.el. I'll let

vm-pcrisis.el (was: [BBDB] ChangeLog 2012-12-30) buffer support)

2012-12-31 Thread Roland Winkler
On Mon Dec 31 2012 Rene wrote: It appears vm-pcrisis.el is heavily making use of bbdb code. I wonder whether a BBDB3 version of vm-pcrisis.el has been produced so far? While I do like using VM myself, I am rather hesitant to touch its code. I can't help thinking that it needs a major rewrite

[BBDB] ChangeLog 2012-12-30 (Supercite and MUA Summary buffer support)

2012-12-30 Thread Roland Winkler
-summary-line-format and vm-summary-format are too complex to let bbdb-initialize do this job. 2012-12-30 Roland Winkler wink...@gnu.org * configure.ac: Option --with-tex-dir renamed from --with-texmf-dir. 2012-12-30 Roland Winkler wink...@gnu.org * lisp/bbdb-sc.el: New

Re: [PATCH] TAB completion for organization field

2012-12-30 Thread Roland Winkler
On Fri Dec 28 2012 Stefan Monnier wrote: rewrite. But I believe it does not (yet?) offer completion when the result of the completion is supposed to be a list of values. IIUC completing-read-multiple should do what you want (and has been included in Emacs for a while, at least since

Re: [PATCH] TAB completion for organization field

2012-12-28 Thread Roland Winkler
On Fri Dec 28 2012 Eric Abrahamsen wrote: Yup, I thought of this problem but it seems like it's fudged in other places (ie you can't complete on subsequent values in an AKA field) so I figured this was good enough for now. It's different in the sense that the values of the organization field

Re: [PATCH] TAB completion for organization field

2012-12-28 Thread Roland Winkler
On Fri Dec 28 2012 Stefan Monnier wrote: rewrite. But I believe it does not (yet?) offer completion when the result of the completion is supposed to be a list of values. IIUC completing-read-multiple should do what you want (and has been included in Emacs for a while, at least since

Re: [PATCH] TAB completion for organization field

2012-12-27 Thread Roland Winkler
On Fri Dec 28 2012 Eric Abrahamsen wrote: No one asked for this, but it's something I've wanted for a while, so I did it, and am attaching a patch if it's of general interest. I often add multiple records for different people at the same organization, and have wanted tab completion when

[BBDB] ChangeLog 2012-12-26 (make quit-window restore the window configuration)

2012-12-26 Thread Roland Winkler
On Wed Aug 15 2012 Charles Philip Chan wrote: Roland Winkler wink...@gnu.org writes: I hope to learn something new here: In what way did you use the electric mode of BBDB v2? What are you missing without it? I like the window configuration restored after using bbdb. The patch below should

[BBDB] ChangeLog 2012-12-27 (small fixes)

2012-12-26 Thread Roland Winkler
On Mon Sep 10 2012 Leo wrote: On 2012-09-10 12:21 +0800, Roland Winkler wrote: Is this all?? Let's see what pops up next... There is one buglet that is pretty annoying i.e. after bbdb-transpose-fields point is moved to the beginning of the record. I think it should stay in the same field

Announcing BBDB records in the Gnus summary buffer

2012-12-26 Thread Roland Winkler
bbdb-gnus.el contains some code for announcing BBDB records in the summary buffer. It includes the user variables bbdb/gnus-summary-mark-known-posters bbdb/gnus-summary-show-bbdb-names bbdb/gnus-summary-prefer-bbdb-data bbdb/gnus-summary-prefer-real-names controling what is actually

[BBDB] ChangeLog 2012-12-25

2012-12-25 Thread Roland Winkler
and commands such as bbdb-search-notes and bbdb-sort-notes. The other patches are bug and doc fixes. 2012-12-25 Roland Winkler wink...@gnu.org * lisp/bbdb-vm.el: (bbdb/vm-auto-add-label-list) (bbdb/vm-auto-add-label-field): Doc fix. (bbdb/vm-auto-add-label): Doc fix

Re: Don't show names, disable pop-ups

2012-12-18 Thread Roland Winkler
On Tue Dec 18 2012 brom...@lavabit.com wrote: Actually, the above works out of the box, but it uses the following formatting: To: John Doe j...@example.com I want to use this formatting instead: To: j...@example.com See bbdb-mail-avoid-redundancy Also, BBDB shows some garbage[*] in

Re: weird match

2012-10-18 Thread Roland Winkler
On Wed Oct 17 2012 Sam Steingold wrote: I don't know your personal extensions of BBDB. I have none. For almost all user variables from BBDB's MUA interface their values may be user-defined functions. You actually requested quite a few of these variables. Certainly, these functions can give

Re: weird match

2012-10-18 Thread Roland Winkler
what other variables could be relevant? It will be much easier if you try to disable once all your customizations (emacs -q). Then it becomes clearer where things are going wrong. -- Everyone hates slow websites. So do

Re: weird match

2012-10-16 Thread Roland Winkler
On Tue Oct 16 2012 Sam Steingold wrote: In gnus gmane.science.biology.informatics.conductor summary, the message From: Sam [guest] gu...@bioconductor.org is marked as sent my a known user and *BBDB* shows Sam Robb mail: sam.r...@timesys.com, sam.r...@timesys.com Do you have

Re: weird match

2012-10-16 Thread Roland Winkler
On Tue Oct 16 2012 Sam Steingold wrote: In gnus gmane.science.biology.informatics.conductor summary, the message From: Sam [guest] gu...@bioconductor.org is marked as sent my a known user and *BBDB* shows Sam Robb mail: sam.r...@timesys.com, sam.r...@timesys.com Do

Re: BBDB failed to handle what it considers duplicates

2012-10-15 Thread Roland Winkler
On Mon Oct 15 2012 Leo wrote: In BBDB3 (a few months old), duplicates were allowed by default. So if you typed a substring in a mailer that matches two duplicate records, it gave you an opportunity to choose. As I tried to explain, the old code was broken in various ways. Yet comments in the

Re: BBDBv3 bug report: Running ./configure ignores --prefix for tex files

2012-10-15 Thread Roland Winkler
On Mon Oct 15 2012 Ben Sturmfels wrote: When install BBDBv3, I ran `./configure --prefix=/home/ben/local` wanting everything to be installed in under this directory (based on my reading of `./configure --help`). The output belows shows that .tex files default to being installed in

Re: BBDB failed to handle what it considers duplicates

2012-10-14 Thread Roland Winkler
On Sun Oct 14 2012 Leo wrote: Sure. So bbdb-no-duplicates was renamed to bbdb-allow-duplicates while keeping the same value which amounts to disallow duplicates by default and that is exactly what caused me all the trouble. The annoying thing was that I kept both the default value and the

Re: Address completion question

2012-10-14 Thread Roland Winkler
On Sun Oct 14 2012 Alan Schmitt wrote: Now completion does nothing (just shows the possibilities when there is more than one) when I try it. What are you trying to do / expecting to get when BBDB opens a window with possible completions? For me, the completions buffer says at the top the usual

Re: Address completion question

2012-10-14 Thread Roland Winkler
On Sun Oct 14 2012 Stephen Leake wrote: I thought it would. The documentation says If non-nil cycle mail addresses when calling `bbdb-complete-mail'. which is exactly what I want: cycle through the possible completions when completing mails. Am I reading the documentation wrong? Note

Re: Address completion question

2012-10-14 Thread Roland Winkler
On Sun Oct 14 2012 Alan Schmitt wrote: For me, the completions buffer says at the top the usual two lines of any completions buffer Click mouse-2 on a completion to select it. In this buffer, type RET to select the completion near point. When I follow this recipe I get what I

Re: BBDB failed to handle what it considers duplicates

2012-10-14 Thread Roland Winkler
On Sat Oct 13 2012 Roland Winkler wrote: See bbdb-allow-duplicates. [snip] Also, the docstring of this variable expresses the fact... ...that so far in BBDB's history nobody considered the case of records with duplicate names important enough to extend the code of bbdb-complete-mail

Re: BBDB failed to handle what it considers duplicates

2012-10-13 Thread Roland Winkler
On Sat Oct 13 2012 Leo wrote: I just noticed BBDB no longer completes some emails because they are part of a record that BBDB considers a duplicate. This change is annoying and has caused me a lot of trouble sending emails to wrong recipients. Can you please be more specific? Under what

Re: Some small improvements

2012-10-13 Thread Roland Winkler
On Sat Oct 13 2012 Leo wrote: On 2012-09-11 09:21 +0800, Roland Winkler wrote: Thanks. I need to check these more carefully Any update on this? I am sorry, I am rather busy with other things till end of the month. I cannot do anything big with BBDB till then. Roland

Re: BBDB failed to handle what it considers duplicates

2012-10-13 Thread Roland Winkler
, but as a feature. Depending on circumstances, it could be more likely that duplicate entries inadvertently refer to the same person. Also, the docstring of this variable expresses the fact... On 2012-10-13 19:57 +0800, Roland Winkler wrote: Can you please be more specific? Under what circumstances

Re: Address completion question

2012-10-13 Thread Roland Winkler
On Sat Oct 13 2012 Alan Schmitt wrote: When I try to complete and address and several match, after tab I get a window with all the possible matches. If I hit tab again I get the following message #window ... is not a live window where ... is a number, and the window is closed. The only

Re: Address completion question

2012-10-13 Thread Roland Winkler
On Sat Oct 13 2012 Alan Schmitt wrote: Roland Winkler wink...@gnu.org writes: Which version of emacs are you using? bbdb-complete-mail uses some code for popping up a completion window that only works with GNU Emacs 24. I want to replace it with something that works also with GNU Emacs

[BBDB] ChangeLog 2012-09-23

2012-09-23 Thread Roland Winkler
the standard scheme for setting up a buffer window. I do not know yet what this will involve. Possibly, this also includes the possibility to make user customization more flexible. 2012-09-23 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-mua-auto-update-p): Doc fix. (bbdb

[BBDB] Changelog 2012-09-23 part 2 (with notes for BBDB lisp hackers)

2012-09-23 Thread Roland Winkler
On Wed Aug 1 2012 Roland Winkler wrote: Part of BBDB (yes, even v2) has allowed the possibility that a mail address in a record is not just a plain sm...@foo.com. But the record of, say, Johnathan Smith may also contain an RFC 822 address such as John Smith sm...@foo.com. Johnathan Smith

Re: Integrating with gnus

2012-09-15 Thread Roland Winkler
On Sat Sep 15 2012 Charles Philip Chan wrote: Oh, I forgot to add, you need to customize the variable bbdb-message-pop-up: , | bbdb-message-pop-up's value is t | Original value was nil Now I start to understand what you want to achieve and where things appear to fail. So we are really

Re: Integrating with gnus

2012-09-14 Thread Roland Winkler
On Fri Sep 14 2012 Gijs Hillenius wrote: yeah, I could not get that working here either However, Vincent Bernat suggests: http://comments.gmane.org/gmane.emacs.gnus.general/81908 , | (add-hook 'bbdb-notice-mail-hook 'bbdb-auto-notes) | (add-hook 'gnus-article-prepare-hook

Re: Integrating with gnus

2012-09-13 Thread Roland Winkler
On Thu Sep 13 2012 Sam Steingold wrote: * Norman Walsh a...@ajnyfu.pbz [2012-09-13 07:02:13 -0700]: Anyone know the incantation for Gnus+BBDB 3.x integration? (require 'bbdb) (require 'bbdb-loaddefs) (bbdb-initialize 'gnus 'message) (bbdb-mua-auto-update-init 'gnus 'message) The first

Re: Record %s does not exist

2012-09-13 Thread Roland Winkler
On Thu Sep 13 2012 Sam Steingold wrote: (defun sds-bbdb-add-name (rec name) Decide whether to change the record name. (let ((n1 (bbdb-record-firstname rec)) (nl (bbdb-record-lastname rec))) (cond ((and (null n1) (null nl)) t) ((or (string= n1 name) (string= nl

Re: Is ; (bbdb-mua-edit-field-sender) broken in gnus?

2012-09-10 Thread Roland Winkler
On Mon Sep 10 2012 Leo wrote: The first group should display info without querying users for anything and it should also display something when some contacts are not in the database. (defadvice bbdb-mua-display-sender (after sender-not-found-feedback activate) Give user feedback when

Re: Is ; (bbdb-mua-edit-field-sender) broken in gnus?

2012-09-10 Thread Roland Winkler
On Mon Sep 10 2012 Leo wrote: The first group should display info without querying users for anything I forgot to say: The above is exactly the default of BBDB v3. The default car of bbdb-mua-update-interactive-p is 'search.

Re: Some small improvements

2012-09-10 Thread Roland Winkler
On Mon Sep 10 2012 Leo wrote: I have these commits sitting in my local git repo and I think they might be good for upstream so I am posting them here. Thanks. I need to check these more carefully -- Live Security

Re: Update: Where is BBDB going

2012-09-10 Thread Roland Winkler
On Mon Sep 10 2012 Leo wrote: On 2012-09-10 12:21 +0800, Roland Winkler wrote: Is this all?? Let's see what pops up next... There is one buglet that is pretty annoying i.e. after bbdb-transpose-fields point is moved to the beginning of the record. I think it should stay in the same field

[BBDB] ChangeLog 2012-09-09 (unified scheme for customizing how BBDB analyzes messages)

2012-09-09 Thread Roland Winkler
On Fri Sep 7 2012 Roland Winkler wrote: Everytime I read one of these messages, BBDB asks me if I'd like to change the name of some-real-person to The Bug Tracking System or add some-real-person to some-other-real-person. You are struggling with similar problems... I extended the allowed

Re: Update: Where is BBDB going

2012-09-09 Thread Roland Winkler
On Sun Sep 9 2012 Roland Winkler wrote: I just want to give here a brief update on my further plans with BBDB. Currently, I have three open issues on my BBDB to-do list: - Notes - xfield (see the recent thread name for list of notes fields on this list) - pop up *BBDB* buffer properly

Re: bbdb-ignore-message-alist

2012-09-08 Thread Roland Winkler
On Tue Aug 28 2012 Mitchel Humpherys wrote: I'd like to configure bbdb to not auto-notice addresses in mailing list mail. I'm trying to use the `X-Mailing-List' and `X-Mailman-Version' headers, since those seem to be consistently present on all the mailing lists I read, but it doesn't seem to

[BBDB] ChangeLog 2012-09-8 (bbdb-ignore-message-alist)

2012-09-08 Thread Roland Winkler
On Sat Sep 8 2012 Roland Winkler wrote: Gnus has two functions for accessing headers of a message, gnus-fetch-field and gnus-fetch-original-field. The latter uses gnus-original-article-buffer. I do not know which buffer the former function is using. Only gnus-original-article-buffer contains

[BBDB] ChangeLog 2012-09-07

2012-09-07 Thread Roland Winkler
are struggling with similar problems... I extended the allowed values for bbdb-accept-name-mismatch to include regexps and functions. This should hopefully solve most problems of that kind. See the updated doc string of bbdb-accept-name-mismatch. 2012-09-07 Roland Winkler wink...@gnu.org

Re: bbdb-ignore-message-alist

2012-09-01 Thread Roland Winkler
On Tue Aug 28 2012 Mitchel Humpherys wrote: I'd like to configure bbdb to not auto-notice addresses in mailing list mail. I'm trying to use the `X-Mailing-List' and `X-Mailman-Version' headers, since those seem to be consistently present on all the mailing lists I read, but it doesn't seem to

[BBDB] ChangeLog 2012-09-01 (bug fixes)

2012-09-01 Thread Roland Winkler
2012-09-01 Roland Winkler wink...@gnu.org * lisp/bbdb-mua.el (bbdb-mua-edit-field): Bug fix. 2012-09-01 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-record-set-field): Bug fix. 2012-09-01 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-with-print-loadably

Re: Is ; (bbdb-mua-edit-field-sender) broken in gnus?

2012-08-31 Thread Roland Winkler
On Thu Aug 30 2012 Roland Winkler wrote: On Fri Aug 31 2012 Leo wrote: On 2012-08-30 23:27 +0800, Roland Winkler wrote: Should bbdb-mua-update-interactive-p turned into a list instead of a cons pair to offer yet more flexibility? The level of indirection here looks like a sign

Re: Is ; (bbdb-mua-edit-field-sender) broken in gnus?

2012-08-30 Thread Roland Winkler
On Thu Aug 30 2012 Leo wrote: I just tried it again. Unfortunately by default it pops up an empty record window (screenshot attached). Something is wrong here. Now I see what you mean. Yes, there is a simple silly bug here. If there are no records for a message (no existing records and BBDB is

Re: Is ; (bbdb-mua-edit-field-sender) broken in gnus?

2012-08-30 Thread Roland Winkler
On Fri Aug 31 2012 Leo wrote: On 2012-08-30 23:27 +0800, Roland Winkler wrote: Should bbdb-mua-update-interactive-p turned into a list instead of a cons pair to offer yet more flexibility? The level of indirection here looks like a sign of over-engineering. We should make the user

Re: Is ; (bbdb-mua-edit-field-sender) broken in gnus?

2012-08-28 Thread Roland Winkler
On Wed Aug 29 2012 Leo wrote: I cannot seem to add any new entry. Tested with BBDB git. Using VM instead of Gnus, it works fine for me. There is an unfortunate inconsistency about this command (due to historical reasons): the prefix arg makes it query for the field that is edited. So it must

Re: name for list of notes fields

2012-08-25 Thread Roland Winkler
On Tue Aug 21 2012 Roland Winkler wrote: On Tue Aug 21 2012 Leo wrote: bbdb-record-x tells me it is about extensions. Additionally, fields contained in x become meaningful, such as bbdb-record-x-uid, bbdb-record-set-x-uid etc. That is clarify that can not be attained otherwise. Just some

Re: (wrong-type-argument char-or-string-p \.\.\.)

2012-08-20 Thread Roland Winkler
On Mon Aug 20 2012 Sam Steingold wrote: this is because (bbdb-record-organization record) == (Princeton University Psychology MIT MIT Brain MIT Brain Cognitive Science MIT BRAINCOGSCI Harvard William James Hall HARVARD PSYCHOLOGY HARVARD PSYCHOLOGY \.\.\.) with the ... literal

Re: bbdb-end-marker: (wrong-type-argument number-or-marker-p nil)

2012-08-20 Thread Roland Winkler
Do you have a recipe to reproduce the backtrace below? On Mon Aug 20 2012 Sam Steingold wrote: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) /=(909445 nil) (and (/= (point) bbdb-end-marker) (not (looking-at \\[))) (if (and (/= (point) bbdb-end-marker) (not

Re: cache error

2012-08-20 Thread Roland Winkler
Do you have a recipe to reproduce the backtrace below? On Mon Aug 20 2012 Sam Steingold wrote: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) bbdb-cache-set-fl-name(nil XXX XXX) (let ((fl-name (bbdb-concat (quote name-first-last) first last)) (lf-name (bbdb-concat (quote

Re: name for list of notes fields

2012-08-20 Thread Roland Winkler
On Sun Aug 19 2012 Leo wrote: On 2012-08-19 00:36 +0800, Roland Winkler wrote: I guess `x' is really just a prefix -- for what? I'd prefer a more mnemonic name here. Fair enough though using 'x' to mean extension is not uncommon. For example, in emacs, we have a few libs: files-x, dired-x

Re: name for list of notes fields

2012-08-18 Thread Roland Winkler
On Fri Aug 17 2012 Leo wrote: Would you be OK with 'x'? I got the idea from vcard where custom fields are prefixed with x-. I guess `x' is really just a prefix -- for what? I'd prefer a more mnemonic name here. Roland

Re: BBDB V3 Home page at: http://www.nongnu.org/bbdb/

2012-08-18 Thread Roland Winkler
On Thu Aug 16 2012 Sriram Karra wrote: I think it is time we start putting together some stuff for a proper Official BBDB v3 Page. Savannah provides for a project home page at the above URL. I can help set something up, perhaps in some community editable format (tiddlywiki, for e.g.) or

Re: BBDB3 Electric Popup Window

2012-08-15 Thread Roland Winkler
On Wed Aug 15 2012 Charles Philip Chan wrote: I migrated to bbdb3 yesterday and so far I like it better than bbdb2. The only thing that I don't like is that the popup window is not electric anymore. Are there any plans for it? Hey, you seem to be the first one who was using the electric mode

Re: name for list of notes fields

2012-08-15 Thread Roland Winkler
On Tue Aug 14 2012 Ivan Kanis wrote: I have the following patch floating about. Would it affect me? This is safe. +(defun bbdb-record-edit-notes () + Edit notes of current record. + (interactive) + (bbdb-edit-field (bbdb-current-record) 'notes)) High-level functions such as

Re: BBDB3 Electric Popup Window

2012-08-15 Thread Roland Winkler
On Wed Aug 15 2012 Charles Philip Chan wrote: Roland Winkler wink...@gnu.org writes: I hope to learn something new here: In what way did you use the electric mode of BBDB v2? What are you missing without it? I like the window configuration restored after using bbdb. ...Makes sense

Re: name for list of notes fields

2012-08-14 Thread Roland Winkler
On Tue Aug 14 2012 Leo wrote: On 2012-08-14 05:34 +0800, Roland Winkler wrote: However, Leo's proposed change could also affect function names such as bbdb-record-note and bbdb-record-set-note that address individual note fields. To be internally consistent, these should become something

Re: name for list of notes fields (was Re: Add some BBDB tests)

2012-08-13 Thread Roland Winkler
On Mon Aug 13 2012 Ivan Kanis wrote: Roland Winkler wink...@gnu.org wrote: On Sun Aug 12 2012 Leo wrote: (bbdb-defstruct record firstname lastname affix aka organization phone address mail notes cache) We should rename `notes' in the above to `ext' (for extensions). `notes

Re: Why V3

2012-08-12 Thread Roland Winkler
On Sun Aug 12 2012 Sriram Karra wrote: OK what you are saying is v2 allows single notes string field, but a list of cons pairs is still valid in v2, right? Correct (to the best of my knowledge of v2) So a v3 unmigrate features that leaves the notes field as it is in v3 (list of cons pairs)

Re: Why V3 (Was: Re: Fwd: BBDB development shifted from sourceforge to savannah)

2012-08-11 Thread Roland Winkler
On Sat Aug 11 2012 Sriram Karra wrote: Further, throwing them away could just be stashing the fields into the notes list. Certainly. But if you then decide to give v3 a second try, you will not get back what you had before. Just for the record, can you tell us about all the changes in the

Re: Add some BBDB tests

2012-08-10 Thread Roland Winkler
On Sat Aug 11 2012 Leo wrote: A few weeks ago I upgraded to BBDB git head and experienced some odd behaviours that I have to revert to my last working copy which is some months old. Certainly it would be good if you could post here if anything appears to be a true regression. BBDB2 has some

Re: Why V3 (Was: Re: Fwd: BBDB development shifted from sourceforge to savannah)

2012-08-10 Thread Roland Winkler
On Fri Aug 10 2012 Sriram Karra wrote: I have updated site (http://bbdb.sourceforge.net/) with a note pointing to Savannah.  That done,  I now feel it is best to just leave that site alone. Any FAQ etc. should reside on the Savannah site. Thoughts? Thanks a lot for doing this. Two things: -

Re: Why V3 (Was: Re: Fwd: BBDB development shifted from sourceforge to savannah)

2012-08-10 Thread Roland Winkler
On Sat Aug 11 2012 Sriram Karra wrote: I have rewritten along lines you have suggested and pushed it. Please take a look. Looks fine to me, thanks, Backwards compatibility for me would mean a few distinct things: 1. Will my old customizations work with the new code #1 might never get

Re: First and last names

2012-08-09 Thread Roland Winkler
On Wed Aug 8 2012 Julien Cubizolles wrote: I just realized that I switched first and last names in my bbdb records : I used to use the first field for the last name... Is there an easy way to make the switch back on a record, something like a bbdb-switch-first-last-name ? I am a bit surprised

[BBDB] ChangeLog 2012-08-09 (remove message cache)

2012-08-09 Thread Roland Winkler
On Tue Jul 17 2012 Roland Winkler wrote: When I looked into this, I had a disappointing surprise: BBDB uses a message cache for caching the BBDB records associated with a message. I had made a silly mistake that made the cache ineffective in BBDB 3. Well, that bug was easily fixed

Re: autoloading failed to define function bbdb-define-all-aliases

2012-08-09 Thread Roland Winkler
On Thu Aug 9 2012 Julien Cubizolles wrote: Roland Winkler wink...@gnu.org writes: On Wed Aug 8 2012 Julien Cubizolles wrote: (add-hook 'mail-setup-hook 'bbdb-define-all-aliases) (add-hook 'message-setup-hook 'bbdb-define-all-aliases) (add-hook 'mail-setup-hook 'bbdb-mail-aliases

Re: [BBDB] ChangeLog 2012-08-06

2012-08-06 Thread Roland Winkler
On Mon Aug 6 2012 Sam Steingold wrote: as with all bury-buffer -- quit-window changes the main idea is that bury-buffer preserves the newly created window or frame while quit-window deletes it. basically, whatever has been displayed interactively should be removed with quit-window. Sure, but

<    1   2   3   4   5   6   >