From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: Re: replacement for whitespace-tab Date: 24 Oct 2017 00:55:23 GMT Message-ID: References: Reply-To: wbparsons@cshore.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1508806842 24427 195.159.176.226 (24 Oct 2017 01:00:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2017 01:00:42 +0000 (UTC) User-Agent: slrn/1.0.3 (CYGWIN_NT-6.1) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 24 03:00:38 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6nZy-0004H1-61 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Oct 2017 03:00:26 +0200 Original-Received: from localhost ([::1]:41159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6na5-00051B-HZ for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2017 21:00:33 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-X-Trace: individual.net upSlWOjioK6EAa8mPv2DAAtmEvLD6CcHSNYrUcl7un/1ul7NG+ Cancel-Lock: sha1:CFiikCi/g20uRfl/sYcafZiYefU= Original-Xref: usenet.stanford.edu gnu.emacs.help:220519 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114628 Archived-At: 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. -- Will