From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: whitespace-cleanup + untabify? Date: Sat, 14 Jun 2008 14:03:12 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213459194 5710 80.91.229.12 (14 Jun 2008 15:59:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 15:59:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "dsevilla\@gmail.com" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 18:00:37 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 1K7YB6-0002ZT-BY for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 18:00:32 +0200 Original-Received: from localhost ([127.0.0.1]:54154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7YAI-0004eH-Bg for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 11:59:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7Y9x-0004de-Dp for help-gnu-emacs@gnu.org; Sat, 14 Jun 2008 11:59:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7Y9u-0004c3-TE for help-gnu-emacs@gnu.org; Sat, 14 Jun 2008 11:59:20 -0400 Original-Received: from [199.232.76.173] (port=34695 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7Y9u-0004bn-2b for help-gnu-emacs@gnu.org; Sat, 14 Jun 2008 11:59:18 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:39395) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7XRd-0003Mh-JA for help-gnu-emacs@gnu.org; Sat, 14 Jun 2008 11:13:33 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7UTt-0001w3-UQ for help-gnu-emacs@gnu.org; Sat, 14 Jun 2008 08:03:42 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id D07FFE19ADDC; Sat, 14 Jun 2008 14:03:13 +0200 (CEST) Original-Received: from [77.189.10.154] (helo=thursday) by smtp05.web.de with asmtp (WEB.DE 4.109 #226) id 1K7UTR-0002Pv-00; Sat, 14 Jun 2008 14:03:13 +0200 In-Reply-To: (dsevilla@gmail.com's message of "Sat\, 14 Jun 2008 03\:56\:32 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX1/ODwZf8Sp7SJlSqIADc1OuI2SCsF5/2PV/DEag UtgEgsbiLBTfXUBo0sGKq+Uwd/1NmEOQ7vfg4LjffQQm5acncy ov7WzP1nSB+Dl5tSk6nw== X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:54831 Archived-At: "dsevilla@gmail.com" wrote: > 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: Just write your own command: (defun my-whitespace-cleanup () (interactive) (whitespace-cleanup) (untabify (point-min) (point-max))) regards, Nikolaj Schumacher