* Did someone modify default-directory?
@ 2010-04-09 21:45 John Wiegley
2010-04-10 14:50 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: John Wiegley @ 2010-04-09 21:45 UTC (permalink / raw)
To: emacs-devel
One of the things I've noticed in Emacs trunk is that in Eshell when I type "cd ~", I see this:
/Users/johnw $
But in Emacs 23 I see this:
~ $
I have been searching through the ChangeLog, but cannot see why default-directory should be an expanded name in Eshell buffers, when it isn't if I visit the ~ directory using dired, for example. Does anyone have some light to shed for me?
Thanks, John
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Did someone modify default-directory?
2010-04-09 21:45 Did someone modify default-directory? John Wiegley
@ 2010-04-10 14:50 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2010-04-10 14:50 UTC (permalink / raw)
To: John Wiegley; +Cc: emacs-devel
> I have been searching through the ChangeLog, but cannot see why
IIUC it was a change in `cd':
* files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
> default-directory should be an expanded name in Eshell buffers, when
> it isn't if I visit the ~ directory using dired, for example.
Could you give us the steps that lead to it being ~ rather than /Users/johnw?
> Does anyone have some light to shed for me?
When displaying it, you'll want to use abbreviate-file-name I think.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-10 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-09 21:45 Did someone modify default-directory? John Wiegley
2010-04-10 14:50 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.