From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Bastien <bzg@altern.org>
Cc: 12702@debbugs.gnu.org,
Jonathan Schaeffer <jonathan.schaeffer@univ-brest.fr>
Subject: bug#12702: 24.2; Orgmode Refile complains "Not bookmark format"
Date: Wed, 24 Oct 2012 13:57:34 -0400 [thread overview]
Message-ID: <jwv3913g3h6.fsf-monnier+emacs__34676.3479793028$1351101514$gmane$org@gnu.org> (raw)
In-Reply-To: <87d30729b0.fsf@bzg.ath.cx>
>>> 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.
> By default, org-refile and org-capture store bookmarks to the last
> refiled/captured Org headline. (There is org-capture-bookmark in
> case users want to deactivate this for captured headlines.)
> We could skip this step in Org in case the bookmark format is
> corrupted, or have a more informative message that makes clear to
> the user that Org tries to store a bookmark.
I don't know the details of what happens currently when the bookmark file is
corrupted but at least such an occurrence shouldn't prevent org-refile
from working (tho obviously in a degraded way).
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.
Stefan
next prev parent reply other threads:[~2012-10-24 17:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <50855D96.9000302@univ-brest.fr>
2012-10-22 16:15 ` bug#12702: 24.2; Orgmode Refile complains "Not bookmark format" Glenn Morris
[not found] ` <dd30axz3h.fsf@fencepost.gnu.org>
2012-10-23 7:06 ` Jonathan Schaeffer
[not found] ` <508641DE.9080101@univ-brest.fr>
2012-10-23 7:50 ` Glenn Morris
2012-10-23 8:08 ` Jonathan Schaeffer
[not found] ` <50865081.5030303@univ-brest.fr>
2012-10-23 15:57 ` Bastien
2012-10-23 15:59 ` Glenn Morris
2012-10-23 20:52 ` bug#12702: " Philipp Kroos
2012-10-23 16:06 ` Glenn Morris
2012-10-23 16:24 ` Glenn Morris
2012-10-24 9:15 ` Jonathan Schaeffer
2012-10-24 14:54 ` Stefan Monnier
2012-10-24 15:09 ` Drew Adams
[not found] ` <B8987BDA30BA4809913EB7116DA1939B@us.oracle.com>
2012-10-25 7:18 ` Jonathan Schaeffer
2012-10-25 7:25 ` Glenn Morris
[not found] ` <jwvfw54gc2h.fsf-monnier+emacs__40840.5437753119$1351090539$gmane$org@gnu.org>
2012-10-24 15:12 ` Bastien
[not found] ` <87d30729b0.fsf@bzg.ath.cx>
2012-10-24 17:57 ` Stefan Monnier [this message]
2012-10-26 12:56 ` Bastien
[not found] ` <5087B1AB.3030404__3093.93068678236$1351070207$gmane$org@univ-brest.fr>
2012-10-24 13:29 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jwv3913g3h6.fsf-monnier+emacs__34676.3479793028$1351101514$gmane$org@gnu.org' \
--to=monnier@iro.umontreal.ca \
--cc=12702@debbugs.gnu.org \
--cc=bzg@altern.org \
--cc=jonathan.schaeffer@univ-brest.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).