Subject: Re: bug#78264: [PATCH] simple.el (delete-trailing-whitespace-mode): New minor mode

From: Sean Whitton <[email-masked]>
Date: Sat, 10 May 2025 11:59:59 +0100

Hello,

On Sat 10 May 2025 at 12:10pm +03, Eli Zaretskii wrote:

>> Cc: Stefan Monnier <[email-masked]>,
>>  EditorConfig Team <[email-masked]>
>> From: Sean Whitton <[email-masked]>
>> Date: Sat, 10 May 2025 09:45:05 +0100
>>
>> Seems reasonable, though can we make sure Emacs will let you enable it
>> from .dir-locals.el for a repository without generating warnings?
>> I.e. set whatever is needed to trust it as a minor mode enabled from
>> there (which may be nothing).
>
> Is this really useful to turn on for _every_ file in a directory?
> What about files where trailing whitespace is significant (patches,
> for example)?

True, it will probably be enabled by major mode, which .dir-locals.el
supports.

-- 
Sean Whitton