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/