emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

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