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 15:02:21 -0700	[thread overview]
Message-ID: <CAJcAo8u+JrgoTVREG9FdmuMYMDnYw=nxwZQPENhPh3FO0DLn_g@mail.gmail.com> (raw)
In-Reply-To: <87d2jb142o.fsf@bzg.ath.cx>

with the patch on maint, sometimes refile goto from the scratch buffer
shows 2 olpaths for the same location.  one has the filename and the
other does not.  selecting the default results in:

Debugger entered--Lisp error: (error "Invalid target location")
  signal(error ("Invalid target location"))
  user-error("Invalid target location")
  org-refile-get-location("Goto" nil nil 4)
  org-refile(4)
  alpha-org-goto-1()
  alpha-org-goto-restricted()
  call-interactively(alpha-org-goto-restricted nil nil)

where restricted goto let-binds org refile targets.  so it seems about
the same as before?  i don't see the need for 2 olpaths to point to
the same location.

could be pilot error?


On 1/29/14, Bastien <bzg@gnu.org> wrote:
> Hi Samuel,
>
> Samuel Wales <samologist@gmail.com> writes:
>
>> Would this also get rid of the current-file special case?  If so, this
>> sounds good to me and I will test it.
>
> Please test the attached patch against maint and let me know what
> issues it fixes for you.
>
> Thanks,
>
>


-- 
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-29 22:02 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 [this message]
2014-01-29 23:49                         ` Bastien
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='CAJcAo8u+JrgoTVREG9FdmuMYMDnYw=nxwZQPENhPh3FO0DLn_g@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).