From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Identifying the face between STRETCH and right fringe. Date: Fri, 23 Nov 2018 15:04:13 +0100 Message-ID: References: <83h8gbis2d.fsf@gnu.org> <83zhu0f6tt.fsf@gnu.org> <83sgzrgb1f.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542981750 10113 195.159.176.226 (23 Nov 2018 14:02:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 14:02:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 15:02:26 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 1gQC2L-0002VQ-K3 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 15:02:25 +0100 Original-Received: from localhost ([::1]:52522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQC4R-0002Ll-KE for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 09:04:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQC4F-0002Ir-F9 for emacs-devel@gnu.org; Fri, 23 Nov 2018 09:04:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQC49-0004yf-OX for emacs-devel@gnu.org; Fri, 23 Nov 2018 09:04:21 -0500 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:55460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQC49-0004vk-Ih; Fri, 23 Nov 2018 09:04:17 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id y139so11955538wmc.5; Fri, 23 Nov 2018 06:04:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=58exzJEXqkGarzugFpGV2CdsxyDu/FOvkiMB8ZR5Zes=; b=DQj1eGaoMWrNFEZVHGgkDTmwV7R18361MlGROe8+ECghNQzpYf0+9dV3Bxq2TpfbpR tihfjrT22UB7P50KD7hFhrF3fD9dcKa1MBV2uqoWZcKqk4ufzey0ku7641n4YqvfLAmu clUeS+c4tD/qoFZPUXCuUHcm1rQpX8C+FGFZ5ssdathodL/viCcKqh03V+aVCk0LkbP8 ZPmDFbtHIVbMjWmsyigB9HYfaEaFEyO0UWt1DcGUg458SrU+AlyKWXtALztLpWKw0+YE M1RAadS3QNjiNOt7tHR4MOZYGRpd87BoT5Ec6ea2Qe8n4oEF1R3oKjYECkATNj3WX5Mq K40g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=58exzJEXqkGarzugFpGV2CdsxyDu/FOvkiMB8ZR5Zes=; b=Ao7X2AqAHwxylnMS13gbDCd2NyW9F2V37AL3IIdgcXXmSM19WKZ6oa+QmxyIPGuDTk 6XdZ/TSikQT59RqHZCrph0swnef/2ELD2NlnjIJE+uUcxOPYrDae/9LLKdqBOdEfrqob diIAxRsWEd29zyfioNgOB52YlA90OAOPzS8MUzACYtnil6NU0NFCQk4zgUs0HZnC0/M1 gphLQqCbB/9pjGlwjGvthjsG91OXMVlxE6quph3gMqWY22NWvxeaBNIBQxb7jDwhOtFF Hu3YBW9yiko2kdaHSFlHaKlbJtg0SxYEMiv4hN3jG/BEIyBRSJzuR2W+dSDOI9vrTGUp nXNg== X-Gm-Message-State: AA+aEWa/8e7qwZMY30ZYDhwIo2qeam4lu6LOf15QeruVs5ZVLSXq7vTQ eycwMqe7kf+RqayLkJBBZCwp4ObN X-Google-Smtp-Source: AFSGD/UdVJnUTfxtPwbXyWPyTj152SB5uqdfuSsOHsBpBA4gKP/JILyoUIocG/m1peajdL5I4NZRHw== X-Received: by 2002:a1c:6d3:: with SMTP id 202-v6mr13586077wmg.7.1542981855183; Fri, 23 Nov 2018 06:04:15 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id m80sm8417907wmd.35.2018.11.23.06.04.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 06:04:14 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83sgzrgb1f.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Nov 2018 15:48:12 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32c 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:231315 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Cc: emacs-devel@gnu.org >> Date: Fri, 23 Nov 2018 14:25:15 +0100 >>=20 >> I=CA=BCm not sure I understand here: this is a non-default face, and it= =CA=BCs >> not being extended to the window edge. Based on what you say here >> that=CA=BCs normal, but X11 and Windows *don=CA=BCt* 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). I=CA=BCve managed to get the two mixed up: on NS I see the face extended, on X11 I don=CA=BCt, and I prefer the X11 behaviour. >> > So I'm puzzled by your preference. Do you see a behavior >> > like the one you fancy in any other similar situation? >>=20 >> 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. And in fact that=CA=BCs exactly what I see on all my platforms. As I said, it=CA=BCs somewhat disconcerting, but at least it=CA=BCs consistent (and a different issue). Robert