GNU bug report logs - #38192
[26.3] A problem with indentation on Whitespace minor mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: libr3 <libr3@HIDDEN>; dated Wed, 13 Nov 2019 02:27:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Nov 2019 02:26:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 12 21:26:39 2019
Received: from localhost ([127.0.0.1]:58675 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUiMh-0005S0-6b
	for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 21:26:39 -0500
Received: from lists.gnu.org ([209.51.188.17]:55400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <libr3@HIDDEN>) id 1iUiLu-0005QW-AX
 for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 21:25:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:60650)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <libr3@HIDDEN>) id 1iUiLs-0004am-Nj
 for bug-gnu-emacs@HIDDEN; Tue, 12 Nov 2019 21:25:50 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <libr3@HIDDEN>) id 1iUiLr-0000Iq-FQ
 for bug-gnu-emacs@HIDDEN; Tue, 12 Nov 2019 21:25:48 -0500
Received: from w4.tutanota.de ([81.3.6.165]:44048)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <libr3@HIDDEN>) id 1iUiLq-0000IJ-Qf
 for bug-gnu-emacs@HIDDEN; Tue, 12 Nov 2019 21:25:47 -0500
Received: from w2.tutanota.de (unknown [192.168.1.163])
 by w4.tutanota.de (Postfix) with ESMTP id E31A810601FE
 for <bug-gnu-emacs@HIDDEN>; Wed, 13 Nov 2019 02:25:44 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1573611944; 
 s=s1; d=tutanota.com;
 h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type;
 bh=P9sqmO5U9SFZ+8WXRqMPnx77SWhbvSVw7b+p0SkNXXs=;
 b=pHXPeFrCM6Q7aL3N3LHyd11zCltRDVbIvUI+fstnw9htRMSR1uV0QNK9YAySyzNB
 sJT1kdJ/hPXkdbv3JUFAnOUAITN7lBzDo758Rz6/llNO5A9MnQDKaAY6Njyyh/fNKex
 QJHnDjRHTwQX+8Tt4xbqaldVD32k7Y7FqbfZomzLdKThWP1/j+ZnBW4Oi/L9WRD1s9X
 r/5Xkd4Nv1cJVZxEXMUgCK1eyugeBVLwDD9bWh6lYQFn8xiu2qDkTnZSmj3n8bFlj3Z
 2OI4B7gjG7w4NF5LiTcF7W6qjJR9ZDSiabQY11ClhJ7Ni5TLgDlZAJP/A5y75otArBo
 +NzEmmC+2w==
Date: Wed, 13 Nov 2019 03:25:44 +0100 (CET)
From: libr3 <libr3@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Message-ID: <LtX_A9P--3-1@HIDDEN>
Subject: [26.3] A problem with indentation on Whitespace minor mode
MIME-Version: 1.0
Content-Type: multipart/alternative; 
 boundary="----=_Part_3795_68591543.1573611944920"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 81.3.6.165
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 12 Nov 2019 21:26:38 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

------=_Part_3795_68591543.1573611944920
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

There is a little problem, I guess that is by confusion, with two indentation functions.

If we use this:
(setq whitespace-style (quote (indentation::space)))
in our configuration file on GNU Emacs (.emacs or init.el), we'll have the expected result for the next function:
 (setq whitespace-style (quote (indentation::tabs)))
The same happen but with the inverse case.

On other words, the function used has been exchanged with the other function.

We can to test it too with 
M-x whitespace-toggle-options RET ?
If we look the FACES table, and we had enabled just one aforementioned function, we'll see that the function enabled isn't the function that appear as enabled on the table (for example, if you had enabled indentation::space, it marks as enabled "toggle indentation TABs visualization" instead of the correct.

------=_Part_3795_68591543.1573611944920
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
<div style=3D"16px" text-align=3D"left">There is a little problem, I guess =
that is by confusion, with two indentation functions.<br></div><div style=
=3D"16px" text-align=3D"left"><br></div><div style=3D"16px" text-align=3D"l=
eft">If we use this:<br></div><div style=3D"16px">(setq whitespace-style (q=
uote (indentation::space)))<br></div><div style=3D"16px" text-align=3D"left=
">in our configuration file on GNU Emacs (.emacs or init.el), we'll have th=
e expected result for the next function:<br></div><div style=3D"16px" text-=
align=3D"left"> (setq whitespace-style (quote (indentation::tabs)))<br></di=
v><div style=3D"16px" text-align=3D"left">The same happen but with the inve=
rse case.<br></div><div style=3D"16px" text-align=3D"left"><br></div><div s=
tyle=3D"16px" text-align=3D"left">On other words, the function used has bee=
n exchanged with the other function.<br></div><div style=3D"16px" text-alig=
n=3D"left"><br></div><div style=3D"16px" text-align=3D"left">We can to test=
 it too with <br></div><div style=3D"16px" text-align=3D"left">M-x whitespa=
ce-toggle-options RET ?<br></div><div style=3D"16px" text-align=3D"left">If=
 we look the FACES table, and we had enabled just one aforementioned functi=
on, we'll see that the function enabled isn't the function that appear as e=
nabled on the table (for example, if you had enabled indentation::space, it=
 marks as enabled "toggle indentation TABs visualization" instead of the co=
rrect.<br></div>  </body>
</html>

------=_Part_3795_68591543.1573611944920--




Acknowledgement sent to libr3 <libr3@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#38192; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.