Re: small change in initialization

2011-09-29 Thread Roland Winkler
On Thu Sep 29 2011 Ivan Kanis wrote: Hi Roland, In the function below could the line (require 'bbdb-autoloads) be removed? Since the function is auto loaded it shouldn't require it. If it really can't be removed how about putting (load bbdb-autoloads t) The reason I am requesting the

Re: [PATCH] Better support for organisation-only records

2011-09-26 Thread Roland Winkler
On Mon Sep 26 2011 Eric Abrahamsen wrote: Why not have separate minibuffer prompts for surname and given name? Many of my records are for Chinese people. Right now I can't be bothered separating out the characters for surname and given name, and usually they all get lumped into whatever

Re: exporting records

2011-09-26 Thread Roland Winkler
On Mon Sep 26 2011 Eric Abrahamsen wrote: While we're on the subject of features that won't be considered until version 3 is finished, if ever I've been writing a small function to export BBDB records according to an arbitrary text template. I'm running up against the problem that there

Re: exporting records

2011-09-26 Thread Roland Winkler
On Mon Sep 26 2011 Roland Winkler wrote: Also, does this seem like a good idea in general? I know that we're in some kind of feature freeze, but this would also be relatively distinct from the rest of the codebase, and if it's an attractive idea I'd be happy to chew on it in my spare time

Re: exporting records

2011-09-26 Thread Roland Winkler
On Mon Sep 26 2011 Leo wrote: It might be desirable to export a record to a canonical sexp then we can further write the sexp to any other formats such as vcards, xmls etc. For example, the sexp can be a list of elements of the form: (field parameters value) Maybe you can explain in a

Re: [PATCH] Better support for organisation-only records

2011-09-26 Thread Roland Winkler
On Mon Sep 26 2011 Stefan Monnier wrote: Direct editing maybe similar to wdired-mode could be, indeed, a great thing. -- Yet as I said: I'll postpone such dreams till BBDB 3 has been released. No! I want it now! [...starts rolling on the floor screaming...] Now! now! now! now! now!!

Re: [PATCH] Better support for organisation-only records

2011-09-25 Thread Roland Winkler
On Sun Sep 25 2011 Leo wrote: I am fine with anything that allows one to enter organisation-only records nicely. For example, dividing Lucky Star Buffet Restaurant into firstname and lastname is not nice. We should get rid of that. Any suggestions what to do? It seems that again this is a

Re: [PATCH] Better support for organisation-only records

2011-09-23 Thread Roland Winkler
On Thu Sep 22 2011 Roland Winkler wrote: It seems to me that something like a note field for the predicate `person-p' with values natural, artifical, restaurant, bookstore etc was more to the point here. Then the only thing you need to customize is the function bbdb-display-name-organization

Re: typos

2011-09-23 Thread Roland Winkler
On Fri Sep 23 2011 Reiner Steib wrote: On Thu, Sep 22 2011, Roland Winkler wrote: 2011-09-22 Leo sdl@gmail.com * lisp/bbdb.el (bbdb-pop-up-window): Remove Gnus-specific code

Re: typos

2011-09-22 Thread Roland Winkler
On Thu Sep 22 2011 Leo wrote: But having looked at this some more, I think instead of fixing the typos, the form should be deleted. It causes annoying point movement from my experience. Any idea in what way it makes Gnus happy?? I am sorry, you have confused me. Which patch are you ultimately

Re: typos

2011-09-22 Thread Roland Winkler
On Thu Sep 22 2011 Leo wrote: I propose this patch: Done. 2011-09-22 Leo sdl@gmail.com * lisp/bbdb.el (bbdb-pop-up-window): Remove Gnus-specific code which is not required anymore by recent versions of Gnus.

Re: [PATCH] Better support for organisation-only records

2011-09-22 Thread Roland Winkler
On Thu Sep 22 2011 Leo wrote: It makes a different in displaying records. See: http://i.imgur.com/0NJt1.png Another example is one can list all organization-only records easily. It seems to me that something like a note field for the predicate `person-p' with values natural, artifical,

Re: [PATCH] Fix a bug in bbdb-browse-url

2011-09-21 Thread Roland Winkler
On Wed Sep 21 2011 Leo wrote: From a48f25ea3cc7b6f69f5c6d3ae98821bec6f6c3fa Mon Sep 17 00:00:00 2001 Date: Wed, 21 Sep 2011 00:25:52 +0800 --- lisp/bbdb-com.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Done 2011-09-21 Leo sdl@gmail.com * lisp/bbdb-com.el

Re: Patch for bbdb-dial

2011-09-21 Thread Roland Winkler
On Wed Sep 21 2011 Abhi Yerra wrote: Thank you. I did not have any more changes to the base functionality. Though possibly having an sms interface would be quite nice. I'll see if I can add that in the near future. Again, I do not know much would would be reasonable / desirable here. Yet if I

Re: [PATCH] Better support for organisation-only records

2011-09-21 Thread Roland Winkler
On Wed Sep 21 2011 Leo wrote: Maybe a cleaner way is to insert a new slot `organisation-p' in the definition: (bbdb-defstruct record firstname lastname affix aka organization organization-p phone address mail notes cache) What do you think? Maybe, I am just missing a typical

Re: [PATCH] Better support for organisation-only records

2011-09-20 Thread Roland Winkler
On Tue Sep 20 2011 Leo wrote: Better support for organisation-only records. Also fix a bug when firstname or lastname are nil. Comments welcome ;) For those who did not browse Leo's code: The current BBDB code assumes that a record should have a name so that the record can be identified by

[BBDB] Changelog 2010-09-19

2011-09-19 Thread Roland Winkler
): Removed (obsolete). * lisp/bbdb-com.el (bbdb-dial-number): Use browse-url and bbdb-dial-function. (bbdb-play-sound): Removed (obsolete) 2011-09-19 Roland Winkler wink...@gnu.org * lisp/bbdb-com.el (bbdb-dial): First remove extension. Simplify. 2011-09-19 Roland

Re: [PATCH] Discriminate completion candidates in bbdb-add-mail-alias

2011-09-19 Thread Roland Winkler
On Mon Sep 19 2011 Leo wrote: From 2cee5c24542a8a353a910d0cf597fc5d69c92333 Mon Sep 17 00:00:00 2001 Date: Mon, 19 Sep 2011 17:37:38 +0800 Subject: [PATCH] Discriminate completion candidates in bbdb-add-mail-alias Applied: 2011-09-19 Leo sdl@gmail.com * lisp/bbdb-com.el

Re: Patch for bbdb-dial

2011-09-18 Thread Roland Winkler
On Sat Sep 17 2011 Abhi Yerra wrote: Was this patch ever committed? Gnu has my documentation under the name Kesava Yerra. I am sorry, it is still on my to-do list. But things are clearing up for me, that is, I want to do it within the next days. (I am not using bbdb (or any other emacs-related

Re: setting up BBDB 3 with Gnus on WinXP

2011-09-14 Thread Roland Winkler
On Wed Sep 14 2011 Carson Chittom wrote: Roland Winkler wink...@gnu.org writes: So you also might want to check that your hand-made bbdb-autoloads.el contains an entry for bbdb-insinuate-gnus. This was the error---or rather, bbdb-autoloads.el was messed up in a more general way (my own

Re: setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Roland Winkler
On Tue Sep 13 2011 Carson Chittom wrote: I'm trying to set up BBDB 3 to work with Gnus. I'm using Emacs 23.3.1 on Windows XP. I know the manual at http://bbdb.sourceforge.net/bbdb.html is for version 2, but there doesn't seem to be anything newer. Based on this manual, I've added to

Re: function to add new records from email message

2011-08-12 Thread Roland Winkler
On Fri Aug 12 2011 Eric Abrahamsen wrote: I'm using git versions of gnus and bbdb, and something somewhere loves to put a - in the minibuffer when I hit ; for bbdb-mua-edit-notes-sender and a few other actions, I can't quite see a pattern. I don't know who to blame for this -, but it overrides

Re: function to add new records from email message

2011-08-11 Thread Roland Winkler
On Sun Aug 7 2011 Peter Münster wrote: The question was rather, if there was a function like `bbdb-mua-edit-notes-ALL'. My solution: --8---cut here---start-8--- (local-set-key : '(lambda () (interactive)

Re: function to add new records from email message

2011-08-11 Thread Roland Winkler
On Thu Aug 11 2011 Eric Abrahamsen wrote: Hey, this was a great bit of information -- I've long been confused about the best way to get someone in the database if you're not automatically adding unknown senders. So now with a prefix arg : asks whether to add a new record, but I don't see what

Re: function to add new records from email message

2011-08-11 Thread Roland Winkler
On Thu Aug 11 2011 Eric Abrahamsen wrote: Take a look at the variable bbdb-mua-update-interactive-p. It specifies what you get without / with a prefix arg. The default is `search' without a prefix and `query' with a prefix. Thanks for this, the docstrings were a little confusing Good

Re: Aliases questions (autocompletion)

2011-08-01 Thread Roland Winkler
On Sun Jul 31 2011 Johnny wrote: I have started using aliases in bbdb and wonder if there is any setup to autocomplete on defined aliases in the headers? Say, I have an alias named listofmembers and want to mail them. I add this mail-alias field to all relevant contacts, then in the To header

Re: Aliases questions (autocompletion)

2011-08-01 Thread Roland Winkler
On Mon Aug 1 2011 Johnny wrote: Thus, I ended up just binding M-TAB to mail-abbrev-complete-alias. If I want to complete on a name, I use *TAB*, if an alias just *M-TAB*. It might be nice to make aliases and names all appear by the same completion (like cycling), but this seems like overkill

Re: function to add new records from email message

2011-07-29 Thread Roland Winkler
On Fri Jul 29 2011 Peter Münster wrote: There is (bbdb-mua-edit-notes-recipients), but: - it only takes the recipients and not the sender What about bbdb-mua-edit-notes-sender? By default, the behavior of these functions is being the least aggressive - it only takes the first recipient and

Re: bbdb external interface

2011-06-05 Thread Roland Winkler
My apologizies for being invisible on this list right now. There are other things I need to give higher priority. I'll be back and I'll try to make sure that nothing is dropped. Roland On Tue May 31 2011 Abhi Yerra wrote: Roland Winkler wink...@gnu.org writes: I've had a bit more time to do

Re: org-bbdb-anniversaries gives error 'bad sexp'

2011-05-15 Thread Roland Winkler
On Sat May 14 2011 Johnny wrote: I have set up an org-agenda that includes anniversaries in the agenda view from the bbdb database, but this breaks with bbdb 3.02 giving the error 'bad sexp'. I set up the agenda file using (from org-mode 6.33x info section 10.3.1): * Anniversaries

Re: org-bbdb-anniversaries gives error 'bad sexp'

2011-05-15 Thread Roland Winkler
On Sun May 15 2011 Roland Winkler wrote: It would probably be good if the needs of org-mode could be incorporated into the new BBDB before we declare that BBDB v3 has reached a beta stage.) I forgot to say: It is an item on the todo list for BBDB v3 to provide a more complete list for how

BBDB and Gnus

2011-05-15 Thread Roland Winkler
I thought I want to write this email to the Gnus (and BBDB) mailing list to announce more formally to the Gnus developpers that recently BBDB has gone through a major re-write with the ultimate goal to make the new BBDB v3 part of GNU Emacs. I believe that Gnus is one of the emacs packages that

Re: org-bbdb-anniversaries gives error 'bad sexp'

2011-05-15 Thread Roland Winkler
On Sun May 15 2011 Matt Lundin wrote: I'd be happy to take this on. AFAICT, there are three functions in org-bbdb that no longer exist in bbdb v3. bbdb-name bbdb-company bbdb-record-getprop The first two can easily be defaliased to bbdb-search-organization and bbdb-search-name. (For a

Re: Fix wrong expansion of rules in bbdb-auto-notes

2011-05-11 Thread Roland Winkler
On Tue May 10 2011 Leo wrote: On 2011-05-09 02:59 +0800, Roland Winkler wrote: In principle there is no ambiguityconcerning lists and strings. All bbdb fields except for names and individual note fields are lists (and different notes are again forming a list). For your issue, a cleaner

Re: Fix wrong expansion of rules in bbdb-auto-notes

2011-05-11 Thread Roland Winkler
On Wed May 11 2011 Roland Winkler wrote: So maybe it is better to put the extension we are thinking about into bbdb-merge-note: - If its arg LABEL is either affix, aka, organization, or mail, this function could add a new element to the list of values of the respective field

[BBDB] Changelog 2010-05-11

2011-05-11 Thread Roland Winkler
that nonetheless things are not fully consistent in the code. Oh well...) Roland 2011-05-11 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-notice-mail-hook): Rename from bbdb-notice-hook. (bbdb-notice-record-hook): New variable. (bbdb-notice-hook-pending): Update doc

