bugInsidious Big Brother Database - Bugs: bug #34660, bbdb-create creates ~/.bbdb...

 
 

bug #34660: bbdb-create creates ~/.bbdb improperly

Submitted by:  Carson Chittom <carson>
Submitted on:  Wed 26 Oct 2011 01:39:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Roland Winkler <winkler>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Dec 2011 12:19:44 PM UTC, comment #2:

Fixed in ChangeLog 2011-11-20

Roland Winkler <winkler>
Project AdministratorIn charge of this item.
Thu 27 Oct 2011 07:21:51 PM UTC, comment #1:

I forgot to mention: this occurs at least on Emacs 22 and Emacs 23 (tested on OpenBSD 4.9 and Windows XP respectively, if it matters).

Carson Chittom <carson>
Wed 26 Oct 2011 01:39:00 PM UTC, original submission:

If ~/.bbdb is nonexistent, M-x bbdb-create creates it improperly such that it requires a manual edit.
Steps to reproduce: Start Emacs. M-x bbdb-create and fill in the fields. C-x C-c to quit Emacs; answer y to prompt to save ~/.bbdb. The file created looks like this:

;; -- mode: Emacs-Lisp; coding: utf-8; --
;;; file-format: 7["John" "Smith" nil nil nil nil nil ("jsmith@example.com") ((creation-date . "2011-10-26 13:26:08 +0000") (timestamp . "2011-10-26 13:26:08 +0000")) nil]

Trying to use the resulting file gives the error "BBDB corrupted: no file-format line"

Workaround: Edit ~/.bbdb and manuall insert a new line after ";;; file-format: 7"

Carson Chittom <carson>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by winkler (Updated the item)
  • -unavailable- added by carson (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Dec 2011 12:18:35 PM UTCwinklerStatusNone=>Fixed
      Assigned toNone=>winkler
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1