ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ada-mode-users] Execute protection needed on shell scripts


From: Stephen Leake
Subject: Re: [Ada-mode-users] Execute protection needed on shell scripts
Date: Tue, 21 Nov 2017 13:35:42 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt)

Piotr Trojanek <address@hidden> writes:

> On Mon, Nov 20, 2017 at 7:01 PM, Stephen Leake
> <address@hidden> wrote:
>> mtn can, with the mtn:execute attribute. I thought I had the mtn hook
>> set so *.sh would get execute by default; I'll have to check that. I've
>> only been testing on Windows; this is a good reason to resume testing on
>> Linux.
>
> On this occasion I also suggest to remove the executable attribute
> from non-executable ada-mode files. In particular, many of the .el and
> .adb/.ads files in the ada-mode tarball distributed by MELPA are
> executable.

MELPA? I'm not aware of ada-mode in MELPA (https://melpa.org/). The
official distribution is in Gnu ELPA (https://elpa.gnu.org/); I'll
assume that's what you meant.

That's because of the way git handles the executable bit. I'm using
Cygwin git (on Windows 8.1), so maybe that's the problem, but I've never
been able to get the permissions to stay set properly; they get
overwritten seemingly randomly.

I'm switching to Mingw64 git, so I guess it's time to try again. Do you
have any suggestions on how to get the executable bits set in git
correctly, and permanently?

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]