[BBDB] Changelog 2010-05-11, part 2 (was: patch for bbdb-get-help-window)

2011-05-11 Thread Roland Winkler
, the special bindings of special-mode are not used at all in this context. The help window is only used for displaying the help message. But the current buffer in that moment is the minibuffer. 2011-05-11 Roland Winkler wink...@gnu.org * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch

Re: [BBDB] Changelog 2010-05-11, part 2

2011-05-11 Thread Roland Winkler
On Wed May 11 2011 Sam Steingold wrote: I use v2 for now, waiting for a clear upgrade path, i.e., the list of symbol renamings and make-obsolete declarations. It's all a matter of manpower which is limited. Help is always appreciated :-) yes, but getting rid of the help buffer by merely

Re: gnus-fetch-field and gnus-fetch-original-field

2011-05-09 Thread Roland Winkler
On Mon May 9 2011 Reiner Steib wrote: I am not a Gnus expert. gnus-fetch-field was used already by BBDB v2. Is there someone reading this list who knows the (intended) difference between gnus-fetch-field and gnus-fetch-original-field? [ Cc-ing ding@gnus. ] I don't know. The doc strings

Re: Fix wrong expansion of rules in bbdb-auto-notes

2011-05-08 Thread Roland Winkler
On Sun May 8 2011 Leo wrote: - Another annoyance is that FIELD could only name those in NOTES. For example: (setq bbdb-auto-notes-rules '((Organization (.* organization \\ does not update the organisation of the record. When I quickly looked through some

Re: `bbdb-message-header' can not fetch hidden fields in Gnus

2011-05-08 Thread Roland Winkler
On Sun May 8 2011 Leo wrote: I am using latest No Gnus from Emacs-24 (trunk). It seems if a header field in Gnus is hidden, bbdb-message-header return nil. I don't know if this is intended. I use the following patch in my local BBDB copy. I am not a Gnus expert. gnus-fetch-field was used

Re: bbdb external interface

2011-05-08 Thread Roland Winkler
doing any real work. You might get help from others interested in this. Roland On Sat, May 7, 2011 at 10:46 PM, Roland Winkler wink...@gnu.org wrote: On Thu May 5 2011 Abhi Yerra wrote: Since we live in a world where a majority of us rely on external directory stores (LDAP, Google Contacts

Re: Patch for bbdb-dial

2011-05-08 Thread Roland Winkler
On Sun May 8 2011 Abhi Yerra wrote: I thought that the bbdb-dial interface was a bit antiquated. Updated it to open using browse-url with a tel uri (http://www.ietf.org/rfc/rfc3966.txt). A custom handler can also be specified. You are right, the current code is probably quite old and not

Re: Fix wrong expansion of rules in bbdb-auto-notes

2011-05-07 Thread Roland Winkler
Thanks for the bug report fix. - Expansion of bbdb-auto-notes-rules looks cheap operation to me so caching is unnecessary. Not worth the trouble of user having to remember changing bbdb-auto-notes-rules-expanded to nil whenever they change bbdb-auto-notes-rules. I guess this might

[BBDB] ChangeLog 2011-05-08

2011-05-07 Thread Roland Winkler
* lisp/bbdb-mua.el (bbdb-auto-notes): Fix typo 2011-05-07 Roland Winkler wink...@gnu.org * lisp/bbdb-com.el (bbdb-display-current-record): New command. (bbdb-display-all-records): Improve docstring. * lisp/bbdb.el (bbdb-mode-map): Key bindings for bbdb

Re: Preserve current record in bbdb-display-all-records

2011-05-07 Thread Roland Winkler
On Sat Apr 30 2011 Leo wrote: Thanks for this. I didn't know about it. But somehow I still need the sit-for. This is the patch I am using now: That's strange. I do not quite understand this either. (sit-for 0) really means a call of redisplay. Why is this needed here? I thought maybe we need

Re: bbdb external interface

2011-05-07 Thread Roland Winkler
On Thu May 5 2011 Abhi Yerra wrote: Since we live in a world where a majority of us rely on external directory stores (LDAP, Google Contacts, etc.) would it be beneficial to have a plugin architecture to access these external stores? This was discussed recently on this list. -- Priorities for

Re: bbdb and latex

2011-05-05 Thread Roland Winkler
On Thu May 5 2011 Marco Wahl wrote: I tried out the bbdb-print function together with latex for getting a nice list of the bbdb records. As suggested in bbdb-print.el I used the tex-files bbdb-print.tex, bbdb-print-brief.tex, and bbdb-cols.tex (from bbdb.cvs.sourceforge.net). But this does

Re: bbdb and latex

2011-05-05 Thread Roland Winkler
On Thu May 5 2011 Marco Wahl wrote: Just for the record: with the environment here (emacs24, TeX 3.1415926 (TeX Live 2010/Arch Linux)) tex could not handle the line \catcode`ß=\active\chardefß=FF Tex compiles when this line is deleted. Thanks. Indeed, this line could be a relict from old

Re: [PATCH] Default to current record in bbdb-completing-read-records

2011-04-29 Thread Roland Winkler
On Fri Apr 29 2011 Leo wrote: From 97e6adcdd8813d9f857972f0e5f5ba5bbb2fc406 Mon Sep 17 00:00:00 2001 Date: Fri, 29 Apr 2011 14:41:51 +0800 Subject: [PATCH] Default to current record in bbdb-completing-read-records For example, this is useful for `/ 1' to quickly limit to current record. I

Re: Preserve current record in bbdb-display-all-records

2011-04-29 Thread Roland Winkler
On Fri Apr 29 2011 Leo wrote: I think bbdb should remain at current-record when bbdb-display-all-records. The following is my naive attempt. `naive' in that I don't like invoking (sit-for 0), which causes flickering but without it `search-forward' can fail. Ideas? Why do you need the

Re: Replace S- key with /-

2011-04-25 Thread Roland Winkler
On Mon Apr 25 2011 Leo wrote: I propose replace the S- prefix key with /- in these commands: Major Mode Bindings Starting With S: I agree that it might be useful if at some point all keybindings of BBDB get reviewed. Yet I was wondering: what is the rationale for your proposal? (Some

Re: TAB should move from field to field

2011-04-25 Thread Roland Winkler
On Mon Apr 25 2011 Stefan Monnier wrote: I'd personally even prefer if fields work as sexp, so I can just use M-C-SPC to mark a few fields and then M-w to copy them. I.e. hooking into forward-sexp-function would suit my fingers. Interesting idea - though admittedly I don't know yet how this

Re: mail administrivia

2011-04-25 Thread Roland Winkler
On Thu Apr 21 2011 Sam Steingold wrote: * Ted Zlatanov g...@yvsrybtf.pbz [2011-04-21 13:20:30 -0500]: On Thu, 21 Apr 2011 11:10:24 -0400 Sam Steingold s...@gnu.org wrote: * Ted Zlatanov g...@yvsrybtf.pbz [2011-04-18 11:03:57 -0500]: - set up a bbdb-vcs list for commit messages

Re: What's the intention of the DEGREE field?

2011-04-24 Thread Roland Winkler
On Sun Apr 24 2011 Leo wrote: On 2011-04-23 04:34 +0800, Roland Winkler wrote: I am tempted to say that all this can easily become fairly complicated depending on the cultural habits for which you want to use such a scheme, so that at best it will always only make a few people happy

Re: What's the intention of the DEGREE field?

2011-04-24 Thread Roland Winkler
On Sun Apr 24 2011 Roland Winkler wrote: The degree field could be renamed to a more generic affix, which, as I said, is a list of subfields anyway. The display of both the name field and the degree / affix field are handled by the function bbdb-display-name-organization. So if you like, you

Re: What's the intention of the DEGREE field?

2011-04-24 Thread Roland Winkler
On Sat Apr 23 2011 Leo wrote: On 2011-04-22 23:36 +0800, Roland Winkler wrote: A rather different question is more related to the BBDB internals. In BDBB, names are entered into a hash table that is used for things like completion (which, by the way, would also become much more complicated

Re: TAB should move from field to field

2011-04-24 Thread Roland Winkler
On Sun Apr 24 2011 Ted Zlatanov wrote: I'd use `p' and `n' to move between records and TAB only between fields of a record. That way when you lean on TAB you don't get surprised, and if you're on the last field you can go to the first one in a circular way. To the best of my knowledge, none

Re: TAB should move from field to field

2011-04-23 Thread Roland Winkler
On Sat Apr 23 2011 Leo wrote: I have one suggestion. I think making TAB move from field to field is useful. For example, in the following record, assume point at `R'ichard, TAB could move from R - F - m - n - next record Sounds like a good idea. Yet all fields except for the name field are

Re: TAB should move from field to field

2011-04-23 Thread Roland Winkler
On Sun Apr 24 2011 Eric Abrahamsen wrote: If I could add a rider request to this, it would be great to have a single key command to copy the field contents to the kill ring (the way 'M' does now for the primary mail address). I often need to copy people's details to other places, and every

Re: TAB should move from field to field

2011-04-23 Thread Roland Winkler
On Sun Apr 24 2011 Eric Abrahamsen wrote: Seems like preserving line breaks in multi-line fields (and removing any left-hand whitespace) would be all the formatting you'd need Well, I guess that extracting the field from the database with just some base formatting should be a yet shorter way

Re: What's the intention of the DEGREE field?

2011-04-22 Thread Roland Winkler
On Fri Apr 22 2011 Leo wrote: As stated in the subject line. Good catch! The degree field is possibly not named in the best way. For me, the motivation has been in academics (which is a significant part of my bbdb database). Yet I could envision other uses, too. I still find the firstname +

Re: What's the intention of the DEGREE field?

2011-04-22 Thread Roland Winkler
On Sat Apr 23 2011 Leo wrote: On 2011-04-23 03:52 +0800, Sam Steingold wrote: there can be only one prefix but many suffixes, right? I suggest keeping them in a list where first is the prefix and rest are the suffixes, so that simple records without any prefixes suffixes will have just

Re: differentiate 1 and 1.0 in bbdb-pop-up-window-size

2011-04-21 Thread Roland Winkler
On Thu Apr 21 2011 Leo wrote: I propose the following small improvement. - (if (= bbdb-pop-up-window-size 1) + (if (eql bbdb-pop-up-window-size 1.0) ...so that an integer value of 1 gives one line (useful for one-line layout) whereas 1.0 corresponds to a switch-to-buffer.

Re: mail administrivia

2011-04-19 Thread Roland Winkler
On Tue Apr 19 2011 Ted Zlatanov wrote: If you send 3 warnings (1 per week) before disabling the sourceforge.net mailing list (making it just a forward address), I think that's sufficient. We'll set up the new list on Gmane to feed into the same gmane.emacs.bbdb.user newsgroup so people

Re: Is the feature to add/update record when sending emails useful?

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Leo wrote: On 2011-04-17 07:18 +0800, Roland Winkler wrote: I am sorry, it's not clear to me what you want to say here. The new BBDB treats outgoing messages (i.e., Emacs message and mail mode) like incoming messages in your Emacs MUA (Gnus, Rmail, VM, etc). So you can

Re: Is the feature to add/update record when sending emails useful?

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Leo wrote: On 2011-04-17 07:18 +0800, Roland Winkler wrote: I am sorry, it's not clear to me what you want to say here. The new BBDB treats outgoing messages (i.e., Emacs message and mail mode) like incoming messages in your Emacs MUA (Gnus, Rmail, VM, etc). So you can

Re: [BBDB] ChangLog 2011-04-16

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Ted Zlatanov wrote: The GNU ELPA is only intended for Emacs 24 and higher. Great, thanks. Next week I'll push my old code for Emacs 27.2 to GNU ELPA. It's already somewhat bit-rotten, but maybe some people can still find a way how to revive it! Roland

Re: [BBDB] ChangLog 2011-04-16

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Sam Steingold wrote: Now bbdb-mode is also derived from special-mode. I think this make bbdb-mode-map inherit from special-mode-map automatically. I do not know if this could work (suggestions welcome). PS. please add me (sds) to bbdb savannah. I have contributed to

Re: [BBDB] Contributing to the new BBDB

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Ted Zlatanov wrote: RW Ted Zlatanov has kindly agreed to help collecting these copyright RW assignments. Honestly, right now we really do not yet have an RW overview who has contributed what to BBDB. The more we are able to RW unfold these things, we'll try to contact the

Re: Replace bbdb-defstruct with defstruct?

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Sam Steingold wrote: The following message is a courtesy copy of an article that has been posted to gmane.emacs.bbdb.user as well. * Roland Winkler jvax...@tah.bet [2011-04-16 18:19:20 -0500]: On Fri Apr 15 2011 Leo wrote: I wonder if it makes sense to replace bbdb

Re: mail administrivia (was: [BBDB] ChangLog 2011-04-16 (addendum))

2011-04-18 Thread Roland Winkler
On Mon Apr 18 2011 Ted Zlatanov wrote: On Sat, 16 Apr 2011 22:18:45 -0500 Roland Winkler wink...@gnu.org wrote: RW Two many changes today. I lost track! RW 2011-04-16 Roland Winkler wink...@gnu.org RW * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use defvar. I think Savannah

Re: [BBDB] Changelog 2010-04-10

2011-04-17 Thread Roland Winkler
On Sun Apr 17 2011 Nix wrote: (Actually I went further and had it work for each message *for each function*, so if you put it on the hook a dozen times it still only got called once. But this is a useless and arguably confusing side-effect of the behaviour I really wanted. If you only want

Re: [BBDB] builtbot

2011-04-17 Thread Roland Winkler
On Sun Apr 17 2011 Didier Verna wrote: Roland Winkler wink...@gnu.org wrote: Is anybody interested in working on the XEmacs stuff? I do not know about XEmacs. My schedule is pretty hectic these days but I will at some point. I've already downloaded the new BBDB but it doesn't

Re: [BBDB] ChangLog 2011-04-16

2011-04-17 Thread Roland Winkler
On Sun Apr 17 2011 David Engster wrote: Roland Winkler writes: I extended (and fixed) this patch to inherit from special-mode. Now bbdb-mode is also derived from special-mode. Note that Emacs v22 doesn't have special-mode, so this change will make it break on that version (or earlier

[BBDB] ChangLog 2011-04-16

2011-04-16 Thread Roland Winkler
below. I have not yet figured out what I need to do in order to update the bug tracker accordingly.) 2011-04-16 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-time-stamp-format): Includes timezone info. 2011-04-16 Roland Winkler wink...@gnu.org * TODO: New file. 2011-04

[BBDB] Contributing to the new BBDB

2011-04-16 Thread Roland Winkler
Several people on this list have started to contribute to the new BBDB in one or the other way. I am quite happy to see that! I'd like to outline my view / strategy for that: I'd be happy to see a proper release of the new BBDB in the not to far future. To make BBDB really free software, I'd

Re: Is the feature to add/update record when sending emails useful?

2011-04-16 Thread Roland Winkler
On Fri Apr 15 2011 Leo wrote: I personally haven't used this much in Emacs. But since gmail does this and I have found it useful at times, I wonder if this feature should be part of the bbdb-mua feature set. I am sorry, it's not clear to me what you want to say here. The new BBDB treats

Re: Replace bbdb-defstruct with defstruct?

2011-04-16 Thread Roland Winkler
On Fri Apr 15 2011 Leo wrote: I wonder if it makes sense to replace bbdb-defstruct with defstruct? What benefit(s) would you expect from that? I guess that bbdb-defstruct is about as efficient and effective as possible for the needs of BBDB. Roland

Re: Non-nil default value in hook variables

2011-04-16 Thread Roland Winkler
On Fri Apr 15 2011 Leo wrote: When people use add-hook they think they are adding another function to a hook so if this isn't the case it will surprise them. People who are setting hook to nil is in a different thinking. There are add-hook and remove-hook. The latter fails (now) if you want to

Re: [BBDB] Changelog 2010-04-10

2011-04-16 Thread Roland Winkler
On Mon Apr 11 2011 Nix wrote: On 11 Apr 2011, Roland Winkler told this: - Finally, I fixed various bugs and improved the documentation. I just noticed that BBDB development has restarted. Unfortunately BBDB 3.0 has removed a good few features, including one I definitely rely on: bbdb

[BBDB] builtbot (was: bbdb-mode-map should inherit from special-mode-map)

2011-04-16 Thread Roland Winkler
On Thu Apr 14 2011 David Engster wrote: I shortly tested compilation, and it works more or less fine for GNU Emacs22 to the latest GNU emacs-snapshot. XEmacs is another matter, though. I attached the current logs for XEmacs 21.4 and 21.5. Note that your 'PUSHPATH' eval doesn't work for

Re: [BBDB] Changelog 2010-04-10

2011-04-16 Thread Roland Winkler
On Sun Apr 17 2011 Nix wrote: (I'll also see if bbdb-expire works with v3.0x and make it work if it doesn't.) I believe this was some kind of add-on for BBDB. It was, making heavy use of advisements to do its job. If it isn't broken I'd be astonished. :) If possible, I'd like to avoid

Re: [BBDB] Changelog 2010-04-10

2011-04-16 Thread Roland Winkler
On Sun Apr 17 2011 Nix wrote: We could do the same job with a new hook which is called only once per record, no matter how many times it is spotted by a given call to bbdb-update-records, or with a new guarantee that the bbdb-notice-hook would only fire once per record per call to

Re: [BBDB] ChangLog 2011-04-16 (addendum)

2011-04-16 Thread Roland Winkler
Two many changes today. I lost track! 2011-04-16 Roland Winkler wink...@gnu.org * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use defvar. -- Benefiting from Server Virtualization: Beyond Initial

Re: bbdb-mode-map should inherit from special-mode-map

2011-04-14 Thread Roland Winkler
On Thu Apr 14 2011 Ted Zlatanov wrote: On Wed, 13 Apr 2011 14:47:11 -0500 Roland Winkler wink...@gnu.org wrote: RW On Wed Apr 13 2011 Ted Zlatanov wrote: It should be possible to support at least Emacs 23.x and XEmacs. Gnus does it so we can look there for potential problems

Re: Non-nil default value in hook variables

2011-04-14 Thread Roland Winkler
On Fri Apr 15 2011 Leo wrote: I suggest change all these defcustom instances something like: (defcustom bbdb-create-hook nil :group 'bbdb :type 'hook) (add-hook 'bbdb-create-hook 'bbdb-creation-date) Agreed and thanks, that looks much cleaner! Roland

Re: Non-nil default value in hook variables

2011-04-14 Thread Roland Winkler
On Thu Apr 14 2011 Stefan Monnier wrote: I suggest change all these defcustom instances something like: (defcustom bbdb-create-hook nil :group 'bbdb :type 'hook) (add-hook 'bbdb-create-hook 'bbdb-creation-date) Agreed and thanks, that looks much cleaner! But then don't define

Re: Non-nil default value in hook variables

2011-04-14 Thread Roland Winkler
On Thu Apr 14 2011 Stefan Monnier wrote: I suggest change all these defcustom instances something like: (defcustom bbdb-create-hook nil :group 'bbdb :type 'hook) (add-hook 'bbdb-create-hook 'bbdb-creation-date) Agreed and thanks, that looks much cleaner! But then don't define

Re: [BBDB] Changelog 2010-04-10

2011-04-13 Thread Roland Winkler
On Mon Apr 11 2011 Sam Steingold wrote: you might consider putting the todo list into the git repo It'll come soon. On a similar note, I tried the new bbdb (from git) today and it does not look ready for prime time yet. Specifically, in gnus, when the address is marked with * (i.e., bbdb

Re: not noticing entries

2011-04-13 Thread Roland Winkler
On Tue Apr 12 2011 Sam Steingold wrote: with 2.36 devo I noticed some very weird behavior: in gnus, when I see a message from a known user (with the real name in the message being an AKA), it is _not_ marked with * and bbdb window is _not_ shown, and when I hit : a new bbdb record is created

Re: [BBDB] Changelog 2010-04-10

2011-04-13 Thread Roland Winkler
On Mon Apr 11 2011 Sam Steingold wrote: here is an addition: http://article.gmane.org/gmane.emacs.bbdb.user:1689 From: Sam Steingold s...@gnu.org Subject: Make John an alternate for John Doe? (y or n) Newsgroups: gmane.emacs.bbdb.user Date: Thu, 14 Jul 2005 17:37:35 -0400 (5 years, 38

Re: bbdb-mode-map should inherit from special-mode-map

2011-04-13 Thread Roland Winkler
On Wed Apr 13 2011 Sam Steingold wrote: * Stefan Monnier zbaa...@veb.hzbagerny.pn [2011-04-13 12:32:42 -0300]: + (when (boundp 'revert-buffer-function) +(setq revert-buffer-function 'bbdb-revert-buffer)) I recommend to use (set (make-local-variable foo) bar) when setting a

Re: not noticing entries

2011-04-13 Thread Roland Winkler
On Wed Apr 13 2011 Barak A. Pearlmutter wrote: There have been a bunch of hacks in git for the debian bbdb 2.x package, including a bunch of bug fixes. Can you check if the problem still appears there? git clone git://github.com/barak/BBDB.git will give you the tip of that development

Re: bbdb-mode-map should inherit from special-mode-map

2011-04-13 Thread Roland Winkler
On Wed Apr 13 2011 Ted Zlatanov wrote: It should be possible to support at least Emacs 23.x and XEmacs. Gnus does it so we can look there for potential problems and solutions. You could ask David Engster d...@randomsample.de, who's setting up a Gnus buildbot, to do the same for BBDB.

[BBDB] ChangeLog 2011-04-11 (was: bbdb-hashtable ...)

2011-04-11 Thread Roland Winkler
, this is hopefully fixed by now.) There might be other commands lacking such a call of bbdb-records. Bug reports welcome. 2011-04-11 Roland Winkler wink...@gnu.org * lisp/bbdb-com.el (bbdb-complete-mail): Ensure initialization of the database. BBDB is avaiable at http

Re: [BBDB] Changelog 2010-04-10

2011-04-11 Thread Roland Winkler
On Mon Apr 11 2011 Sam Steingold wrote: small compilation warning fix: diff --git a/lisp/bbdb-com.el b/lisp/bbdb-com.el index 3c23b2b..d50be0a 100644 --- a/lisp/bbdb-com.el +++ b/lisp/bbdb-com.el @@ -26,6 +26,7 @@ (require 'mailabbrev) (eval-and-compile + (autoload

Re: [BBDB] Changelog 2010-04-10

2011-04-11 Thread Roland Winkler
On Mon Apr 11 2011 Sam Steingold wrote: * Roland Winkler jvax...@tah.bet [2011-04-11 10:04:28 -0500]: Thanks for the report, though I am surprised: with my GNU Emacs 23.3.1 browse-url-url-at-point is anyway an autoloaded function. Which version of emacs are you using? bzr tip; just

Re: [BBDB] Changelog 2010-04-10

2011-04-11 Thread Roland Winkler
On Mon Apr 11 2011 Ted Zlatanov wrote: RW I just submitted a new set of changes for BBDB. RW First of all, the most noteworthy change is that BBDB has been RW transfered from CVS to git. So for anonymous checkout, you should RW now use RW git clone git://git.savannah.nongnu.org/bbdb.git

Re: [BBDB] Changelog 2010-04-10

2011-04-11 Thread Roland Winkler
On Mon Apr 11 2011 Sam Steingold wrote: I started using bbdb about 15 years ago and I accumulated a fairly large .bbdb file. Some records there are not relevant to me all that much (a coworker from 10 years ago), so, on one hand, I do not want to remove the record (or its parts, like address,

<    1   2   3   4   5   6   >