bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP do


From: Philip Kaludercic
Subject: bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation
Date: Sat, 09 Mar 2024 09:02:10 +0000

Jim Porter <jporterbugs@gmail.com> writes:

> On 3/8/2024 1:36 PM, Jim Porter wrote:
>> However, as a partial fix, you could probably just set
>> 'markdown-line-break-face' to be invisible when
>> 'markdown-hide-markup[-in-view-modes]' is non-nil somewhere in
>> Markdown mode. I think that would be easy, although I tried to do
>> this and the obvious method didn't work, so who knows?
>
> I did a big more digging and came up with this patch to markdown-mode,
> implementing the partial fix I described above.
>
> Does this work for you, Philip? If so, I'll submit it to the
> markdown-mode maintainers.

Seems fine.  The only concern I have is if someone who enabled
`show-trailing-whitespace' would still get highlighted line-endings, but
I guess that's on markdown-mode to solve.

Does my patch have to be updated, or can we discard it then?

-- 
        Philip Kaludercic on peregrine





reply via email to

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