On 3 November 2016 at 01:06, Dmitry Gutov wrote: > > > * lisp/whitespace.el (whitespace-report-region): force parameter > previously changed whitespace-style globally. Fix this, and use > > Please honor sentence-end-double-space, which is set to t in > .dir-locals.el. Here and in other log messages. > I have sentence-end-double-space customized to nil, and a find-file hook that changes it according to the contents of the buffer. I changed this hook function so that it only ever sets sentence-end-double-space, and never clears it. After this, I find that the variable is correctly overridden by .dir-locals.el in some magit buffers, but not in COMMIT_EDITMSG buffers (which are in text-mode). I don't know whether this is something to do with commit buffers being invoked via emacsclient. Anyway, I ensured the spacing manually, and filed a magit bug. I thought this problem might be of interest to other Emacs maintainers, as magit seems to be (rightfully!) quite popular. -- http://rrt.sc3d.org