Re: bbdb

2013-11-11 Thread Ted Zlatanov
On Sun, 10 Nov 2013 21:07:36 -0500 Stefan Monnier monn...@iro.umontreal.ca 
wrote: 

 I'd love to include the new BBDB 3 in GNU Elpa,
SM And so would I.

Maybe the BBDB should just have its own ELPA repository until the
assignments are resolved?  The GNU ELPA could have a new external link
index entry that points to another ELPA repository, making the user
experience seamless.

Ted


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/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 V3 export

2012-03-13 Thread Ted Zlatanov
On Mon, 12 Mar 2012 12:49:32 +0530 Sriram ET. karra@gmail.com wrote: 

SE On Sun, Mar 11, 2012 at 10:11 PM, Brett Presnell 
presn...@stat.ufl.eduwrote:
SE Just FYI, back in October 2011 Ted Zlatanov t...@lifelogs.com wrote on
 this list:
 
  I put together some code that uses CouchDB to store Gnus group
  subscriptions and marks in gnus-sync.el.  It works well; so well in
  fact that I'm considering doing the same for BBDB records.  Imagine
  having your BBDB entirely stored on a central server instead of a
  local file.  Yes, kind of like LDAP, but not so hard to use and much
  more accessible.
 
  In order to do this I will have to generalize and improve the
  gnus-sync.el code that talks to CouchDB.  But I wanted to first find out
  if this interests anyone (and please feel free to tell me my idea
  sucks), or if there's existing functionality that I would be
  duplicating.  I'm not aware of such.
 
 There was some further discussion about this and Ted seemed very willing
 to work further on it, but I'm not sure that it went anywhere.  I'm
 pretty sure that he did say that it was easy to set up a CouchDB server
 and that it shouldn't be difficult to exchange CouchDB records with
 other formats.

SE I feel it is the right direction for BBDB to evolve. More generically, a
SE good direction appears to be to abstract away the actual store and have
SE multiple backend implementations similar to Gnus, i.e. have a bbdb-file,
SE bbdb-couch, bbdb-sqlite, perhaps a bbdb-ldap and so on.

SE Ted, did you do some work that's happens to be just lying around on your
SE hard disk?

No, I've been working on other tasks.  It's really not complicated,
though, and gnus-sync.el already has much of the glue I would need.  The
biggest driver for me is whether others are interested in it.  If Brett,
Roland, Sriram, and other may use it, that makes it more likely I will
commit time to it.  So now that I know that, I'll prioritize.

With CouchDB, I can easily export individual records from JSON back to
the BBDB vector format.  I'll do similar work for file and other
backends.  I'll make it possible to use LDAP and SQLite but I wouldn't
use them, personally.  LDAP requires a very specific infrastructure and
SQLite would have all the complexity of CouchDB with none of the network
accessibility :)

The interesting part is serving the BBDB records out in other formats.
At least for CardDAV it will require more than simple XML records,
unfortunately.  I can easily present the records in XML, JSON, CSV...

To start, it would save me a lot of time if I had a function to convert
a BBDB record to alist and then import it back, or a description of the
BBDB schema (what each vector offset represents).  Is that already
available?  I would guess so... I generally don't know the BBDB insides,
though I will by the end of this project :)

Thanks
Ted


--
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/


Re: cloudy BBDB

2011-11-01 Thread Ted Zlatanov
On Sun, 30 Oct 2011 22:08:48 -0400 Brett Presnell presn...@stat.ufl.edu 
wrote: 

