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 15:48:12 +0200 Message-ID: <83sgzrgb1f.fsf@gnu.org> References: <83h8gbis2d.fsf@gnu.org> <83zhu0f6tt.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1542980824 24252 195.159.176.226 (23 Nov 2018 13:47:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 13:47:04 +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 14:47:00 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 1gQBnO-00066W-4V for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 14:46:58 +0100 Original-Received: from localhost ([::1]:52448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQBpU-0004OR-Gt for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 08:49:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQBop-0004MK-Rb for emacs-devel@gnu.org; Fri, 23 Nov 2018 08:48:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQBon-0005Zo-8E for emacs-devel@gnu.org; Fri, 23 Nov 2018 08:48:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQBon-0005Za-5K; Fri, 23 Nov 2018 08:48:25 -0500 Original-Received: from [176.228.60.248] (port=4121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gQBol-0000jf-F0; Fri, 23 Nov 2018 08:48:25 -0500 In-reply-to: (message from Robert Pluim on Fri, 23 Nov 2018 14:25:15 +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:231314 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org > Date: Fri, 23 Nov 2018 14:25:15 +0100 > > Iʼm not sure I understand here: this is a non-default face, and itʼs > not being extended to the window edge. Based on what you say here > thatʼs normal, but X11 and Windows *donʼt* do it? No, it's the other way around: X11 and Windows *don't* extend the face, the NS build *does*. Maybe I misunderstood what you said, but my interpretation was that you liked the NS behavior (which I think is a bug). > > So I'm puzzled by your preference. Do you see a behavior > > like the one you fancy in any other similar situation? > > Yes: on macOS, if I turn on hl-line-mode, then the highlighting is > only extended to the edge if point is not in the last line of the > buffer. Hl-Line mode explicitly highlights the entire line, so it's a small wonder you see the entire line highlighted in its color. What happens at EOB could be a bug (or a feature) in hl-line, and is not related to the issue at hand in any way, shape or form, because hl-line.el does this: (setq tmp t b (line-beginning-position) e (line-beginning-position 2))) (if tmp (move-overlay overlay b e) Which intends to set the background of every character until the beginning of the next line. > That may well be a symptom of the same issue No, they are two entirely different issues, AFAICT.