From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#15925: 24.3.50; error when customizing whitespace-display-mappings Date: Fri, 25 Sep 2020 08:10:17 -0300 Message-ID: References: <87mwl0vo36.wl%claudio.bley@gmail.com> <87a6xgd2rw.fsf@gnus.org> <871rirb5ot.fsf@gnus.org> <87ft76rxaw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004d7cdd05b0215d4c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Glenn Morris , 15925@debbugs.gnu.org, claudio.bley@googlemail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 25 13:11:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLldC-0005Dm-LJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Sep 2020 13:11:14 +0200 Original-Received: from localhost ([::1]:48708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLldB-00059Z-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Sep 2020 07:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLld1-00058C-7R for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 07:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLld0-0005n0-3d for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 07:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLlcz-00017X-WE for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 07:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Sep 2020 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15925 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15925-submit@debbugs.gnu.org id=B15925.16010322384277 (code B ref 15925); Fri, 25 Sep 2020 11:11:01 +0000 Original-Received: (at 15925) by debbugs.gnu.org; 25 Sep 2020 11:10:38 +0000 Original-Received: from localhost ([127.0.0.1]:42839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLlcb-00016t-S5 for submit@debbugs.gnu.org; Fri, 25 Sep 2020 07:10:38 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:54269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLlcZ-00016e-4u for 15925@debbugs.gnu.org; Fri, 25 Sep 2020 07:10:37 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id x23so2628896wmi.3 for <15925@debbugs.gnu.org>; Fri, 25 Sep 2020 04:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9M65mfJykKppZBiGDu6qf5065lAJ6wf/kpEBRYHPh2E=; b=p4YnitKqveGGjrfV+AAoSZr2K7neiWsp3B3YGdNbLWTDQyXVbXUN7jrWVhGJSJjWdi +T3lDZ8DJomfeT2YZQiWFoZ7LS2k8J0hl+TdjNEYQbovGb5GLjanwkOSuxPGjW5UvE+o TA/wgLg6r6UjAZW9TLIwgq/jPdCdttvOco5IHcFJmiCoiNabw/UAUtfQY2sxI/247vXb XwqqHztzTI7xUWZDZ+AEv5c5Ba/1swXyR5She9tX55rDIpej6NwWwArdkyiWdJOqn4WT NqZpGVGmNtwnWa82G21PfdKJWg2gqb1eonFsECkoZUHhy4UP83CR478T77kQmB2QCZ5j KlhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9M65mfJykKppZBiGDu6qf5065lAJ6wf/kpEBRYHPh2E=; b=C5j77nBd5Bq3tih2YKM/KaGevxyk145OnFxLZja+2rLAoA6xbe7PjXmtkU4NJHvG/0 c/WmOO5rE0iGpf4g7mQB7VM32vFrr2jt5jnltobC7bRs0GakUbvS3L/1auX+pyBeVt3L QiYfjd9DW4KYBR36svGECqAnKV63Bb0CVt0m0/8uy7A345MmZ5DjxGuO7EB2vm5yLT+i lmB7rOydWSVJykJiv9jqSulkeJcoRrZ2i855h8BzDlPMkBAz6H+aUD/ZYilPyi6RhO5V d671tLGBl+tRSR8s53coxKeEEiQUGhsjHBl2AzDL/4Bg8naGPY71qWyBIJB+thObMYJ3 AurQ== X-Gm-Message-State: AOAM530yExdySyNhdoUhu428CKjd4Tc0jEngOKRyL/IZ/2KwRBFvW0Hu ZTdE+MaAw3nxwRH/ZwISPdorf6wQEVBLh2NBo5o= X-Google-Smtp-Source: ABdhPJxOZQoRRaIQF+dlIyzI8qaqZMIsm67V3ueZNpu0/9dVyKsaShfns6ThwD50rPF6+wLNd7/SvN225iv6zPaMvz8= X-Received: by 2002:a1c:23c9:: with SMTP id j192mr2651419wmj.6.1601032229320; Fri, 25 Sep 2020 04:10:29 -0700 (PDT) In-Reply-To: <87ft76rxaw.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188951 Archived-At: --0000000000004d7cdd05b0215d4c Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen writes: > Mauro Aranda writes: > >> Those are good points. A couple of questions: >> - Do we change the display for the space character as well? >> >> We could display it as ?\s, or leave it as " ", which makes the >> character widget appear empty, when it's not. >> >> - What do we do with the other escape sequences, like ?\r and ?\f? >> >> Right now, we display those as ^M and ^L respectively. If we keep this >> representation, maybe somebody will feel there is some inconsistency, >> because some characters we display as ^M, while others as \n. Perhaps >> is not a big deal, though. > > We should definitely strive for consistency here... \r and \f for ^M > and ^L is fine by me (although I guess more people are familiar with ^L > than \f). > > As for space... Hm. It's unfortunate that it's displayed just as a > blank, so displaying it as \s would definitely make sense. But it also > sounds a bit confusing. :-/ Could we ... use a different background > colour on the space to indicate that it's there? I guess that's not all > that easy to interpret, either... I don't think that a different background colour will be much of a gain. It will just look like the widget has a different background color...After editing the widget it might be easier to interpret what's going on, but then again the same can be said with the current state. --0000000000004d7cdd05b0215d4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Lars Ingebrigtsen <larsi@gnus.org> writes:

> Mauro Aranda <= ;maurooaranda@g= mail.com> writes:
>
>> Those are good points.=C2=A0 A= couple of questions:
>> - Do we change the display for the space = character as well?
>>
>> We could display it as ?\s, or l= eave it as " ", which makes the
>> character widget appe= ar empty, when it's not.
>>
>> - What do we do with t= he other escape sequences, like ?\r and ?\f?
>>
>> Right = now, we display those as ^M and ^L respectively.=C2=A0 If we keep this
&= gt;> representation, maybe somebody will feel there is some inconsistenc= y,
>> because some characters we display as ^M, while others as \n= .=C2=A0 Perhaps
>> is not a big deal, though.
>
> We s= hould definitely strive for consistency here... =C2=A0\r and \f for ^M
&= gt; and ^L is fine by me (although I guess more people are familiar with ^L=
> than \f).
>
> As for space...=C2=A0 Hm.=C2= =A0 It's unfortunate that it's displayed just as a
> blank, s= o displaying it as \s would definitely make sense.=C2=A0 But it also
>= ; sounds a bit confusing. =C2=A0:-/ =C2=A0Could we ... use a different back= ground
> colour on the space to indicate that it's there?=C2=A0 I= guess that's not all
> that easy to interpret, either...

= I don't think that a different background colour will be much of a
g= ain.=C2=A0 It will just look like the widget has a different background
= color...After editing the widget it might be easier to interpret what's=
going on, but then again the same can be said with the current state. --0000000000004d7cdd05b0215d4c--