From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation Date: Sat, 09 Mar 2024 09:02:10 +0000 Message-ID: <87cys3dbhp.fsf@posteo.net> References: <87cys4enc4.fsf@posteo.net> <97befab2-f39a-9aac-41c6-cf1d4964aad8@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20082"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69647@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 09 10:02:52 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1risbT-000500-Mm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Mar 2024 10:02:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1risbC-0004eY-50; Sat, 09 Mar 2024 04:02:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1risb7-0004e8-HF for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 04:02:30 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1risb7-0001ah-9F for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 04:02:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1risbd-0006k3-Qa for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 04:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2024 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 69647-submit@debbugs.gnu.org id=B69647.170997497325898 (code B ref 69647); Sat, 09 Mar 2024 09:03:01 +0000 Original-Received: (at 69647) by debbugs.gnu.org; 9 Mar 2024 09:02:53 +0000 Original-Received: from localhost ([127.0.0.1]:60630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1risbU-0006je-PS for submit@debbugs.gnu.org; Sat, 09 Mar 2024 04:02:53 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:42941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1risbS-0006jN-2n for 69647@debbugs.gnu.org; Sat, 09 Mar 2024 04:02:50 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 888D7240103 for <69647@debbugs.gnu.org>; Sat, 9 Mar 2024 10:02:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709974931; bh=4tiYwJTQRoofDTGtL2oH4jFyfGrs66pQHSTkVeu8exA=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=BLOeMpGiHblvF3rmm0WYfifSpmyBee7mO4MA37lqWQcrScdILikS3tsJ8ma5BUaQA PkbQGr72ZTU0nzvUrO4W+KkcBe24O0n113C/QEI8Dk3/rORDnvh8MaCeavuaHIbNJ1 wiWTBvppbTiT6XPLh79xPd/dT7CGhScTaSJiL1SlSKuO5yxXZc+jk0nbN/mBrc4MhP Jas4SEXpVXmnEn9V9b3l1916RrIvJ0yD/8bj7XbqM3JtMi5/rK1Usuredp3AYqXKt2 w/9oCGaSJVbx0NTCpD+6nt1Z8YCK6IXB/pM5/HE/FRmZfoPOJxGJoOqT981UD5MwfW Sb96fh9oTyCuA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TsH9G6Kgfz6tyB; Sat, 9 Mar 2024 10:02:10 +0100 (CET) In-Reply-To: <97befab2-f39a-9aac-41c6-cf1d4964aad8@gmail.com> (Jim Porter's message of "Fri, 8 Mar 2024 19:08:37 -0800") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281313 Archived-At: Jim Porter 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