From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andrew T Newsgroups: gmane.emacs.bugs Subject: bug#35797: 26.2; Adaptive Wrap does not respect Whitespace Mode faces Date: Thu, 23 May 2019 19:26:45 -0700 Message-ID: <97660ab83d90006fadc72992d2be7cfd0b47d47e.camel@gmail.com> References: <8ec78d6f3e44bd3484c986dc2535a643536c499e.camel@gmail.com> <87h89q6rlo.fsf@rub.de> <83k1ej81po.fsf@gnu.org> <83imu17qwa.fsf@gnu.org> <83lfyw6h08.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138904"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Evolution 3.32.2 (3.32.2-1.fc30) Cc: 35797@debbugs.gnu.org, stephen.berman@gmx.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 24 04:42:45 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU0AO-000Zyr-UW for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 May 2019 04:42:45 +0200 Original-Received: from localhost ([127.0.0.1]:46391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU0AN-0006Qe-Rk for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 May 2019 22:42:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU0AI-0006EP-04 for bug-gnu-emacs@gnu.org; Thu, 23 May 2019 22:42:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTzwA-0007sN-5i for bug-gnu-emacs@gnu.org; Thu, 23 May 2019 22:28:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTzwA-0007sD-2G for bug-gnu-emacs@gnu.org; Thu, 23 May 2019 22:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hTzw9-0005x9-Tg for bug-gnu-emacs@gnu.org; Thu, 23 May 2019 22:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew T Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2019 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35797 X-GNU-PR-Package: emacs Original-Received: via spool by 35797-submit@debbugs.gnu.org id=B35797.155866482922817 (code B ref 35797); Fri, 24 May 2019 02:28:01 +0000 Original-Received: (at 35797) by debbugs.gnu.org; 24 May 2019 02:27:09 +0000 Original-Received: from localhost ([127.0.0.1]:45775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTzvI-0005vx-K6 for submit@debbugs.gnu.org; Thu, 23 May 2019 22:27:08 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:42127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hTzvG-0005vS-MM for 35797@debbugs.gnu.org; Thu, 23 May 2019 22:27:07 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id l2so8269160wrb.9 for <35797@debbugs.gnu.org>; Thu, 23 May 2019 19:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=2R6MwQFPPWKPlHuW8vGIPsO5UO2E2Rg7huwKCfggm1c=; b=KJBRcqmS24Xo4l4+YafmKb5q4Cyxx8FTFOnvF4MsZINGjIpKTVDQ0z+t3b3Sb/AHVX ZHvCLxXGtFwihtKuL91OqRDVe+PLA1wzC7DEEOpnLlxWbTS93+73eIo8q/4f2Z9dD0VV QRJsOLC7ORJkSQe7s8OvHV4hvTpCTujczzOdX4QVFm21oET950vMNdgUwbsI/xSbRbfP Y8EaMFFq+q6c03aVfw50kdBZtrJbXWe4BdFA5lKCzkLEjTLkTwDcX3PxmereVzEjqhNa Dy8yB0C1AG/DPZvOB2zp4Wq7nT/UtWcjpUE+URBewE/kFa7pNjwGD8o1tXIveHolHoVc ALyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=2R6MwQFPPWKPlHuW8vGIPsO5UO2E2Rg7huwKCfggm1c=; b=TygIj4BA5Mlk46qi+qemWFb93OkdsE3iOSubdi/Y1RFzRZET9He3Mfor0EZ/IKJFMd Ti84ys6DjbsKJeffe0tJbCMuy8RRteHy+0QglMkcLxDCex5CpSLpMkjGrbTbTwfhkd5N UdHEiHtBjyQuMf5V1XUVpd9+dBdibRIoWhQSVUiliueWj3QZjLB/8Z9aq6jOAoOvs3WZ Om75/Glit9g5LXX+36c1oE3lzmyA9tLQGwhP6bNZkjG91gx1cLg7E3Nv+Leuvaz44uJb 5AXajJt3Udr3K8YSu736uPcFW60fAaaRRhFGouBEMXZyqRJroN3h5UHModKUrPU5a4eS rm9g== X-Gm-Message-State: APjAAAWLEVxgoSJ9XDqUuEsWhX+hLvvIcFn2jBAjavDeaZmmOlJyIGuF SGIYD88J4jjGO/dKHrsa7F4= X-Google-Smtp-Source: APXvYqxizh1WiGIH0OY2MSl+dA426uHP6CRZJtGK4oY6Baiz/JHAYj3KdUMwFgpB5Qc5OZnqL75M7w== X-Received: by 2002:a5d:4d84:: with SMTP id b4mr17935451wru.102.1558664820540; Thu, 23 May 2019 19:27:00 -0700 (PDT) Original-Received: from mars.localdomain (50-37-25-247.grdv.nv.frontiernet.net. [50.37.25.247]) by smtp.gmail.com with ESMTPSA id y18sm992732wmi.37.2019.05.23.19.26.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 23 May 2019 19:26:59 -0700 (PDT) In-Reply-To: <83lfyw6h08.fsf@gnu.org> 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: 209.51.188.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:159698 Archived-At: > Now I'm completely confused. Whitespace mode doesn't just show the > trailing whitespace, it shows _all_ whitespace characters in a > distinct way, at least by default. Right, that's why I described in my first message how, for the types of whitespace I'm not interested in, I either disable the option or set the foreground color to be the same as the background color, so that the dots are invisible. I don't personally need Whitespace Mode to tell me when lines are overly long, because I can already see how long the lines are just by looking at them. So in Customize, in the list of checkboxes under Whitespace Style, I've unchecked "(Face) Lines" and "(Face) Lines, only overlong part". I think empty lines are also already self-evident, so in Whitespace Style, I've unchecked "(Face) Empty Lines..." In my own projects, I usually indent with spaces instead of tabs, but I think all the dots that appear by default for indentation are a little ugly. I only need to know when I'm using spaces versus tabs, so "(Face) TABs" is checked, but all three "(Face) Indentation..." options are unchecked. I do care about trailing spaces, as I've said, so "(Face) Trailing TABs, SPACEs and HARD SPACEs" is checked. I considered disabling *all* space faces, except I do want to see when it's a "hard" non-breaking space instead of a normal space, and the Whitespace Style checkboxes do not separate these. So what I did was leave "(Face) SPACEs and HARD SPACEs" checked, but set the Whitespace Space face to inherit its background color, and have its foreground color be the same as the buffer default background. The Whitespace Hspace and Whitespace Trailing faces have unique background and foreground colors to make them stand out. This all adds up to the dots representing *normal non-trailing* space characters being invisible... EXCEPT in the Adaptive Wrap soft-wrap prefix. With my current Whitespace Mode configurations, I don't see the dots for real indentation, so I don't think it should show the dots for simulated indentation while soft-wrapping either.