bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7602: 23.2; default-directory not updated after ido-write-file


From: Dave Abrahams
Subject: bug#7602: 23.2; default-directory not updated after ido-write-file
Date: Mon, 24 Jan 2011 12:50:53 -0500
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/23.2 (x86_64-apple-darwin) MULE/6.0 (HANACHIRUSATO)

At Sat, 22 Jan 2011 14:40:05 -0500,
Chong Yidong wrote:
> 
> Dave Abrahams <address@hidden> writes:
> 
> > (progn
> >     (ido-mode)
> >     (mkdir "/tmp/foo")
> >     (mkdir "/tmp/baz")
> >     (shell-command "touch "/tmp/foo/bar")
> >     (find-file "/tmp/foo/bar"))
> >
> > C-x C-f /tmp/foo/bar RET
> > C-x C-w /tmp/baz/ RET
> > M-S-: default-directory RET
> >
> > C-x C-f and note that the prompt default begins with /tmp/foo/, not
> > /tmp/bar/
> 
> I'm not sure how to follow your recipe.  When I do C-x C-w, the ido
> "Write file" prompt does not allow me to finish with /tmp/baz/, since
> that is a directory.  Did you mean C-x C-w /tmp/baz/bar?  If that's the
> case, after the C-x C-w default-directory is /tmp/baz, as expected.
> 
> Tested on both emacs 23.2 and trunk.

You're quite right.  Not sure what I'm seeing, but I'm seeing
something odd.  I'll keep quiet until I have a proper reproducible
test case.

thanks!

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com






reply via email to

[Prev in Thread] Current Thread [Next in Thread]