[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26272: default-directory: Remark that it must be a directory name
From: |
Andreas Schwab |
Subject: |
bug#26272: default-directory: Remark that it must be a directory name |
Date: |
Tue, 28 Mar 2017 12:13:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
On Mär 28 2017, Tino Calancha <tino.calancha@gmail.com> wrote:
> On Tue, 28 Mar 2017, Eli Zaretskii wrote:
>
>>> From: Tino Calancha <tino.calancha@gmail.com>
>>> Date: Tue, 28 Mar 2017 10:54:36 +0900 (JST)
>>> cc: Eli Zaretskii <eliz@gnu.org>, Tino Calancha <tino.calancha@gmail.com>,
>>> 26272@debbugs.gnu.org
>>>
>>> III) Wrong
>>> M-x cd RET /tmp// RET
>>> M-: (default-directory) RET
>>> => "/"
>>
>> Why is this wrong? It's a standard Emacs feature.
> I don't think is wrong, indeed is consistent with the behaviour
> in Bug#21454.
> I was just a bit sorprise that the result is different in
> interactive calls compared with:
> M-: (cd "/tmp//") RET
> M-: (default-directory) RET
> => "/tmp/"
substitute-in-file-name is a feature of reading the argument
interactively, before the argument is passed to the command.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
- bug#26272: default-directory: Remark that it must be a directory name, Tino Calancha, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Eli Zaretskii, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Tino Calancha, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Eli Zaretskii, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Noam Postavsky, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Eli Zaretskii, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Noam Postavsky, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Tino Calancha, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Eli Zaretskii, 2017/03/27
- bug#26272: default-directory: Remark that it must be a directory name, Tino Calancha, 2017/03/28
- bug#26272: default-directory: Remark that it must be a directory name,
Andreas Schwab <=
- bug#26272: default-directory: Remark that it must be a directory name, Tino Calancha, 2017/03/28
bug#26272: default-directory: Remark that it must be a directory name, Tino Calancha, 2017/03/31