[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacement for whitespace-tab

From: Will Parsons
Subject: Re: replacement for whitespace-tab
Date: 24 Oct 2017 00:55:23 GMT
User-agent: slrn/1.0.3 (CYGWIN_NT-6.1)

Emanuel Berg wrote:
> Will Parsons wrote:
>> I noticed that in one of my Emacs
>> configurations I had customized the value of
>> whitespace-tab to better distinguish visually
>> tabs from spaces. When I did a C-h v on the
>> variable (under Emacs 25.2) I got the message:
>> This variable is obsolete since 24.4; use the
>> face instead.
> Use the face! :) ???

Um, how?  That is the question.

> Just about the only use case where tabs are
> around, for some arcane reason, is in the
> makefiles. There, you can use the face
> `makefile-space' so not to be fooled
> by whitespaces.
> However even that is not really necessary as
> you can have that fixed when you save the file.
> Which one should do before compile - right?
> You can automate deleting tabs (converting them
> to spaces) on save with the below stuff.
> The function "untab-all" doesn't seem to be
> needed anymore (or ever?) tho...

Yes, yes - I basically agree with you about the use of tabs, but for various
reasons (including that the code may not be one's own) one doesn't
necessarily want just replace them, but actually know where they are - and
that is the purpose of the question.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]