GNU bug report logs - #78264
[PATCH] simple.el (delete-trailing-whitespace-mode): New minor mode

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Mon, 5 May 2025 16:03:02 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78264 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, editorconfig <at> googlegroups.com
Subject: bug#78264: [PATCH] simple.el (delete-trailing-whitespace-mode): New minor mode
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 <monnier <at> iro.umontreal.ca>,
>>  EditorConfig Team <editorconfig <at> googlegroups.com>
>> From: Sean Whitton <spwhitton <at> spwhitton.name>
>> 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




This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.