[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-26 Thread Bastien
Hi Stefan, Stefan Monnier monn...@iro.umontreal.ca writes: IOW, if needed we could wrap the calls to bookmark-set in with-demoted-errors, but maybe those errors are signaled late enough already that while the command signals an error, it did do what it was expected to do. I've now wrapped

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-25 Thread Jonathan Schaeffer
Le 24/10/2012 17:09, Drew Adams a écrit : 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). Yes, you have a point here. I tested again the Org refile function in 3 cases : - no

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-25 Thread Glenn Morris
Jonathan Schaeffer wrote: Maybe Glenn could tell how he was able to corrupt his bookmarks file ? I intentionally added junk to it.

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-24 Thread Jonathan Schaeffer
Le 23/10/2012 18:24, Glenn Morris a écrit : 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. Thanks a lot for your

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-24 Thread Bastien
Hi Jonathan, Jonathan Schaeffer jonathan.schaef...@univ-brest.fr writes: Perhaps Org could trap and report such errors more gracefully. The error message makes sense ... as soon as you know where the problem comes from :) I enhanced the error message, which now says to save the buffer in a

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-24 Thread Stefan Monnier
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

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-24 Thread Drew Adams
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

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-24 Thread Bastien
Hi Stefan, Stefan Monnier monn...@iro.umontreal.ca writes: 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

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-24 Thread Stefan Monnier
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.

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Glenn Morris
Jonathan Schaeffer wrote: (I made a reply all, is that alright ?) Yes, that's the right thing to do. with emacs -Q, I can not reproduce the bug. But refile does not work at all, (Complains : wrong type argument arrayp,nil). I do : 1. emacs -Q 2. C-x C-f refiletest.org 3. Fill the buffer

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Jonathan Schaeffer
Le 22/10/2012 18:15, Glenn Morris a écrit : Jonathan Schaeffer wrote: To reproduce : Create a .org file, create 2 level-1 entries. Create one level-2 entry and hit C-c C-w to refile it into the other level-1 entry. Like this : * Entry One * Entry Two ** Refile Me The level-2 entry is

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Jonathan Schaeffer
Le 23/10/2012 09:50, Glenn Morris a écrit : Jonathan Schaeffer wrote: If, instead of visiting a file, I open just a new buffer with C-x b test.org, the behaviour is different : On refile (C-c C-w) nothing happens but the error message shows: wrong type argument: arrayp, nil This doesn't make

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Bastien
Hi Jonathan, Jonathan Schaeffer jonathan.schaef...@univ-brest.fr writes: I'll submit a post on Archlinux forum to see if someone can reproduce this. You can also try reporting your problem to the emacs-orgmode mailing list: https://lists.gnu.org/mailman/listinfo/emacs-orgmode There are some

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Glenn Morris
Bastien wrote: You can also try reporting your problem to the emacs-orgmode mailing list: https://lists.gnu.org/mailman/listinfo/emacs-orgmode It's already there, since I reassigned this bug. http://lists.gnu.org/archive/html/emacs-orgmode/2012-10/msg00563.html

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Glenn Morris
Jonathan Schaeffer wrote: Sorry, I missed a step : I manualy load the org-mode mode (Alt-x org-mode) before doing anything in the buffer. This might be an orgmode bug, from what I read on the internet. I can reproduce that in Emacs 24.2 and current trunk. Debugger entered--Lisp error:

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-23 Thread Glenn Morris
Jonathan Schaeffer wrote: To reproduce : Create a .org file, create 2 level-1 entries. Create one level-2 entry and hit C-c C-w to refile it into the other level-1 entry. Like this : * Entry One * Entry Two ** Refile Me The level-2 entry is copied in the correct location but is not

[O] bug#12702: 24.2; Orgmode Refile complains Not bookmark format

2012-10-22 Thread Glenn Morris
Jonathan Schaeffer wrote: To reproduce : Create a .org file, create 2 level-1 entries. Create one level-2 entry and hit C-c C-w to refile it into the other level-1 entry. Like this : * Entry One * Entry Two ** Refile Me The level-2 entry is copied in the correct location but is not