From: Bastien <bzg@gnu.org>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: bug: "Please save the buffer to a file before refiling" when the buffer is already saved"
Date: Thu, 30 Jan 2014 00:49:47 +0100 [thread overview]
Message-ID: <878utye4bo.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAJcAo8u+JrgoTVREG9FdmuMYMDnYw=nxwZQPENhPh3FO0DLn_g@mail.gmail.com> (Samuel Wales's message of "Wed, 29 Jan 2014 15:02:21 -0700")
Hi Samuel,
please provide a reproducible recipe, it's really hard to explore
those kind of bugs otherwise.
The patch should fix at least these two bugs:
- you enter "A headline/" as a refile target but "A headline/"
is not in the current file: before the patch, it throws an error,
after the patch it refiles to "A headline/".
- you enter "A headline/a_non_existent_headline" as a refile target
and have (setq org-refile-allow-creating-parent-nodes t). Before
the patch, if "A headline/" is not in the current file, it will fail
silently. Now the prompt asks for confirmation and will refile to
the correct location by guessing the filename right.
Thanks for letting me know.
--
Bastien
next prev parent reply other threads:[~2014-01-29 23:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 19:42 bug: "Please save the buffer to a file before refiling" when the buffer is already saved" Samuel Wales
2013-11-13 23:55 ` Bastien
2013-11-13 23:59 ` Samuel Wales
2013-11-14 0:01 ` Bastien
2013-11-14 0:05 ` Samuel Wales
2014-01-25 21:57 ` Samuel Wales
2014-01-25 21:59 ` Samuel Wales
2014-01-26 22:08 ` Bastien
2014-01-27 2:16 ` Samuel Wales
2014-01-28 8:56 ` Bastien
2014-01-28 19:13 ` Samuel Wales
2014-01-29 10:21 ` Bastien
2014-01-29 22:02 ` Samuel Wales
2014-01-29 23:49 ` Bastien [this message]
2014-01-30 1:13 ` Samuel Wales
2014-01-30 6:52 ` Bastien
2014-02-05 21:22 ` Samuel Wales
2014-02-05 23:37 ` 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=878utye4bo.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/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).