[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: let*: Wrong type argument: stringp, nil
From: |
Emanuel Berg |
Subject: |
Re: let*: Wrong type argument: stringp, nil |
Date: |
Tue, 28 Sep 2021 09:20:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hongyi Zhao wrote:
>> Eval this
>>
>> (cd "..")
>>
>> enough times and it alternates between "/" and "/../"
>> indefinitely, maybe that's what happens?
>>
>> (But I don't know why, or what it tries to say with "/../"
>> which should be equivalent to "/" ... in the shell, cd from /
>> does not lead to /../ but will stay in /)
>
> They are really equivalent:
>
> werner@X10DAi-00:/$ realpath -e /../
> /
> werner@X10DAi-00:/$ realpath -e /
> /
Yeah, looks like a bug this. Harmless and technically not
incorrect perhaps but suboptimal/confusing, especially the
alternating back and forth.
(cd "..") at / should be a no-op that returns "/" IMO.
--
underground experts united
https://dataswamp.org/~incal
- Re: let*: Wrong type argument: stringp, nil, (continued)
- Re: let*: Wrong type argument: stringp, nil, Stephen Berman, 2021/09/25
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/25
- Re: let*: Wrong type argument: stringp, nil, Stephen Berman, 2021/09/25
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/25
- Re: let*: Wrong type argument: stringp, nil, Stephen Berman, 2021/09/25
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/25
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/27
- Re: let*: Wrong type argument: stringp, nil, Emanuel Berg, 2021/09/27
- Re: let*: Wrong type argument: stringp, nil, Emanuel Berg, 2021/09/27
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil,
Emanuel Berg <=
- Re: let*: Wrong type argument: stringp, nil, Yuri Khan, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil, Emanuel Berg, 2021/09/28
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/29
- Re: let*: Wrong type argument: stringp, nil, Emanuel Berg, 2021/09/29
- Re: let*: Wrong type argument: stringp, nil, Hongyi Zhao, 2021/09/29
- Re: let*: Wrong type argument: stringp, nil, Emanuel Berg, 2021/09/29