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: Tue, 20 Nov 2018 19:20:42 +0200 Message-ID: <83h8gbis2d.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542734372 22244 195.159.176.226 (20 Nov 2018 17:19:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 17:19:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 18:19:28 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 1gP9gN-0005fR-SA for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2018 18:19:27 +0100 Original-Received: from localhost ([::1]:34933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9iU-0002wB-9X for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2018 12:21:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9hb-0002w4-Bq for emacs-devel@gnu.org; Tue, 20 Nov 2018 12:20:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9hV-0000Wz-P6 for emacs-devel@gnu.org; Tue, 20 Nov 2018 12:20:43 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9hT-0000To-Bg; Tue, 20 Nov 2018 12:20:35 -0500 Original-Received: from [176.228.60.248] (port=1355 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gP9hS-00033F-3x; Tue, 20 Nov 2018 12:20:35 -0500 In-reply-to: (message from Keith David Bershatsky on Tue, 20 Nov 2018 08:39:16 -0800) 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:231253 Archived-At: > Date: Tue, 20 Nov 2018 08:39:16 -0800 > From: Keith David Bershatsky > > Step 3: Observe that the result is different on Emacs --with-ns, versus --with-x and also on a Windows machine. Specifically, the STRETCH on an NS platform is seen spanning all the way to the right fringe. On an X11 and NT platform, the STRETCH is only visible for the width of the STRETCH (depicted in the dump-glyph-row for each platform below). It's not the stretch glyph that spans all the window width, it's the face of the stretch that gets extended to the window end. The stretch glyph is still 7-character wide: > ;;; NS > > Row Start End Used oE><\CTZFesm X Y W H V A P > ============================================================================== > 11 384 385 2 010010101000 0 176 56 16 16 12 12 > -1 -1 0 > -1 -1 > -1 -1 > Glyph# Type Pos O W Code C Face LR > 0 C 384 B 7 0x0000bb . 30 00 > 1 S 384 B 49 0x000000 29 00 ^^ 49 = 7 * 7 > QUESTION #1: In terms of identifying the face between the STRETCH and the right fringe, how can I programmatically know the difference between the NS situation, versus the NT and X11 situation? > > QUESTION #2: Is the difference in behavior between the different platforms "a bug", and should the X11 and NT ports be "fixed" so that they behave like the NS port in this situation? I will look into this when I have time. I don't yet know whether the bug is on NS or on the other 2 platforms, though I tend to think the former.