unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38192: [26.3] A problem with indentation on Whitespace minor mode
@ 2019-11-13  2:25 libr3
  2020-08-25 23:21 ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: libr3 @ 2019-11-13  2:25 UTC (permalink / raw)
  To: 38192

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1521 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38192: [26.3] A problem with indentation on Whitespace minor mode
  2019-11-13  2:25 bug#38192: [26.3] A problem with indentation on Whitespace minor mode libr3
@ 2020-08-25 23:21 ` Stefan Kangas
  2020-08-26 12:32   ` Bhavin Gandhi
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2020-08-25 23:21 UTC (permalink / raw)
  To: libr3; +Cc: 38192

libr3 <libr3@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38192: [26.3] A problem with indentation on Whitespace minor mode
  2020-08-25 23:21 ` Stefan Kangas
@ 2020-08-26 12:32   ` Bhavin Gandhi
  2020-11-25  9:53     ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Bhavin Gandhi @ 2020-08-26 12:32 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 38192, libr3

On Wed, 13 Nov 2019 at 07:57, libr3 <libr3@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38192: [26.3] A problem with indentation on Whitespace minor mode
  2020-08-26 12:32   ` Bhavin Gandhi
@ 2020-11-25  9:53     ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2020-11-25  9:53 UTC (permalink / raw)
  To: Bhavin Gandhi; +Cc: 38192-done, libr3

Bhavin Gandhi <bhavin7392@gmail.com> writes:

> On Wed, 13 Nov 2019 at 07:57, libr3 <libr3@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-25  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13  2:25 bug#38192: [26.3] A problem with indentation on Whitespace minor mode libr3
2020-08-25 23:21 ` Stefan Kangas
2020-08-26 12:32   ` Bhavin Gandhi
2020-11-25  9:53     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).