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

Previous Next

Package: emacs;

Reported by: libr3 <libr3 <at> tutanota.com>

Date: Wed, 13 Nov 2019 02:27:02 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38192 in the body.
You can then email your comments to 38192 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38192; Package emacs. (Wed, 13 Nov 2019 02:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to libr3 <libr3 <at> tutanota.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Nov 2019 02:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: libr3 <libr3 <at> tutanota.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: [26.3] A problem with indentation on Whitespace minor mode
Date: Wed, 13 Nov 2019 03:25:44 +0100 (CET)
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38192; Package emacs. (Tue, 25 Aug 2020 23:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 38192 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: libr3 <libr3 <at> tutanota.com>
Cc: 38192 <at> debbugs.gnu.org
Subject: Re: bug#38192: [26.3] A problem with indentation on Whitespace minor
 mode
Date: Tue, 25 Aug 2020 16:21:59 -0700
libr3 <libr3 <at> tutanota.com> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38192; Package emacs. (Wed, 26 Aug 2020 12:34:02 GMT) Full text and rfc822 format available.

Message #11 received at 38192 <at> debbugs.gnu.org (full text, mbox):

From: Bhavin Gandhi <bhavin7392 <at> gmail.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 38192 <at> debbugs.gnu.org, libr3 <libr3 <at> tutanota.com>
Subject: Re: bug#38192: [26.3] A problem with indentation on Whitespace minor
 mode
Date: Wed, 26 Aug 2020 18:02:18 +0530
On Wed, 13 Nov 2019 at 07:57, libr3 <libr3 <at> tutanota.com> wrote:
>
> 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.

Are you referring to the same thing which is explained in Bug#22874.
AFAIU, when indentation::space is enabled it highlights TABs and vise versa.

https://debbugs.gnu.org/22874#16




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 25 Nov 2020 09:54:01 GMT) Full text and rfc822 format available.

Notification sent to libr3 <libr3 <at> tutanota.com>:
bug acknowledged by developer. (Wed, 25 Nov 2020 09:54:02 GMT) Full text and rfc822 format available.

Message #16 received at 38192-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Bhavin Gandhi <bhavin7392 <at> gmail.com>
Cc: 38192-done <at> debbugs.gnu.org, libr3 <libr3 <at> tutanota.com>
Subject: Re: bug#38192: [26.3] A problem with indentation on Whitespace minor
 mode
Date: Wed, 25 Nov 2020 01:53:14 -0800
Bhavin Gandhi <bhavin7392 <at> gmail.com> writes:

> On Wed, 13 Nov 2019 at 07:57, libr3 <libr3 <at> tutanota.com> wrote:
>>
>> 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.
>
> Are you referring to the same thing which is explained in Bug#22874.
> AFAIU, when indentation::space is enabled it highlights TABs and vise versa.
>
> https://debbugs.gnu.org/22874#16

No further information has been provided within 13 weeks, so I'm going
to assume yes, and I'm closing this bug.

If this conclusion is incorrect and this is still an issue, please reply
to this email (use "Reply to all" in your email client) and we can
reopen the bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Dec 2020 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 124 days ago.

Previous Next


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