-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Enrico,

Enrico Tröger wrote:
>> Geany does not detect a format for debian/rules files, which
>> unfortunately means if you have configured to use spaces rather than
>> tabs, and don't explicitly tell it you are dealing with a makefile,
>> it mangles things by using spaces rather than tabs. It would be nice
> 
> this happens also when the file was recognized as a Makefile. But
> can simply change the indent type per file with Document->Indent
> Type->Tabs.
> Maybe this get improved in the future to force Tab indentation for
> Makefiles.

I just checked and you are quite correct, I had conned myself into
thinking it was smarter than this for make files. Yes, it would be
better if this was forced for such files.

>> if it could recognise a rules file by the shebang line.
> 
> I just added shebang detection for "make" in current SVN version. So,
> Debian's rules files are detected as Makefiles.
> 
> But you can also achieve this by changing the filetype extensions.
> Create a file ~/.geany/filetype_extensions.conf and add the following
> two lines:
>  
> [Extensions]
> Make=*.mak;*.mk;GNUmakefile;makefile;Makefile;makefile.*;Makefile.*;rules;

Very helpful, thanks!

CT.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIK3800SwfPjLnaZYRAod8AJwOnyXI4//MfkGelb3NfdryMo5IowCfT2Ny
C4B5CPaXjQEwbahmf36wDms=
=jzkr
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to