BP I do pretty well at keeping my bbdb databased synced across the machines
BP that I use.  My bigger problem is syncing it with my mobile phone
BP (nokia/symbian right now) and my google contacts (similar issues with
BP emacs diary, but that's a different story).  So if the CouchDB setup
BP makes it possible/easier for me to sync the information with these other
BP devices, then I am very interested.  Otherwise, not as much.

It's definitely easier to sync to and from CouchDB than the native BBDB
file format.

If you have details about these other formats you need, that would
help.  I don't know what your phone and Google expect so I can't say for
sure if I could generate them on the fly.

Thanks
Ted


--
RSAreg; Conference 2012
Save #36;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: cloudy BBDB

2011-10-29 Thread Ted Zlatanov
On Sat, 29 Oct 2011 08:58:19 +0700 Eric Abrahamsen e...@ericabrahamsen.net 
wrote: 

EA On Fri, Oct 28 2011, Ted Zlatanov wrote:
 I put together some code that uses CouchDB to store Gnus group
 subscriptions and marks in gnus-sync.el.  It works well; so well in fact
 that I'm considering doing the same for BBDB records.  Imagine having
 your BBDB entirely stored on a central server instead of a local file.
 Yes, kind of like LDAP, but not so hard to use and much more accessible.
 
 In order to do this I will have to generalize and improve the
 gnus-sync.el code that talks to CouchDB.  But I wanted to first find out
 if this interests anyone (and please feel free to tell me my idea
 sucks), or if there's existing functionality that I would be
 duplicating.  I'm not aware of such.

EA Out of curiosity, what sort of support would be needed on the server
EA side. Just a CouchDB installation? I assume it's the sort of thing you'd
EA need your own hosting and SSH access to set up?

Just CouchDB (you may need to install some custom design views, but
that's trivial and I already do it for gnus-sync.el).  

There's something interesting here.  CouchDB has built-in multipoint
replication (master-master) over HTTP.  So you can run your own locally
and another one somewhere else; the replication is trivial to set up.
So rather than a world-visible CouchDB server you could have two private
ones talking over HTTP.

As for third-party solutions, see
http://stackoverflow.com/questions/1091735/is-there-a-hosted-couchdb-service-provider

Cloudant and Iris Couch have free plans to provide hosted CouchDB that
will probably be good enough for most of us.  I can host people on my
server as long as I can afford it :)  But the idea is that this is an
infrastructure you can easily obtain, and the BBDB sync will ride on top
of it.

Ted


--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB synchronization

2011-10-28 Thread Ted Zlatanov
On Wed, 06 Apr 2011 08:43:14 -0500 Ted Zlatanov t...@lifelogs.com wrote: 

TZ I also plan to add cloud sync support to BBDB 3.x and Gnus so they can
TZ be synchronized against a server and provide a neutral format, probably
TZ XML and JSON in addition to the native Emacs format.  The sync server
TZ would take care of the conversions between formats.  This is vaporware
TZ at this point but I will get to it sometime this millenium.  If you are
TZ interested in helping let me know.

See my post with subject 'cloudy BBDB' for the info.  I'm following up
in case anyone looks at this old thread in search results.

Ted


--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [BBDB] feature freeze

2011-10-28 Thread Ted Zlatanov
On Mon, 11 Apr 2011 15:54:55 -0500 Ted Zlatanov t...@lifelogs.com wrote: 

TZ On Mon, 11 Apr 2011 11:29:32 -0400 Brett Presnell presn...@stat.ufl.edu 
wrote: 
BP In spite of my need for this functionality, I'm not sure how wise it
BP would be to devote a great deal of effort to direct conversion of the
BP new bbdb record format to vcard.  It sounds like Ted Zlatanov has
BP thought about these issues pretty carefully, and his idea of
BP synchronizing against server with a neutral data format would negate the
BP need for any direct bbdb to vcard or other formats.

BP Ted mentioned that he would welcome help with this work.  Ted, if you're
BP reading this, I'm afraid that I have neither the time nor the expertise
BP to do much more than cheer loudly from the sidelines (if I had more
BP time, I would try to develop the expertise).  However, if you need
BP someone to help with testing I can probably manage that.

TZ OK, thanks.  When it's not vaporware I'll post it on the BBDB list and
TZ ask for testers.

See my post with subject 'cloudy BBDB' for the info.

BP It would be great to get the diary/calendar in there too.  (Hey, I can
BP dream, right?)  I'm currently using icalendar.el to export, but
BP importing is just too tricky.  Export pretty much covers me anyway, but
BP it's a nuisance because the process isn't fully automatic. (Someone at
BP google developed something to synch with google calendar, and I tried
BP it out, but it took my carefully edited emacs diary and make a giant
BP mess of it.  I never could figure out a way to avoid this, so I don't
BP use it.  And yes, I did make a backup first.)

BP These days I mainly export my bbdb and diary information to my google
BP account, and from there it's not too hard to synch the information on my
BP google account with my current cell phone (presumably this would be
BP fairly automatic for someone with an android phone, but I woulnd't know
BP about that).  But anything new that independently gets into the phone
BP and/or google, I have to remember to type by hand into bbdb and diary.

Diary and calendar entries should be pretty easy to synchronize as well.

Ted


--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


cloudy BBDB

2011-10-27 Thread Ted Zlatanov
I put together some code that uses CouchDB to store Gnus group
subscriptions and marks in gnus-sync.el.  It works well; so well in fact
that I'm considering doing the same for BBDB records.  Imagine having
your BBDB entirely stored on a central server instead of a local file.
Yes, kind of like LDAP, but not so hard to use and much more accessible.

In order to do this I will have to generalize and improve the
gnus-sync.el code that talks to CouchDB.  But I wanted to first find out
if this interests anyone (and please feel free to tell me my idea
sucks), or if there's existing functionality that I would be
duplicating.  I'm not aware of such.

Thanks
Ted


--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB in the GNU ELPA

2011-05-30 Thread Ted Zlatanov
On Sat, 28 May 2011 10:57:03 -0400 Bernt Hansen be...@norang.ca wrote: 

BH Ted Zlatanov t...@lifelogs.com writes:
 On Thu, 26 May 2011 09:27:05 +0200 joa...@verona.se wrote: 
 
j While bbdb is the most mature it can't be included in Emacs AFAICS.
 
 It's on my TODO list to look through the BBDB 3.0 Git repository on
 Savannah and track down all the contributors for the current source, get
 papers from them, and then put BBDB on the GNU ELPA.  Apologies to
 everyone who's waiting on me for this, especially Roland Winkler, the
 current BBDB maintainer, who's been very patient.
 
 If anyone wants to help with this task, it would be greatly appreciated.
 It's not hard work, just time-consuming and I haven't found the time.

BH git shortlog -e --summary

BH should give you a list of all of the contributors on the project.

It does.  But that's not useful when you're trying to find out who wrote
the last verstion of a specific function or even a single line.  

`git blame' is the best way I know but I need to track content across
files, so it gets pretty tough even with that tool's support for
tracking content.  I wrote some scripts to parse the porcelain output
of `git blame' and the -w (ignore whitespace) flag is vital, but it's a
lot of tedious work nevertheless.

Ted


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: TAB should move from field to field

2011-04-25 Thread Ted Zlatanov
On Mon, 25 Apr 2011 15:19:02 -0500 Roland Winkler wink...@gnu.org wrote: 

RW On Mon Apr 25 2011 Stefan Monnier wrote:
 I'd personally even prefer if fields work as sexp, so I can just use
 M-C-SPC to mark a few fields and then M-w to copy them.
 I.e. hooking into forward-sexp-function would suit my fingers.
...
RW Also I would always prefer if copying of individual fields did not
RW depend on whether a record is displayed in multi-line or in one-line
RW format. So copying should be based on the raw data in the database
RW (with possibly some base formatting), but not on the displayed data
RW including the field labels, line breaks and indentation.

Maybe always copy the raw data (fields or the whole record) but
provide yank functions insinuated into each known recipient?  Maybe
simply `bbdb-yank' could be the function?

For example yanking into a fundamental buffer would paste the text
version.  Yanking into a lisp mode would paste in Lisp syntax.  Yanking
into Gnus/VM/etc. would paste a vcard.

Just an idea, it could be useful though.

Ted


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: TAB should move from field to field

2011-04-24 Thread Ted Zlatanov
On Sat, 23 Apr 2011 04:17:14 +0800 Leo sdl@gmail.com wrote: 

L I have one suggestion. I think making TAB move from field to field is
L useful. For example, in the following record, assume point at `R'ichard,
L TAB could move from R - F - m - n - next record

L Richard Stallman - FSF
Lmail: r...@gnu.org
L   notes: The best hacker, founder of GNU

I'd use `p' and `n' to move between records and TAB only between fields
of a record.  That way when you lean on TAB you don't get surprised, and
if you're on the last field you can go to the first one in a circular way.

Ted


--
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: mail administrivia

2011-04-21 Thread Ted Zlatanov
On Tue, 19 Apr 2011 12:01:59 -0500 Roland Winkler wink...@gnu.org wrote: 

RW On Tue Apr 19 2011 Ted Zlatanov wrote:
 If you send 3 warnings (1 per week) before disabling the sourceforge.net
 mailing list (making it just a forward address), I think that's
 sufficient.  We'll set up the new list on Gmane to feed into the same
 gmane.emacs.bbdb.user newsgroup so people tracking it through Gmane see
 no breaks.  We should be able to copy the member list anyhow.  

RW Thanks for your help with this. I do not know how the old list is
RW set up / administered. Who has access to the current list of
RW subscribers?

sourceforge.net, I believe (assuming the list owner is not helpful).

 If you agree, go ahead and send the first of the warnings.
 
 I'll try to set up the bbdb-vcs mailing list and plug it into Gmane,
 meanwhile.

RW How about we wait with the first warning till the new list is
RW actually running so that the first warning already includes definite
RW instructions on what will replace the old list?

OK.

Ted


--
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: mail administrivia

2011-04-21 Thread Ted Zlatanov
On Thu, 21 Apr 2011 11:10:24 -0400 Sam Steingold s...@gnu.org wrote: 

 * Ted Zlatanov g...@yvsrybtf.pbz [2011-04-18 11:03:57 -0500]:
 
 - set up a bbdb-vcs list for commit messages

Sam - subscribe bbdb-info to bbdb-vcs in the digest mode

E I'm not sure that's necessary.  I wouldn't find it useful.
Roland should decide.

Ted


--
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] Changelog 2010-04-10

2011-04-21 Thread Ted Zlatanov
On Thu, 21 Apr 2011 15:01:09 -0400 Sam Steingold s...@gnu.org wrote: 

 * Ted Zlatanov g...@yvsrybtf.pbz [2011-04-21 13:21:42 -0500]:

TZ I didn't think timestamp was updated every time you see a message from
TZ someone, just when the record is modified.  This one would explicitly
TZ say I saw a message from you on -MM-DD and leave timestamp
TZ unchanged because it's not a true data change.

Sam a third timestamp field is fine by me, but it will not solve the problem
Sam (which as I say below does not seem to have an automatic solution).

OK, then it's not needed.  I'd rather not add features no one needs :)

Sam I think the right approach is to add a field called export-class with
Sam values being a set of symbols and each export operation (e.g., print,
Sam diary c) should operate on the records of the specific class (`print',
Sam `diary' c) which should be the value of an option, e.g.,
Sam `bbdb-print-class', `bbdb-diary-class', so that I can bind them around a
Sam call to an export function.

Oh, I see, you want to have a general record category and then filter on
that category.  Don't call it export-class though.  It's just class
or category I think.  That should be trivial and we can even offer
completion based on the categories already specified in the BBDB
entries.  Then you just need to filter the BBDB entries using a category
filter.

Ted


--
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-mode-map should inherit from special-mode-map

2011-04-19 Thread Ted Zlatanov
On Tue, 19 Apr 2011 08:52:21 +0200 David Engster d...@randomsample.de wrote: 

DE Ted Zlatanov writes:
 On Thu, 14 Apr 2011 21:34:15 +0200 David Engster d...@randomsample.de 
 wrote: 
DE XEmacs is another matter, though. I attached the current logs for XEmacs
DE 21.4 and 21.5. Note that your 'PUSHPATH' eval doesn't work for XEmacs;
DE just use -L ..
 
DE I can set up a buildbot, but this only makes sense if all of the builds
DE are working initially. So I'm afraid someone would have to volunteer to
DE fix the XEmacs stuff first. :-)
 
 Can you set it up just for GNU Emacs?  We'll add XEmacs when that's
 ready but for now I'd like to get any regular builds going.

