Re: [BBDB] ChangeLog 2016-10-02: Use lexical binding
> * Roland Winkler <jvax...@tah.bet> [2016-10-02 00:20:17 -0500]: > > I switched to lexical binding for all elisp files of BBDB except > for bbdb-anniv.el (which relies on `diary-date-forms' that is not > compatible with lexical binding). I think if you add (defvar diary-date-forms) to bbdb-anniv.el, it will work with lexical-binding too. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1404 http://steingoldpsychology.com http://www.childpsy.net http://thereligionofpeace.com http://americancensorship.org http://www.dhimmitude.org http://think-israel.org If you want to shoot yourself, it is YOUR responsibility to wear armor. -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-notice-hook-pending
* Roland Winkler jvax...@tah.bet [2014-04-28 20:36:29 -0500]: The more I think about it the more I am convinced that there is no reason bbdb-notice-mail-hook and bbdb-notice-record-hook should treat bbdb-change-hook specially (by suppressing calls of bbdb-change-hook). does this imply that whenever I read a message from a known sender the sender's record's timestamp will be updated? -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://americancensorship.org http://memri.org http://ffii.org http://truepeace.org http://dhimmi.com A snake who stung your enemy is not necessarily your friend. -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Announcing bbdb3-csv-import
* Ian Kelling v...@vnaxryyvat.bet [2014-04-15 14:39:17 -0700]: This will mostly be useful for new users who will find this via a search engine. Any plans to turn this into a full-blown sync? What would happen if you import the same csv file twice? What if the file is slightly modified? -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://camera.org http://think-israel.org http://jihadwatch.org http://thereligionofpeace.com A man paints with his brains and not with his hands. -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Feature Freeze
* Roland Winkler jvax...@tah.bet [2014-01-12 21:08:10 -0600]: I put BBDB 3 into feature freeze. I will be grateful if, for the next four weeks, you still report bugs on this list, but I will not add new features during that time. I still cannot create nameless entries in gnus. when I hit ';' on an article from an address lacking a first/last name and agree to a new record creation, I get an error. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://americancensorship.org http://truepeace.org http://memri.org http://pmw.org.il http://honestreporting.com The early worm gets caught by the bird. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Feature Freeze
* Roland Winkler jvax...@tah.bet [2014-01-13 13:06:52 -0600]: On Mon Jan 13 2014 Sam Steingold wrote: I still cannot create nameless entries in gnus. when I hit ';' on an article from an address lacking a first/last name and agree to a new record creation, I get an error. Can you provide a testcase for this? What is the error message you get? find a message in gnus with an address which 1. is not associated with a bbdb record 2. does not have a name on it. e.g., --8---cut here---start-8--- Message-ID: 1388125924.1825.18.camel@german-desktop Subject: New package GNU FisicaLab From: Germán Arias germanan...@gmx.es To: gnu-p...@gnu.org Date: Fri, 27 Dec 2013 00:32:04 -0600 X-Mailer: Evolution 3.2.3-0ubuntu6+6.0trisquel1 Mime-Version: 1.0 X-Provags-ID: V03:K0:RFPOlt9tHxNqf39arM2yjuN3j/RdEewgSQ700n8/gFZ2bKiXWO5 qOGBvP2/fhEHAMzxmoxLAmOnrQ+bokmBVzYRvfq1/g2Yf8yU4fUIX88/+PpAYko59KP9e1z uslzHidie29+6Sr4FyDDw5ZqfmYnD6VUdhTjCIaPGT2DDEHLZp+Wf3PLDdiVeETdA7rsc+g ZNBKBcQSHW8roPy3vuIUg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Mailman-Approved-At: Fri, 27 Dec 2013 19:22:44 -0500 X-BeenThere: gnu-p...@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gnu-prog-disc...@gnu.org List-Id: GNU Maintainers Announcement List gnu-prog.gnu.org List-Unsubscribe: https://lists.gnu.org/mailman/options/gnu-prog, mailto:gnu-prog-requ...@gnu.org?subject=unsubscribe List-Archive: https://lists.gnu.org/mailman/private/gnu-prog List-Post: mailto:gnu-p...@gnu.org List-Help: mailto:gnu-prog-requ...@gnu.org?subject=help List-Subscribe: https://lists.gnu.org/mailman/listinfo/gnu-prog, mailto:gnu-prog-requ...@gnu.org?subject=subscribe Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Errors-To: gnu-prog-bounces+sds=gnu@gnu.org Sender: gnu-prog-bounces+sds=gnu@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 --8---cut here---end---8--- here is what I get: --8---cut here---start-8--- Debugger entered--Lisp error: (error Record [nil nil nil nil nil nil nil (gnu-prog-disc...@gnu.org) ((creation-date . 2014-01-13 20:22:14 +)) [#1= #1# nil (gnu-prog-disc...@gnu.org) nil nil]] does not exist) signal(error (Record [nil nil nil nil nil nil nil (gnu-prog-disc...@gnu.org) ((creation-date . 2014-01-13 20:22:14 +)) [#1= #1# nil (gnu-prog-disc...@gnu.org) nil nil]] does not exist)) error(Record %s does not exist [nil nil nil nil nil nil nil (gnu-prog-disc...@gnu.org) ((creation-date . 2014-01-13 20:22:14 +)) [#1= #1# nil (gnu-prog-disc...@gnu.org) nil nil]]) bbdb-display-records(([Germán Arias nil nil nil nil nil (germanan...@gmx.es) ((notes . GNU FisicaLab (PhysicsLab) is an educational application to solve physics problems) (url . http://www.gnu.org/software/fisicalab/;) (creation-date . 2013-12-30 23:42:46 +) (timestamp . 2013-12-30 23:43:39 +)) [Germán Arias Arias, Germán nil (germanan...@gmx.es) ariasgermán #marker at 103786 in .bbdb]] [nil nil nil nil nil nil nil (gnu-prog-disc...@gnu.org) ((creation-date . 2014-01-13 20:22:14 +)) [#1= #1# nil (gnu-prog-disc...@gnu.org) nil nil]] [nil gnu-prog-bounces nil nil nil nil nil (gnu-prog-bounces+sds=gnu@gnu.org) ((creation-date . 2014-01-13 20:22:16 +) (timestamp . 2014-01-13 20:22:16 +)) [gnu-prog-bounces gnu-prog-bounces nil (gnu-prog-bounces+sds=gnu@gnu.org) gnu-prog-bounces #marker at 358117 in .bbdb]]) nil nil nil (lambda (window) (with-current-buffer (window-buffer window) (memq major-mode (quote (gnus-summary-mode gnus-article-mode gnus-tree-mode)) bbdb-mua-edit-field(nil query sender) bbdb-mua-edit-field-sender(nil query) call-interactively(bbdb-mua-edit-field-sender nil nil) command-execute(bbdb-mua-edit-field-sender) --8---cut here---end---8--- -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://pmw.org.il http://americancensorship.org http://dhimmi.com http://camera.org http://palestinefacts.org A man paints with his brains and not with his hands. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Feature Freeze
* Roland Winkler jvax...@tah.bet [2014-01-13 16:20:41 -0600]: I am wondering: Is your installation of BBDB somehow (partially?) outdated? updating indeed fixed the problem. thanks. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://dhimmi.com http://openvotingconsortium.org http://americancensorship.org http://truepeace.org http://mideasttruth.com I haven't lost my mind -- it's backed up on tape somewhere. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: EUDC and BBDB V3
* 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 `bbdb-record-mail'. See http://www.emacswiki.org/emacs/UpgradeBBDB for more renames. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/ http://jihadwatch.org http://americancensorship.org http://honestreporting.com My other CAR is a CDR. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: weird match
* Roland Winkler jvax...@tah.bet [2012-10-18 06:51:15 -0500]: 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 rise to the behavior you observe. Roland bbdb-add-mails == sds-bbdb-add-mails bbdb-add-name == sds-bbdb-add-name (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 name)) nil) (t 'query (defun sds-bbdb-add-mails (rec mail) Decide whether to add mail to the record. (let ((old (bbdb-record-note rec 'old-net))) (if (and old (member mail (split-string old , * t))) nil t))) what other variables could be relevant? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://americancensorship.org http://memri.org http://camera.org http://www.PetitionOnline.com/tap12009/ http://truepeace.org Do the arithmetic or be doomed to talk nonsense. --John McCarthy -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: weird match
* Ben Sturmfels o...@fghzoyrf.vq.nh [2012-10-17 20:18:11 +1100]: The general approach to pin down any bug is to just progressively strip away everything that's not related. What's left is the reproducible recipe. I am fully aware of this brute force approach; I have used it myself many times and I have instructed others in it use many more times. :-) Alas, it requires a lot of work. It is _way_ easier for Roland to do what he did, i.e., tell me an easy way to reproduce the problem, since he knows the inner workings of bbdb and can tell off the top of his head which functionality is responsible. Now, if only he kept on and told me which function produces the bbdb record(s) which match Sam... -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://iris.org.il http://think-israel.org http://thereligionofpeace.com http://www.PetitionOnline.com/tap12009/ Any supplier that makes enough to pay a full time lobbyist is overcharging. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
weird match
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 why? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://mideasttruth.com http://openvotingconsortium.org http://iris.org.il http://www.PetitionOnline.com/tap12009/ He who laughs last did not get the joke. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: weird match
* Roland Winkler jvax...@tah.bet [2012-10-16 16:34:44 -0500]: 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 some reproducible recipe? By now, I've seen three or four such messages from you, where you complained about odd behavior of BBDB, but you never provided a reproducible recipe. I understand your frustration, but what kind of reproducible recipe can I offer you? Give you my gmail password + my whole bbdb? :-) I thought that a combination of the From line and the bbdb record should suffice. If it is not, please tell me how to debug this: e.g., what functions are called to match the From line to a bbdb record. thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://dhimmi.com http://iris.org.il http://ffii.org http://palestinefacts.org http://memri.org http://openvotingconsortium.org If you need a helping hand, just remember that you already have two. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: weird match
* Roland Winkler jvax...@tah.bet [2012-10-16 17:49:29 -0500]: Forget the gnus stuff. Put Sam [guest] gu...@bioconductor.org into the To: field of a message. Call bbdb-mua-display-recipients What do you get? If I setup this test, the [guest] in the name gets ignored (see mail-extract-address-components). So Sam becomes the last name of the above recipient. And this should not match the entry of Sam Robb. (It doesn't do that for me.) when I do that, I am asked whether gu...@bioconductor.org should be the principal address and it is added to Sam Robb and he is displayed. indeed: (mail-extract-address-components \Sam [guest]\ gu...@bioconductor.org) == (Sam gu...@bioconductor.org) however, I don't understand why Sam matches Sam Robb. I don't know your personal extensions of BBDB. I have none. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://iris.org.il http://truepeace.org http://memri.org http://www.memritv.org http://dhimmi.com http://jihadwatch.org People with a good taste are especially appreciated by cannibals. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Integrating with gnus
* 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) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://jihadwatch.org http://americancensorship.org http://camera.org http://mideasttruth.com http://honestreporting.com 20% of people do 80% of work; also 80% of people think they are in those 20%. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Record %s does not exist
I created a record and now I get these: error(Record %s does not exist [nil nil nil nil nil nil nil (ch...@alerts.chase.com) ((creation-date . 2012-09-13 21:38:52 +)) [#1= #1# nil nil]]) bbdb-display-records(([nil nil nil nil nil nil nil (ch...@alerts.chase.com) ((creation-date . 2012-09-13 21:38:52 +)) [#1= #1# nil nil]]) nil nil nil (lambda (window) (with-current-buffer (window-buffer window) (eq major-mode (quote gnus-article-mode) bbdb-mua-auto-update() run-hooks(gnus-article-prepare-hook) apply(run-hooks gnus-article-prepare-hook) gnus-run-hooks(gnus-article-prepare-hook) the record is precisely as I want it: it does not have a name because no name was provided in the message it was created from. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://memri.org http://ffii.org http://www.PetitionOnline.com/tap12009/ http://dhimmi.com Complete Idiots Guide to Running LINUX Unleashed in a Nutshell for Dummies -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Record %s does not exist
* Sam Steingold f...@tah.bet [2012-09-13 17:53:49 -0400]: I created a record and now I get these: error(Record %s does not exist [nil nil nil nil nil nil nil (ch...@alerts.chase.com) ((creation-date . 2012-09-13 21:38:52 +)) [#1= #1# nil nil]]) bbdb-display-records(([nil nil nil nil nil nil nil (ch...@alerts.chase.com) ((creation-date . 2012-09-13 21:38:52 +)) [#1= #1# nil nil]]) nil nil nil (lambda (window) (with-current-buffer (window-buffer window) (eq major-mode (quote gnus-article-mode) bbdb-mua-auto-update() run-hooks(gnus-article-prepare-hook) apply(run-hooks gnus-article-prepare-hook) gnus-run-hooks(gnus-article-prepare-hook) the record is precisely as I want it: it does not have a name because no name was provided in the message it was created from. (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 name)) nil) (t 'query (setq 'bbdb-add-name 'sds-bbdb-add-name) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://mideasttruth.com http://honestreporting.com http://iris.org.il http://palestinefacts.org There are two ways to write error-free programs; only the third one works. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Record %s does not exist
* Roland Winkler jvax...@tah.bet [2012-09-13 17:43:38 -0500]: On Thu Sep 13 2012 Sam Steingold wrote: (setq 'bbdb-add-name 'sds-bbdb-add-name) You surely know that setq is a special form that prevents evaluation of its first arg. come on, that was just a typo; the form signals the error (wrong-type-argument symbolp (quote bbdb-add-name)) the value is correctly set: bbdb-add-name == sds-bbdb-add-name -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://camera.org http://ffii.org http://memri.org http://www.PetitionOnline.com/tap12009/ http://mideasttruth.com I don't have an attitude problem. You have a perception problem. -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
(wrong-type-argument char-or-string-p \.\.\.)
git head, on entering a gnus group: Debugger entered--Lisp error: (wrong-type-argument char-or-string-p \.\.\.) bbdb-puthash(\.\.\. [XXX YYY nil ... ... ... nil ... ... [ nil #marker at 1279386 in .bbdb]]) bbdb-hash-record([...]) bbdb-parse-records() bbdb-buffer() 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 appearing in the .bbdb file. Now I will have to hunt down what was there before the data corruption. Please bind print-length et al to nil while saving bbdb! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/ http://iris.org.il http://thereligionofpeace.com http://ffii.org -Nervous? -Yes! -First time? -No, I've been nervous before! -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
bbdb-end-marker: (wrong-type-argument number-or-marker-p nil)
-marker cache)) (bbdb-debug (if (and (/= (point) bbdb-end-marker) (not (looking-at \\[))) (error Not inserting before a record (%s) (point (bbdb-record-set-cache record nil) (insert (prin1-to-string record) \n) (delete-region (point) (if (cdr tail) (bbdb-record-marker (car (cdr tail))) bbdb-end-marker)) (bbdb-record-set-cache record cache) (bbdb-debug (if (= (if (cdr tail) (bbdb-record-marker (car ...)) bbdb-end-marker) (bbdb-record-marker record)) (error Overwrite failed))) (setq bbdb-modified t) record)) bbdb-overwrite-record-internal(...) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://think-israel.org http://jihadwatch.org http://www.memritv.org http://www.PetitionOnline.com/tap12009/ 186,000 Miles per Second. It's not just a good idea. IT'S THE LAW. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
cache error
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 name-last-first) last first)) (cache (bbdb-record-cache record))) (bbdb-cache-set-fl-name cache fl-name) (bbdb-cache-set-lf-name cache lf-name) (bbdb-puthash fl-name record) (bbdb-puthash lf-name record) fl-name) bbdb-record-set-name([...] t t) bbdb-record-name-lf([...]) bbdb(steingold full-multi-line) call-interactively(bbdb nil nil) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://thereligionofpeace.com http://jihadwatch.org http://dhimmi.com http://www.memritv.org I don't want to be young again, I just don't want to get any older. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-08-06
* Roland Winkler jvax...@tah.bet [2012-08-06 06:03:12 -0500]: On Fri Jul 6 2012 Sam Steingold wrote: 2012-06-28 Sam Steingold s...@gnu.org * lisp/bbdb-com.el (bbdb-complete-mail): Use `quit-window' instead of `bury-buffer' to get rid of *Completions*. I am sorry, it's not clear to me what problem was supposed to get fixed by the above patch. 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. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://memri.org http://pmw.org.il http://truepeace.org http://www.memritv.org http://think-israel.org http://jihadwatch.org Lisp: its not just for geniuses anymore. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-08-06
* Roland Winkler jvax...@tah.bet [2012-08-06 11:11:19 -0500]: 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 the point is here that the call of quit-window is preceded by a call of set-window-configuration that is supposed to restore the window configuration before the *Completions* window popped up. window configuration is a huge overkill in this case. How are other packages handling this? they use quit-window :-) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://dhimmi.com http://honestreporting.com http://jihadwatch.org http://pmw.org.il http://openvotingconsortium.org There are many reasons not to use Linux - but no good ones. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: again: ; bbdb-mua-edit-field-sender
* Roland Winkler jvax...@tah.bet [2012-07-27 04:39:26 -0500]: On Wed Jul 25 2012 Sam Steingold wrote: I set bbdb-message-all-addresses to t so that I see both the sender of a message and all the CC recipients. Which command do you use to see these records? I just enter the article (by hitting 'n', 'SPC' or mouse in the *Summary* buffer). (and it did work like that until recently), not of all the other recipients Similarly bbdb-mua-edit-field-sender should operate on sender(s) only, but never on recipients. Alas, this is not what I observe. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://think-israel.org http://honestreporting.com http://www.memritv.org http://palestinefacts.org http://memri.org Perl: all stupidities of UNIX in one. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
again: ; bbdb-mua-edit-field-sender
I set bbdb-message-all-addresses to t so that I see both the sender of a message and all the CC recipients. However, when I hit ;, I want to edit the notes of the _sender_ only (and it did work like that until recently), not of all the other recipients (as I just noticed actually happens now). This is an unfortunate change in behavior, although, yes, this new behavior could be desirable and it makes sense to enable it on, say, C-u ;. Since this has been discussed recently, I might be missing something, I am sorry if this is the case. Please remind me how to get the original behavior. Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/ http://openvotingconsortium.org http://pmw.org.il http://memri.org UNIX is as friendly to you as you are to it. Windows is hostile no matter what. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-17
* Roland Winkler jvax...@tah.bet [2012-07-17 17:06:52 -0500]: On Tue Jul 17 2012 Sam Steingold wrote: I thought that bbdb-canonicalize-mail-function would do the job by returning nil or for bad e-mail addresses, and it worked for quite some time (it returned nil). Use a return value of nil to ignore a mail address. I cannot promise, though, that I already identified all instances in the code where this can be relevant. Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) bbdb-message-search(Alex nil) gnus-user-format-function-b([47052 Common Lisp or Scheme Alex muzikman...@dontwantspam.com Fri, 20 Jul 2012 02:11:02 + (UTC) juaenl$2kmt$1...@adenine.netfront.net 1958 28 mx04.eternal-september.org comp.lang.lisp:47052 nil]) (format %c%4s: %s%-20s %s%c gnus-tmp-opening-bracket gnus-tmp-lines (gnus-user-format-function-b gnus-tmp-header) (let* ((val (eval (let ((val ...)) (if ( ... 20) (if ... ... ...) val (need (- 20 (string-width val (if ( need 0) (concat nil val (make-string need 32)) val)) (gnus-date-iso8601 (mail-header-date gnus-tmp-header)) gnus-tmp-closing-bracket) may I commit this? --8---cut here---start-8--- diff --git a/lisp/bbdb-com.el b/lisp/bbdb-com.el index 282b2b8..f37d4d0 100644 --- a/lisp/bbdb-com.el +++ b/lisp/bbdb-com.el @@ -590,9 +590,10 @@ This function performs a fast search using `bbdb-hashtable'. NAME and MAIL must be strings. See `bbdb-search' for searching records with regexps. (bbdb-buffer) ; make sure database is loaded and up-to-date - (setq mail (downcase mail)) + (when mail +(setq mail (downcase mail))) ;; (1) records matching NAME and MAIL - (or (and name + (or (and name mail (let (records) (dolist (record (bbdb-gethash name '(fl-name lf-name aka))) (dolist (m (bbdb-record-mail record)) --8---cut here---end---8--- -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://dhimmi.com http://ffii.org http://memri.org http://honestreporting.com http://www.memritv.org http://thereligionofpeace.com In the race between idiot-proof software and idiots, the idiots are winning. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-08
* Roland Winkler jvax...@tah.bet [2012-07-10 17:13:00 -0500]: On Tue Jul 10 2012 Sam Steingold wrote: * Roland Winkler jvax...@tah.bet [2012-07-08 16:36:54 -0500]: 2012-07-08 Roland Winkler wink...@gnu.org * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch. I no longer can create new records. when I hit ; or : on an unknown sender, no new record is created, an empty *BBDB* window is displayed, *Messages* says Formatting BBDB...done. Is this your current version of BBDB? This should have had no effect here. Some things changed with ChangeLog 2012-07-09. $ head -1 ChangeLog 2012-07-09 Roland Winkler wink...@gnu.org $ See my email. This is not very informative. Could you please supply the gmane (or any other) link intead next time? Yet if you have bound bbdb-mua-update-interactive-p according to your needs, things should be fine. bbdb-mua-update-interactive-p = (search . query) I am not asked whether to create a record or not. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://truepeace.org http://www.memritv.org http://think-israel.org http://iris.org.il http://americancensorship.org Don't hit a man when he's down -- kick him; it's easier. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-08
* Sam Steingold f...@tah.bet [2012-07-11 13:11:33 -0400]: Yet if you have bound bbdb-mua-update-interactive-p according to your needs, things should be fine. bbdb-mua-update-interactive-p = (search . query) I am not asked whether to create a record or not. ; calls bbdb-mua-edit-field-sender which passes update-p = search to bbdb-mua-edit-field when I do C-u ; I am prompted to edit notes and whatever I enter is then discarded. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://palestinefacts.org http://pmw.org.il http://mideasttruth.com http://iris.org.il http://ffii.org All extremists should be taken out and shot. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: nameless records
* Roland Winkler jvax...@tah.bet [2012-07-10 00:16:48 -0500]: On Sun Jul 8 2012 Sam Steingold wrote: When I receive a confirmation message from no-re...@foo.com, I create a record and copy into its notes the url and all the relevant information about the service I just registered for. Since bbdb creates a record with first name no-reply and last name , This should be the other way round: first name and last name no-reply. Why is it reversed for you? not sure. the records may be coming from v2. loading the file becomes very slow because bbdb pauses for a second to report that I have a dozen duplicates for webmaster, no-reply, bugzilla-daemon c c. I don't think it makes much sense to add first name/last name to such records. It appears that binding bbdb-allow-duplicates to t is the easiest solution here. Thanks. Is it seriously expected that one's internet acquaintances should have unique names? I have over 5k records and I have quite a few legitimate dupes, like John Smith jsm...@foo.com and John Smith j...@bar.com. I seriously double that I am unique here. It seems that treating the e-mail names just like AKAs is better. I.e., right now a record is assumed to already have name X if X matches either bbdb-record-name or one of bbdb-record-aka. Proposal: additionally, assume a record to already have name X if X matches one of This is supposed to be relevant under which circumstances? How is this supposed to address the issue you describe above? when bbdb sees a message from foo@... without a name, it insists on adding foo to name or aka. I would like to avoid that. If for whatever reason Joe Smith has the email address f...@bar.com I wouldn't like to have Joe's record match a search for name Foo. I definitely would! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://openvotingconsortium.org http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org Lisp is not dead, it just smells funny. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: nameless records
* Roland Winkler jvax...@tah.bet [2012-07-10 10:06:50 -0500]: On Tue Jul 10 2012 Sam Steingold wrote: It appears that binding bbdb-allow-duplicates to t is the easiest solution here. Thanks. Is it seriously expected that one's internet acquaintances should have unique names? From the docstring of bbdb-allow-duplicates (which I did not change) I assume that the assumption that names are unique has been present in BBDB for quite some time. The assumption certainly underlies all bbdb-mua-* commands and functions. Until recently, I was not warned on such duplicates. The first loading of bbdb takes an extra second for each pair of dupes, so I have to wait for half a minute for bbdb to start. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://iris.org.il http://jihadwatch.org http://www.PetitionOnline.com/tap12009/ http://camera.org C combines the power of assembler with the portability of assembler. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-08
* Roland Winkler jvax...@tah.bet [2012-07-08 16:36:54 -0500]: On Sun Jul 8 2012 Roland Winkler wrote: 2012-07-08 Roland Winkler wink...@gnu.org * lisp/bbdb-mua.el (bbdb-update-records): Make records a list ordered like address-list. 2012-07-08 Roland Winkler wink...@gnu.org * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch. I no longer can create new records. when I hit ; or : on an unknown sender, no new record is created, an empty *BBDB* window is displayed, *Messages* says Formatting BBDB...done. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://pmw.org.il http://iris.org.il http://openvotingconsortium.org http://www.memritv.org If you need a helping hand, just remember that you already have two. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-06
* Stephen Leake fgrcura_yr...@fgrcur-yrnxr.bet [2012-07-08 03:49:02 -0400]: Sam Steingold s...@gnu.org writes: Can you explain why you want to override your choice for bbdb-message-all-addresses in this function? when I try to edit a field when bbdb-message-all-addresses is t, the record being edited is the first record displayed, not the record of the sender. I gather you think that's wrong, even though it is what you requested. Apparently you want to set bbdb-message-all-addresses to nil, not t. Why did you set it to t? It defaults to nil, so you set it deliberately. I want all the relevant records for a message displayed, but when I hit ;, I want to edit the record of the sender, not the first record displayed. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://openvotingconsortium.org http://dhimmi.com http://thereligionofpeace.com http://think-israel.org Feynman: 'Philosophy of science is as useful to scientists as ornithology is to birds' -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
nameless records
When I receive a confirmation message from no-re...@foo.com, I create a record and copy into its notes the url and all the relevant information about the service I just registered for. Since bbdb creates a record with first name no-reply and last name , loading the file becomes very slow because bbdb pauses for a second to report that I have a dozen duplicates for webmaster, no-reply, bugzilla-daemon c c. I don't think it makes much sense to add first name/last name to such records. It seems that treating the e-mail names just like AKAs is better. I.e., right now a record is assumed to already have name X if X matches either bbdb-record-name or one of bbdb-record-aka. Proposal: additionally, assume a record to already have name X if X matches one of (defun address-name (address) (if (string-match @ address) (substring address 0 (match-beginning 0)) address)) (mapcar #'address-name (bbdb-record-mail record)) Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://camera.org http://openvotingconsortium.org http://iris.org.il http://www.memritv.org http://pmw.org.il C combines the power of assembler with the portability of assembler. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-06
* Roland Winkler jvax...@tah.bet [2012-07-07 04:44:10 -0500]: On Fri Jul 6 2012 Sam Steingold wrote: Your general design decisions broke well-documented behavior that has been around since v 1.50. Are you sure these decisions were well thought-through? Some time ago you wrote On Fri Dec 30 2011 Sam Steingold wrote: What did you do when you were using BBDB v2? hated it and did nothing about it, hoping that someone will fix it for me one day. I have nothing to add here. you fixed some things and broke others. this is not good. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://iris.org.il http://ffii.org http://think-israel.org http://memri.org http://dhimmi.com Two wrongs don't make a right, but three rights make a left. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-06
* Stephen Leake fgrcura_yr...@fgrcur-yrnxr.bet [2012-07-07 01:55:24 -0400]: Sam Steingold s...@gnu.org writes: * Roland Winkler jvax...@tah.bet [2012-07-06 12:06:27 -0500]: On Fri Jul 6 2012 Sam Steingold wrote: 2012-07-06 Sam Steingold s...@gnu.org * lisp/bbdb-mua.el (bbdb-mua-edit-field): Edit THE record for THE sender, not all the relevant records. I do not want to fix the values of user variables in a hard-coded way. If you do not like a particular value in a particular context, elisp gives you various possibilities to customize things for your personal taste. Could you please explain to me how to do this? Use ad-add-advice on bbdb-mua-edit-field; see the elisp manual for more info. so, there is a user variable bbdb-message-all-addresses, which is now broken, see below. to make it work, I need to use advice. you cannot be serious here. if indeed this is how it is supposed to work these days, then the defcustom code installing the advice should be added. Can you explain why you want to override your choice for bbdb-message-all-addresses in this function? when I try to edit a field when bbdb-message-all-addresses is t, the record being edited is the first record displayed, not the record of the sender. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://thereligionofpeace.com http://jihadwatch.org http://iris.org.il http://think-israel.org Illiterate? Write today, for free help! -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
[BBDB] ChangeLog 2012-07-06
2012-07-06 Sam Steingold s...@gnu.org * lisp/bbdb-mua.el (bbdb-mua-edit-field): Edit THE record for THE sender, not all the relevant records. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://camera.org http://www.memritv.org http://thereligionofpeace.com http://palestinefacts.org My inferiority complex is not as good as yours. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-06
2012-06-28 Sam Steingold s...@gnu.org * lisp/bbdb-com.el (bbdb-complete-mail): Use `quit-window' instead of `bury-buffer' to get rid of *Completions*. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://iris.org.il http://openvotingconsortium.org http://truepeace.org http://www.memritv.org http://mideasttruth.com Before telling the Truth, make sure you know it. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-07-06
* Roland Winkler jvax...@tah.bet [2012-07-06 12:06:27 -0500]: On Fri Jul 6 2012 Sam Steingold wrote: 2012-07-06 Sam Steingold s...@gnu.org * lisp/bbdb-mua.el (bbdb-mua-edit-field): Edit THE record for THE sender, not all the relevant records. I do not want to fix the values of user variables in a hard-coded way. If you do not like a particular value in a particular context, elisp gives you various possibilities to customize things for your personal taste. Could you please explain to me how to do this? Please, be more considerate of such general design decisions. Your general design decisions broke well-documented behavior that has been around since v 1.50. Are you sure these decisions were well thought-through? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://pmw.org.il http://www.memritv.org http://mideasttruth.com http://dhimmi.com http://honestreporting.com Oh Lord, give me the source code of the Universe and a good debugger! -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-06-24
* Roland Winkler jvax...@tah.bet [2012-06-24 03:52:06 -0500]: Thanks to Sam Steingold for submitting several patches. so, how about the write access? otherwise, please commit as soon as possible: --8---cut here---start-8--- 2012-06-26 Sam Steingold s...@gnu.org * lisp/bbdb-mua.el (bbdb-get-address-components): Address components may be nil. diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el index 6acd31e..9a68d58 100644 --- a/lisp/bbdb-mua.el +++ b/lisp/bbdb-mua.el @@ -169,9 +169,12 @@ is ignored. If IGNORE-ADDRESS is nil, use value of `bbdb-user-mail-address-re'. ;; address might match IGNORE-ADDRESS. (dolist (address (mail-extract-address-components content t)) ;; We canonicalize name and mail as early as possible. -(setq name (funcall bbdb-message-clean-name-function -(nth 0 address)) - mail (bbdb-canonicalize-mail (nth 1 address))) +(setq name (nth 0 address) + mail (nth 1 address)) +(when name + (setq name (funcall bbdb-message-clean-name-function name))) +(when mail + (setq mail (bbdb-canonicalize-mail mail))) ;; ignore uninteresting addresses (unless (or (and (stringp ignore-address) (or (and name (string-match ignore-address name)) --8---cut here---end---8--- otherwise I see Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(\\`[^[:alpha:]]+ nil) bbdb-message-clean-name-default(nil) bbdb-get-address-components(nil) bbdb-mua-update-records(nil search) bbdb-mua-auto-update() run-hooks(gnus-article-prepare-hook) apply(run-hooks gnus-article-prepare-hook) gnus-run-hooks(gnus-article-prepare-hook) gnus-article-prepare(3153 nil) gnus-summary-display-article(3153 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up nil nil) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://americancensorship.org http://camera.org http://memri.org http://pmw.org.il http://dhimmi.com http://think-israel.org I'm out of my mind, but feel free to leave a message... -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2012-06-24
* Roland Winkler jvax...@tah.bet [2012-06-24 03:52:06 -0500]: * 77d6afa..: Sam Steingold 2011-12-27 ignore Makefiles and configure files; autoloads-loaddefs I could not find this patch. --8---cut here---start-8--- diff --git a/.gitignore b/.gitignore index ba3939e..3b1851e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ *.elc -/lisp/bbdb-autoloads.el +*.info +/lisp/bbdb-loaddefs.el /lisp/TAGS +Makefile +/autom4te.cache +/config.* +/configure --8---cut here---end---8--- -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://memri.org http://truepeace.org http://jihadwatch.org http://americancensorship.org We're too busy mopping the floor to turn off the faucet. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Fwd: BBDB development shifted from sourceforge to savannah
* Roland Winkler jvax...@tah.bet [2012-06-19 14:47:41 -0500]: PS: I hope that in a few days I can submit my recent work on BBDB. I just need to summarize things in the ChangeLog. how about my patches of a few months back? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://americancensorship.org http://memri.org http://www.memritv.org http://thereligionofpeace.com http://iris.org.il Professionalism is being dispassionate about your work. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Announcing ASynK release v0.2.2
* Sriram Karra xneen@tznvy.pbz [2012-06-18 10:44:17 +0500]: On Jun 17, 2012 10:21 PM, Sam Steingold s...@gnu.org wrote: Is it really too much effort to send announcements to the bbdb list? It would be off topic for this list. I disagree. ASynK is of interest to the majority of the bbdb users, so its announcements and discussion is perfectly on topic here. It's not like the list of overburdened with traffic. BTW, it would be really nice if you could make the ASynK mailing list (or google group, whatever), available on gmane.org. Thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://www.memritv.org http://iris.org.il http://memri.org http://pmw.org.il http://camera.org http://truepeace.org A poet who reads his verse in public may have other nasty habits. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Announcing ASynK release v0.2.2
* Sriram Karra xneen@tznvy.pbz [2012-06-16 09:40:31 +0500]: On Sat, Jun 16, 2012 at 3:55 AM, Brett Presnell presn...@stat.ufl.eduwrote: Sam Steingold s...@gnu.org writes: * Sriram Karra xneen@tznvy.pbz [2012-06-15 08:02:37 +0500]: This will be the last release announcement on this list. I have created a twitter handle @a_synk (https://twitter.com/#!/a_synk) which you can follow if you are interested to keep track of updates and developments. I don't use twitter. Does this mean I am out of luck? I thought of a mailing list but figured it was too much for the anticipated interaction. But anyway, here goes: https://groups.google.com/d/forum/asynk I will push release announcements to twitter as well. Is it really too much effort to send announcements to the bbdb list? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://mideasttruth.com http://truepeace.org http://openvotingconsortium.org http://jihadwatch.org Hard work has a future payoff. Laziness pays off NOW. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Announcing ASynK v0.2.0 - directional sync for BBDB to Google and Outlook
* Sriram ET. xneen@tznvy.pbz [2012-05-14 09:57:56 +0500]: Also, please note that you only need to run autoconf if you want to build the documentation. It is of no value otherwise. I suggest you dive right into the documentation section titled 'Using ASynK' I find reading raw texinfo files hard. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://thereligionofpeace.com http://www.memritv.org http://truepeace.org http://mideasttruth.com http://dhimmi.com A language that does not change the way you think is not worth learning. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Announcing ASynK v0.2.0 - directional sync for BBDB to Google and Outlook
* Sriram ET. xneen@tznvy.pbz [2012-05-14 07:26:29 +0500]: https://github.com/skarra/ASynK.git $ autoconf configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:16: error: possibly undefined macro: AM_CONDITIONAL $ does it support bbdb2 or 3? v3 thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://thereligionofpeace.com http://jihadwatch.org http://iris.org.il http://truepeace.org http://pmw.org.il http://ffii.org Apathy Club meeting this Friday. If you want to come, you're not invited. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: EmacsWiki: UpgradeBBDB
* rene wy...@lnubb.pbz [2012-05-03 09:03:25 +]: Leo sdl.web at gmail.com writes: http://www.emacswiki.org/emacs/UpgradeBBDB Here are a few other variable/function names that seem to have been removed or renamed: - bbdb-addresses-label-list - bbdb-print-file-name - bbdb-address-editing-function - bbdb-address-edit-continental - bbdb/vm-force-create - bbdb-define-all-aliases - bbdb-new-nets-always-primary - bbdb/mail-auto-create-p - bbdb-ignore-some-messages-hook - bbdb-ignore-some-messages-alist - bbdb-ignore-most-messages-alist - bbdb-always-add-addresses - bbdb-auto-notes-alist - bbdb/vm-set-auto-folder-alist - bbdb-complete-name (replaced by) bbdb-complete-mail - bbdb-completion-type (probably replaced by) bbdb-completion-list - bbdb-canonicalize-redundant-nets-p (probably replaced by) bbdb-canonicalize-redundant-mails please edit the wiki page and add these (even if you are not sure what they have been replaced with! - although a simple search in bbdb/Changelog can reveal that, say, bbdb-print-file-name is replaced with bbdb-print-file). thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11103000 http://www.childpsy.net/ http://www.memritv.org http://pmw.org.il http://honestreporting.com http://truepeace.org http://iris.org.il In every non-trivial program there is at least one bug. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB and gnus article buffer header fields
* Matt Ford z...@qnapvatsebt.pb.hx [2012-04-10 08:02:18 +0100]: Is it possible to have BBDB replace the email addresses in the article buffers with preferred names? You need to add %B to `gnus-summary-line-format'. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://ffii.org http://iris.org.il http://palestinefacts.org http://jihadwatch.org http://camera.org Modern man is the missing link between apes and human beings. -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Sourceforge Page!
* Sriram ET. xneen@tznvy.pbz [2012-04-06 11:30:39 +0500]: Given my intent to spend some time on this project, I am a bit lost as where to focus my energies - On the old but stable base of 2.36 (from sourceforge) or the V3 git repo on nongnu.org (git:// git.savannah.nongnu.org/bbdb.git) or Barak's repo ( https://github.com/barak/bbdb3) which is further removed and with more sweeping changes to the guts of the code base than the non-gnu It would be good if Roland or Barak give the community on the general direction in which we are headed, so at least we know what to expect when you get around to fixing things here. indeed. I suggest that you start with merging the existing repos and reviewing the patches floating on the list (including some of mine). When you have a grand unified repo, declare yourself the primary bbdb3 maintainer. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://memri.org http://ffii.org http://dhimmi.com http://truepeace.org http://thereligionofpeace.com God had a deadline, so He wrote it all in Lisp. -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Change name to John Doe?
I get asked the above question for matching records with an email but without a name: record == [nil nil nil nil nil nil nil (j...@foo.com) nil [#1= #1# nil #marker at 1054 in .bbdb nil]] why does cache have for the name? shouldn't it be nil? v2 just assigned the name to the record instead of suggesting that I keep as an AKA! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://www.memritv.org http://camera.org http://mideasttruth.com http://thereligionofpeace.com http://pmw.org.il We are born naked, wet, and hungry. Then things get worse. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mua-edit-field-sender is broken
* Roland Winkler jvax...@tah.bet [2012-03-15 05:24:27 -0500]: On Wed Mar 14 2012 Sam Steingold wrote: I am pretty sure that every user who sets bbdb-message-all-addresses to non-nil would want this patch: I guess we were not talking about BBDB if every user had not strongly diverging opinions about such things. In that sense, I am rather hesitant to implement a hard-coded binding of a user variable inside such a command. I understand and share this immediate reaction; however, this hard-coded binding is a simple bug fix - just try customizing bbdb-message-all-addresses to t and reading your mail with it for a while; and use ; - you will immediately see that the current behavior is just a bug. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://palestinefacts.org http://jihadwatch.org http://dhimmi.com http://iris.org.il http://pmw.org.il http://camera.org Those who beat their swords into plowshares plow for those who do not. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
bbdb-mua-edit-field-sender is broken
Some mailing lists set Reply-To, so the header looks like this: From: Human Name f...@gmail.com Subject: Re: ... To: bar-us...@googlegroups.com Reply-To: bar-us...@googlegroups.com So bbdb displays the records for both bar-users and f...@gmail.com. This is good. However, when I hit ; in *Summary*, I am offered to edit the notes for _both_ bar-users and f...@gmail.com (because in bbdb-message-headers sender is mapper to both From and Reply-To). This is ungood. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://camera.org http://jihadwatch.org http://memri.org http://ffii.org http://iris.org.il http://mideasttruth.com If you're constantly being mistreated, you're cooperating with the treatment. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mua-edit-field-sender is broken
* Roland Winkler jvax...@tah.bet [2012-03-14 11:07:13 -0500]: On Wed Mar 14 2012 Sam Steingold wrote: However, when I hit ; in *Summary*, I am offered to edit the notes for _both_ bar-users and f...@gmail.com (because in bbdb-message-headers sender is mapper to both From and Reply-To). This is ungood. What do you want instead? the v2 behavior: ; should let me edit the sender's notes. Do you want to use different values of bbdb-message-headers depending on context? You could define a wrapper that rebinds it according to your taste. (I would guess that there are too many possiblities / different tastes for a universal yet still transparent solution.) I want bbdb to be permissive about display (i.e., show more rather than less; bbdb-message-headers should be interpreted as show all these) and restrictive about editing (i.e., edit less rather than more, bbdb-message-headers should be interpreted as edit the first found). -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://www.PetitionOnline.com/tap12009/ http://truepeace.org http://jihadwatch.org http://memri.org http://iris.org.il It is easier to deal with a hungry tiger than with a full mule. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: bbdb-mua-edit-field-sender is broken
* Roland Winkler jvax...@tah.bet [2012-03-14 14:23:17 -0500]: On Wed Mar 14 2012 Sam Steingold wrote: Do you want to use different values of bbdb-message-headers depending on context? You could define a wrapper that rebinds it according to your taste. (I would guess that there are too many possiblities / different tastes for a universal yet still transparent solution.) I want bbdb to be permissive about display (i.e., show more rather than less; bbdb-message-headers should be interpreted as show all these) and restrictive about editing (i.e., edit less rather than more, bbdb-message-headers should be interpreted as edit the first found). Looks like you need a wrapper around bbdb-mua-update-records that rebinds bbdb-message-all-addresses according to the value of the arg UPDATE-P of bbdb-mua-update-records. (I am not sure this would be what other users want.) I am pretty sure that every user who sets bbdb-message-all-addresses to non-nil would want this patch: diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el index 93f0228..b88a561 100644 --- a/lisp/bbdb-mua.el +++ b/lisp/bbdb-mua.el @@ -730,7 +730,9 @@ FIELD defaults to 'notes. With prefix arg, ask for FIELD. ((not field) (setq field 'notes))) (bbdb-mua-wrapper - (let ((records (bbdb-mua-update-records header-class))) + (let ((records + (let ((bbdb-message-all-addresses nil)) +(bbdb-mua-update-records header-class (bbdb-display-records records) (dolist (record records) (bbdb-edit-field record field) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://iris.org.il http://www.memritv.org http://thereligionofpeace.com http://openvotingconsortium.org PI seconds is a nanocentury -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB V3 export
The correct term is not `export'. The correct term is `sync'. Once you have thousands records in your phone contacts and bbdb, exporting/importing is a waste of time: you will need to sync/merge the records by hand and it is unfeasible. Somehow gmail manages to sync its contacts with android. We need the same kind of functionality: a modification of a record in bbdb should trigger an update in gmail (which will then sync with iphone/android on its own) and vv. This is no easy task (and I am not volunteering) - maybe we could get it into google summer of code? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://thereligionofpeace.com http://memri.org http://camera.org http://ffii.org http://palestinefacts.org If a train station is a place where a train stops, what's a workstation? -- Keep Your Developer Skills Current with LearnDevNow! 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-d2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
patch: fix ':' in *Summary* for known senders with unknown addresses
Here is yet another patch: it is very annoying that some messages are marked as coming from a known sender but ':' does not show them because known senders are matched by e-mail and name and the ':' searches just by email. this patch makes them consistent. From: Sam Steingold s...@gnu.org Date: Thu, 9 Feb 2012 13:18:36 -0500 Subject: [PATCH] (bbdb-update-records): use `bbdb-message-search' instead of `bbdb-search' when `update-p' is `search' so that all senders marked with `bbdb/gnus-summary-known-poster-mark' can be displayed with `:' --- ChangeLog|6 ++ lisp/bbdb-mua.el | 14 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26b677c..b490120 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-09 Sam Steingold s...@gnu.org + * lisp/bbdb-mua.el (bbdb-update-records): use + `bbdb-message-search' instead of `bbdb-search' when `update-p' is + `search' so that all senders marked with + `bbdb/gnus-summary-known-poster-mark' can be displayed with `:' + 2012-01-01 Sam Steingold s...@gnu.org * lisp/bbdb-mua.el (bbdb-annotate-message): Remove bbdb-message-clean-name and completely trust diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el index 4281c7d..93f0228 100644 --- a/lisp/bbdb-mua.el +++ b/lisp/bbdb-mua.el @@ -226,8 +226,7 @@ Usually this function is called by the wrapper `bbdb-mua-update-records'. (setq update-p (funcall update-p (if (eq t update-p) (setq update-p 'create)) - (let ((bbdb-records (bbdb-records)) ;; search all records -;; `bbdb-update-records-p' and `bbdb-offer-to-create' are used here + (let (;; `bbdb-update-records-p' and `bbdb-offer-to-create' are used here ;; as internal variables for communication with ;; `bbdb-prompt-for-create'. This does not affect the value of the ;; global user variable `bbdb-update-records-p'. @@ -243,14 +242,11 @@ Usually this function is called by the wrapper `bbdb-mua-update-records'. (when (and (not records) update-p) (while (setq address (pop address-list)) (let* ((bbdb-update-records-address address) - (mail (nth 1 address)) hits (task (catch 'done (setq hits -(cond ((null mail) - nil) ; ignore emtpy mails, e.g. (??? nil) - ((eq bbdb-update-records-p 'create) +(cond ((eq bbdb-update-records-p 'create) (list (bbdb-annotate-message address t))) ((eq bbdb-update-records-p 'query) (list ; Search might return a list @@ -259,9 +255,9 @@ Usually this function is called by the wrapper `bbdb-mua-update-records'. ((eq bbdb-update-records-p 'search) ;; Search for records having this mail address ;; but do not modify an existing record. - (let ((mail (concat ^ (regexp-quote mail) $))) - ;; MAIL must be atomic arg. - (bbdb-search bbdb-records nil nil mail) + (bbdb-message-search +(car address) +(bbdb-canonicalize-mail (cadr address)) nil))) (cond ((eq task 'quit) (setq address-list nil)) -- 1.7.5.4 -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://palestinefacts.org http://memri.org http://honestreporting.com http://dhimmi.com http://openvotingconsortium.org http://www.memritv.org Professionalism is being dispassionate about your work. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3 window splitting: problem
* Roland Winkler jvax...@tah.bet [2012-01-01 02:15:53 -0600]: On Sat Dec 31 2011 Sam Steingold wrote: * Roland Winkler jvax...@tah.bet [2011-12-31 07:50:14 -0600]: That specific patch was trying to address the problem where the *BBDB* window was exactly the same size as the *Article* window, i.e., it would split the tallest window in half and take of the halves. The *BBDB* window was exactly the same size as the *Article* window before or after the splitting? before: 2 windows: *Summary* (list of articles in the group) - about 20% of the frame and *Article* (the content of the current message) - about 80% of the frame. when I visit the article written by someone in the db, the *Article* window is split into two windows: *Article* and *BBDB*. v2 split it into 5 lines for *BBDB* and the rest for *Article*. v3 split it into 1/2 (i.e., 40% of the frame) for *BBDB* and 1/2 (i.e., 40% of the frame) for *Article*. I want the *BBDB* window to be as small as possible so that the frame real estate is not wasted. Are you using multiple *BBDB* windows? no. Is the *Article* window the window you want to split or do you want to split a different window? I do want *Article* to be split. The arg horiz-p is really used only by the function bbdb-mua-auto-update. And this is the problem. This means that my bbdb-message-pop-up setting is only respected by bbdb-mua-auto-update, which is wrong. if you do not want to drop horiz-p altogether, please use my tallest window approach when horiz-p is nil. It was the basic idea in BBDB v2 that horizontal window splitting was used only for MUA windows (using mua-specific versions of the command bbdb-mua-auto-update). The old behavior appeared reasonable to me and agreed. I don't think I changed concepts here for BBDB v3 (though details are different). As you come from BBDB v2 I have been trying to understand this better. I did not use horizontal window splitting in v2. It might well be that the bug was already there. Whatever the original design was, I did _not_ get the horizontal split reliably with the original code. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://ffii.org http://dhimmi.com http://www.memritv.org http://pmw.org.il http://iris.org.il http://openvotingconsortium.org The Truth does not have to look plausible. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3 window splitting: problem
* Roland Winkler jvax...@tah.bet [2011-12-31 07:50:14 -0600]: On Fri Dec 30 2011 Sam Steingold wrote: In that case you might appreciate my shrink-window-if-larger-than-buffer patch: v2 created a fixed height *BBDB* window, v3 creates a *BBDB* window half the height of the tallest one. Did you see the e-mail? I saw your email. I am simply trying to understand better what kind of issue (occuring in which context) you want to address. That specific patch was trying to address the problem where the *BBDB* window was exactly the same size as the *Article* window, i.e., it would split the tallest window in half and take of the halves. Because the horiz-p argument is not always passed, which means that the my (bbdb-message-pop-up 'horiz) setting is ignored unless *BBDB* window is popped from a very specific place (which it is not always is). Also, a function which takes 6 (optional!) arguments is brittle by design. Are you talking about bbdb-display-records? When are you using it? I don't think I am ever calling it directly. All its args are optional. You must insist on some kind of non-default behavior when you use its optional args. My problem with 6 positional arguments is that they are very easy to get wrong: you have to count them carefully when using, say, the fifth. The arg horiz-p is really used only by the function bbdb-mua-auto-update. And this is the problem. This means that my bbdb-message-pop-up setting is only respected by bbdb-mua-auto-update, which is wrong. if you do not want to drop horiz-p altogether, please use my tallest window approach when horiz-p is nil. Under what circumstances does it not fit your needs and you want to call the command bbdb-display-records instead? Every now and then the *BBDB* window is created by a vertical split instead of a horizontal one despite bbdb-message-pop-up == horiz. Happy new year! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://palestinefacts.org http://www.PetitionOnline.com/tap12009/ http://mideasttruth.com http://honestreporting.com http://www.memritv.org Good judgment comes from experience and experience comes from bad judgment. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: upgrading to v 3
* Roland Winkler jvax...@tah.bet [2011-12-30 02:41:31 -0600]: On Thu Dec 29 2011 Sam Steingold wrote: * Sam Steingold f...@tah.bet [2011-12-27 13:19:50 -0500]: 2. I want to avoid putting the email uid into the first name slot. I.e., when creating a record for f...@bar.com, I want the names to be void, not foo . nope. so, how do transfer the changes effected by bbdb-record-set-firstname et al into the bbdb-file? As I said before, the current behavior was already implemented in BBDB v2, see the comment ;; first try to get a reasonable default name if not given ;; often I get things like firstname.surname@ ... What did you do when you were using BBDB v2? hated it and did nothing about it, hoping that someone will fix it for me one day. so, how do I transfer the changed I did with bbdb-record-set-firstname into the file? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://mideasttruth.com http://openvotingconsortium.org http://www.memritv.org http://honestreporting.com http://camera.org http://memri.org Politically Correct Chess: Translucent VS. Transparent. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3: how do I edit the organization?
* Roland Winkler jvax...@tah.bet [2011-12-30 02:13:47 -0600]: On Thu Dec 29 2011 Sam Steingold wrote: with v2, I would hit RET or 'e' on the name field and would be offered to edit first the name and then the organization (company). now I am just offered the name. how do I enter the organization? Like any other field: put point on the field you want to edit, then hit e. In that respect, name and organization are separate fields now, like any other fields. but there is no organization yes, there is no spot where I could go and hit e. Oh, you mean i organization RET data RET right? Thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://truepeace.org http://mideasttruth.com http://jihadwatch.org http://palestinefacts.org http://dhimmi.com http://www.memritv.org Our business is run on trust. We trust you will pay in advance. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3 window splitting: problem
* Roland Winkler jvax...@tah.bet [2011-12-30 02:23:37 -0600]: On Thu Dec 29 2011 Sam Steingold wrote: here is the complete patch: basically, I sacrifice the failed attempt to only split the mua windows for the sake of robustness. The current concept was really taken from BBDB v2. I am not using it. In that sense, I do not have strong feelings / much personal experience. In that case you might appreciate my shrink-window-if-larger-than-buffer patch: v2 created a fixed height *BBDB* window, v3 creates a *BBDB* window half the height of the tallest one. Did you see the e-mail? In what sense is it more robust if BBDB splits a window that is the tallest window, but possibly completely unrelated with BBDB? Why is it not working for you if BBDB tries to select a window that is displaying something related to BBDB (in addition to the criterion that the window should be as tall as possible)? Because the horiz-p argument is not always passed, which means that the my (bbdb-message-pop-up 'horiz) setting is ignored unless *BBDB* window is popped from a very specific place (which it is not always is). Also, a function which takes 6 (optional!) arguments is brittle by design. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://dhimmi.com http://truepeace.org http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org http://iris.org.il http://pmw.org.il If you have no enemies, you are probably dead. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: upgrading to v 3
* Roland Winkler jvax...@tah.bet [2011-12-29 02:36:33 -0600]: On Wed Dec 28 2011 Sam Steingold wrote: here is the fix: diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el index e0059a1..2d515ab 100644 --- a/lisp/bbdb-mua.el +++ b/lisp/bbdb-mua.el @@ -657,7 +657,8 @@ For interactive calls, see function `bbdb-mua-update-interactive-p'. (interactive (list nil (bbdb-mua-update-interactive-p))) (let (records) (bbdb-mua-wrapper - (setq records (bbdb-mua-update-records header-class update-p))) + (setq records (bbdb-mua-update-records +header-class (or update-p bbdb-mua-auto-update-p (if records (bbdb-display-records-internal records)) records)) I am confused: What is this patch supposed to fix? Where / how is bbdb-mua-display-records called such that it needs to use the variable bbdb-mua-auto-update-p? because of (add-hook 'gnus-article-prepare-hook 'bbdb-mua-display-sender) I guess I will try without it... thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.memritv.org http://pmw.org.il http://thereligionofpeace.com http://dhimmi.com http://iris.org.il http://openvotingconsortium.org The best propaganda of atheism is done by organized religion. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3 window splitting: problem
* Roland Winkler jvax...@tah.bet [2011-12-29 04:31:47 -0600]: On Wed Dec 28 2011 Sam Steingold wrote: * Sam Steingold f...@tah.bet [2011-12-28 12:44:25 -0500]: When I use the tall display, the *BBDB* window is vertical (i.e., it is split sideways, which is precisely what I want) When I use the wide display, the *BBDB* window is horizontal (i.e., it is split on the bottom top of another windows, which is _NOT_ what I want). I still have the problem, but now it's the other way around: wide display is split according to bbdb-message-pop-up == horiz and the tall display ignores is. The only difference I see is that after I restarted emacs, the first frame is tall and the second is wide. I.e., it appears that bbdb-message-pop-up is ignored in the first frame. nope, it is now appears to be completely unpredictable... Have you looked at bbdb-horiz-pop-up-window-size? yes, it looks fine. all my frames are big enough to be split horizontally. The new code for horizontal window splitting should give you the same behavior as the old code, except for hard-coded numbers being replaced by the user variable bbdb-horiz-pop-up-window-size. I did not use the old code. Yet part of the problem might be that different people might have different expectations what they consider meaningful and appropriate here. If you have some ideas how to improve the code for everybody, they will be appreciated. Okay, here is the patch. It makes bbdb-pop-up-window IGNORE the horiz-p argument which I do not understand and it makes it split horizontally the tallest window. It seems to force the horizontal behavior when I want it. diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 87f6c9f..4dc6a08 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -2982,6 +2982,13 @@ The *BBDB* buffer must be current when this is called. +(defun bbdb-tallest-window () + Find the tallest window. + (let ((tallest-window (selected-window))) +(dolist (window (window-list) tallest-window) + (when ( (window-height window) (window-height tallest-window)) +(setq tallest-window window) + ;;; window configuration hackery (defun bbdb-pop-up-window (optional select horiz-p) Find the largest window on the screen, and split it, displaying the @@ -2997,25 +3004,21 @@ will be split vertically rather than horizontally. ;; try horizontal split ((and (eq bbdb-message-pop-up 'horiz) - horiz-p (= (frame-width) (car bbdb-horiz-pop-up-window-size)) (let ((cbuffer (current-buffer)) -(window-list (window-list)) (selected-window (selected-window)) (b-width (cdr bbdb-horiz-pop-up-window-size)) -(search t) window) -(while (and (setq window (pop window-list)) -(setq search (funcall horiz-p window -(unless (or search (= (window-width window) - (car bbdb-horiz-pop-up-window-size))) - (select-window window) +(tallest-window (bbdb-tallest-window))) +(when ( (window-width tallest-window) + (car bbdb-horiz-pop-up-window-size)) + (select-window tallest-window) (condition-case nil ; `split-window-horizontally' might fail (progn (split-window-horizontally (if (integerp b-width) - (- (window-width window) b-width) - (round (* (- 1 b-width) (window-width window) -(select-window (next-window window)) + (- (window-width tallest-window) b-width) + (round (* (- 1 b-width) (window-width tallest-window) +(select-window (next-window tallest-window)) (let (pop-up-windows) (switch-to-buffer (get-buffer-create bbdb-buffer-name))) (unless select @@ -3027,11 +3030,7 @@ will be split vertically rather than horizontally. (t ;; vertical split (let* ((cbuffer (current-buffer)) (selected-window (selected-window)) -(tallest-window selected-window)) - ;; find the tallest window... - (dolist (window (window-list)) - (if ( (window-height window) (window-height tallest-window)) - (setq tallest-window window))) +(tallest-window (bbdb-tallest-window))) (select-window tallest-window) ; select it and split it... (if (eql bbdb-pop-up-window-size 1.0) ;; select `bbdb-buffer-name' -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://mideasttruth.com http://iris.org.il http://memri.org http
Re: v3 window splitting: problem
here is the complete patch: basically, I sacrifice the failed attempt to only split the mua windows for the sake of robustness. diff --git a/ChangeLog b/ChangeLog index 6bbbe47..29b211c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-12-29 Sam Steingold s...@gnu.org + * lisp/bbdb.el (bbdb-display-records) + (bbdb-display-records-internal): Do not accept horiz-p. + (bbdb-tallest-window): Extract from `bbdb-pop-up-window'. + (bbdb-pop-up-window): Do not accept horiz-p; always split the + tallest window when possible, whether horizontally or vertically. + * lisp/bbdb-mua.el (bbdb-mua-auto-update): + Do not pass horiz-p to `bbdb-display-records-internal'. + 2011-12-28 Sam Steingold s...@gnu.org * lisp/bbdb.el (bbdb-pop-up-window): Shrink the vertical *BBDB* window when possible. diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el index e0059a1..2f93b6f 100644 --- a/lisp/bbdb-mua.el +++ b/lisp/bbdb-mua.el @@ -786,22 +786,11 @@ See `bbdb-mua-display-records' and friends for interactive commands. (records (bbdb-mua-update-records header-class (or update-p bbdb-mua-auto-update-p -(if bbdb-message-pop-up -(let* ((mua (bbdb-mua)) - (mode (cond ((eq mua 'vm) 'vm-mode) - ((eq mua 'gnus) 'gnus-article-mode) - ((eq mua 'rmail) 'rmail-mode) - ((eq mua 'mh) 'mh-folder-mode) - ((eq mua 'message) 'message-mode) - ((eq mua 'mail) 'mail-mode - (if records - (bbdb-display-records-internal - records nil nil nil - `(lambda (window) - (with-current-buffer (window-buffer window) -(eq major-mode ',mode -;; If there are no records, empty the BBDB window. -(bbdb-undisplay-records +(when bbdb-message-pop-up + (if records + (bbdb-display-records-internal records) +;; If there are no records, empty the BBDB window. +(bbdb-undisplay-records))) records)) ;; Should the following be replaced by a minor mode?? diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 87f6c9f..ab6ace2 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -2801,7 +2801,7 @@ Move point to the end of the inserted record. (put-text-property beg (point) 'bbdb-record-number number (defun bbdb-display-records (optional records layout append - select horiz-p electric-p) + select electric-p) Display RECORDS using LAYOUT. (interactive (list (bbdb-completing-read-records Display records: ) (bbdb-layout-prefix))) @@ -2812,14 +2812,13 @@ Move point to the end of the inserted record. (progn (define-key bbdb-mode-map 'bbdb-electric-done) (bbdb-electric-display-records records)) - (bbdb-display-records-internal records layout append select horiz-p) + (bbdb-display-records-internal records layout append select) ;; do not smash keybinding if they invoked `bbdb-display' ;; from inside an electric loop. (unless bbdb-inside-electric-display (define-key bbdb-mode-map 'undefined) -(defun bbdb-display-records-internal (records optional layout append - select horiz-p) +(defun bbdb-display-records-internal (records optional layout append select) Low-level function overlooking the setup of the *BBDB* buffer. (if (bbdb-append-display-p) (setq append t)) @@ -2852,7 +2851,7 @@ Move point to the end of the inserted record. (set (make-local-variable 'bbdb-buffer-name) new-name) (unless (get-buffer-window bbdb-buffer-name) - (bbdb-pop-up-window select horiz-p)) + (bbdb-pop-up-window select)) (set-buffer bbdb-buffer-name) ;; *BBDB* ;; If we're appending RECORDS to the ones already displayed, @@ -2982,40 +2981,43 @@ The *BBDB* buffer must be current when this is called. +(defun bbdb-tallest-window () + Find the tallest window. + (let ((tallest-window (selected-window))) +(dolist (window (window-list) tallest-window) + (when ( (window-height window) (window-height tallest-window)) +(setq tallest-window window) + ;;; window configuration hackery -(defun bbdb-pop-up-window (optional select horiz-p) +(defun bbdb-pop-up-window (optional select) Find the largest window on the screen, and split it, displaying the *BBDB* buffer in the bottom `bbdb-pop-up-window-size' lines (unless the *BBDB* buffer is already visible, in which case do nothing.) Select this window if SELECT is non-nil. -If `bbdb-message-pop-up' is 'horiz, and the first window matching -HORIZ-P is sufficiently wide ( 112 columns
v3: how do I edit the organization?
with v2, I would hit RET or 'e' on the name field and would be offered to edit first the name and then the organization (company). now I am just offered the name. how do I enter the organization? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://iris.org.il http://openvotingconsortium.org http://pmw.org.il http://truepeace.org http://www.PetitionOnline.com/tap12009/ Democracy is like a car: you can ride it or you can run people over with it. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: upgrading to v 3
* Sam Steingold f...@tah.bet [2011-12-27 13:19:50 -0500]: 2. I want to avoid putting the email uid into the first name slot. I.e., when creating a record for f...@bar.com, I want the names to be void, not foo . As a first step, I tried to find all such records I have: (defun address-name (address) (if (string-match @ address) (substring address 0 (match-beginning 0)) address)) (with-current-buffer (find-file-noselect bbdb-file) (dolist (rec bbdb-records) (when (and (equal (bbdb-record-lastname rec) ) (find (bbdb-record-firstname rec) (bbdb-record-mail rec) :key 'address-name :test 'equal)) (print rec Now, my question is: how do I modify these records? (setf (bbdb-record-lastname rec) nil (bbdb-record-firstname rec) nil) does not work. Thanks. The setters are: bbdb-record-set-lastname bbdb-record-set-firstname Will using them propagate to bbdb-file when I do bbdb-save? Presumably, yes, I am just trying to make sure... nope. so, how do transfer the changes effected by bbdb-record-set-firstname et al into the bbdb-file? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://ffii.org http://memri.org http://honestreporting.com http://thereligionofpeace.com http://www.memritv.org http://palestinefacts.org We are born naked, wet, and hungry. Then things get worse. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: meaningless names - how to avoid them?
* Sam Steingold f...@tah.bet [2011-12-27 13:19:50 -0500]: Now, how do I prevent such useless first/last name from being set from the mail in the first place? they are coming from this code: ;; first try to get a reasonable default name if not given ;; often I get things like firstname.surname@ ... (if (or (null name) (and (stringp name) (string= name))) (if (string-match ^[^@]+ mail) (setq name (bbdb-message-clean-name (match-string 0 mail) I think this should be removed. I can hardly imagine giving name foo to the record based on f...@bar.com as something useful - especially since when you get a message form John Doe f...@bar.com you will have to endure an interrogation: use John Doe instead of foo? keep foo as an AKA? At the very least it should be optional! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://truepeace.org http://openvotingconsortium.org http://iris.org.il http://ffii.org http://camera.org http://palestinefacts.org Abandon all hope, all ye who press Enter. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3: name matched against organization?!
* Sam Steingold f...@tah.bet [2011-12-27 13:27:12 -0500]: When visiting an article from foo b...@baz.com who is not in my db, I am offered to add name foo and address b...@baz.com to the record of First Last - foo, i.e., a person whose _organization_ is foo. I think this is wrong: matching the name foo against organization foo. this is because bbdb-hashtable hashes on organization too and bbdb-message-search does not check that the record bbdb-gethash returns actually has the right field. 1. why does bbdb-hashtable hash on organization? I don't think it should; organization is hardly unique. 2. bbdb-message-search should consider AKA in addition to bbdb-record-name 3. bbdb-message-search should check that (bbdb-gethash mail) actually returns records with matching mail (as opposed to, e.g., organization) and (bbdb-gethash name) actually returns records with matching name or AKA. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://thereligionofpeace.com http://jihadwatch.org http://honestreporting.com http://camera.org http://palestinefacts.org http://www.memritv.org (when (or despair hope) (cerror Accept life as is. Bad attitude.)) -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3: name matched against organization?!
* Roland Winkler jvax...@tah.bet [2011-12-28 03:51:14 -0600]: On 2011-12-27 09:29 +0800, Sam Steingold wrote: When visiting an article from foo b...@baz.com who is not in my db, I am offered to add name foo and address b...@baz.com to the record of First Last - foo, i.e., a person whose _organization_ is foo. I think this is wrong: matching the name foo against organization foo. ...Yet this does not yet explain Sam's problem: if the message of foo b...@baz.com had a header Organization: Woozle, his setting of bbdb-auto-notes-rules should add Woozle to Foo's BBDB record. Yet it should not operate on an existing record where the organization field had value 'Foo' (unless the value of the name field was 'Foo', too). this is not what is happening to me. I see a message in a newsgroup From: foo b...@baz.com I do not have a record with name=foo or mail containing b...@baz.com. However I have a single bbdb record with organization=foo. The message is marked as coming from a known bbdb person and that person is the one with organization=foo. Right now I am puzzled... In general, multiple records may share the same organization field. Which record is picked then? I happen to have just one record with this specific organization. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://camera.org http://mideasttruth.com http://thereligionofpeace.com http://dhimmi.com http://www.PetitionOnline.com/tap12009/ http://truepeace.org Old Age Comes at a Bad Time. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
window splitting: patch
diff --git a/ChangeLog b/ChangeLog index 616832d..6bbbe47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-12-28 Sam Steingold s...@gnu.org + * lisp/bbdb.el (bbdb-pop-up-window): + Shrink the vertical *BBDB* window when possible. + 2011-12-27 Sam Steingold s...@gnu.org * lisp/bbdb-mua.el (bbdb-update-records): Use `symbol-value' instead of `eval' for symbols. diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 4199d61..87f6c9f 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -3047,7 +3047,8 @@ will be split vertically rather than horizontally. (window-height tallest-window) (select-window (next-window)) ; goto the bottom of the two... (let (pop-up-windows) ; make it display *BBDB*... - (switch-to-buffer (get-buffer-create bbdb-buffer-name + (switch-to-buffer (get-buffer-create bbdb-buffer-name)) + (shrink-window-if-larger-than-buffer))) (error (pop-to-buffer (get-buffer-create bbdb-buffer-name (unless select (select-window selected-window) ; original window we were in -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.memritv.org http://dhimmi.com http://memri.org http://openvotingconsortium.org http://iris.org.il http://camera.org If a train station is a place where a train stops, what's a workstation? -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
v3 window splitting: problem
Hi, I have the following problem: I want the *BBDB* window to be split horizontally, so I set bbdb-message-pop-up to 'horiz. Alas, sometimes is works, sometimes it does not. Specifically, I have two displays: wide (X: 1366x768, Emacs frame: 221x54) tall (X: 1200x1920, Emacs frame: 193x143) When I use the tall display, the *BBDB* window is vertical (i.e., it is split sideways, which is precisely what I want) When I use the wide display, the *BBDB* window is horizontal (i.e., it is split on the bottom top of another windows, which is _NOT_ what I want). I can't seem to be able to debug this; the horiz-p argument to bbdb-pop-up-window is very confusing. Can someone enlighten me? PS. Also, I think having more control over the horiz splitting would be nice. right now the current (*Summary* in gnus) window is split; I think two other options: split the tallest window and split _all_ windows would be nice too. WDYT? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://jihadwatch.org http://pmw.org.il http://www.memritv.org http://memri.org http://mideasttruth.com http://dhimmi.com http://camera.org Unix roulette: `dd if=/dev/urandom of=/dev/kmem bs=1 count=1 seek=$RANDOM` -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: upgrading to v 3
* Roland Winkler jvax...@tah.bet [2011-12-28 04:32:44 -0600]: On Mon Dec 26 2011 Sam Steingold wrote: 1. despite (bbdb-mua-auto-update-init 'gnus 'message) when I view an article, the *BBDB* buffer does not appear for the known senders (marked with a bbdb/gnus-summary-known-poster-mark in summary). When I do (add-hook 'gnus-article-prepare-hook 'bbdb-mua-display-sender) gnus-article-prepare-hook is a variable defined in `gnus-art.el'. Its value is (bbdb-mua-display-sender bbdb-mua-auto-update) is this the correct value? apparently, one has to set _both_ bbdb-mua-auto-update-p _and_ bbdb/gnus-update-records-p to 'search. ...Strange. If you set bbdb-mua-auto-update-p, this is what bbdb-mua-auto-update uses. In this case, it should never see your value of bbdb/gnus-update-records-p. hmm, I restarted emacs with your suggested settings. bbdb/gnus-update-records-p (lambda nil (let ((bbdb-update-records-p (quote query))) (bbdb-select-message))) bbdb-mua-auto-update-p search when I view a gnus article (message) from an unknown sender, I am offered creation of a record. on the plus side, I can now create records from messages (: and ; work again!) I guess this means that 1. bbdb/gnus-update-records-p should not be a defcustom. 2. it is used somewhere where bbdb-mua-auto-update-p should be used instead. would you please fix this, or do I have to do it? thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://dhimmi.com http://palestinefacts.org http://thereligionofpeace.com http://ffii.org http://honestreporting.com http://camera.org http://iris.org.il If you have to be told to question authority, perhaps you shouldn't. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
bbdb-check-auto-save-file is broken
If I set bbdb-check-auto-save-file to t, modify the db and not save it right away, I am asked all the time about recovering bbdb from the auto save file. with v2, I was asked this only when bbdb was first loaded, which was useful. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://honestreporting.com http://memri.org http://iris.org.il http://jihadwatch.org http://palestinefacts.org http://thereligionofpeace.com C combines the power of assembler with the portability of assembler. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: upgrading to v 3
* Sam Steingold f...@tah.bet [2011-12-28 13:47:57 -0500]: hmm, I restarted emacs with your suggested settings. bbdb/gnus-update-records-p (lambda nil (let ((bbdb-update-records-p (quote query))) (bbdb-select-message))) bbdb-mua-auto-update-p search when I view a gnus article (message) from an unknown sender, I am offered creation of a record. on the plus side, I can now create records from messages (: and ; work again!) here is the fix: diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el index e0059a1..2d515ab 100644 --- a/lisp/bbdb-mua.el +++ b/lisp/bbdb-mua.el @@ -657,7 +657,8 @@ For interactive calls, see function `bbdb-mua-update-interactive-p'. (interactive (list nil (bbdb-mua-update-interactive-p))) (let (records) (bbdb-mua-wrapper - (setq records (bbdb-mua-update-records header-class update-p))) + (setq records (bbdb-mua-update-records +header-class (or update-p bbdb-mua-auto-update-p (if records (bbdb-display-records-internal records)) records)) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://pmw.org.il http://thereligionofpeace.com http://dhimmi.com http://camera.org http://openvotingconsortium.org http://mideasttruth.com What was the best thing before sliced bread? -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
v3: name matched against organization?!
When visiting an article from foo b...@baz.com who is not in my db, I am offered to add name foo and address b...@baz.com to the record of First Last - foo, i.e., a person whose _organization_ is foo. I think this is wrong: matching the name foo against organization foo. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://pmw.org.il http://www.PetitionOnline.com/tap12009/ http://truepeace.org http://iris.org.il http://memri.org http://mideasttruth.com Oh Lord, give me the source code of the Universe and a good debugger! -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
patch: fix (defcustom bbdb-auto-notes-rules ...)
2011-12-27 Sam Steingold s...@gnu.org * lisp/bbdb.el (bbdb-auto-notes-rules): Use :set keyword to reset `bbdb-auto-notes-rules-expanded' when `bbdb-auto-notes-rules' is set. diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 44c4181..a25cd34 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -1082,10 +1082,13 @@ See also variables `bbdb-auto-notes-ignore-messages' and For speed-up, the function `bbdb-auto-notes' actually use expanded rules stored in the internal variable `bbdb-auto-notes-rules-expanded'. -If you change the value of `bbdb-auto-notes-rules' +If you change the value of `bbdb-auto-notes-rules' outside of customize, set `bbdb-auto-notes-rules-expanded' to nil, so that the expanded rules will be re-evaluated. :group 'bbdb-mua + :set (lambda (symbol value) + (set-default symbol value) + (setq bbdb-auto-notes-rules-expanded nil)) :type '(repeat (bbdb-alist-with-header (repeat (choice -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://iris.org.il http://www.PetitionOnline.com/tap12009/ http://truepeace.org http://mideasttruth.com http://camera.org If a cat tells you that you lost your mind, then it is so. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Fix wrong expansion of rules in bbdb-auto-notes
* Leo fqy@tznvy.pbz [2011-12-28 08:15:28 +0800]: On 2011-05-09 02:59 +0800, Roland Winkler wrote: 2011-12-27 Sam Steingold s...@gnu.org * lisp/bbdb.el (bbdb-auto-notes-rules): Use :set keyword to reset `bbdb-auto-notes-rules-expanded' when `bbdb-auto-notes-rules' is set. This has been discussed before http://thread.gmane.org/gmane.emacs.bbdb.user/2697/focus=2711 I think it is good idea to let go bbdb-auto-notes-rules-expanded. Whatever course is taken is fine by me. I sent a simple patch which fixes a bug. I think it should be applied until a your more elaborate fix is ready. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.PetitionOnline.com/tap12009/ http://ffii.org http://pmw.org.il http://thereligionofpeace.com http://iris.org.il http://www.memritv.org It's not just a language, it's an adventure. Common Lisp. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3: name matched against organization?!
* Leo fqy@tznvy.pbz [2011-12-28 08:19:01 +0800]: On 2011-12-28 02:27 +0800, Sam Steingold wrote: When visiting an article from foo b...@baz.com who is not in my db, I am offered to add name foo and address b...@baz.com to the record of First Last - foo, i.e., a person whose _organization_ is foo. I think this is wrong: matching the name foo against organization foo. How did that happen? BBDB does not seem to modify the organization field by default. It sets notes fields only. (custom-set-variables '(bbdb-auto-notes-rules '((Web (.* www 0)) (X-Web (*\\(^*\\)* www 1)) (X-WWW-Homepage (*\\([^]*\\)* www 1)) (X-Url (*\\([^]*\\)* www 1)) (X-Url-From (*\\([^]*\\)* www 1)) (Organization (.* organization 0)) (Organisation (.* organization 0)) (X-Organisation (.* organization 0)) (X-Organization (.* organization 0) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://honestreporting.com http://jihadwatch.org http://palestinefacts.org http://memri.org http://www.PetitionOnline.com/tap12009/ http://camera.org If you try to fail, and succeed, which have you done? -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: v3: name matched against organization?!
* Leo fqy@tznvy.pbz [2011-12-28 10:56:36 +0800]: On 2011-12-28 09:29 +0800, Sam Steingold wrote: (custom-set-variables '(bbdb-auto-notes-rules '((Web (.* www 0)) (X-Web (*\\(^*\\)* www 1)) (X-WWW-Homepage (*\\([^]*\\)* www 1)) (X-Url (*\\([^]*\\)* www 1)) (X-Url-From (*\\([^]*\\)* www 1)) (Organization (.* organization 0)) (Organisation (.* organization 0)) (X-Organisation (.* organization 0)) (X-Organization (.* organization 0) Just a note. This only modifies the notes subfield (as in bbdb-notes-label-list), not the standard organization field. in v2 is did modify the company field. why the change? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://ffii.org http://truepeace.org http://memri.org http://iris.org.il http://camera.org http://www.memritv.org Diplomacy is the art of saying nice doggy until you can find a rock. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2011-11-20
* Roland Winkler jvax...@tah.bet [2011-11-20 23:13:36 -0600]: On Sun Nov 20 2011 Sam Steingold wrote: as I said before, TRT is to use define-obsolete-function-alias define-obsolete-variable-alias This would require a simple one-to-one correspondence between function and variable names in BBDB v2 and v3 which is NOT the case. Only if the goal is to maintain backward compatibility, which is _not_ the case. The goal is to use the standard emacs functionality to automatically warn the users when they try to use obsolete variables and functions. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://camera.org http://memri.org http://pmw.org.il http://www.memritv.org http://dhimmi.com http://openvotingconsortium.org http://mideasttruth.com I may be getting older, but I refuse to grow up! -- 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: [BBDB] ChangeLog 2011-11-20
* Roland Winkler jvax...@tah.bet [2011-11-20 17:52:40 -0600]: The new command bbdb-undocumented-variables might help you to identify outdated variables. This displays a list of all undocumented variables in the bbdb- name space. this is a good start! still, this does not give me any information about the replacements for the obsolete variables. as I said before, TRT is to use define-obsolete-function-alias define-obsolete-variable-alias All variables in BBDB 3 now have a doc string. So if you set variables in your init file that are not used anymore by BBDB (so that they are not documented anymore either), these variables will be displayed by bbdb-undocumented-variables. (Unfortunately, this fails for outdated BBDB variables that are set via your personal `custom-file'. Let me know if you know a better solution for this.) just use apropos-internal and iterate over the symbols it returns, looking for those with 'custom properties set but no doc string. however, this is _not_ the right approach (see above) -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://honestreporting.com http://www.PetitionOnline.com/tap12009/ http://camera.org http://jihadwatch.org http://thereligionofpeace.com You can have it good, soon or cheap. Pick two... -- 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: stop bbdb from asking questions in gnus
* Thorsten dhvags...@tbbtyrznvy.pbz [2011-11-10 18:29:45 +0100]: This is for MH, RMAIL and VM. For Gnus the variable is bbdb/news-auto-create-p I don't find that variable (bbdb 3) this is a bug in bbdb3. it should be present and marked as obsolete, with a doc pointing to the replacement. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://dhimmi.com http://palestinefacts.org http://openvotingconsortium.org http://camera.org http://ffii.org http://pmw.org.il http://mideasttruth.com You can have it good, soon or cheap. Pick two... -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangeLog 2011-10-10
Alas, I am still waiting for the obsoletion annotations in the code before upgrading, so I cannot try these wonderful new features... -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.04 (natty) X 11.0.11004000 http://ffii.org http://palestinefacts.org http://truepeace.org http://camera.org http://iris.org.il http://mideasttruth.com I'm out of my mind, but feel free to leave a message... -- 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-oct ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: TODO: Facilitate update BBDB v2.x to v3
Am I the only one still using v2 because the upgrade to v3 requires a manual check of how each variable and function has been renamed? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.04 (natty) X 11.0.11001000 http://memri.org http://palestinefacts.org http://www.memritv.org http://dhimmi.com http://pmw.org.il http://ffii.org UNIX is a way of thinking. Windows is a way of not thinking. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
TODO: Facilitate update BBDB v2.x to v3
As I mentioned before, the right solution is to mark the old functions and variables obsolete which would make emacs autodetect and warn the users when they use the old variables. This seems to be much easier (and probably even automatable using git) than the suggestion in TODO (auto-migration). Is anyone working on this? Thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://jihadwatch.org http://openvotingconsortium.org http://ffii.org http://www.memritv.org http://honestreporting.com Good: you CAN configure everything. Bad: you WILL configure everything. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
conditionally compile VM
2011-05-16 Sam Steingold s...@gnu.org * Makefile (all): depend on vm only if VMDIR exists iff --git a/lisp/Makefile b/lisp/Makefile index 5829cf3..b383f1d 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -61,7 +59,13 @@ DEPBINS= ${DEPSRCS:.el=.elc} SRCS= bbdb.el $(DEPSRCS) BINS= bbdb.elc $(DEPBINS) -all: Makefile bbdb autoloadsc vm +ALL = Makefile bbdb autoloadsc + +ifneq ($(wildcard $(VMDIR)),) +ALL = $(ALL) vm +endif + +all: $(ALL) # Makefile: Makefile.in # @echo Makefile.in has changed, rerun configure! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://palestinefacts.org http://iris.org.il http://mideasttruth.com http://camera.org http://dhimmi.com http://thereligionofpeace.com Warning! Dates in calendar are closer than they appear! -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] Changelog 2010-05-11, part 2
* Roland Winkler jvax...@tah.bet [2011-05-11 11:25:25 -0500]: On Tue May 10 2011 Sam Steingold wrote: PS. I would appreciate it if you would give me git commit rights. I don't mind giving you write access... thanks. 2011-05-10 Sam Steingold s...@gnu.org * bbdb-com.el (bbdb-get-help-window): use `special-mode' instead of setting `buffer-read-only' explicitly, this way we get all the special bindings for free ...though I do not know (yet) which version of BBDB you want to work on. bbdb-get-help-window was a function in BBDB v2, but in v3, it's been merged with bbdb-prompt-for-create. I see. I use v2 for now, waiting for a clear upgrade path, i.e., the list of symbol renamings and make-obsolete declarations. From a different perspective, 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. yes, but getting rid of the help buffer by merely hitting q or z there is still useful. BBDB is avaiable at http://git.savannah.nongnu.org/cgit/bbdb.git To check it out, use git clone git://git.savannah.nongnu.org/bbdb.git yep, I have it and I am watching it for the appearance of make-obsolete forms :-) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://iris.org.il http://truepeace.org http://pmw.org.il http://www.memritv.org http://thereligionofpeace.com When C++ is your hammer, everything looks like a thumb. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
patch for bbdb-get-help-window
2011-05-10 Sam Steingold s...@gnu.org * bbdb-com.el (bbdb-get-help-window): use `special-mode' instead of setting `buffer-read-only' explicitly, this way we get all the special bindings for free - --- lisp/bbdb-com.el16 Mar 2008 23:05:22 - +++ lisp/bbdb-com.el10 May 2011 13:51:57 - @@ -3614,7 +3614,7 @@ (defun bbdb-get-help-window (message) (setq w (display-buffer b))) (select-window w) (switch-to-buffer b) -(setq buffer-read-only t) +(special-mode) (let ((buffer-read-only nil)) (erase-buffer) (insert message)) - PS. I would appreciate it if you would give me git commit rights. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://dhimmi.com http://mideasttruth.com http://openvotingconsortium.org http://honestreporting.com http://ffii.org http://thereligionofpeace.com I just forgot my whole philosophy of life!!! -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: What's the intention of the DEGREE field?
* Leo fqy@tznvy.pbz [2011-04-23 03:46:05 +0800]: On 2011-04-22 23:36 +0800, Roland Winkler wrote: All these thought are not 100% mature and final. Suggestions welcome! From a different perspective, I want to add that if someone doesn't care about this field, he or she can completely ignore it and should never notice that it is available. How about replace DEGREE field with two fields: PREFIX and SUFFIX. They can be ignored if the user doesn't want to use them so in a sense they don't get in the way. And these field names are much more general than DEGREE. 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 nil there. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://truepeace.org http://thereligionofpeace.com http://palestinefacts.org http://camera.org http://dhimmi.com http://www.PetitionOnline.com/tap12009/ Democrats, get out of my wallet! Republicans, get out of my bedroom! -- Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangLog 2011-04-16
* Roland Winkler jvax...@tah.bet [2011-04-18 16:15:04 -0500]: 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). look at the macro define-derived-mode in derived.el. (define-derived-mode child parent ...) does (set-keymap-parent child-map parent-map) so if you do (define-derived-mode bbdb-mode special-mode ...) then you do not need to do (set-keymap-parent bbdb-mode-map special-mode-map) So these people are asked to just email fsf-reco...@gnu.org, and tell them that their work on BBDB should be considered part of their Emacs assignment. done -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://ffii.org http://honestreporting.com http://openvotingconsortium.org http://pmw.org.il http://camera.org http://mideasttruth.com http://dhimmi.com Experience comes with debts. -- 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/
Re: mail administrivia
* Ted Zlatanov g...@yvsrybtf.pbz [2011-04-18 11:03:57 -0500]: - set up a bbdb-vcs list for commit messages - subscribe bbdb-info to bbdb-vcs in the digest mode -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://www.PetitionOnline.com/tap12009/ http://thereligionofpeace.com http://dhimmi.com http://mideasttruth.com http://ffii.org Independence: nobody pays for you. Liberty: nobody thinks for you. -- 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/
Re: Replace bbdb-defstruct with defstruct?
* Roland Winkler jvax...@tah.bet [2011-04-18 16:21:29 -0500]: On Mon Apr 18 2011 Sam Steingold wrote: * 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-defstruct with defstruct? What benefit(s) would you expect from that? - less code duplication (more maintainable) - smaller memory footprint - benefit from potential speedups in the mainline code I still don't know how this would work. But I'll be happy to look at a patch (provided it doesn't break too much). To test a patch I need to switch to bbdb 3. To switch to bbdb 3 I need to migrate my customizations. To migrate my customizations I need the list of obsolete variables in a machine-readable format (preferably an elisp file containing make-obsolete forms). -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://camera.org http://openvotingconsortium.org http://truepeace.org http://thereligionofpeace.com http://jihadwatch.org http://pmw.org.il usually: can't pay == don't buy. software: can't buy == don't pay -- Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: [BBDB] ChangLog 2011-04-16
* Roland Winkler jvax...@tah.bet [2011-04-16 18:17:41 -0500]: On Wed Apr 13 2011 Sam Steingold wrote: if you do not care about obsolete emacsen, please apply this instead. I extended (and fixed) this patch to inherit from special-mode. thanks Now bbdb-mode is also derived from special-mode. I think this make bbdb-mode-map inherit from special-mode-map automatically. PS. please add me (sds) to bbdb savannah. I have contributed to bbdb in the past, I have write access to emacs bzr and all emacs / fsf (c) papers in place. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://pmw.org.il http://www.memritv.org http://mideasttruth.com http://truepeace.org http://dhimmi.com http://jihadwatch.org Every day above ground is a good day. -- 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/
Re: Replace bbdb-defstruct with defstruct?
* 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-defstruct with defstruct? What benefit(s) would you expect from that? - less code duplication (more maintainable) - smaller memory footprint - benefit from potential speedups in the mainline code -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://truepeace.org http://dhimmi.com http://ffii.org http://www.PetitionOnline.com/tap12009/ http://jihadwatch.org All generalizations are wrong. Including this. -- 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/
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
* 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
* 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/
not noticing entries
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? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X 11.0.60900031 http://www.memritv.org http://iris.org.il http://openvotingconsortium.org http://mideasttruth.com http://pmw.org.il http://palestinefacts.org We're too busy mopping the floor to turn off the faucet. -- 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/