From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Identifying the face between STRETCH and right fringe. Date: Fri, 23 Nov 2018 22:33:39 +0200 Message-ID: <83lg5jfs9o.fsf@gnu.org> References: <83h8gbis2d.fsf@gnu.org> <83zhu0f6tt.fsf@gnu.org> <83sgzrgb1f.fsf@gnu.org> <83r2fbg5bq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1543005153 21316 195.159.176.226 (23 Nov 2018 20:32:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 20:32:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 21:32:29 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gQI7o-0005RN-T6 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 21:32:29 +0100 Original-Received: from localhost ([::1]:54205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQI9u-00069n-UR for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 15:34:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQI9G-00069Q-PT for emacs-devel@gnu.org; Fri, 23 Nov 2018 15:33:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQI99-0008Ao-NY for emacs-devel@gnu.org; Fri, 23 Nov 2018 15:33:57 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQI95-000893-KS; Fri, 23 Nov 2018 15:33:49 -0500 Original-Received: from [176.228.60.248] (port=1801 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gQI8z-0005MH-V8; Fri, 23 Nov 2018 15:33:45 -0500 In-reply-to: (message from Robert Pluim on Fri, 23 Nov 2018 16:58:41 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231320 Archived-At: > From: Robert Pluim > Date: Fri, 23 Nov 2018 16:58:41 +0100 > Cc: emacs-devel@gnu.org > > > Ah, okay. Then we agree: there's some bug on NS that causes the face > > to be extended. The expected behavior is the one we see on X and on > > Windows (and also on TTY frames). > > Any idea where the code that handles this is? I took a quick look at > HAVE_NS, but nothing jumped out at me. I didn't see something like that, either. But it could be the other way around: that NS needs some code to prevent that from happening. I think the place to look is ns_maybe_dumpglyphs_background: what is the width of the rectangle that it clears with the background color of the face?