Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 69516) by debbugs.gnu.org; 3 Mar 2024 06:56:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 03 01:56:57 2024 Received: from localhost ([127.0.0.1]:39672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rgfmK-0001EU-VF for submit <at> debbugs.gnu.org; Sun, 03 Mar 2024 01:56:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rgfmI-0001E8-6f; Sun, 03 Mar 2024 01:56:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rgflj-0006wv-Tu; Sun, 03 Mar 2024 01:56:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JBMp/+uperVwVQKTGY+EEcQWJRPsMkJCp+m6fuI14Jo=; b=S7NN9eN9jMlz BoNocUT8G+JefQzRO7H5Um4rBAfaUZn9EVHLEXxL31oLK2gztfjTp0A9prt98XXeyGCKEXcdmKeer hGONGJMMceiVF5LPgwW4dqbk/gJSJy1Q0DmZ144kVbqJrXrU4hAb65vKXHjC/vEn4CV63SG2NE7Zw yK7mbVxlDQ4nz+aE8oec9y/vSW8L8cO4OG5dt4+BZwzrM6wMOG5EbruehXuzFNgENdGHaFCONRQ9+ cSehHzoWlogmKV8rUCtSS2OC77FrMYa2AsfsYiEwxWFP49sAA4PROLR+iZGFjetXZGKUqCFfi6Uf3 QPnRJchJhzY14VitNVhEbA==; Date: Sun, 03 Mar 2024 08:56:16 +0200 Message-Id: <86y1azolbj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: StrawberryTea <look@HIDDEN> In-Reply-To: <87v864yzwk.fsf@HIDDEN> (message from StrawberryTea on Sat, 02 Mar 2024 17:31:07 -0600) Subject: Re: bug#69516: 30.0.50; fontify newline and end of headlines in shr References: <87v864yzwk.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69516 Cc: 69516 <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 (---) severity 69516 wishlist thanks > From: StrawberryTea <look@HIDDEN> > Date: Sat, 02 Mar 2024 17:31:07 -0600 > > Hello Emacs developers, > > As you know, I love extending my headline backgrounds to the end of the > window. However, shr.el does not do this, understandably because shr.el > was written before the :extend keyword was added. > > The following patch hacks around this: > > modified lisp/net/shr.el > @@ -990,16 +990,21 @@ shr-fontize-dom > ;; Add face to the region, but avoid putting the font properties on > ;; blank text at the start of the line, and the newline at the end, to > ;; avoid ugliness. > (defun shr-add-font (start end type) > + (when (memq type '(shr-h1 shr-h2 shr-h3 shr-h4 shr-h5 shr-h6)) > + (insert "\n") > + (setq end (1+ end))) > (save-excursion > (goto-char start) > (while (< (point) end) > (when (bolp) > (skip-chars-forward " ")) > - (add-face-text-property (point) (min (line-end-position) end) type t) > + (add-face-text-property (point) end type t) > (if (< (line-end-position) end) > (forward-line 1) > (goto-char end))))) > > But this is a hack, and I would like to see a proper fix in Emacs. Thanks. Patches for this are welcome, but I think this should be an optional feature, given that we have lived without it for such a long time.
bug-gnu-emacs@HIDDEN
:bug#69516
; Package emacs
.
Full text available.Received: (at 69516) by debbugs.gnu.org; 3 Mar 2024 04:02:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 02 23:02:49 2024 Received: from localhost ([127.0.0.1]:39537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rgd3p-0004Sm-B2 for submit <at> debbugs.gnu.org; Sat, 02 Mar 2024 23:02:49 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <look@HIDDEN>) id 1rgd3m-0004SY-Oa for 69516 <at> debbugs.gnu.org; Sat, 02 Mar 2024 23:02:48 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 9CAF05C005C; Sat, 2 Mar 2024 23:02:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 02 Mar 2024 23:02:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= strawberrytea.xyz; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1709438532; x= 1709524932; bh=bME6TtTH1dw8ZP51iyA8QntHMBho0E06tp486QvWe2o=; b=r zXcbcEO2I5LWy+yAgU5UjzBEjHhsu3NHDNlNnhWIpZ6dZZWyVNI2pfbxkZ/xtB0Y uOiRQktAcvZuZZQCsKRjEvAhqR7kIut1wWx6RLTbcSSzzlCl4aAEz5GLVh5E6N4s n3LMaVcehjewNg+31Gq5I7z/z9DMwFa5mD7PBfjlh1Y76yvO8s5XoahB0DnaHDcD T9o+MHuq8O5aZYQ87rsyx3abW55PTNGKrHMmv+DKyNXu0bhuhNpiNr7j3PK++RL/ YBB8bddx5VFp/5Q8s/Sg1akli3JaK5s9CTYpLw0qVUUt6mNNnVszAO+/+/bBWGq7 QE+1087asVA/4GTkyntdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1709438532; x=1709524932; bh=bME6TtTH1dw8ZP51iyA8QntHMBho 0E06tp486QvWe2o=; b=a1niroWRtFkMDwR9Ezyu3ql/qpLboxMSH5IckR11H14X lKGFsTZqukPavBKlPOZ7fBRUL2WfdiTYOZZikjteFmuQBrE0sU9jsTOLu3b9Fc2U BfhyEQF5YdfEJ7zkqGmXM5LcijWkv4wjjhbyW69dveOqiLNByf8fHW3+t9kfedZE oGE6zV1CqkEYwQzWWZGjGscloIJKt0Bn+5Hr7gUm0zpJX1U5xSTZksIMUvWpQkCv GiBAQrypM8XmP0bdITYxWcwahNcQNGQJMOrymRob1BZo7jLxeyR+219t78hn4HQb hIXoa85q5TcHz0m8C6Q2CWTFiI+AOJSSPJo0sHqmwA== X-ME-Sender: <xms:RPbjZb268qJGgplvg6J1y_VPRuRId-ZKbFfu5i3hWZFi5I5-kIq_ig> <xme:RPbjZaFsUckZxg92yjFVgGT5iBDPnhw3ncVWYipFgvpJTAo7oUZPnnjq_rCaG8TTl XB_GP8Dyohh9i7iUbk> X-ME-Received: <xmr:RPbjZb4-EJnwfhlg40MN2uIoVl0ISBuPjeckSY_yjsoJQJTibyl1ziY4OJAHC-ZTO9XMOQqKYvs8ULGIz33nfXlzwYW9S68luDB2KxAUfA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheeggdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddvfedmnecujfgurhephffvuf gjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefuthhrrgifsggvrhhrhifvvggr uceolhhoohhksehsthhrrgifsggvrhhrhihtvggrrdighiiiqeenucggtffrrghtthgvrh hnpeefgfdujeduleduudfgvedvkeehheejffelkeevudegvddtudduhfeujeeigfffkeen ucffohhmrghinhepghhithhhuhgsuhhsvghrtghonhhtvghnthdrtghomhdpghhnuhdroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehl ohhokhesshhtrhgrfigsvghrrhihthgvrgdrgiihii X-ME-Proxy: <xmx:RPbjZQ3XVKRWuyS-T5J7OjHMU_8kKhIjCHUnkwvyWn5ViFixDEydKA> <xmx:RPbjZeEClfMJE3Mu8E3gADVvfRqBK250hMjdeCW3d9YTlRHWwwh3NQ> <xmx:RPbjZR_8Wt35RLcVTWh5KnBZBdoHsDtW1d2Ab9hn8efH6U-JOdt3Sg> <xmx:RPbjZZM10w1uloNXZyXoOhoMsuOMD0GlDJ5oCvu5TImNvNd13-g2yg> Feedback-ID: id85149b6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Mar 2024 23:02:12 -0500 (EST) From: StrawberryTea <look@HIDDEN> To: 69516 <at> debbugs.gnu.org Subject: Re: bug#69516: Acknowledgement (30.0.50; fontify newline and end of headlines in shr) In-Reply-To: <handler.69516.B.170942231022491.ack <at> debbugs.gnu.org> (GNU bug Tracking System's message of "Sat, 02 Mar 2024 23:32:01 +0000") References: <87v864yzwk.fsf@HIDDEN> <handler.69516.B.170942231022491.ack <at> debbugs.gnu.org> User-Agent: mu4e 1.12.0; emacs 30.0.50 Date: Sat, 02 Mar 2024 22:02:11 -0600 Message-ID: <87msrgm08s.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 69516 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: -1.0 (-) As a follow-up to my previous message, this is the correct code to reproduce the issue: ;; Bootstrap straight (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (straight-use-package 'org) (require 'org) (load-theme 'leuven t) (dolist (face '(org-level-1 org-level-2 org-level-3 org-level-4 org-level-5 org-level-6 org-level-7 org-level-8)) (set-face-attribute face nil :extend t)) (setq org-fontify-whole-heading-line t) (scratch-buffer) (org-mode) (insert "* Headline 1\n Hello * Headline 1\nHello\n") (run-at-time 1 0 #'org-cycle-global) (run-at-time 2 0 #'org-cycle-global) (run-at-time 3 0 #'org-cycle-global) help-debbugs@HIDDEN (GNU bug Tracking System) writes: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > bug-gnu-emacs@HIDDEN > > If you wish to submit further information on this problem, please > send it to 69516 <at> debbugs.gnu.org. > > Please do not send mail to help-debbugs@HIDDEN unless you wish > to report a problem with the Bug-tracking system.
bug-gnu-emacs@HIDDEN
:bug#69516
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 2 Mar 2024 23:31:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 02 18:31:50 2024 Received: from localhost ([127.0.0.1]:39433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rgYpa-0005qg-EK for submit <at> debbugs.gnu.org; Sat, 02 Mar 2024 18:31:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:48322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <look@HIDDEN>) id 1rgYpV-0005qW-IR for submit <at> debbugs.gnu.org; Sat, 02 Mar 2024 18:31:49 -0500 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 <look@HIDDEN>) id 1rgYp2-00038X-2h for bug-gnu-emacs@HIDDEN; Sat, 02 Mar 2024 18:31:16 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <look@HIDDEN>) id 1rgYp0-00032R-4m for bug-gnu-emacs@HIDDEN; Sat, 02 Mar 2024 18:31:15 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 564B75C0055; Sat, 2 Mar 2024 18:31:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 02 Mar 2024 18:31:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= strawberrytea.xyz; h=cc:content-type:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1709422270; x=1709508670; bh=8nfEja9Gzv sGpJQFnj7LgSEWyLAKV6OZUI5J4sTMeCY=; b=oWJ987dakjq1LpbdC9KivcRerX kJEmVed5ns9gmCIL+aIMm9gLc/1cXjy7OssmLEjXJyGOPVTAnwAfqnDyDRDX1HMy 4GBDjpaD0zqN1Dy454DUanKa4rKSCblwZTxWAwgFFhaaIedhwtwtNPPBNi8iQrua KKgqN5TgCq//PsTp6AAiLZ15Fpx7CtRDHNPYB8slm/ATm0JQs3C6d9voAkFAswhj tbKtlIl1o0png71W591+edAfz8Ffq3PKx/I15xzJXCdZEJV2THBNEcEigJAdd8g6 5gPuU3aD5coEgMev2yg/NAeAFemLbjkgJp2iYKKqUyoPBLq4d4H3ivZ14DIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1709422270; x=1709508670; bh=8nfEja9GzvsGpJQFnj7LgSEWyLAKV6OZUI5 J4sTMeCY=; b=Ao5vH0+OYSrKrkJo5SwSHP2l+QBZ/G7gD+yogoBUZgzEmuClOCv ndV/StUk5dK415o6lKEU0PBchd4cVPaL5vJ/TLpCRRGmpiNtvr35dj+xTrI0lFmt 3hK3FoeUoOlmvhdYn9Xe1cSNGp7JnpjAVWO3lBNp98fy0dpzSay2LlzH/a8BhPt6 PiYQy0v7lgQOBlZbws4ZLNPfGOM4rNquJuixnuP2IbXrG99LGNeejrx2dds6yv4q 4rw2JgxK3BdyILfWMTAdFY1a1bKWcGoGI7SD0Wg221mDMYdQz6x0iC3TcB6Q82oI P3OFcvvA73uGOCayI4IJ3uuKKOSk46r2pQA== X-ME-Sender: <xms:vrbjZftAC3HhqxRjqjAAisrQoXHA_QiqdtMk5kZQL9MLHMJ59-Jt4w> <xme:vrbjZQdJhhc27Qp5Ny8HvniBal-SlTyyvoQZ6L95Os36BOyN0UVJzNjGFItnE_1uB aCy-smOxiIN-pkNh4M> X-ME-Received: <xmr:vrbjZSy6nQWehBPYKAiGpWklAjFTg7AGx9hewnYf5oof9a_NoF8mwjDK8Ec0ZEDvCoCkl3CclePXcoBfoILwp5h192AAak77Xzaqg7aYHA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheeggdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhephffvuf gffffkgggtsehttdertddtredtnecuhfhrohhmpefuthhrrgifsggvrhhrhifvvggruceo lhhoohhksehsthhrrgifsggvrhhrhihtvggrrdighiiiqeenucggtffrrghtthgvrhhnpe etudegvddvffffvdegveetiedvudegjeeiveduueekgfevvdfgteetfeegtddvteenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlohhokhessh htrhgrfigsvghrrhihthgvrgdrgiihii X-ME-Proxy: <xmx:vrbjZeM43yZFDNExy08FAJqiM-CfX_sCoAHx_ZCtA7gaQisO7uIjvA> <xmx:vrbjZf_urqE--r55pyXUx-3zGTs9uvROIXeyOZtcmsNrXFrycNnGXA> <xmx:vrbjZeV4L_iNXdeDw6RaP97K7U01pHKTlymEoT6pGnmyw5kTLvUFtg> <xmx:vrbjZcFwnxQyCE_a5oJsUH6BtR-m4DRckv47N6w__nrDM0_7L6jaIw> Feedback-ID: id85149b6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Mar 2024 18:31:09 -0500 (EST) From: StrawberryTea <look@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; fontify newline and end of headlines in shr User-Agent: mu4e 1.12.0; emacs 30.0.50 Date: Sat, 02 Mar 2024 17:31:07 -0600 Message-ID: <87v864yzwk.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.26; envelope-from=look@HIDDEN; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.7 (--) Hello Emacs developers, As you know, I love extending my headline backgrounds to the end of the window. However, shr.el does not do this, understandably because shr.el was written before the :extend keyword was added. The following patch hacks around this: modified lisp/net/shr.el @@ -990,16 +990,21 @@ shr-fontize-dom ;; Add face to the region, but avoid putting the font properties on ;; blank text at the start of the line, and the newline at the end, to ;; avoid ugliness. (defun shr-add-font (start end type) + (when (memq type '(shr-h1 shr-h2 shr-h3 shr-h4 shr-h5 shr-h6)) + (insert "\n") + (setq end (1+ end))) (save-excursion (goto-char start) (while (< (point) end) (when (bolp) (skip-chars-forward " ")) - (add-face-text-property (point) (min (line-end-position) end) type t) + (add-face-text-property (point) end type t) (if (< (line-end-position) end) (forward-line 1) (goto-char end))))) But this is a hack, and I would like to see a proper fix in Emacs. StrawberryTea
StrawberryTea <look@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#69516
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.