From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#38192: [26.3] A problem with indentation on Whitespace minor mode Date: Tue, 25 Aug 2020 16:21:59 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40680"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38192@debbugs.gnu.org To: libr3 Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 01:23:16 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 1kAiHb-000AT7-2j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 01:23:15 +0200 Original-Received: from localhost ([::1]:44084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAiHZ-0001Lr-Iq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 19:23:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAiHO-0001L6-PB for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 19:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAiHO-00030r-FF for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 19:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAiHO-0007d4-BR for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 19:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 23:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38192 X-GNU-PR-Package: emacs Original-Received: via spool by 38192-submit@debbugs.gnu.org id=B38192.159839773229200 (code B ref 38192); Tue, 25 Aug 2020 23:23:02 +0000 Original-Received: (at 38192) by debbugs.gnu.org; 25 Aug 2020 23:22:12 +0000 Original-Received: from localhost ([127.0.0.1]:36485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAiGZ-0007at-La for submit@debbugs.gnu.org; Tue, 25 Aug 2020 19:22:11 -0400 Original-Received: from mail-yb1-f179.google.com ([209.85.219.179]:45191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAiGS-0007Zl-Kc for 38192@debbugs.gnu.org; Tue, 25 Aug 2020 19:22:04 -0400 Original-Received: by mail-yb1-f179.google.com with SMTP id x2so171620ybf.12 for <38192@debbugs.gnu.org>; Tue, 25 Aug 2020 16:22:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=cJm0khKHV14PWeo1SciToTbhw3wQ1wCvP6PweHuvMO4=; b=qZq/eBw9nYGrDTIS6bYXYh4/ljprXfxYhZ4oGPP39AmvIMtSdyvUl+n6N4m0Ecjigw xOALW4MrrRYSARgh97arkKxNc6eam/VHkjLTiCqrV/gobavDY90udanKB1nN+QTZfb6j Yf+Xbm6vPk6odQ6WuYHxCSD5GRvFkb1wU/7Rd8hcI1YJokUntGq7DiWXheEfmwHXH8Hv sSbWYBdnFmo5bIzMaIuTdgaYYR0isS4KW8VAnb89kuXDtqSyZL1rMIcAyXlbZ7gbOIu9 hUAIMProC0tnoR0RrDhljcbLk37vwFy2k9mpvrfOc+6NSnEKxGeRnqdj9u3enOO0H+hJ F3tw== X-Gm-Message-State: AOAM532wJL+ikIB/fEcH4vUl87wfx6b7rvLlBuFah4foNCAl1nJm/Ee3 Zph/lO3xkrhb9mmrkS1d1kcklH43TrpbsH+CA7ZInnXys9s= X-Google-Smtp-Source: ABdhPJxV6yOYgYFOh5oDdSPRRll2xeB+OOsI7yzHjO6WZGy4KvtuEio7Nj2pPcUEDlqVmzLYC7MTQ8KkV26kSDqn4Ms= X-Received: by 2002:a25:9843:: with SMTP id k3mr18279540ybo.466.1598397719312; Tue, 25 Aug 2020 16:21:59 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 16:21:59 -0700 In-Reply-To: (libr3@tutanota.com's message of "Wed, 13 Nov 2019 03:25:44 +0100 (CET)") 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:186371 Archived-At: libr3 writes: > 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. I'm not sure I understand what you are trying to explain. Could you please try to restate the problem you are seeing using other words? Please provide a step-by-step recipe of how to reproduce the issue, starting from "emacs -Q". Best regards, Stefan Kangas