From unknown Sun Aug 17 01:59:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59065: 28.2; Mapping default face affects extended faces Resent-From: Al Haji-Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2022 01:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59065 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 59065@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166769723332631 (code B ref -1); Sun, 06 Nov 2022 01:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2022 01:13:53 +0000 Received: from localhost ([127.0.0.1]:58411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orUET-0008UF-1a for submit@debbugs.gnu.org; Sat, 05 Nov 2022 21:13:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:42642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orUEN-0008U3-Og for submit@debbugs.gnu.org; Sat, 05 Nov 2022 21:13:51 -0400 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 1orUEN-000403-95 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 21:13:47 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orUEK-0002dm-DW for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 21:13:46 -0400 Received: by mail-wm1-x334.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso3707627wms.4 for ; Sat, 05 Nov 2022 18:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=aIeun0vSFHiC1K386wukvmXAbKB2i3rHNIkEq8CvTqs=; b=LgYFk5RNtx/4G3icfZngRdRIMB1e5/vaJmQa6DOS5Faey03V8ZA8fnQADAkahFMXV/ DKtGddW5SN5GQh5JQI5+x1OAnznJ1qB4xYkDewZob2U/ZsLGR/tNBMGEnw9X+gdsZCUH o3yCKdu+2TwXVyuoM30KnfyDx2I1nFbvIB8MVVKSue2A40mOI93LV/mFeBgW4pKVldq+ pysJPQBLsyieTaMxLIh7r1+njbVSt5plopNWvzP9gv4s9SSLMjd9O52Oqb5R7WIVH2CN bCXlzWkE8N7EwPmozAvxCi+qE1tO2cA0nXP+VSkl6aEzK/qQKPThse7EWMjuvwcwO+l2 rMpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aIeun0vSFHiC1K386wukvmXAbKB2i3rHNIkEq8CvTqs=; b=oSnpRW409IT+geW5dbOx0zz8b5LTsbybXt9r8K4XX2tm2GPj4D/Uxl4A7goParQLRr 6fDsEefG76vhuYfb0QCPvw7Ftxr4YyGtB4SDQKHnpIbLdcYeAKoQMY17F5TdKcLEcsWj SsP29OXzSQFMJmZddtl147ybP8qkiw5jTFJaJ6Y139cmZqRc4hcOQEj+xToNoj6Qo/u6 Phwxf9v7K2ouHpKllfEr+BOq7e8zFGiZsx4WQAx6cC9q4nIrjxlF3yeClC82Y/IK9qwu eu3ThXIBG3Cj79UQVRgelWF/oJlzuDyYjnJ0JvpQqODdsO9bCCowWH3uKna+8BbUdEQO OiWg== X-Gm-Message-State: ACrzQf0fAPugSzta5rVUwPyLsATI1dfQHohYRmw3J64O7sXGsFht9FPh QIWZsmDmb1VFkr05s87W9hQX9e0cN8c= X-Google-Smtp-Source: AMsMyM5Gqz185exPyknHTpTH/O4/rMNk6W/KqHENNAcSaZevnWN9a7FnVUhCIwzof9bwijw7ve6tnQ== X-Received: by 2002:a7b:c845:0:b0:3cf:62af:e353 with SMTP id c5-20020a7bc845000000b003cf62afe353mr29110999wml.43.1667697221408; Sat, 05 Nov 2022 18:13:41 -0700 (PDT) Received: from localhost (sgyl-45-b2-v4wan-165314-cust948.vm6.cable.virginm.net. [92.236.87.181]) by smtp.gmail.com with ESMTPSA id e8-20020a5d5948000000b0023657e1b97esm3406823wri.11.2022.11.05.18.13.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 18:13:40 -0700 (PDT) From: Al Haji-Ali Date: Sun, 06 Nov 2022 01:13:23 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=abdo.haji.ali@gmail.com; helo=mail-wm1-x334.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'll admit this "bug" is a convoluted one. I am noticing a weird behaviour where extended background colour to the whole window instead of a single line when a face a remapped. To re-produce an example: 0. Run `emacs -Q` 1. Create a buffer with this content and ensure `org-mode` is on ------------------------------------------------------------ * One #+begin_src emacs-lisp #+end_src * Two #+begin_src emacs-lisp #+end_src ------------------------------------------------------------ 2. Call `org-narrow-to-subtree` on "One". 3. Change the face `org-block-end-line` to have an extended background on the end-line of the org-block (set-face-attribute 'org-block-end-line nil :extend t :background "#4e5079") 4. Create a any font remap like this trivial one (face-remap-add-relative 'default 'default) or even this one (face-remap-add-relative 'default '(:filtered (:window not-real-filter t) not-real-face) 5. Notice how the background colour on the last line of the narrowed buffer extends over the whole window instead of just the line. Best regards, -- Al From unknown Sun Aug 17 01:59:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59065: 28.2; Mapping default face affects extended faces Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2022 09:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59065 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Al Haji-Ali Cc: 59065@debbugs.gnu.org Received: via spool by 59065-submit@debbugs.gnu.org id=B59065.166772731916102 (code B ref 59065); Sun, 06 Nov 2022 09:36:02 +0000 Received: (at 59065) by debbugs.gnu.org; 6 Nov 2022 09:35:19 +0000 Received: from localhost ([127.0.0.1]:58692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orc3j-0004Bd-65 for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:35:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orc3g-0004BN-Ub for 59065@debbugs.gnu.org; Sun, 06 Nov 2022 04:35:17 -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 ) id 1orc3a-0008Oz-Nj; Sun, 06 Nov 2022 04:35:10 -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=bMiC0R7w4iyhymeaRbpOBSOh9rl8Kq7dNgkODAYO2lY=; b=RWzUFA4tcBMN XyBE5QGxa++jqF9ZoO8UotwtRk7hE+uk25zKPfvAmuoOnKlWnSulosKsXxMOrZTUk/09f9lkMikqV iUMtWvGxjecQppMlsSVt0kQR2PkvfC+609UkAJW872HMYv8qZQUF9pEAmALMrzxzPXjHjsGgnItgN /4J3twX+8kWJimdJ5HdTiYAUmkF5etZG5rp9v7I7a3J3LXN2H+agM29CxJtqQFMpPPEx4Mmud6Mcj 1j+S0bdEvzgc7UvCZJnQsiXYkSQMWFRhxmzL74agLMQ5kG9Pa3nstl/pydQr7xPje5to9HKuTNPlH sDVCZgLqep+S/5cKBFeNqw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orc3a-0006mg-55; Sun, 06 Nov 2022 04:35:10 -0500 Date: Sun, 06 Nov 2022 11:34:51 +0200 Message-Id: <83tu3c1l50.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Al Haji-Ali on Sun, 06 Nov 2022 01:13:23 +0000) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Al Haji-Ali > Date: Sun, 06 Nov 2022 01:13:23 +0000 > > 0. Run `emacs -Q` > > 1. Create a buffer with this content and ensure `org-mode` is on > ------------------------------------------------------------ > * One > #+begin_src emacs-lisp > #+end_src > * Two > #+begin_src emacs-lisp > #+end_src > ------------------------------------------------------------ > > 2. Call `org-narrow-to-subtree` on "One". > > 3. Change the face `org-block-end-line` to have an extended background on the end-line of the org-block > > (set-face-attribute > 'org-block-end-line nil > :extend t > :background "#4e5079") > > 4. Create a any font remap like this trivial one > > (face-remap-add-relative 'default 'default) > > or even this one > > (face-remap-add-relative > 'default > '(:filtered (:window not-real-filter t) not-real-face) > > 5. Notice how the background colour on the last line of the narrowed buffer extends over the whole window instead of just the line. Thanks, should be fixed now (on the master branch). From unknown Sun Aug 17 01:59:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Al Haji-Ali Subject: bug#59065: closed (Re: bug#59065: 28.2; Mapping default face affects extended faces) Message-ID: References: <83zgcwmjex.fsf@gnu.org> X-Gnu-PR-Message: they-closed 59065 X-Gnu-PR-Package: emacs Reply-To: 59065@debbugs.gnu.org Date: Sat, 12 Nov 2022 12:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1668257102-26495-1" This is a multi-part message in MIME format... ------------=_1668257102-26495-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59065: 28.2; Mapping default face affects extended faces which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59065@debbugs.gnu.org. --=20 59065: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59065 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1668257102-26495-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59065-done) by debbugs.gnu.org; 12 Nov 2022 12:44:40 +0000 Received: from localhost ([127.0.0.1]:47474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otpsF-0006s9-TO for submit@debbugs.gnu.org; Sat, 12 Nov 2022 07:44:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otpsE-0006rw-8A for 59065-done@debbugs.gnu.org; Sat, 12 Nov 2022 07:44:38 -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 ) id 1otps8-000798-UZ; Sat, 12 Nov 2022 07:44:32 -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=YlBkoTWOIs5TTeq4fUNJJFYENuoXTw82jyeg8rBJ2Ic=; b=BEhKePHZA3kd pAcWzQPomH25ltbyTgKmyXN4g3ZTqGC7ehXrQEEG7qGDm9JwMxGEI0qoeZB79zE9NTMlSSrOoLFEC 4n5+7NbJrRceMWkCMy7ae7Tht8THYl7M7c7bPEyrbm5FiJ2ckY/QyOL9CHh7upWHsrWUdH4bjYmIH XHkEoEu53LkvVlrk7TMyegzs8DuANbZroWedBzAWFHeaaxFaPoS+rRZBAjx9eL+LLWE9zKVfh3ivt yMsJ6BYXy8y8Rg4JT0cbBeyHWGYj9ef2DWH6jivAVO13BxR6sR3B5AAiHFuGW1VtluVHrvF9AvW39 q5t+8XwVSfntGnOp4LXsRg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otps7-0008Pz-Fc; Sat, 12 Nov 2022 07:44:32 -0500 Date: Sat, 12 Nov 2022 14:44:38 +0200 Message-Id: <83zgcwmjex.fsf@gnu.org> From: Eli Zaretskii To: abdo.haji.ali@gmail.com In-Reply-To: <83tu3c1l50.fsf@gnu.org> (message from Eli Zaretskii on Sun, 06 Nov 2022 11:34:51 +0200) Subject: Re: bug#59065: 28.2; Mapping default face affects extended faces References: <83tu3c1l50.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59065-done Cc: 59065-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 59065@debbugs.gnu.org > Date: Sun, 06 Nov 2022 11:34:51 +0200 > From: Eli Zaretskii > > > From: Al Haji-Ali > > Date: Sun, 06 Nov 2022 01:13:23 +0000 > > > > 0. Run `emacs -Q` > > > > 1. Create a buffer with this content and ensure `org-mode` is on > > ------------------------------------------------------------ > > * One > > #+begin_src emacs-lisp > > #+end_src > > * Two > > #+begin_src emacs-lisp > > #+end_src > > ------------------------------------------------------------ > > > > 2. Call `org-narrow-to-subtree` on "One". > > > > 3. Change the face `org-block-end-line` to have an extended background on the end-line of the org-block > > > > (set-face-attribute > > 'org-block-end-line nil > > :extend t > > :background "#4e5079") > > > > 4. Create a any font remap like this trivial one > > > > (face-remap-add-relative 'default 'default) > > > > or even this one > > > > (face-remap-add-relative > > 'default > > '(:filtered (:window not-real-filter t) not-real-face) > > > > 5. Notice how the background colour on the last line of the narrowed buffer extends over the whole window instead of just the line. > > Thanks, should be fixed now (on the master branch). No further comments, so I will assume the bug is indeed fixed, and close the bug as fixed. ------------=_1668257102-26495-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Nov 2022 01:13:53 +0000 Received: from localhost ([127.0.0.1]:58411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orUET-0008UF-1a for submit@debbugs.gnu.org; Sat, 05 Nov 2022 21:13:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:42642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orUEN-0008U3-Og for submit@debbugs.gnu.org; Sat, 05 Nov 2022 21:13:51 -0400 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 1orUEN-000403-95 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 21:13:47 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orUEK-0002dm-DW for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 21:13:46 -0400 Received: by mail-wm1-x334.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso3707627wms.4 for ; Sat, 05 Nov 2022 18:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=aIeun0vSFHiC1K386wukvmXAbKB2i3rHNIkEq8CvTqs=; b=LgYFk5RNtx/4G3icfZngRdRIMB1e5/vaJmQa6DOS5Faey03V8ZA8fnQADAkahFMXV/ DKtGddW5SN5GQh5JQI5+x1OAnznJ1qB4xYkDewZob2U/ZsLGR/tNBMGEnw9X+gdsZCUH o3yCKdu+2TwXVyuoM30KnfyDx2I1nFbvIB8MVVKSue2A40mOI93LV/mFeBgW4pKVldq+ pysJPQBLsyieTaMxLIh7r1+njbVSt5plopNWvzP9gv4s9SSLMjd9O52Oqb5R7WIVH2CN bCXlzWkE8N7EwPmozAvxCi+qE1tO2cA0nXP+VSkl6aEzK/qQKPThse7EWMjuvwcwO+l2 rMpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aIeun0vSFHiC1K386wukvmXAbKB2i3rHNIkEq8CvTqs=; b=oSnpRW409IT+geW5dbOx0zz8b5LTsbybXt9r8K4XX2tm2GPj4D/Uxl4A7goParQLRr 6fDsEefG76vhuYfb0QCPvw7Ftxr4YyGtB4SDQKHnpIbLdcYeAKoQMY17F5TdKcLEcsWj SsP29OXzSQFMJmZddtl147ybP8qkiw5jTFJaJ6Y139cmZqRc4hcOQEj+xToNoj6Qo/u6 Phwxf9v7K2ouHpKllfEr+BOq7e8zFGiZsx4WQAx6cC9q4nIrjxlF3yeClC82Y/IK9qwu eu3ThXIBG3Cj79UQVRgelWF/oJlzuDyYjnJ0JvpQqODdsO9bCCowWH3uKna+8BbUdEQO OiWg== X-Gm-Message-State: ACrzQf0fAPugSzta5rVUwPyLsATI1dfQHohYRmw3J64O7sXGsFht9FPh QIWZsmDmb1VFkr05s87W9hQX9e0cN8c= X-Google-Smtp-Source: AMsMyM5Gqz185exPyknHTpTH/O4/rMNk6W/KqHENNAcSaZevnWN9a7FnVUhCIwzof9bwijw7ve6tnQ== X-Received: by 2002:a7b:c845:0:b0:3cf:62af:e353 with SMTP id c5-20020a7bc845000000b003cf62afe353mr29110999wml.43.1667697221408; Sat, 05 Nov 2022 18:13:41 -0700 (PDT) Received: from localhost (sgyl-45-b2-v4wan-165314-cust948.vm6.cable.virginm.net. [92.236.87.181]) by smtp.gmail.com with ESMTPSA id e8-20020a5d5948000000b0023657e1b97esm3406823wri.11.2022.11.05.18.13.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 18:13:40 -0700 (PDT) From: Al Haji-Ali To: bug-gnu-emacs@gnu.org Subject: 28.2; Mapping default face affects extended faces Date: Sun, 06 Nov 2022 01:13:23 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=abdo.haji.ali@gmail.com; helo=mail-wm1-x334.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'll admit this "bug" is a convoluted one. I am noticing a weird behaviour where extended background colour to the whole window instead of a single line when a face a remapped. To re-produce an example: 0. Run `emacs -Q` 1. Create a buffer with this content and ensure `org-mode` is on ------------------------------------------------------------ * One #+begin_src emacs-lisp #+end_src * Two #+begin_src emacs-lisp #+end_src ------------------------------------------------------------ 2. Call `org-narrow-to-subtree` on "One". 3. Change the face `org-block-end-line` to have an extended background on the end-line of the org-block (set-face-attribute 'org-block-end-line nil :extend t :background "#4e5079") 4. Create a any font remap like this trivial one (face-remap-add-relative 'default 'default) or even this one (face-remap-add-relative 'default '(:filtered (:window not-real-filter t) not-real-face) 5. Notice how the background colour on the last line of the narrowed buffer extends over the whole window instead of just the line. Best regards, -- Al ------------=_1668257102-26495-1--