From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26909: 25.1; A face for margins Date: Sat, 13 May 2017 17:27:00 +0300 Message-ID: <83lgq096iz.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1494685694 24822 195.159.176.226 (13 May 2017 14:28:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 May 2017 14:28:14 +0000 (UTC) Cc: 26909@debbugs.gnu.org To: Yuri Khan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 13 16:28:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Y1h-0006Mc-Ud for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 May 2017 16:28:10 +0200 Original-Received: from localhost ([::1]:57795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Y1n-0001Iz-BU for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 May 2017 10:28:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Y1d-0001HG-7B for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 10:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Y1a-00052K-59 for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 10:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9Y1a-00052F-29 for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d9Y1Z-00089b-TM for bug-gnu-emacs@gnu.org; Sat, 13 May 2017 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2017 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26909-submit@debbugs.gnu.org id=B26909.149468565031302 (code B ref 26909); Sat, 13 May 2017 14:28:01 +0000 Original-Received: (at 26909) by debbugs.gnu.org; 13 May 2017 14:27:30 +0000 Original-Received: from localhost ([127.0.0.1]:43077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Y13-00088o-W4 for submit@debbugs.gnu.org; Sat, 13 May 2017 10:27:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Y12-00088c-Ji for 26909@debbugs.gnu.org; Sat, 13 May 2017 10:27:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Y0u-0004BO-5l for 26909@debbugs.gnu.org; Sat, 13 May 2017 10:27:23 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Y0u-0004BH-2a; Sat, 13 May 2017 10:27:20 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d9Y0t-0002tT-Et; Sat, 13 May 2017 10:27:19 -0400 In-reply-to: (message from Yuri Khan on Sat, 13 May 2017 21:07:03 +0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132471 Archived-At: > From: Yuri Khan > Date: Sat, 13 May 2017 21:07:03 +0700 > > The last two actions demonstrate that customizing the faces of > whatever is displayed in the margin is not sufficient. A mechanism is > needed that will allow customization of the margin where nothing is > displayed. A new face would serve nicely. A face can only affect places where something is displayed using that face. Display margins only display text if the buffer specifies text properties or overlays which display in the margins. But what you would like to do calls for having a face that would affect screen space where _nothing_ is displayed, and such screen space in Emacs is always displayed using the frame's background color, not by using some face. You could specify a light gray background color for the frame, and another color for the default face, but I think this would cause unpleasant effects elsewhere on display, e.g. in the text area beyond EOB. IOW, I don't think introducing a new face would help here. Some additional mechanism would be necessary.