DE A buildbot for BBDB is now running at

DE http://randomsample.de/bbdb-buildbot

DE In the compile log for emacs24 you'll find two warnings which should
DE probably be fixed. I'd then recommend to introduce a new Makefile rule
DE like 'fail-on-warn' which should byte-compile with
DE byte-compile-error-on-warn set to 't'.

DE Mails are send on failed builds to Roland and Ted.

Awesome, thanks David.

Ted


--
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

2011-04-19 Thread Ted Zlatanov
On Mon, 18 Apr 2011 16:25:21 -0500 Roland Winkler wink...@gnu.org wrote: 

RW On Mon Apr 18 2011 Ted Zlatanov wrote:
 On Sat, 16 Apr 2011 22:18:45 -0500 Roland Winkler wink...@gnu.org wrote: 
 
RW Two many changes today.  I lost track!
RW 2011-04-16  Roland Winkler  wink...@gnu.org
RW * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use defvar.
 
 I think Savannah can handle mailing lists and maybe even send commit
 e-mails to an address.  So I would:
 
 - move the bbdb-info list from sourceforge.net; I hate the automatic ads
 at the bottom.  Keep the address working but only as a forward.
 
 - set up a bbdb-vcs list for commit messages
 
 - ask the Savannah admins to actually set up the post-receive hook
 accordingly (or maybe we can do it ourselves, I don't know)
 
 This would make it easier to people to track BBDB development.

RW Sounds all good to me! A minor technical issue: will people have to
RW subscribe to the new mailing list? I don't know how many people have
RW subscribed to the current list / how many of these people are
RW actually still interested in BBDB.

If you send 3 warnings (1 per week) before disabling the sourceforge.net
mailing list (making it just a forward address), I think that's
sufficient.  We'll set up the new list on Gmane to feed into the same
gmane.emacs.bbdb.user newsgroup so people tracking it through Gmane see
no breaks.  We should be able to copy the member list anyhow.  If you
agree, go ahead and send the first of the warnings.

I'll try to set up the bbdb-vcs mailing list and plug it into Gmane,
meanwhile.

Ted


--
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/


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

2011-04-18 Thread Ted Zlatanov
On Sat, 16 Apr 2011 22:18:45 -0500 Roland Winkler wink...@gnu.org wrote: 

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

I think Savannah can handle mailing lists and maybe even send commit
e-mails to an address.  So I would:

- move the bbdb-info list from sourceforge.net; I hate the automatic ads
  at the bottom.  Keep the address working but only as a forward.

- set up a bbdb-vcs list for commit messages

- ask the Savannah admins to actually set up the post-receive hook
  accordingly (or maybe we can do it ourselves, I don't know)

This would make it easier to people to track BBDB development.

Ted


--
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: [BBDB] ChangLog 2011-04-16

2011-04-18 Thread Ted Zlatanov
On Mon, 18 Apr 2011 11:06:38 -0500 Roland Winkler wink...@gnu.org wrote: 

RW On Mon Apr 18 2011 Ted Zlatanov wrote:
 The GNU ELPA is only intended for Emacs 24 and higher.

RW Great, thanks. Next week I'll push my old code for Emacs 27.2 to GNU
RW ELPA. It's already somewhat bit-rotten, but maybe some people can
RW still find a way how to revive it!

Sorry, I'm not sure what code you mean and what Emacs version you meant.

Ted


--
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: [BBDB] ChangLog 2011-04-16

2011-04-18 Thread Ted Zlatanov
On Mon, 18 Apr 2011 11:16:59 -0500 Ted Zlatanov t...@lifelogs.com wrote: 

TZ On Mon, 18 Apr 2011 11:06:38 -0500 Roland Winkler wink...@gnu.org 
wrote: 
RW On Mon Apr 18 2011 Ted Zlatanov wrote:
 The GNU ELPA is only intended for Emacs 24 and higher.

RW Great, thanks. Next week I'll push my old code for Emacs 27.2 to GNU
RW ELPA. It's already somewhat bit-rotten, but maybe some people can
RW still find a way how to revive it!

TZ Sorry, I'm not sure what code you mean and what Emacs version you meant.

Heh heh, I tend to miss jokes in technical discussions :)

Ted


--
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: [BBDB] Contributing to the new BBDB

2011-04-18 Thread Ted Zlatanov
On Sat, 16 Apr 2011 18:18:16 -0500 Roland Winkler wink...@gnu.org wrote: 

RW Ted Zlatanov has kindly agreed to help collecting these copyright
RW assignments.  Honestly, right now we really do not yet have an
RW overview who has contributed what to BBDB. The more we are able to
RW unfold these things, we'll try to contact the respective people and
RW request they assign the copyright for their work to the FSF
RW (similarly for new contributors to BBDB).

Are we ready for this task?  Or do you still have unfinished work with
the BBDB repository?

Ted


--
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: Is the feature to add/update record when sending emails useful?

2011-04-15 Thread Ted Zlatanov
On Fri, 15 Apr 2011 12:37:51 +0800 Leo sdl@gmail.com wrote: 

L I personally haven't used this much in Emacs. But since gmail does this
L and I have found it useful at times, I wonder if this feature should be
L part of the bbdb-mua feature set.

I use something like that in Gnus.

Ted


--
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: Non-nil default value in hook variables

2011-04-15 Thread Ted Zlatanov
On Thu, 14 Apr 2011 21:15:12 -0500 Roland Winkler wink...@gnu.org wrote: 

RW What should someone do who simply wants the hook to be nil?

IMHO you should never set a hook to nil outside the file scope that
created it.  Do you have such a use case?

Ted


--
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: bbdb-mode-map should inherit from special-mode-map

2011-04-15 Thread Ted Zlatanov
(David, I sent you a courtesy CC but posted to the list through Gmane to
avoid the moderator delay)

On Thu, 14 Apr 2011 21:34:15 +0200 David Engster d...@randomsample.de wrote: 

DE Ted Zlatanov writes:
 On Thu, 14 Apr 2011 12:16:58 -0500 Roland Winkler wink...@gnu.org wrote: 
RW My main concern is XEmacs support. While I am not at all opposed to
RW having this (re)added to BBDB, it is simply something where I do not
RW know about and it ranks low on my personal agenda.
 
 David's buildbot will build on Emacs 24, 23.x, and XEmacs.  So it will
 catch the errors before the BBDB users do.
 
 David, can you add BBDB 3.x, located at
 git://git.savannah.nongnu.org/bbdb.git, to the buildbot farm?  Let me
 and Roland get the errors for now.

DE I shortly tested compilation, and it works more or less fine for GNU
DE Emacs22 to the latest GNU emacs-snapshot.

DE XEmacs is another matter, though. I attached the current logs for XEmacs
DE 21.4 and 21.5. Note that your 'PUSHPATH' eval doesn't work for XEmacs;
DE just use -L ..

DE I can set up a buildbot, but this only makes sense if all of the builds
DE are working initially. So I'm afraid someone would have to volunteer to
DE fix the XEmacs stuff first. :-)

Can you set it up just for GNU Emacs?  We'll add XEmacs when that's
ready but for now I'd like to get any regular builds going.

Thanks!!!
Ted


--
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: [BBDB] Changelog 2010-04-10

2011-04-15 Thread Ted Zlatanov
On Mon, 11 Apr 2011 09:00:43 +0200 Didier Verna did...@xemacs.org wrote: 

dvl Roland Winkler wink...@gnu.org wrote:
 First of all, the most noteworthy change is that BBDB has been
 transfered from CVS to git. So for anonymous checkout, you should now
 use

dvl   For those of us who had write access to the old repo, is that still
dvl the case ?

I can't speak for Roland, but I would be in favor of adding the old
committers to the Savannah repo.

You can just clone it, in any case, and send patches to be applied if
you need something sooner than Roland's decision.

Ted


--
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: bbdb-mode-map should inherit from special-mode-map

2011-04-14 Thread Ted Zlatanov
On Wed, 13 Apr 2011 14:47:11 -0500 Roland Winkler wink...@gnu.org wrote: 

