[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: asm-mode patch to allow per-file comment character setting from file
From: |
David Kastrup |
Subject: |
Re: asm-mode patch to allow per-file comment character setting from file locals |
Date: |
Mon, 12 Jun 2006 15:12:00 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Alastair Houghton <address@hidden> writes:
> On 11 Jun 2006, at 22:20, Stefan Monnier wrote:
>
>> I don't have time to look in detail at the patch, but here are some
>> comments:
>>
>>> +(make-variable-buffer-local 'asm-comment-char)
>>
>> Please don't do that. USe make-local-variable where necessary
>> instead.
>
> The reason I chose to use make-variable-buffer-local is that I want
> to be able to set it from a file local variables block (either the -
> *- version at the top, or the version at the bottom of my assembler
> files).
Files set from a file local variables block are made buffer-local,
anyway. Perhaps reading the documentation will help.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- asm-mode patch to allow per-file comment character setting from file locals, Alastair Houghton, 2006/06/09
- Re: asm-mode patch to allow per-file comment character setting from file locals, Stefan Monnier, 2006/06/11
- Re: asm-mode patch to allow per-file comment character setting from file locals, Alastair Houghton, 2006/06/12
- Re: asm-mode patch to allow per-file comment character setting from file locals,
David Kastrup <=
- Re: asm-mode patch to allow per-file comment character setting from file locals, Alastair Houghton, 2006/06/12
- Re: asm-mode patch to allow per-file comment character setting from file locals, Thien-Thi Nguyen, 2006/06/12
- Re: asm-mode patch to allow per-file comment character setting from file locals, David Kastrup, 2006/06/12
- Re: asm-mode patch to allow per-file comment character setting from file locals, Alastair Houghton, 2006/06/13
- Re: asm-mode patch to allow per-file comment character setting from file locals, Eli Zaretskii, 2006/06/13
- [OT] Netiquette (was: Re: asm-mode patch to allow per-file comment character setting from file locals), Alastair Houghton, 2006/06/13
- Re: [OT] Netiquette (was: Re: asm-mode patch to allow per-file comment character setting from file locals), Thien-Thi Nguyen, 2006/06/13
- Re: [OT] Netiquette (was: Re: asm-mode patch to allow per-file comment character setting from file locals), Alastair Houghton, 2006/06/14
- Re: [OT] Netiquette (was: Re: asm-mode patch to allow per-file comment character setting from file locals), Eli Zaretskii, 2006/06/13
- Re: [OT] Netiquette (was: Re: asm-mode patch to allow per-file comment character setting from file locals), Alastair Houghton, 2006/06/14