[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: log-edit-strip-single-file-name
From: |
Stefan Monnier |
Subject: |
Re: log-edit-strip-single-file-name |
Date: |
Fri, 29 Jan 2010 12:58:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
>> >>> Should I be setting log-edit-strip-single-file-name to nil when using
>> > [...]
>> >>> If so, it should probably be in Emacs's .dir-locals.el.
>> >> Agreed,
>> > It doesn't work. I guess dir-locals doesn't affect buffers not
>> > visiting files.
>>
>> This is a "general" problem that we may want to solve: non-file (nor
>> dired) buffers that are (loosely) associated with a particular
>> directory should probably obey .dir-locals.el.
> How about solvin specific instances of this problem by calling
> `hack-dir-local-variables' from `log-edit-mode' and other VC related
> modes?
Doesn't sound too bad. Just try and make sure the log-edit part of the
code is as clean as possible (i.e. modify hack-dir-local-variables or
provide a wrapper or a different function if extra work is needed), so
we have a clear path to add that functionality on other codes
(e.g. vc-dir, diff-mode, ...).
Stefan
- Re: commit style redux, Glenn Morris, 2010/01/15
- Re: commit style redux, Juanma Barranquero, 2010/01/16
- Re: commit style redux, Thien-Thi Nguyen, 2010/01/16
- Re: commit style redux, Glenn Morris, 2010/01/26
- Re: commit style redux, Stefan Monnier, 2010/01/27
- log-edit-strip-single-file-name [was Re: commit style redux], Glenn Morris, 2010/01/28
- Re: log-edit-strip-single-file-name, Stefan Monnier, 2010/01/28
- Re: log-edit-strip-single-file-name, Stefan Monnier, 2010/01/28
- Re: log-edit-strip-single-file-name, Dan Nicolaescu, 2010/01/28
- Re: log-edit-strip-single-file-name, Dan Nicolaescu, 2010/01/29
- Re: log-edit-strip-single-file-name,
Stefan Monnier <=
- Re: log-edit-strip-single-file-name, Juri Linkov, 2010/01/30
- Re: log-edit-strip-single-file-name, Stefan Monnier, 2010/01/31