Re: not noticing entries
* Sam Steingold f...@tah.bet [2011-04-12 10:45:54 -0400]: with 2.36 devo I noticed some very weird behavior: when I hit : a new bbdb record is created _without_ any net field. I see it now all the time with all new records. net field is not filled. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://palestinefacts.org http://openvotingconsortium.org http://ffii.org http://pmw.org.il http://truepeace.org http://honestreporting.com Those who can laugh at themselves will never cease to be amused. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Changelog 2010-04-10
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 knows about it), *bbdb* buffer is not displayed; and when I hit : the *bbdb* window takes half the frame instead of 4 lines (and sometimes it is now displayed at all). on a positive note, I like the highlighting and omitting some fields (although I want to be able to toggle their visibility). All these things can be customized. And the todo list contains the item: ** Facilitate update BBDB v2.x to v3 Roland -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: not noticing entries
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 _without_ any net field (because, apparently, there already is a record with this address). what is going on? Barak, Is 2.36 devo on git somewhere (I cannot find it right now). In any case, I believe it stems from your (old) debian support for bbdb. Is it correct to say that there are no intentions to continue development of this branch, at least to the extent we are aware of? (Does git allow one to add such a comment that a certain branch is kept only for historical reasons, but it is not maintained anymore?) Roland -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Changelog 2010-04-10
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 weeks, 4 days ago) when I have an entry John Doe net: j...@foo.bar.com and I stumble upon a message From: John j...@foo.bar.com I am asked the above question: Make John an alternate for John Doe? (y or n) I don't think this makes any sense. Maybe the user names in net should be consulted in addition to AKA and name before asking whether John is a good alternative? I think bbdb-use-alternate-names should help you here. Roland -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Changelog 2010-04-10
* Roland Winkler jvax...@tah.bet [2011-04-13 10:00:04 -0500]: 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 weeks, 4 days ago) when I have an entry John Doe net: j...@foo.bar.com and I stumble upon a message From: John j...@foo.bar.com I am asked the above question: Make John an alternate for John Doe? (y or n) I don't think this makes any sense. Maybe the user names in net should be consulted in addition to AKA and name before asking whether John is a good alternative? I think bbdb-use-alternate-names should help you here. This variable is t (and always has been). Are you suggesting that I add all usernames to the AKA field? (it already has John Public, John Q Public, John Q. Public c; it would be nice if it were not necessary...) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://jihadwatch.org http://openvotingconsortium.org http://truepeace.org http://honestreporting.com http://mideasttruth.com Good judgment comes from experience and experience comes from bad judgment. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: not noticing entries
* Roland Winkler jvax...@tah.bet [2011-04-13 09:59:40 -0500]: Is 2.36 devo on git somewhere (I cannot find it right now). this is cvs head. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://memri.org http://camera.org http://pmw.org.il http://truepeace.org http://ffii.org http://honestreporting.com You cannot fire me. Slaves are not fired. Slaves are sold. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Changelog 2010-04-10
* Roland Winkler jvax...@tah.bet [2011-04-13 09:54:15 -0500]: 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 knows about it), *bbdb* buffer is not displayed; and when I hit : the *bbdb* window takes half the frame instead of 4 lines (and sometimes it is not displayed at all). on a positive note, I like the highlighting and omitting some fields (although I want to be able to toggle their visibility). All these things can be customized. Yes, it was customized before, and it no longer works as it worked before. ** Facilitate update BBDB v2.x to v3 Thanks. you might want to elaborate what it means (e.g., add make-obsolete for all renamed variables) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://dhimmi.com http://camera.org http://www.memritv.org http://iris.org.il http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ A poet who reads his verse in public may have other nasty habits. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
bbdb-mode-map should inherit from special-mode-map
2011-04-13 Sam Steingold s...@gnu.org * bbdb.el (bbdb-mode-map): inherit from `special-mode-map' (bbdb-mode): set `revert-buffer-function' diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 74f3cfc..ad7e966 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -1366,7 +1366,9 @@ APPEND and INVERT appear in the message area.) ;;; Keymap (defvar bbdb-mode-map (let ((km (make-sparse-keymap))) -(suppress-keymap km) +(if (and (fboundp 'set-keymap-parent) (boundp 'special-mode-map)) +(set-keymap-parent km special-mode-map) +(suppress-keymap km)) (define-key km * 'bbdb-do-all-records) (define-key km + 'bbdb-append-display) (define-key km ! 'bbdb-search-invert) @@ -1387,7 +1389,8 @@ APPEND and INVERT appear in the message area.) (define-key km m 'bbdb-mail) (define-key km M 'bbdb-mail-address) (define-key km \M-d 'bbdb-dial) -(define-key km g 'bbdb-revert-buffer) +(unless (boundp 'revert-buffer-function) + (define-key km g'bbdb-revert-buffer)) (define-key km h 'bbdb-info) (define-key km ? 'bbdb-help) (define-key km q 'bbdb-bury-buffer) @@ -3107,6 +3110,8 @@ There are numerous hooks. M-x apropos ^bbdb.*hook RET mode-line-modified '(bbdb-read-only (bbdb-modified %* %%) (bbdb-modified ** --))) + (when (boundp 'revert-buffer-function) +(setq revert-buffer-function 'bbdb-revert-buffer)) (add-hook 'post-command-hook 'force-mode-line-update nil t) (use-local-map bbdb-mode-map) (run-hooks 'bbdb-mode-hook)) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://honestreporting.com http://memri.org http://iris.org.il http://www.memritv.org http://www.PetitionOnline.com/tap12009/ As a computer, I find your faith in technology amusing. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
* 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 buffer-local variable, even if you know that the variable is automatically buffer-local. One of the benefits is that you don't need to check `boundp' in that case. I check for `boundp' because bbdb might be supposed to work on emacsen which may lack `revert-buffer-function'. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://www.PetitionOnline.com/tap12009/ http://honestreporting.com http://camera.org http://mideasttruth.com http://memri.org In the race between idiot-proof software and idiots, the idiots are winning. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
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 buffer-local variable, even if you know that the variable is automatically buffer-local. One of the benefits is that you don't need to check `boundp' in that case. I check for `boundp' because bbdb might be supposed to work on emacsen which may lack `revert-buffer-function'. Just curious: which dialect of emacs do you have in mind here? Is there anything else in BBDB that would work with this emacs dialect? All my BBDB hacking assumes a recent version of GNU emacs. I do not want to exclude any other dialects of emacs here. But they would most likely require a more systematic overhaul of all code. In that sense, I am a bit hesitant to add support for something that is not spelled out and not done systematically. Roland -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
+ (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 buffer-local variable, even if you know that the variable is automatically buffer-local. One of the benefits is that you don't need to check `boundp' in that case. I check for `boundp' because bbdb might be supposed to work on emacsen which may lack `revert-buffer-function'. I thought so, but if you use `setq' you also need such a check to make sure the variable has been defined and its make-variable-buffer-local call happened, otherwise even if the variable is automatically buffer-local the `setq' will modify the variable globally. That's a good reason to use (set (make-local-variable foo) bar). As for whether you need `boundp' to set a variable, I think that's not the case: if your Emacs doesn't obey this variable, setting it shouldn't do any harm (it'll just be ignored). Stefan -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: not noticing entries
with 2.36 devo (AKA the head of the sourceforge CVS repo) 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 _without_ any net field (because, apparently, there already is a record with this address). what is going on? 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 branch. Or alternatively, you could download debian bbdb 2.36-2 from http://packages.debian.org/bbdb/. (In any case, given bbdb3, I'd consider bbdb 2.x to be in maintenance-only mode at this point, at best.) --Barak. -- Barak A. Pearlmutter Hamilton Institute Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland http://www.bcl.hamilton.ie/~barak/ -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: not noticing entries
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 branch. Or alternatively, you could download debian bbdb 2.36-2 from http://packages.debian.org/bbdb/. (In any case, given bbdb3, I'd consider bbdb 2.x to be in maintenance-only mode at this point, at best.) Barak, Certainly, I'd like to make sure that nothing useful is lost or forgotten due to the transition from v2.x to v3. I've never looked more careful at your repository for debian. At some point, we might want to go through it jointly to make sure that v3 has all the useful stuff from the debian repository. Roland -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
* Roland Winkler jvax...@tah.bet [2011-04-13 11:05:30 -0500]: Just curious: which dialect of emacs do you have in mind here? your predecessor removed my cvs write permissions because he thought I was not careful enough with support of ancient emacsen. this is the only reason for the checks. if you do not care about obsolete emacsen, please apply this instead. diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 74f3cfc..332d41c 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -1366,7 +1366,7 @@ APPEND and INVERT appear in the message area.) ;;; Keymap (defvar bbdb-mode-map (let ((km (make-sparse-keymap))) -(suppress-keymap km) +(set-keymap-parent km special-mode-map) (define-key km * 'bbdb-do-all-records) (define-key km + 'bbdb-append-display) (define-key km ! 'bbdb-search-invert) @@ -1387,7 +1387,6 @@ APPEND and INVERT appear in the message area.) (define-key km m 'bbdb-mail) (define-key km M 'bbdb-mail-address) (define-key km \M-d 'bbdb-dial) -(define-key km g 'bbdb-revert-buffer) (define-key km h 'bbdb-info) (define-key km ? 'bbdb-help) (define-key km q 'bbdb-bury-buffer) @@ -3107,6 +3106,8 @@ There are numerous hooks. M-x apropos ^bbdb.*hook RET mode-line-modified '(bbdb-read-only (bbdb-modified %* %%) (bbdb-modified ** --))) + (set (make-variable-buffer-local 'revert-buffer-function) + 'bbdb-revert-buffer) (add-hook 'post-command-hook 'force-mode-line-update nil t) (use-local-map bbdb-mode-map) (run-hooks 'bbdb-mode-hook)) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://ffii.org http://palestinefacts.org http://pmw.org.il http://www.memritv.org http://openvotingconsortium.org http://iris.org.il If you think big enough, you'll never have to do it. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
* Stefan Monnier zbaa...@veb.hzbagerny.pn [2011-04-13 13:10:15 -0300]: As for whether you need `boundp' to set a variable, I think that's not the case: if your Emacs doesn't obey this variable, setting it shouldn't do any harm (it'll just be ignored). of course. I just don't want to create a useless variable, that's all. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://truepeace.org http://mideasttruth.com http://iris.org.il http://honestreporting.com http://pmw.org.il http://palestinefacts.org Good: you CAN configure everything. Bad: you WILL configure everything. -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
On Wed, 13 Apr 2011 11:05:30 -0500 Roland Winkler wink...@gnu.org wrote: RW I do not want to exclude any other dialects of emacs here. But they RW would most likely require a more systematic overhaul of all code. RW In that sense, I am a bit hesitant to add support for something that RW is not spelled out and not done systematically. 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. Also you should consider using ERT to write BBDB tests which can be run by the BBDB buildbot. Ted -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mode-map should inherit from special-mode-map
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. Also you should consider using ERT to write BBDB tests which can be run by the BBDB buildbot. Sounds all quite reasonable. At the same time I need to say that my time for such things is limited. So it can happen that I might do them rather slowly or never. So: if any more experienced BBDB users / elisp programmers want to contribute, they are more than welcome! Roland PS: As I said before, for me the highest priority with BBDB are now bug fixes and a proper release (for GNU Emacs). Once this is done (which might be enough of a project for me to keep me busy for some time) I'll be happy to look into new directions. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/