From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales 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 Message-ID: References: <877gcb6ena.fsf@bzg.ath.cx> <87wqkb4zso.fsf@bzg.ath.cx> <87iot6jt0i.fsf@bzg.ath.cx> <87k3dktrg7.fsf@bzg.ath.cx> <87d2jb142o.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8dDF-00042j-FJ for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 17:02:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8dDD-0001Wo-Fk for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 17:02:25 -0500 In-Reply-To: <87d2jb142o.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode 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 wrote: > Hi Samuel, > > Samuel Wales 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.