RW On Wed Apr 13 2011 Ted Zlatanov wrote:
 It should be possible to support at least Emacs 23.x and XEmacs.  Gnus
 does it so we can look there for potential problems and solutions.
 
 You could ask David Engster d...@randomsample.de, who's setting up a
 Gnus buildbot, to do the same for BBDB.
 
 Also you should consider using ERT to write BBDB tests which can be run
 by the BBDB buildbot.

RW Sounds all quite reasonable. At the same time I need to say that my
RW time for such things is limited. So it can happen that I might do
RW them rather slowly or never.

Asking David is very easy.  I can do it for you if you like.

The ERT tests are pretty simple.  I can get them started if you have no
philosophical objections.

RW PS: As I said before, for me the highest priority with BBDB are now
RW bug fixes and a proper release (for GNU Emacs). Once this is done
RW (which might be enough of a project for me to keep me busy for some
RW time) I'll be happy to look into new directions.

I think the buildbot and ERT tests will help you precisely with bug
fixes and a faster release.

Ted


--
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: bbdb-mode-map should inherit from special-mode-map

2011-04-13 Thread Ted Zlatanov
On Wed, 13 Apr 2011 11:05:30 -0500 Roland Winkler wink...@gnu.org wrote: 

RW I do not want to exclude any other dialects of emacs here. But they
RW would most likely require a more systematic overhaul of all code.
RW In that sense, I am a bit hesitant to add support for something that
RW is not spelled out and not done systematically.

It should be possible to support at least Emacs 23.x and XEmacs.  Gnus
does it so we can look there for potential problems and solutions.

You could ask David Engster d...@randomsample.de, who's setting up a
Gnus buildbot, to do the same for BBDB.

Also you should consider using ERT to write BBDB tests which can be run
by the BBDB buildbot.

Ted


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [BBDB] Changelog 2010-04-10

2011-04-11 Thread Ted Zlatanov
On Sun, 10 Apr 2011 21:09:37 -0500 Roland Winkler wink...@gnu.org wrote: 

RW I just submitted a new set of changes for BBDB.
RW First of all, the most noteworthy change is that BBDB has been
RW transfered from CVS to git. So for anonymous checkout, you should
RW now use

RW git clone git://git.savannah.nongnu.org/bbdb.git

Hurray!  Now we can figure out the contribution history of all the
source code more easily before it goes into the Emacs (GNU) ELPA :) Are
you still working on that or do you need help tracking the contributors?

Thanks
Ted


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
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

2011-04-11 Thread Ted Zlatanov
On Mon, 11 Apr 2011 12:18:18 -0400 Sam Steingold s...@gnu.org wrote: 

Sam I started using bbdb about 15 years ago and I accumulated a fairly large
Sam .bbdb file.  Some records there are not relevant to me all that much (a
Sam coworker from 10 years ago), so, on one hand, I do not want to remove
Sam the record (or its parts, like address, phone, birthday c), and, on the
Sam other hand, I do not want that record to be printed out or that birthday
Sam mentioned in my diary.  How about a current or relevant note which
Sam will specify just that - that the record is to be printed and its
Sam anniversaries mentioned in the diary?

Sam Also, people's e-mail addresses become obsolete every now and then.
Sam Removing those addresses is not really an option because they are needed
Sam when you read those old messages helpfully archived on gmane.org; but
Sam having them complete in the To: field does not make sense either.
Sam How about a new notes field (I use old-net) which would do just that:
Sam used for matching records against mail messages but not for mail address
Sam completion?

With Gnus at least, we could have a last-seen field that's updated
whenever you see a message from that person.  Then you can filter all
the records with last-seen over 2 years ago, for instance.

Ted


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: [BBDB] feature freeze

2011-04-11 Thread Ted Zlatanov
On Mon, 11 Apr 2011 11:29:32 -0400 Brett Presnell presn...@stat.ufl.edu 
wrote: 

BP In spite of my need for this functionality, I'm not sure how wise it
BP would be to devote a great deal of effort to direct conversion of the
BP new bbdb record format to vcard.  It sounds like Ted Zlatanov has
BP thought about these issues pretty carefully, and his idea of
BP synchronizing against server with a neutral data format would negate the
BP need for any direct bbdb to vcard or other formats.

BP Ted mentioned that he would welcome help with this work.  Ted, if you're
BP reading this, I'm afraid that I have neither the time nor the expertise
BP to do much more than cheer loudly from the sidelines (if I had more
BP time, I would try to develop the expertise).  However, if you need
BP someone to help with testing I can probably manage that.

OK, thanks.  When it's not vaporware I'll post it on the BBDB list and
ask for testers.

BP It would be great to get the diary/calendar in there too.  (Hey, I can
BP dream, right?)  I'm currently using icalendar.el to export, but
BP importing is just too tricky.  Export pretty much covers me anyway, but
BP it's a nuisance because the process isn't fully automatic. (Someone at
BP google developed something to synch with google calendar, and I tried
BP it out, but it took my carefully edited emacs diary and make a giant
BP mess of it.  I never could figure out a way to avoid this, so I don't
BP use it.  And yes, I did make a backup first.)

BP These days I mainly export my bbdb and diary information to my google
BP account, and from there it's not too hard to synch the information on my
BP google account with my current cell phone (presumably this would be
BP fairly automatic for someone with an android phone, but I woulnd't know
BP about that).  But anything new that independently gets into the phone
BP and/or google, I have to remember to type by hand into bbdb and diary.

The synchronization mechanism will be general, so any kind of data will
be easy to synchronize, including diary and calendar entries.  But I
personally only want Gnus and BBDB synchronization, so that's what will
probably show up first.

Ted


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


BBDB synchronization (was: BBDB beginners guide?)

2011-04-06 Thread Ted Zlatanov
On Wed, 06 Apr 2011 05:57:31 -0400 Brett Presnell presn...@stat.ufl.edu 
wrote: 

