From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Drew Adams" Subject: bug#12702: 24.2; Orgmode Refile complains "Not bookmark format" Date: Wed, 24 Oct 2012 08:09:21 -0700 Message-ID: References: <50855D96.9000302@univ-brest.fr> <03liexyx5m.fsf@fencepost.gnu.org><5087B1AB.3030404@univ-brest.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR2ay-0001dp-1D for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 11:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR2as-0000G6-3P for emacs-orgmode@gnu.org; Wed, 24 Oct 2012 11:10:11 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'Stefan Monnier' , 'Jonathan Schaeffer' Cc: 12702@debbugs.gnu.org > >> I found a way to reproduce this: have a corrupt bookmarks file. > >> Check the contents of your bookmark-default-file. Try > >> (re)moving it. > > Wonderfull. I had an empty ~/.emacs.d/bookmarks file. > > I removed it and the problem is gone. > > Hmm... it would be good if Emacs were a bit more helpful here by > maybe including the bookmark file name in the error. > > > The error message makes sense ... as soon as you know where > > the problem comes from :) > > Also, while it's good to signal to the user that his bookmark file > is corrupted (and to make sure we don't overwrite it with > something else), I don't see why that should prevent Org's > Refile from working. Sorry, I have not been following this thread - excuse me if I misunderstand. But AFAIK an empty bookmark file should not present any problems for Emacs (for bookmark handling, at least, and I would hope for Org mode and anything else too). Is that really what the problem was - an empty bookmark file was interpreted (by something) as a corrupt bookmark file? If so, that in itself sounds like a bug, to me. I use Bookmark+, but I would guess that vanilla bookmark.el too handles the existence of an empty bookmark file with no problem. If not, that would be the first thing to fix, I would think. (Again, ignore if I've misunderstood.)