all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Importing data from old bbdb2 to ELPA bbdb3
@ 2015-03-10 14:36 Haines Brown
  2015-03-10 15:40 ` Marco Wahl
  0 siblings, 1 reply; 3+ messages in thread
From: Haines Brown @ 2015-03-10 14:36 UTC (permalink / raw)
  To: help-gnu-emacs

I installed ELPA bbdb3, and of course it does not see my ~/.bbdb
database. I see that in ~/.emacs.d/elpa/bbdb-20140830.2031 there is a
bbdb.el and bbdb.elc file. Can I simply comment these files and rename
my .bbdb to bbdb.el and move it to elpa/? That is, is the format suited
to bbdb3?

Haines Brown


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Importing data from old bbdb2 to ELPA bbdb3
  2015-03-10 14:36 Importing data from old bbdb2 to ELPA bbdb3 Haines Brown
@ 2015-03-10 15:40 ` Marco Wahl
  2015-03-10 19:20   ` Haines Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Wahl @ 2015-03-10 15:40 UTC (permalink / raw)
  To: help-gnu-emacs

Haines Brown <haines@engels.histomat.net> writes:

> I installed ELPA bbdb3, and of course it does not see my ~/.bbdb
> database.

This is a question of configuration AFAICS.  I have

#v+
bbdb-file is a variable defined in `bbdb.el'.
Its value is "~/.bbdb"
Original value was "~/.emacs.d/bbdb"

Documentation:
The name of the Insidious Big Brother Database file.
#v-

> I see that in ~/.emacs.d/elpa/bbdb-20140830.2031 there is a
> bbdb.el and bbdb.elc file.

These are most likely program files which are part of the bbdb program.

> Can I simply comment these files and rename my .bbdb to bbdb.el and
> move it to elpa/?

I think you better configure the variable `bbdb-file' instead.  (M-x
customize-variable bbdb-file)

> That is, is the format suited to bbdb3?

IIRC there has been a format change from bbdb2 to bbdb3.  bbdb3 can read
the bbdb2 format and converts to the bbdb3 format (again IIRC).

I recommend you to save a backup of your bbdb2-file and check if bbdb3
works for you.


Ciao,
                                          Marco
-- 
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Importing data from old bbdb2 to ELPA bbdb3
  2015-03-10 15:40 ` Marco Wahl
@ 2015-03-10 19:20   ` Haines Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Haines Brown @ 2015-03-10 19:20 UTC (permalink / raw)
  To: help-gnu-emacs

Marco Wahl <marcowahlsoft@gmail.com> writes:

> Haines Brown <haines@engels.histomat.net> writes:
>
>> I installed ELPA bbdb3, and of course it does not see my ~/.bbdb
>> database.
>
> This is a question of configuration AFAICS.  I have
>
> #v+
> bbdb-file is a variable defined in `bbdb.el'.
> Its value is "~/.bbdb"
> Original value was "~/.emacs.d/bbdb"

I have:

(defcustom bbdb-file (locate-user-emacs-file "bbdb" ".bbdb")

This doesn't indicate path, but I guessed it is ~/.emacs.d/. So I copied
~.bbdb to ~/.emacs.d/bbdb and it works.

Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-10 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 14:36 Importing data from old bbdb2 to ELPA bbdb3 Haines Brown
2015-03-10 15:40 ` Marco Wahl
2015-03-10 19:20   ` Haines Brown

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.