On Fri Dec 30 2011 Stephen J. Turnbull wrote:
> If bbdb-file is saved only when the user says to do so and/or at exit,
> then the bbdb-file will be older than the auto-save-file, which in
> turn will be older than the *bbdb* buffer.  In this situation the user
> does *not* want to be asked about the auto-save-file because they have
> more up-to-date information to hand (in the buffer).
> 
> However, at initialization, the *bbdb* buffer does not exist, and the
> auto-save-file information is more current than the bbdb-file.  In
> that situation, the user wants to know about it.

If BBDB is using some hooks in the background, it can read and
modify bbdb-file (using bbdb-buffer) without ever creating the
*BBDB* buffer. So a solution could be to check for the auto-save
file only when bbdb-file is actually read. Under normal
circumstances, this should happen only once. If the user has
multiple instances of BBDB running in parallel (via multiple emacs
sessions), these files and buffers can also get out of sync. Such a
situation is asking for trouble.

Roland

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

Reply via email to