From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Re: fast navigation Date: Thu, 22 Dec 2011 16:45:25 -0500 Message-ID: References: <4EE9F89D.1060301@sergio.spb.ru> <20111215151318.GC12790@soloJazz.com> <4EEA9293.50506@sergio.spb.ru> <874nx15ayq.fsf@ericabrahamsen.net> <4EEBE2FE.2020009@sergio.spb.ru> <87wr9tzxgu.fsf@ericabrahamsen.net> <4EEE1D93.8070008@sergio.spb.ru> <87k45tz5yp.fsf@ericabrahamsen.net> <4EEFC683.7020707@sergio.spb.ru> <874nwvfzjw.fsf@ericabrahamsen.net> <4EF07E7B.3000807@sergio.spb.ru> <87k45qrh9x.fsf@altern.org> <87iplacapy.fsf@live.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdqS8-0006VE-GA for emacs-orgmode@gnu.org; Thu, 22 Dec 2011 16:45:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdqS7-0004Oz-Bk for emacs-orgmode@gnu.org; Thu, 22 Dec 2011 16:45:28 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:61246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdqS7-0004Ot-25 for emacs-orgmode@gnu.org; Thu, 22 Dec 2011 16:45:27 -0500 Received: by pbdd2 with SMTP id d2so4815227pbd.0 for ; Thu, 22 Dec 2011 13:45:25 -0800 (PST) In-Reply-To: <87iplacapy.fsf@live.com> 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: emacs-orgmode@gnu.org The patch indeed fixes the problem, but has the following side effect: the org-goto prompt now acquires a (possibly invalid) default location, e.g. after I go to node "foo" in some file (file1), and do an org-goto in some other file (file2), it will give me "foo" as a default location, even though there's no node "foo" in file2. This is mostly a cosmetic bug, but a bug nonetheless, because the signature of the function in the patch is (org-refile-get-location &optional PROMPT DEFAULT-BUFFER NEW-NODES NO-EXCLUDE) and we are in fact passing nil to default-buffer. I would expect this to suppress the showing of the default prompt. On Wed, Dec 21, 2011 at 8:31 AM, Yagnesh Raghava Yakkala wrote: > Hi, > > Leo Alekseyev writes: > >> I recorded the bug in a short screencast. =A0emacs was started with -Q; >> in the second part of the screencast it was restarted with a config >> file that only included ido mode >> >> http://www.youtube.com/watch?v=3Dz6nDUh0RH_c&feature=3Dyoutu.be >> > > The attached highly unrelible online PATCH fixes the problem. I dont know > it has any side effects. > > > > > -- > YYR >