[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21573: (no subject)
From: |
Alexander Zhukov |
Subject: |
bug#21573: (no subject) |
Date: |
Thu, 03 Dec 2015 15:23:41 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
>>>>> Eli Zaretskii (EZ) writes:
>> From: Alexander Zhukov <zuav@crystax.net> Date: Wed, 02 Dec 2015
>> 21:11:45 +0300
>>
>> 1. Create Git repo with a one file: some bash scripts with
>> executable bit set, f.e. script.sh.
>>
>> 2. Open fresh terminal. I mean close running terminal app with Cmd-Q
>> and run a fresh copy.
>>
>> 3. Run Emacs app like this:
>> /Applications/Emacs.app/Contents/MacOS/Emacs -Q &
>>
>> 4. Eval in the scratch buffer (file-accessible-directory-p
>> "/private/var/tmp/repo/script.sh"). The result should be 'nil'
>>
>> 5. Open file: C-x C-f ".../script.sh"
>>
>> 6. Go back the scratch buffer and eval (file-accessible-directory-p
>> ".../script.sh") The result should be 't'.
EZ> It is nil here.
>> 7. Exit Emacs with C-x C-c
>>
>> 8. Run Emacs from the same terminal window as in 3.
>>
>> 9. Eval in the scratch buffer (file-accessible-directory-p
>> "/private/var/tmp/repo/script.sh") The result should be t
EZ> No, it again returns nil here. As it should, since this file is
EZ> not a directory.
>> NB I'm using standard terminal app that goes with OS X.
EZ> Could be something OS X specific, I tried on GNU/Linux and on
EZ> Windows, and the function always returns nil for files that are not
EZ> directories.
EZ> I tried both in a Git repository where I have many files, and in a
EZ> repository where I have only one shell script, as you mentioned.
EZ> The results are always the same.
Yes, it's OS X specific. Even more, it's seems to be specific to my
machine and the author of the original bug. I have reported this bug to
magit initially and so far nobody with OS X machines was able to
reproduce the bug.
EZ> What version of Emacs do you use?
GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57) of
2015-04-13 on ithilien
--
Alexander Zhukov