Re: ~/.bbdb with multiple emacs instnaces

"Roland Winkler" <[email protected]>
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
On Sat Oct 7 2017 Ernesto Alfonso wrote:
> I don't manually make changes to ~/.bbdb, but the bbdb library 
> keeps the buffer open and locked. It would be nice if bbdb had an option
> to write out changes immediately instead of leaving the ~/.bbdb buffer
> open.

This part I do not understand.  Emacs locks a file (and creates
autosave files) only if a buffer is visiting a file and you modify
the buffer.  There is no lock for files if a buffer is visiting the
file without modifying it.  So for BBDB that means: only if you make
changes to the database (i.e., modify the buffer visiting your
~/.bbdb) emacs locks this file.

You could let bbdb-after-change-hook run bbdb-save.  But as I said,
I'd consider this dangerous, in particular if you believe you do not
make changes to your database in the first place.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.