From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "dsevilla@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: whitespace-cleanup + untabify? Date: Sun, 15 Jun 2008 13:07:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1da58e0f-ef3b-4b56-bb83-c2aec1da0932@59g2000hsb.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1213562487 28575 80.91.229.12 (15 Jun 2008 20:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2008 20:41:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 15 22:42:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7z3B-0000Gl-Pp for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jun 2008 22:42:10 +0200 Original-Received: from localhost ([127.0.0.1]:59458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7z2N-0004Gx-NJ for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jun 2008 16:41:19 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!59g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 88.25.201.187 Original-X-Trace: posting.google.com 1213560457 20876 127.0.0.1 (15 Jun 2008 20:07:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 15 Jun 2008 20:07:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 59g2000hsb.googlegroups.com; posting-host=88.25.201.187; posting-account=KCw6UwoAAAAgnrFjyySofGyVPbRmZf3_ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008060309 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159505 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54860 Archived-At: On Jun 14, 6:24=A0pm, "Lennart Borgman (gmail)" wrote: > dsevi...@gmail.com wrote: > > Dear all: > > > I'm a no tab person. I would like my whitespace-cleanup command to > > also perform an untabify. How can this be done? I haven't found any > > option that connects untabify and whitespace-cleanup. I'm using: > > > GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) > > I have never used whitespace-cleanup (I use delete-trailing-whitespace), > =A0 but from the doc of this function it looks like it also untabifies if > `indent-tabs-mode' is nil. Does not that work? Hi, Lennart: Yes, that's what I thought, but was not the case, as if I applied whitespace-cleanup and then untabify, the file was modified (that is, it still converted *some* tabs to spaces), so I assumed it didn't work this way. I had indent-tabs-mode set to nil also. Thanks, diego.