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 <yagn...@live.com> wrote: > Hi, > > Leo Alekseyev <dnqu...@gmail.com> writes: > >> I recorded the bug in a short screencast. emacs 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=z6nDUh0RH_c&feature=youtu.be >> > > The attached highly unrelible online PATCH fixes the problem. I dont know > it has any side effects. > > > > > -- > YYR >