BP Have to agree with this.  I'm a long-time user of BBDB, but it has
BP always been frustrating (and basically impossible) to try to sync
BP information between BBDB and other contact database (essentially only
BP BBDB to other is practical; true syncing just doesn't work).

BP I think that the argument in the past against changing BBDB's database
BP format, has always been that emacs parsing of a more generic
BP vcard/cvs/XML format would be too slow.

FWIW I have a registry.el in Gnus and Emacs which can do the BBDB
storage in a more portable way.  It works with free-form data and can
index it dynamically for very fast in-memory searches using hashtables.
It can also save and restore the database very quickly using EIEIO
persistence.

I also plan to add cloud sync support to BBDB 3.x and Gnus so they can
be synchronized against a server and provide a neutral format, probably
XML and JSON in addition to the native Emacs format.  The sync server
would take care of the conversions between formats.  This is vaporware
at this point but I will get to it sometime this millenium.  If you are
interested in helping let me know.

Ted


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2011-04-06 Thread Ted Zlatanov
On Wed, 06 Apr 2011 09:22:49 +0200 Reiner Steib reinersteib+gm...@imap.cc 
wrote: 

RS On Mon, Apr 04 2011, Ted Zlatanov wrote:
 (unless (featurep 'bbdb3) ; or whatever
 (defalias 'bbdb-search-organization 'bbdb-company)
 (defalias 'bbdb-search-name 'bbdb-name))

RS Please don't do it this way!  Gnus users have been bitten by bugs
RS caused by such aliasing (of `replace-regexp-in-string' in
RS color-theme).  The recommended way is like this:

RS ,[ (info (elisp)Coding Conventions) ]
RS |* If a package needs to define an alias or a new function for
RS |  compatibility with some other version of Emacs, name it with the
RS |  package prefix, not with the raw name with which it occurs in the
RS |  other version.  Here is an example from Gnus, which provides many
RS |  examples of such compatibility issues.
RS | 
RS |   (defalias 'gnus-point-at-bol
RS | (if (fboundp 'point-at-bol)
RS | 'point-at-bol
RS |   'line-beginning-position))
RS `

Sorry, I was doing a drive-by coding :)  You're right, the recommended
approach is much better.

Ted


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2011-04-04 Thread Ted Zlatanov
On Mon, 04 Apr 2011 08:52:27 -0400 Matt Lundin m...@imapmail.org wrote: 

ML I do think it can be productive right now, while development is moving
ML quickly, to ask whether some of the changes, such as reversing the
ML parameters of bbdb-split, are necessary, since they are easier to fix
ML now than they will be later. I imagine later on is relative to when
ML the bbdb 3.x series will be officially released. I just joined this
ML list, so I am not yet aware of a development roadmap.

ML In the meantime, if anyone is interested, I found that the following
ML hacks help to make org-bbdb.el work with the new bbdb:

I think the function name changes are fine and easy to adjust in Org.
Roland is trying to establish a logical naming scheme inside BBDB so
I'd rather see the backwards compatibility in Org:

(unless (featurep 'bbdb3) ; or whatever
  (defalias 'bbdb-search-organization 'bbdb-company)
  (defalias 'bbdb-search-name 'bbdb-name))

ML (defun bbdb-record-getprop (record label)
ML   (and (eq label 'company)
ML(setq label 'organization))
ML   (if (memq label '(name degree organization address phone mail aka))
ML (funcall
ML  (intern 
ML   (concat bbdb-record- (symbol-name label))) 
ML  record)
ML (bbdb-record-note record label)))

Maybe this would be better as a compatibility macro, again, working by
default in BBDB3 but falling back to the older methods in BBDB2.

ML (defadvice bbdb-split (around my-bbdb-split activate)
ML   (when (or (string= string \n) (string= string -))
ML (let ((sep string))
ML   (setq string separator
ML separator sep)))
ML   ad-do-it)

I agree with you that swapping the arguments here is not necessary.

Ted


--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


(patch) sort cycling completion candidates (was: bbdb-complete-name return value)

2011-03-08 Thread Ted Zlatanov
Attached please find a patch to sort cycling completion candidates by
the text property :completion-cycle-penalty (lower is better).

Thanks
Ted

=== modified file 'lisp/minibuffer.el'
--- lisp/minibuffer.el	2011-02-12 18:30:13 +
+++ lisp/minibuffer.el	2011-03-08 14:51:07 +
@@ -704,7 +704,19 @@
 (when last
   (setcdr last nil)
   ;; Prefer shorter completions.
-  (setq all (sort all (lambda (c1 c2) ( (length c1) (length c2)
+  (setq
+   all
+   (sort all
+ (lambda (c1 c2)
+   (let ((s1 (get-text-property
+  0 :completion-cycle-penalty c1))
+ (s2 (get-text-property
+  0 :completion-cycle-penalty c2)))
+ (cond ((and s1 s2) (cond (( s1 s2) t)
+  (( s1 s2) nil)
+  (t ( (length c1) (length c2)
+   (s1 t)
+   (s2 nil))
   ;; Prefer recently used completions.
   (let ((hist (symbol-value minibuffer-history-variable)))
 (setq all (sort all (lambda (c1 c2)

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: (patch) sort cycling completion candidates

2011-03-08 Thread Ted Zlatanov
On Tue, 08 Mar 2011 16:32:00 +0100 Antoine Levitt antoine.lev...@gmail.com 
wrote: 

AL What about the case when s1 and s2 are nil? Shouldn't there be another
AL (t ( (length c1) (length c2))) at the end of the second cond ? Am I
AL missing something?

Oops.  I had it in my original patch but Stefan suggested a change
before that line and I accidentally deleted it.  Sorry!

AL It seems cleaner to sort two times, instead of once with both
AL predicates, the way it's already done in the code for recently used
AL completions.

That seems OK to me.

Your patch is cleaner so I'm in favor of using it.

Ted


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-complete-name return value

2011-03-01 Thread Ted Zlatanov
On Mon, 28 Feb 2011 18:50:20 -0500 Stefan Monnier monn...@iro.umontreal.ca 
wrote: 

 The only thing I need to clarify is sorting.  Right now shorter string
 wins.  In the new method, higher score should win.

SM I think it's easier if lower scores win, so it's consistent with the
SM current use of `length'.  It's really not a big issue: just negate the
SM values you put on the property and you're done.

I thought that would be easier too, but it's counter-intuitive.  Well,
here's the patch.  It doesn't check that the completion score is a
number but otherwise seems OK to me.  A string with a completion score
always wins over one without.

Ted

=== modified file 'lisp/minibuffer.el'
*** lisp/minibuffer.el  2011-02-12 18:30:13 +
--- lisp/minibuffer.el  2011-03-01 15:39:33 +
***
*** 704,710 
  (when last
(setcdr last nil)
;; Prefer shorter completions.
!   (setq all (sort all (lambda (c1 c2) ( (length c1) (length c2)
;; Prefer recently used completions.
(let ((hist (symbol-value minibuffer-history-variable)))
  (setq all (sort all (lambda (c1 c2)
--- 704,719 
  (when last
(setcdr last nil)
;; Prefer shorter completions.
!   (setq
!all
!(sort all
!  (lambda (c1 c2)
!(let ((s1 (get-text-property 0 :completion-score c1))
!  (s2 (get-text-property 0 :completion-score c2)))
!  (cond ((and s1 s2) ( s1 s2))
!(s1 t)
!(s2 nil)
!(t ( (length c1) (length c2
;; Prefer recently used completions.
(let ((hist (symbol-value minibuffer-history-variable)))
  (setq all (sort all (lambda (c1 c2)




--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB ELPA-style packaging

2011-02-28 Thread Ted Zlatanov
On Sun, 27 Feb 2011 15:48:38 -0600 Roland Winkler wink...@gnu.org wrote: 

RW On Wed Feb 23 2011 Ted Zlatanov wrote:
 On Sat, 22 Jan 2011 10:54:12 -0600 Roland Winkler wink...@gnu.org wrote: 

 Could you consider moving to Git or Bazaar for development? CVS is
 very inconvenient. I can't use it from work, for instance (pserver
 is blocked, only http and https work).
 
 If you like Git, I can host the repository or you can use Github or your
 own server.  I personally don't like to depend on Github but many do.
 
 For Bazaar, I think you can use a Savannah repository but I don't know
 what setup is needed.

RW In principle, I am open here. I have used CVS for bbdb quite simply
RW because I know how I can do the few things that I want/need to do. I
RW haven't found the time to sit down and figure out how git and bzr
RW are working, though this is on my todo list, too.

Git is pretty simple to use on a basic level.  Basically you edit the
file, then git add, then git commit, then git push.  You can play
around with a repository before pushing your changes, so unless you
completely screw things up, you can back out of most problems.

magit is a nice package that abstracts most of the command-line stuff.
And of course the Emacs VC package will work as you'd expect.

If you want, I can convert the current CVS history of BBDB as you have
it into a Git repository.  It's pretty trivial; see
http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html
for a quick guide.  Then you can simply clone that repository and use it
on Savannah's Git servers or Github or whatever you like.  You can keep
serving CVS out of it but I would recommend cutting off CVS instead.  I
can probably do most of this if you add me to the admin list on
Savannah so I can update the web pages as I go.

 The BBDB web page is outdated and should probably at least mention
 version 3.

RW Which web page? The one on savannah? I started with a rather
RW rudimentary web page. As things progress, it might be good to update
RW it, too. (I cannot do anything about the old sourceforge page.)

You can probably get the old sourceforge page transferred or
redirected.  But I'm sure this is a hassle for you.

Ted


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-complete-name return value

2011-02-28 Thread Ted Zlatanov
On Mon, 28 Feb 2011 00:17:05 -0500 Stefan Monnier monn...@iro.umontreal.ca 
wrote: 

TZ Maybe accept the score as a property to the candidate strings and use
TZ that property, if it exists, instead of the string length?
TZ That would side-step the current completion mechanism nicely, requiring
TZ little extra code except in the final sort of candidates.  If the
TZ strings aren't mangled by the completion mechanism, of course--but I
TZ don't think they are after a quick scan.

SM That would work.  It's a quicksimple solution (i.e. generally a good
SM sign), but it has one drawback: the properties will be often added
SM without being used, since the list of completions is used not only to
SM build the *Completions* buffer or to cycle through completions but also
SM to do TAB completion (often just handled by try-completion, but with
SM substring completion it instead needs to get the all-completions list
SM and then weed it out).

SM So it has a performance downside (which means, it's not the last word in
SM this respect), but I'd probably accept a patch to add such a feature to
SM minibuffer.el since the performance impact is only incurred by
SM completion tables that really use the feature and it's unlikely to be
SM a serious maintenance problem in the future.

So something like this would work in `completion-all-sorted-completions':

(or (get-text-property 0 :completion-score (propertize hello 
:completion-score 100)) 0)
= 100

...and we're adding an extra `get-text-property' call to all the sorts:

(or (get-text-property 0 :completion-score hello) 0)
= 0

...which should not be a big deal since it's just a plist lookup.

The only thing I need to clarify is sorting.  Right now shorter string
wins.  In the new method, higher score should win.  So I propose these
rules:

- if both have the :completion-score property, sort by highest score
  first

- if one has it, put it first

- if neither has it, shorter string wins

Let me know if you agree and I'll propose the code+doc patch.

Thanks
Ted


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-complete-name return value

2011-02-23 Thread Ted Zlatanov
On Thu, 17 Feb 2011 11:09:28 -0600 Ted Zlatanov t...@lifelogs.com wrote: 

TZ On Mon, 14 Feb 2011 02:03:55 -0500 Stefan Monnier 
monn...@iro.umontreal.ca wrote: 
 IMO the cycling should only be based on scores.  That would, I think,
 accomplish all your items and produce less DWIM but that's not it.

SM Currently, the cycling code is fairly naive and it uses a fixed ordering
SM based on string length (shorter first).  Patches to make it more
SM customizable (by the completion table, not just by the end-user) would
SM be very welcome (e.g. for file completion, it could first cycle through
SM VCS-managed files).

TZ Maybe accept the score as a property to the candidate strings and use
TZ that property, if it exists, instead of the string length?

TZ That would side-step the current completion mechanism nicely, requiring
TZ little extra code except in the final sort of candidates.  If the
TZ strings aren't mangled by the completion mechanism, of course--but I
TZ don't think they are after a quick scan.

Should I pursue this myself or are you guys (Stefan or Roland)
interested in doing it?

Thanks
Ted


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB ELPA-style packaging

2011-02-23 Thread Ted Zlatanov
On Sat, 22 Jan 2011 10:54:12 -0600 Roland Winkler wink...@gnu.org wrote: 

RW On Thu Jan 20 2011 Ted Zlatanov wrote:
 Let me know when you've figured out what portions and authors need to be
 tracked down.  I'll work with Chong Yidong and you to do it.

RW I'll try to make some kind of table that shows how the functionality
RW in the current code (functions and variables) relates to the old
RW BBDB code. Then hopefully it will become more clear to what extent
RW which parts of BBDB still contain old code. Then we can go from there.

Any updates?

Could you consider moving to Git or Bazaar for development?  CVS is very
inconvenient.  I can't use it from work, for instance (pserver is
blocked, only http and https work).

If you like Git, I can host the repository or you can use Github or your
own server.  I personally don't like to depend on Github but many do.

For Bazaar, I think you can use a Savannah repository but I don't know
what setup is needed.

The BBDB web page is outdated and should probably at least mention
version 3.

Thanks
Ted


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-complete-name return value

2011-02-17 Thread Ted Zlatanov
On Mon, 14 Feb 2011 02:03:55 -0500 Stefan Monnier monn...@iro.umontreal.ca 
wrote: 

 IMO the cycling should only be based on scores.  That would, I think,
 accomplish all your items and produce less DWIM but that's not it.

SM Currently, the cycling code is fairly naive and it uses a fixed ordering
SM based on string length (shorter first).  Patches to make it more
SM customizable (by the completion table, not just by the end-user) would
SM be very welcome (e.g. for file completion, it could first cycle through
SM VCS-managed files).

Maybe accept the score as a property to the candidate strings and use
that property, if it exists, instead of the string length?

That would side-step the current completion mechanism nicely, requiring
little extra code except in the final sort of candidates.  If the
strings aren't mangled by the completion mechanism, of course--but I
don't think they are after a quick scan.

Ted


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB ELPA-style packaging

2011-01-20 Thread Ted Zlatanov
On Thu, 20 Jan 2011 08:17:27 -0600 Roland Winkler wink...@gnu.org wrote: 

RW On Wed Jan 19 2011 Ted Zlatanov wrote:
 A rewrite is the worst case, where you can't find the original
 contributor or they are not willing to assign the copyright to the FSF.

RW Some pieces of BBDB in their original form are rather old. So I
RW exepct that tracking down the original contributor can be more
RW difficult.

Sure, I figured that might be the case.  Fortunately it only has to be
done once :)

Let me know when you've figured out what portions and authors need to be
tracked down.  I'll work with Chong Yidong and you to do it.

RW By the way, I already passed on the copyright to FSF for my
RW general contributions to GNU Emacs. Is this enough here?
RW I'll be happy to do this once more.

I think it's enough, it's what I've done too.

Ted


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB ELPA-style packaging

2011-01-19 Thread Ted Zlatanov
On Sat, 18 Dec 2010 07:24:18 -0600 Roland Winkler wink...@gnu.org wrote: 

RW On Fri Dec 17 2010 Ted Zlatanov wrote:
 You should decide:
 
 - do you want to take patches from Emacs or keep them separate?

RW I'll be happy to take patches from anybody, if they help to fix bugs
RW in the code or to improve the code in any other way. If it turns out
RW that a patch collides with anything else in BBDB (not all ideas that
RW I put into the new code or that I have in the back of my mind have
RW been spelled out yet) I might take the liberty to try to improve it.

Sure.  I doubt this will be a problem; the major issues will probably be
with code style and the manuals.

 - do you want to make BBDB provided with Emacs 24 by default through
 package.el?  (I want to be clear about this, people will be able to
 install it very easily.)

RW Again: this is certainly fine with me. The only issue might be: I
RW hope that upon the release of Emacs 24 the new BBDB will have
RW reached at least a more stable beta phase. (A rewrite of the info
RW pages stands out as a larger task where I cannot make predictions
RW how long this might take. Apart from that, right now I have only
RW some smaller todo items I want to get done in the near future.)
RW The major issue will be to accumulate some feedback from users of
RW the new code.

I'd be OK with providing BBDB3 in a beta form through elpa.gnu.org.  As
long as the version string states it clearly, which it will.  You are
likely to get plenty of feedback.

 - can you work with me and the Emacs maintainers to assign the BBDB
 source code to the FSF?  We'll need to track down a lot of
 contributors and possibly rewrite code.

RW Again: fine with me! -- I don't know what rewrite means from the
RW legal perspective that matters here. If you simply compared the new
RW and old code line by line, I doubt that you might find more than a
RW few percent that have not been changed / rewritten more or less
RW substantially. On the other hand, I tried to preserve major concepts
RW of BBDB that appeared quite reasonable to me.

A rewrite is the worst case, where you can't find the original
contributor or they are not willing to assign the copyright to the FSF.

(CC to Chong Yidong in case he wants to comment)

If BBDB3 is written by you then you have the copyright AFAIK.  We need
to find the code that you did not write and track down the authors.  Can
you do the first part?

 If the last one is too much work or not OK with the BBDB
 developers,

RW ...For the new code I have not yet found anybody who might want to
RW help with it. In that sense, I can speak here without further
RW consultation for all (current) BBDB developpers.

That's wonderful.  Thank you for working on this functionality and I
look foward to helping you test and document it.

Ted


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: suppression of uninteresting mail addresses

2011-01-19 Thread Ted Zlatanov
On Tue, 30 Nov 2010 10:36:57 -0600 Roland Winkler wink...@gnu.org wrote: 

RW At some point in time each MUA interface of BBDB used slightly
RW different ways of handling the suppression of uninteresting mail
RW addresses.

RW  - the VM interface used vm-summary-uninteresting-senders

RW  - the Gnus interface used gnus-ignored-from-addresses

RW  - Rmail used user-mail-address

RW Yet this has been disabled years ago because all these variables are
RW let-bound to nil before they are passed to BBDB. Instead
RW bbdb-get-address-components uses bbdb-user-mail-address-re, which
RW applies to all MUAs in the same way.

RW Is there any good reason to reactivate a mechanism for suprpesing
RW uninteresting mail addresses on a per-MUA basis? If not, I want to
RW remove the relics of this scheme completely and use only
RW bbdb-user-mail-address-re.

I am in favor of removing these as long as the symbols are marked
obsolete (to alert users), e.g.

(make-obsolete-variable 'spam-list-of-processors nil 22.1)

Ted


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


BBDB ELPA-style packaging (was: ChangeLog 2010-12-15)

2010-12-17 Thread Ted Zlatanov
On Thu, 16 Dec 2010 22:08:02 -0600 Roland Winkler wink...@gnu.org wrote: 

RW On Thu Dec 16 2010 Ted Zlatanov wrote:
 Roland, thank you for your work.  I'd like to package your version of
 BBDB as `bbdb3' and put it in the Emacs GNU ELPA package repository.
 I'd like to call it `bbdb3' because your version is pretty different
 from BBDB 2.x and thus users will expect those changes when they
 install it.  Would all of that be OK with you?

RW I've seen ELPA but have not yet found the time to look at it in more
RW detail.  But I am confident that putting the new BBDB there will be
RW fine.  I assume that when you call the new BBDB on ELPA bbdb3, this
RW does not require to rename the code itself. (If necessary, I could
RW do that, too. But then I'd prefer a name that does not have a
RW version number built-in.)

No, it's just a tarball.  I don't think BBDB will require anything
more as far as packaging.

 I'll use the http://savannah.nongnu.org/projects/bbdb CVS repository and
 synchronize from it daily; the GNU ELPA repo lives at
 bzr://bzr.savannah.gnu.org/emacs/elpa/

RW That would be perfect. At present, I consider the new BBDB in an
RW alpha phase. It works pretty well for me and I believe that others
RW have started to use it, too. But there are still some rough edges
RW that I want to remove. So synchronizing bbdb3 on ELPA with the CVS
RW repository of BBDB on savannah would be a good solution.

You should decide:

- do you want to take patches from Emacs or keep them separate?

- do you want to make BBDB provided with Emacs 24 by default through
  package.el?  (I want to be clear about this, people will be able to
  install it very easily.)

- can you work with me and the Emacs maintainers to assign the BBDB
  source code to the FSF?  We'll need to track down a lot of
  contributors and possibly rewrite code.

If the last one is too much work or not OK with the BBDB developers,
we can still package BBDB 3.x as bbdb3 but it will have to go in Tom
Tromey's ELPA instead or you can set up your own ELPA-style archive
(it's really easy).  So it won't be as easy to obtain bbdb3 with a new
Emacs install and you won't get as many patches back from the Emacs
developers due to the lower visibility.

Ted


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: ChangeLog 2010-12-15

2010-12-16 Thread Ted Zlatanov
Roland, thank you for your work.  I'd like to package your version of
BBDB as `bbdb3' and put it in the Emacs GNU ELPA package repository.
I'd like to call it `bbdb3' because your version is pretty different
from BBDB 2.x and thus users will expect those changes when they
install it.  Would all of that be OK with you?

I'll use the http://savannah.nongnu.org/projects/bbdb CVS repository and
synchronize from it daily; the GNU ELPA repo lives at
bzr://bzr.savannah.gnu.org/emacs/elpa/

Thanks
Ted


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB Questions

2010-03-31 Thread Ted Zlatanov
On Sat, 27 Mar 2010 21:13:36 +0100 Eraldo Helal era...@eraldo.org wrote: 

EH auto-create on sending (only)
EH --
EH Just as it is the case in gmail, I want to add to bbdb every contact I
EH send an email to.
EH When receiving mail, I want to only update the contacts in case of
EH changed alias/etc.
EH Any feedback on:
EH - how to get there? =]
EH - why that is a bad idea
EH - any better idea?

Assuming you use message.el to compose mail:

This works for me.  You should look on the Emacs Wiki for ideas and
answers too, I think there's a pretty good collection of BBDB tips.

Ted

;;; from Michael R. Wolf michaelrunningw...@att.net
;;; TODO -- remove the mapconcat addition of commas, that get removed by m-t-h
(defun wolf3-bbdb-add-recipients-to-bbdb ()
  Add all recipients to BBDB, using this list of headers:
from, sender,
to, cc, bcc,
resent-from, resent-to, resent-cc, resent-bcc.
  (let ((fields '(from sender
  to cc bcc
  resent-from resent-to resent-cc resent-bcc)))
(mapc
 (lambda (address)
   (bbdb-annotate-message-sender address t t t))
 (save-restriction
   (message-narrow-to-headers)
   (message-tokenize-header (mapconcat 'message-fetch-field fields ,))

;;; Could go into many hooks:
;;;message-send-mail-hook
;;;message-send-news-hook
;;;message-send-hook
;;;message-sent-hook
(add-hook 'message-send-hook 'wolf3-bbdb-add-recipients-to-bbdb)


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


noticing alternative names

2008-05-08 Thread Ted Zlatanov
Right now, BBDB in Gnus will ask me, if it notices a new name for an
exsiting e-mail address, if I want to add the name (y/n), then if I want
to add it as an alternative (y/n).  I think it would be better if that
prompt was:

Do you want to use NAME instead of OLD, as an alternative to it,
ignore it from now on, or do nothing (y/a/i/n)?

The permanent ignore can be done with a customize variable call, for
instance.

If this already exists in some form, let me know.

Thanks
Ted


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: change name annoyance

2008-04-21 Thread Ted Zlatanov
On Sat, 19 Apr 2008 16:08:20 +0900 William Xu [EMAIL PROTECTED] wrote: 

WX Say my full address is: Foo Bar [EMAIL PROTECTED].  If someone send mail
WX using [EMAIL PROTECTED], then in Gnus, it asks me *every time* whether to
WX Change name Foo Bar to abc?  when I open that mail.  Could this be
WX improved? Like providing an option, bbdb-never-bother-updating-name-p.  

Seconded, especially for mailing lists whose name gets changed by people
when they reply.  Also the Jan Djarv bug is related, where Jan's BBDB
entry doesn't match his name so I got the following name entries in my
BBDB file when I answer `y' to the update question:

['Jan Djärv' (Jan D. Jan Djärv Jan Djärv Jan 
DjÃ\203\203Ã\202\203\203Ã\203\203Ã\202\202Ã\203\202Ã\202¤rv Jan 
DjÃ\203\203Ã\202¤rv) nil nil nil ([EMAIL PROTECTED]) ((creation-date . 
2007-01-24) (timestamp . 2008-04-10) (newsgroups . gmane.emacs.devel)) 
nil]

If this has been answered before, please let me know, I couldn't find
it.  I would like to at least stop the Jan update questions with the
method, if the real bug can't be fixed.

I'm running 2.36 devo under a CVS snapshot of Emacs.

Thanks
Ted


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: change name annoyance

2008-04-21 Thread Ted Zlatanov
On Mon, 21 Apr 2008 18:37:14 +0200 Uwe Brauer [EMAIL PROTECTED] wrote: 

 Ted == Ted Zlatanov [EMAIL PROTECTED] writes:
 On Sat, 19 Apr 2008 16:08:20 +0900 William Xu [EMAIL PROTECTED] wrote: 
WX Say my full address is: Foo Bar [EMAIL PROTECTED].  If someone send mail
WX using [EMAIL PROTECTED], then in Gnus, it asks me *every time* whether to
WX Change name Foo Bar to abc?  when I open that mail.  Could this be
WX improved? Like providing an option, bbdb-never-bother-updating-name-p.  

 Seconded, especially for mailing lists whose name gets changed by people
 when they reply.  Also the Jan Djarv bug is related, where Jan's BBDB
 entry doesn't match his name so I got the following name entries in my
 BBDB file when I answer `y' to the update question:

UB Maybe I miss the point but what's about

UB (setq bbdb-quiet-about-name-mismatches t) 

I had an outdated BBDB checkout.  Sorry for the noise.

For the OP: the bbdb-quiet-about-name-mismatches can be many things, not
just a t value.  You can make it a function, for example.

Ted


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: nnimap-folder-list-from-bbdb almost

2005-02-25 Thread Ted Zlatanov
On Wed, 23 Feb 2005, [EMAIL PROTECTED] wrote:

 On February 23, [EMAIL PROTECTED] said:
 Hm I am not sure, that I understand:
 (eval-expression '(my:nnimap-folder-list-from-bbdb) nil)
 gives me
 ((From [EMAIL PROTECTED] testimap))
 but I want that it returns
 (From [EMAIL PROTECTED] testimap)
 
 So what should I change in the function or in the call of that
 function?
 
 you want the (car ) or (nth 0 ) of that expression. So either modify
 the nnimap-folder-list-from-bbdb function so that the last thing it
 does is to apply one of these functions to whatever the function was
 already going to return, or use (car (my:nnimap-folder-list-from-bbdb))
 in place of (my:nnimap-folder-list-from-bbdb)
 
 Cheers,
 Waider. Here at BBDB, we also do Elisp Help...

I advised Uwe to use Elisp macros to accomplish this on the ding list.
It's a cleaner solution, I think, than inserting the data into the
list from the outside, so to speak.

Uwe: you should start reading the Emacs Lisp manual (usually reachable
with C-h i, then select Elisp) now.  You are definitely ready for it :)

Ted



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: nnimap-folder-list-from-bbdb almost

2005-02-25 Thread Ted Zlatanov
On Fri, 25 Feb 2005, [EMAIL PROTECTED] wrote:

 Thanks, but here in Xemacs (21.4.16 no mule debian unstable) this does
 not work. I might file a bug report. Or the thing is called
 differently in Xemacs 

C-h i calls up info in GNU Emacs.  Consult the XEmacs docs for the
corresponding command to bring up the info manuals, or look at the
Elisp manuals online.  This is not a bug.  I just don't use XEmacs so
I can't tell you what the command is.

Ted


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-17 Thread Ted Zlatanov
On Thu, 16 Dec 2004, [EMAIL PROTECTED] wrote:

  (bbdb-search-simple nil who)
 
 Ronan It does actually use this function, if you trace down the chain of
 Ronan calls. However, I can't actually see offhand why it'd fail a
 Ronan case-insensitive search. Can you set a debug breakpoint at
 Ronan bbdb-search-simple (it's in bbdb.el) and give me a stack trace on a
 Ronan failing address?
 
 Hm, I think Ted is more qualified for doing this, Ted do you mind?

I tried to duplicate your bug but could not.2

I added [EMAIL PROTECTED] to a BBDB entry.

Then I called M-: (bbdb-search-simple nil [EMAIL PROTECTED]) and
it brought up the correct entry.

I repeated with [EMAIL PROTECTED] in the BBDB and again the
search for [EMAIL PROTECTED] worked.

This seems to be what you are reporting, so maybe you have something
set up differently.  First of all, is my test correct?  Second, are
you running the latest BBDB?  Third, does the test fail for you?

Thanks
Ted



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-15 Thread Ted Zlatanov
On Tue, 14 Dec 2004, [EMAIL PROTECTED] wrote:

  That is
  
  [EMAIL PROTECTED]
  
  Will not be recognised, by the bbdb based splitting method (however
  when  applying  bbdb/gnus-show-sender   the   address  is   correctly
  associated with the bbdb entry) , even if I  put it explicitly in the
  bbdb database like this
  
  Net: [EMAIL PROTECTED]
  
  But 
  
  [EMAIL PROTECTED]
  
  Will be recognised either with 
  Net: [EMAIL PROTECTED]
  or
  Net: [EMAIL PROTECTED]
  
 I discussed this with Ted Zlatanov, who actually maintains spam.el of
 gnus and he told me that the bbdb based splitting method uses 
 
 (bbdb-search-simple nil who)
 
 (Bbdb/gnus-show-sender seem not to use this function.)
 
 Now can the bbdb code changed such that the search is more
 intelligent.

Either that, or someone tell me what I'm doing wrong in the spam.el
code :)

Thanks
Ted



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: caching the BBDB records for fast lookups

2004-04-05 Thread Ted Zlatanov
On Mon, 22 Mar 2004, [EMAIL PROTECTED] wrote:

 On March 4, [EMAIL PROTECTED] said:
 
 The problem with the code above is that when spam-cache-lookups is
 set, only the primary net address is found in the BBDB.
 
 Might I suggest you dump out the value of bbdb-hashtable or your
 spam cache somewhere after you've run the code to populate it?

Thanks for the reply.

I was hoping someone could help me with the dumping code.  I'm not
familiar with Lisp macros, and the BBDB relies heavily on them.

What I'm doing looks correct to me, and it works only for the primary
net address - this is why I need the help, to find my bug(s).

Thanks
Ted


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


alternating record faces?

2003-10-09 Thread Ted Zlatanov
Very often in accounting and other printouts, records of data will
have alternating background faces, for instance grey and white.  This
helps distinguish between sequential lines that don't belong to the
same record.

Could the BBDB record display do something similar?  This (an
alternating face property) would be a nice feature for other
displays of tabular data as well; maybe Emacs could switch between
face A and face B every time either is requested as the current
alternating face C.  C, in other words, could act as a pointer to A
or B, switched by the act of displaying C with face A or B.

Sorry if this is vague, I don't know Emacs faces that well so I don't
know if this is possible.

Thanks
Ted



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Warnings when byte-compiling spam.el

2003-01-07 Thread Ted Zlatanov
On Tue, 07 Jan 2003, [EMAIL PROTECTED] wrote:
 Ted Zlatanov [EMAIL PROTECTED] writes:
 
   While compiling the end of the data in file
   /csa/forum/emerick/gnus/lisp/spam.el: ** The following functions
   are not known to be defined: spam-BBDB-register-routine,
   bbdb-create-internal, spam-enter-ham-BBDB

 I think this is because of the mess with the BBDB macros defined in
 bbdb-com.el.  It shouldn't be a problem because of the
 condition-case, I thought.  Can anyone suggest a better way to deal
 with those macros, or point me to the Emacs Lisp features I'm not
 aware of to hush up the warnings?
 
 Just put the functions/macros in the maybe-bind lists in lpath.el to
 make the warning messages go away.

Thanks for the advice.  I used lpath.el and the warning went away.

Now, whenever I start Gnus and try to use the BBDB ham processor
spam-enter-ham-BBDB, I get this error:

Adding address [EMAIL PROTECTED] to BBDB
Followed link to /home/tzz/autodist/dotfiles/bbdb
Parsing BBDB... (frobnicating...done)
spam-enter-ham-BBDB: Invalid function: (macro . #[(records optional name company net 
notes phone)   ;„9„!ˆ
;„
9„!ˆ;„,9„,!ˆ;„:9„:!ˆ
;„H
9„H!ˆ
ƒnÐ
BE
BBEFBBBBDBBDBBãDBBEBEDBBEFBBBD
DEBBEFFB  ãBBð  BEBBBD\ƒ 
BEBBEFBBBB
ƒ
BBB…@@DABB\B@B)BCBBDEBBB‡ [clauses name company 
net notes phone nil error name must be atomic company must be atomic ...] 20])

The curious thing is, when I do (eval-buffer) in spam.el, I don't get
the errors anymore.  So there is some sort of discrepancy, it seems,
between spam.el and spam.elc as far as the BBDB goes.  It may have
been there before, I always use eval-buffer while testing.

I think I'm doing things correctly, though.  All the BBDB
functionality is loaded inside a condition-case, and the functions
plus the bbdb-search macro are aliased to 'ignore by lpath.el.

Ted



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/