unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 7602@debbugs.gnu.org
Subject: bug#7602: 23.2; default-directory not updated after ido-write-file
Date: Mon, 24 Jan 2011 12:50:53 -0500	[thread overview]
Message-ID: <m2zkqqyyv6.wl%dave@boostpro.com> (raw)
In-Reply-To: <8739okzq0a.fsf@stupidchicken.com>

At Sat, 22 Jan 2011 14:40:05 -0500,
Chong Yidong wrote:
> 
> Dave Abrahams <dave@boostpro.com> 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	other threads:[~2011-01-24 17:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 23:46 bug#7602: 23.2; default-directory not updated after ido-write-file Dave Abrahams
2011-01-22 19:40 ` Chong Yidong
2011-01-24 17:50   ` Dave Abrahams [this message]
2011-07-10  1:22     ` Glenn Morris

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2zkqqyyv6.wl%dave@boostpro.com \
    --to=dave@boostpro.com \
    --cc=7602@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /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.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).