From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: libr3 Newsgroups: gmane.emacs.bugs Subject: bug#38192: [26.3] A problem with indentation on Whitespace minor mode Date: Wed, 13 Nov 2019 03:25:44 +0100 (CET) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3795_68591543.1573611944920" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223224"; mail-complaints-to="usenet@blaine.gmane.org" To: 38192@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 13 03:27:16 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iUiNC-000vj5-16 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2019 03:27:10 +0100 Original-Received: from localhost ([::1]:41038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUiNA-0004hX-TT for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Nov 2019 21:27:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60809) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUiN5-0004hN-H0 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUiN4-0000d7-Fd for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:27:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUiN4-0000d1-D3 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUiN4-0005Sg-7N for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: libr3 Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2019 02:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38192 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.157361199920960 (code B ref -1); Wed, 13 Nov 2019 02:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Nov 2019 02:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:58675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUiMh-0005S0-6b for submit@debbugs.gnu.org; Tue, 12 Nov 2019 21:26:39 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:55400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUiLu-0005QW-AX for submit@debbugs.gnu.org; Tue, 12 Nov 2019 21:25:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60650) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUiLs-0004am-Nj for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:25:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUiLr-0000Iq-FQ for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:25:48 -0500 Original-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 ) id 1iUiLq-0000IJ-Qf for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 21:25:47 -0500 Original-Received: from w2.tutanota.de (unknown [192.168.1.163]) by w4.tutanota.de (Postfix) with ESMTP id E31A810601FE for ; 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== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Tue, 12 Nov 2019 21:26:38 -0500 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:171481 Archived-At: ------=_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
There is a little problem, I guess = that is by confusion, with two indentation functions.

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

On other words, the function used has bee= n exchanged with the other function.

We can to test= it too with
M-x whitespa= ce-toggle-options RET ?
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.
------=_Part_3795_68591543.1573611944920--