[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distinguish .h files
From: |
Tassilo Horn |
Subject: |
Re: distinguish .h files |
Date: |
Thu, 21 Oct 2010 12:43:13 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Tassilo Horn <tassilo@member.fsf.org> writes:
>> Third, Emacs tries to determine the major mode by looking at the
>> text at the start of the buffer, based on the variable
>> `magic-mode-alist'. By default, this variable is `nil' (an empty
>> list), so Emacs skips this step; however, you can customize it in
>> your init file
>>
>> How long start of the buffer? Which variable control this behavior?
>
> I don't know exactly, but in general only the first line is relevant,
> with some shebang like
>
> #!/bin/bash
Oh, just a correction: Usually shebang lines should be handled
automatically by `interpreter-mode-alist'.
Bye,
Tassilo
- distinguish .h files, Andrea Crotti, 2010/10/20
- Re: distinguish .h files, Lennart Borgman, 2010/10/20
- Re: distinguish .h files, Oleksandr Gavenko, 2010/10/21
- Re: distinguish .h files, Tassilo Horn, 2010/10/21
- Re: distinguish .h files,
Tassilo Horn <=
- Re: distinguish .h files, Andrea Crotti, 2010/10/21
- Re: distinguish .h files, Oleksandr Gavenko, 2010/10/21
- Re: distinguish .h files, Andrea Crotti, 2010/10/21
- Re: distinguish .h files, Oleksandr Gavenko, 2010/10/21
- Re: distinguish .h files, Andrea Crotti, 2010/10/21
- Re: distinguish .h files, Tassilo Horn, 2010/10/21
- Re: distinguish .h files, Andrea Crotti, 2010/10/21
- Re: distinguish .h files, Tassilo Horn, 2010/10/21
- Re: distinguish .h files, Oleksandr Gavenko, 2010/10/21