Re: Conversion of old db

Dirk Eddelbuettel <[email protected]> Fri, 27 Dec 2019 22:31:03 -0600
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
On 27 December 2019 at 22:14, Roland Winkler wrote:
| On Fri Dec 27 2019 Dirk Eddelbuettel wrote:
| > Do you have a simple two or three liner I could add to .emacs to
| > the same effect?
| 
| Does the following work for you (to be added to .emacs)?
| 
| (with-eval-after-load 'bbdb
|   (advice-add 'bbdb-mode :after (lambda (&rest args)
|                                   (setq buffer-undo-list t))))

Like a charm!  Thanks much -- I owe you a virtual or real beverage!

| > Guessing here but maybe because Emacs is reasonably subtle here
| > and keep the *Message* in a background buffer?  It wasn't a hard
| > "failed, here is the message" error.
| 
| Yes, Emacs handles this gracefully.  But it is irritating, unless
| you know what to do with this.

Yep. But now we found two places for improvement. I'd call that "not bad for
a random Friday".

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]