emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Bastien <bzg@gnu.org>
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: Wed, 29 Jan 2014 18:13:20 -0700	[thread overview]
Message-ID: <CAJcAo8uQYMwMskM9gmYbBUiZmi6RsNJ-PWoNK5Dhr3FXh0Dmbg@mail.gmail.com> (raw)
In-Reply-To: <878utye4bo.fsf@bzg.ath.cx>

hi bastien,

the ecm is as in the thread leader that we have been discussing:
computer.org contains computer/emacs, computer/emacs/myorg.

this sequence causes the error for me:

===

reboot emacs
use ido
refile goto to "myorg"
  this works
refile goto to "emacs"
  ignore the bug that the default says computer/emacs/myorg
  i.e. select computer/emacs manually
  this works
switch to scratch buffer
refile goto to emacs
  you will see the bug that there are 2 olpaths pointing to computer/emacs
    one has filename and the other does not
  select the default
you will get the error
i hope

===

i have very little capacity to do this properly, doing the best i can
so you get timely feedback.  perhaps this gives you a little to go on.
  if not, this will take much longer.

samuel

On 1/29/14, Bastien <bzg@gnu.org> wrote:
> 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
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.

  reply	other threads:[~2014-01-30  1:13 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
2014-01-30  1:13                           ` Samuel Wales [this message]
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=CAJcAo8uQYMwMskM9gmYbBUiZmi6RsNJ-PWoNK5Dhr3FXh0Dmbg@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /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).