GNU bug report logs - #53251
28.0.90; [PATCH] GNU ELPA: Add margin to 'pre' element

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Y. E." <yet@HIDDEN>; Keywords: patch; dated Fri, 14 Jan 2022 11:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 53251 <at> debbugs.gnu.org:


Received: (at 53251) by debbugs.gnu.org; 24 Jan 2022 16:20:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 11:20:57 2022
Received: from localhost ([127.0.0.1]:45466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nC25R-0008HB-6P
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2022 11:20:57 -0500
Received: from out1.migadu.com ([91.121.223.63]:52870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yet@HIDDEN>) id 1nC25O-0008H1-5L
 for 53251 <at> debbugs.gnu.org; Mon, 24 Jan 2022 11:20:56 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ego.team; s=key1;
 t=1643041252; h=from:from:reply-to:reply-to:subject:subject:date:date:
 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
 content-type:content-type:in-reply-to:in-reply-to;
 bh=iTWrIdVP6/Zs1i6TDMiDtbxbqg2wqKVw/pqNjqBodoo=;
 b=eS5vismwhyBCRcXedHmNY0j7PDhVWhYji7sHA7I6074gEpqPyIxYxSooKh3+QpvJuGio6e
 FUVr6m2vWtZgDY8pz6N2dhtbQU7t9/KjY+0eRk9Dgzv5NyPGReAMbN3bQLZ9JG641ubFxd
 GN8ggTf4B+Am+sFwBU87lEmtWO+ds08=
From: Y. E. <yet@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
Subject: Re: bug#53251: 28.0.90; [PATCH] GNU ELPA: Add margin to 'pre' element
In-Reply-To: <87fspey6pi.fsf@HIDDEN> (message from Philip Kaludercic on
 Sun, 23 Jan 2022 12:31:05 +0000)
Date: Mon, 24 Jan 2022 18:20:49 +0200
Message-ID: <m2sftdp0ke.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: ego.team
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53251
Cc: yet@HIDDEN, 53251 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: "Y. E." <yet@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

Philip Kaludercic <philipk@HIDDEN> writes:

> Y. E. <yet@HIDDEN> writes:
>
>> Minor style change to improve packages 'Full Description' output. Few of
>> the influenced pages:
>>
>> - http://elpa.gnu.org/packages/cape.html
>> - http://elpa.gnu.org/packages/consult.html
>> - http://elpa.gnu.org/packages/corfu.html
>> - http://elpa.gnu.org/packages/csharp-mode.html
>> - http://elpa.gnu.org/packages/devdocs.html
>> - http://elpa.gnu.org/packages/embark.html
>> - http://elpa.gnu.org/packages/embark-consult.html
>>
>> Among the pages I checked (many but not all), none was influenced
>> negatively.
>
> All these packages use org-mode READMEs, that are converted to HTML,
> right?  To avoid unintended side-effects, it might be better to only
> apply this to "pre.src", not all "pre" blocks.

Sounds good to me. I'm attaching the patch with this change.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-html-layout.css-pre.src-Add-margin-bottom.patch
Content-Description: Add margin-bottom to pre.src

From 060945150ef443d6bea00a28376b08da7f8340ac Mon Sep 17 00:00:00 2001
From: YugaEgo <yet@HIDDEN>
Date: Mon, 24 Jan 2022 18:17:06 +0200
Subject: [PATCH] * html/layout.css (pre.src): Add margin-bottom

---
 html/layout.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/html/layout.css b/html/layout.css
index 48f9aa5fc7..963d19d6d6 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -126,6 +126,10 @@ pre .kw {
   color: #4f0f71;
 }
 
+pre.src {
+  margin-bottom: 2em;
+}
+
 p {
   margin-bottom: 2em;
 }
-- 
2.34.1


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53251; Package emacs. Full text available.

Message received at 53251 <at> debbugs.gnu.org:


Received: (at 53251) by debbugs.gnu.org; 23 Jan 2022 12:31:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 23 07:31:15 2022
Received: from localhost ([127.0.0.1]:38739 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nBc1b-0000Mt-0W
	for submit <at> debbugs.gnu.org; Sun, 23 Jan 2022 07:31:15 -0500
Received: from mout01.posteo.de ([185.67.36.65]:39069)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1nBc1Z-0000GX-2T
 for 53251 <at> debbugs.gnu.org; Sun, 23 Jan 2022 07:31:14 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 055CA240026
 for <53251 <at> debbugs.gnu.org>; Sun, 23 Jan 2022 13:31:06 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1642941067; bh=YxZgD7cVrk9BnmQcJiASTCaxNCQUgbQ4qcS4sUZ9CfQ=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=GADqcw4MMWTGxd3vgkn9Bx0/3/RuNgi32NeElgn7zW4kixIsix6wrnOP9HqQRSsMS
 I3gldTkQB4toqsXUchFVCzsbK9ZUrzjk38rqgDxIVrOVwUU3gb1BLyWBmtZdApN0K/
 mw9beXuvIgibto4vQUS2QwgTocq6UQecqn4AppjpWdsI384GtNUMzik0/OtoqQB5DI
 WQ2OP4bMFX9fMq2+xqTOgHecLI0/k1RyZj3vlEtj8nTiL6WGQ8Zm/D4S5dEINsXcQ0
 76gcuHA7mHzszPP5ocWVjVzDtQS/9eeKMsu3ewvB2VhKEqsvIHNQnNm4EwvelzXafD
 amDtzDIaNMW5A==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4JhXXV0584z6tmF;
 Sun, 23 Jan 2022 13:31:05 +0100 (CET)
From: Philip Kaludercic <philipk@HIDDEN>
To: Y. E. <yet@HIDDEN>
Subject: Re: bug#53251: 28.0.90; [PATCH] GNU ELPA: Add margin to 'pre' element
References: <m2tue61qcn.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Sun, 23 Jan 2022 12:31:05 +0000
In-Reply-To: <m2tue61qcn.fsf@HIDDEN> (Y. E.'s message of "Fri, 14 Jan 2022
 13:58:16 +0200")
Message-ID: <87fspey6pi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53251
Cc: 53251 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Y. E. <yet@HIDDEN> writes:

> Minor style change to improve packages 'Full Description' output. Few of
> the influenced pages:
>
> - http://elpa.gnu.org/packages/cape.html
> - http://elpa.gnu.org/packages/consult.html
> - http://elpa.gnu.org/packages/corfu.html
> - http://elpa.gnu.org/packages/csharp-mode.html
> - http://elpa.gnu.org/packages/devdocs.html
> - http://elpa.gnu.org/packages/embark.html
> - http://elpa.gnu.org/packages/embark-consult.html
>
> Among the pages I checked (many but not all), none was influenced
> negatively.

All these packages use org-mode READMEs, that are converted to HTML,
right?  To avoid unintended side-effects, it might be better to only
apply this to "pre.src", not all "pre" blocks.

-- 
	Philip Kaludercic




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53251; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Jan 2022 11:58:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 06:58:28 2022
Received: from localhost ([127.0.0.1]:35782 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8LDw-0001LY-JU
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 06:58:28 -0500
Received: from lists.gnu.org ([209.51.188.17]:59400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yet@HIDDEN>) id 1n8LDr-0001LN-GD
 for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 06:58:26 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50240)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yet@HIDDEN>) id 1n8LDr-0006Gg-84
 for bug-gnu-emacs@HIDDEN; Fri, 14 Jan 2022 06:58:23 -0500
Received: from out2.migadu.com ([188.165.223.204]:52772)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yet@HIDDEN>) id 1n8LDo-0004DF-Cw
 for bug-gnu-emacs@HIDDEN; Fri, 14 Jan 2022 06:58:22 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ego.team; s=key1;
 t=1642161497; h=from:from:reply-to:reply-to:subject:subject:date:date:
 message-id:message-id:to:to:cc:mime-version:mime-version:
 content-type:content-type; bh=sd5KcmQfvag7AA+Kfyqm+l+zK13afW1D1FnP79QXLRw=;
 b=toiBg3KyNQQx89L4aRUC1Xdgjt6NzdYoIkl+TXvuOnQbuFwJl88FyRanZN+wf1IpvbMSx1
 kUHLYmhqhf3RMNRt74hm1/wlg9o7AaAoqRXlBfrWO8INTxURGzn26Eo12Fjwu3q7STzYaC
 0Gxa9U9mYtHmcqOLtC52bxAOMWSbEl4=
From: Y. E. <yet@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.90; [PATCH] GNU ELPA: Add margin to 'pre' element
Date: Fri, 14 Jan 2022 13:58:16 +0200
Message-ID: <m2tue61qcn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: ego.team
Received-SPF: pass client-ip=188.165.223.204; envelope-from=yet@HIDDEN;
 helo=out2.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: "Y. E." <yet@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain

Minor style change to improve packages 'Full Description' output. Few of
the influenced pages:

- http://elpa.gnu.org/packages/cape.html
- http://elpa.gnu.org/packages/consult.html
- http://elpa.gnu.org/packages/corfu.html
- http://elpa.gnu.org/packages/csharp-mode.html
- http://elpa.gnu.org/packages/devdocs.html
- http://elpa.gnu.org/packages/embark.html
- http://elpa.gnu.org/packages/embark-consult.html

Among the pages I checked (many but not all), none was influenced
negatively.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-html-layout.css-pre-Add-margin-bottom.patch
Content-Description: Add margin-bottom to pre

From 3689fce340c4255f7a82f4607fa64e1488a3a08f Mon Sep 17 00:00:00 2001
From: YugaEgo <yet@HIDDEN>
Date: Fri, 14 Jan 2022 13:41:39 +0200
Subject: [PATCH] * html/layout.css (pre): Add margin-bottom

---
 html/layout.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/html/layout.css b/html/layout.css
index 48f9aa5fc7..96589cee1c 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -119,6 +119,7 @@ pre {
   padding: 1em;
   border: 1px solid #dadada;
   overflow-y: auto;
+  margin-bottom: 2em;
 }
 
 pre .kw {
-- 
2.34.1


--=-=-=--




Acknowledgement sent to "Y. E." <yet@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#53251; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 24 Jan 2022 16:30:02 UTC

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