Re: BBDB release? [was: Fixing completion cycles]
Release. I've been using v3 for some time and it works very well for me. Bringing more users in will also show /where/ documentation is needed most, once the 10 most FAQ on the list are dealt with, 80% of the documentation effort will already be done. -- Philipp Haselwarter -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Completing records with organization field
Hi, I got some weird behavior in bbdb3: When I try to complete entries without organization everything is normal, I get FirstName LastName mail , but on entries that have an organization set I just get mail . I don't suppose this is a feature? Or did I miss some customization variable? BBDB version 3.02 ($Date: 2011/10/10 18:04:34 $) No Gnus v0.18 GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.8) -- Philipp Haselwarter -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Completing records with organization field
Roland Winkler wink...@gnu.org writes: On Sun Nov 20 2011 Philipp Haselwarter wrote: I got some weird behavior in bbdb3: When I try to complete entries without organization everything is normal, I get FirstName LastName mail , but on entries that have an organization set I just get mail . I don't suppose this is a feature? Or did I miss some customization variable? I guess you need to be more specific here. What command do you execute under what circumstances? What are your BBDB settings? If the command was bbdb-complete-mail, I do not quite see how you could get a mail address not surrounded by (Your mail says that instead you had NO-BREAK SPACEs, which is yet more strange. BBDB does not deal with the NO-BREAK SPACE character anywhere.) Roland I put in the NO-BREAK SPACE to avoid formatting quirks and ambiguity around the quotation marks, didn't actually avoid confusion, huh? :) I attached an example bbdb file with a few entries and a recipe to reproduce the behavior. The steps are: --8---cut here---start-8--- mkdir fakehome # install bbdb into fakehome/lisp cp .bbdb recipe.el fakehome cd fakehome HOME=$(pwd) emacs -Q -l recipe.el --8---cut here---end---8--- Most of the contacts offer just the mail address on as completion: --8---cut here---start-8--- In this buffer, type RET to select the completion near point. Possible completions are: alice@mail.org james.sm...@mail.org Emmanuel Leblanc manu.lebl...@mail.com emmanuel@uni.frAnon Ymos a...@ymos.com jane@mail.org --8---cut here---end---8--- Tested with GNU Emacs 24.0.91.1 and 23.3.1 -- Philipp Haselwarter .bbdb Description: Binary data recipe.el Description: application/emacs-lisp -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Completing records with organization field
Roland Winkler wink...@gnu.org writes: On Sun Nov 20 2011 Philipp Haselwarter wrote: When I try to complete entries without organization everything is normal, I get FirstName LastName mail , but on entries that have an organization set I just get mail . I attached an example bbdb file with a few entries and a recipe to reproduce the behavior. Possible completions are: alice@mail.org james.sm...@mail.org Emmanuel Leblanc manu.lebl...@mail.com emmanuel@uni.frAnon Ymos a...@ymos.com jane@mail.org I am sorry, this has nothing to do with the organization field. Yea, I saw that… For example, Alice Doe does not have an organization field. What matters is that some names are also part of the email address. It seems you want bbdb-mail-allow-redundancy set to t. That does precisely what I want! Actually, I do not know why this variable's default is nil (well, I guess its default was always nil...) Would anybody mind if I set it to t? I guess that's more often matching the users' expectations. Roland I'd strongly recommend changing the default, the way it is now is highly counter-intuitive (for me) and as often, it's hard to find the right option if you don't know what you're looking for (in my case the only obvious difference between the contacts the organization). thanks, -- Philipp Haselwarter -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
vcard support for bbdb3
Hey, are there currently any efforts/plans to get vcard support into the bbdb3 series? I see that Leo has added an entry to the TODO list, but unfortunately it doesn't look like anyone got around to tackle this yet. Bert Burgemeister's bbdb-vcard.el (http://github.com/trebb/bbdb-vcard) appears quite feature rich but didn't work for me (I guess `bbdb-do-all-records-p' and friends are bbdb2?), maybe it could be updated to work with v3 without too much effort. -- Philipp Haselwarter -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: ChangeLog 2011-01-16
RW == Roland Winkler wink...@gnu.org writes: ---8---[snipped 22 lines]---8--- RW * lisp/Makefile: In bbdb-autloads.el, add BBDB lisp directory to RW load-path. ---8---[snipped 18 lines]---8--- You forgot to add -e to the echo to make it expand the \n into a newline. --- a/Makefile 2011-01-17 14:17:43.0 +0100 +++ b/Makefile 2011-01-17 14:25:50.843848813 +0100 @@ -89,7 +89,7 @@ @-$(RM) $@; @echo (provide 'bbdb-autoloads) $@; @echo (if (and load-file-name (file-name-directory load-file-name)) $@; - @echo (add-to-list 'load-path (file-name-directory load-file-name)))\n $@; + @echo -e (add-to-list 'load-path (file-name-directory load-file-name)))\n $@; @echo $@; @$(emacs) -batch -l autoload \ --eval '(setq generated-autoload-file '`pwd`'/$@)' \ -- Philipp Haselwarter -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Usability of 3.02 - gnus, message
Hi again, thanks for fixing the issue with 'search. But as it stands, bbdb3 is not working very well for me: a) when I'm in the summary buffer (gnus) and hit ':', `bbdb-mua-display-sender' gets called, now without error, but nothing happens. I have `bbdb-update-records-p' set to the 'query lambda form, also tried it with 'create, no different. Shouldn't I get queried if I want to add the entry to the db? Wasn't there even a setting that allowed to get queried for every mail I receive? b) tab-completion for mail addresses seems broken. In message-mode, TAB is bound to `message-tab', which ends up looking for `bbdb-complete-name' (cf. `message-expand-name'). This is unbound, so no bbdb completion happens. I'm not familiar with previous versions of bbdb, but I guess `bbdb-complete-name' used to be what `bbdb-complete-mail' is now? I don't know about the motivation for the renaming, but the problem can be resolved with a simple --8---cut here---start-8--- (defalias 'bbdb-complete-name 'bbdb-complete-mail) --8---cut here---end---8--- As I don't know about previous usage of bbdb-complete-name, I'm not sure this is a sane solution (might introduce trouble elsewhere?) -- Philipp Haselwarter -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
[feature/bug] bbdb-update-records / search
Hi, I'm trying to get bbdb3 working and I came across a (potential) bug. When I'm in the summary-buffer and I hit ':' to run `bbdb-mua-display-sender', I get an error. The relevant code is in bbdb-mua.el at `bbdb-update-records' line 206: , | (if (functionp update-p) | (setq update-p (funcall update-p))) ` If 'cl is loaded, `search' is a function, which gets called with no arguments here: , | search is a compiled Lisp function in `cl-seq.el'. | | (search SEQ1 SEQ2 [KEYWORD VALUE]...) ` Here's the backtrace: Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (cl-seq1 cl-seq2 rest cl-keys) Search for SEQ1 as a subsequence of SEQ2. Return the index of the leftmost element of the first match found; return nil if there are no matches. Keywords supported: :test :test-not :key :start1 :end1 :start2 :end2 :from-end (fn SEQ1 SEQ2 [KEYWORD VALUE]...) (cl-parsing-keywords (:test :test-not :key :from-end (:start1 0) :end1 (:start2 0) :end2) nil (or cl-end1 (setq cl-end1 (length cl-seq1))) (or cl-end2 (setq cl-end2 (length cl-seq2))) (if (= cl-start1 cl-end1) (if cl-from-end cl-end2 cl-start2) (let* ((cl-len (- cl-end1 cl-start1)) (cl-first (cl-check-key (elt cl-seq1 cl-start1))) (cl-if nil) cl-pos) (setq cl-end2 (- cl-end2 (1- cl-len))) (while (and ( cl-start2 cl-end2) (setq cl-pos (cl-position cl-first cl-seq2 cl-start2 cl-end2 cl-from-end)) (apply (quote mismatch) cl-seq1 cl-seq2 :start1 (1+ cl-start1) :end1 cl-end1 :start2 (1+ cl-pos) :end2 (+ cl-pos cl-len) :from-end nil cl-keys)) (if cl-from-end (setq cl-end2 cl-pos) (setq cl-start2 (1+ cl-pos (and ( cl-start2 cl-end2) cl-pos) 0) search() funcall(search) (setq update-p (funcall update-p)) (if (functionp update-p) (setq update-p (funcall update-p))) bbdb-update-records(nil search nil) (cond ((eq mua (quote vm)) (vm-select-folder-buffer) (vm-check-for-killed-summary) (vm-error-if-folder-empty) (let ((enable-local-variables t)) (bbdb-update-records (bbdb-get-address-components header-class) update-p (car vm-message-pointer ((eq mua (quote gnus)) (bbdb-update-records (bbdb-get-address-components header-class) update-p (bbdb-message-header Message-ID))) ((eq mua (quote mh)) (if mh-show-buffer (set-buffer mh-show-buffer)) (bbdb-update-records (bbdb-get-address-components header-class) update-p (bbdb-message-header Message-ID))) ((eq mua (quote rmail)) (if (and (boundp (quote rmail-buffer)) rmail-buffer) (set-buffer rmail-buffer) (error Not in an rmail buffer)) (when rmail-current-message (bbdb-update-records (bbdb-get-address-components header-class) update-p (bbdb-message-header Message-ID ((member mua (quote (message mail))) (bbdb-update-records (bbdb-get-address-components header-class) update-p))) (let ((mua (bbdb-mua))) (cond ((eq mua (quote vm)) (vm-select-folder-buffer) (vm-check-for-killed-summary) (vm-error-if-folder-empty) (let ((enable-local-variables t)) (bbdb-update-records (bbdb-get-address-components header-class) update-p (car vm-message-pointer ((eq mua (quote gnus)) (bbdb-update-records (bbdb-get-address-components header-class) update-p (bbdb-message-header Message-ID))) ((eq mua (quote mh)) (if mh-show-buffer (set-buffer mh-show-buffer)) (bbdb-update-records (bbdb-get-address-components header-class) update-p (bbdb-message-header Message-ID))) ((eq mua (quote rmail)) (if (and (boundp (quote rmail-buffer)) rmail-buffer) (set-buffer rmail-buffer) (error Not in an rmail buffer)) (when rmail-current-message (bbdb-update-records (bbdb-get-address-components header-class) update-p (bbdb-message-header Message-ID ((member mua (quote (message mail))) (bbdb-update-records (bbdb-get-address-components header-class) update-p bbdb-mua-update-records(sender search) (let ((records (bbdb-mua-update-records header-class update-p))) (if records (bbdb-display-records-internal records)) records) (save-current-buffer (bbdb-mua-update-mua) (let ((records (bbdb-mua-update-records header-class update-p))) (if records (bbdb-display-records-internal records)) records)) bbdb-mua-display-records(sender search) bbdb-mua-display-sender(search) call-interactively(bbdb-mua-display-sender nil nil) When I prefix `bbdb-mua-display-sender', it gets called with 'query instead of 'search and appears to work (ie no errors). -- Philipp Haselwarter -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/