From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Quokka Newsgroups: gmane.emacs.help Subject: Re: Substiotution of tabs with spaces... Date: Mon, 18 Apr 2005 08:03:45 +0800 Message-ID: <4262f94a$0$386$5a62ac22@per-qv1-newsreader-01.iinet.net.au> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113782791 7308 80.91.229.2 (18 Apr 2005 00:06:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2005 00:06:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 18 02:06:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNJmM-00006M-7M for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Apr 2005 02:06:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNJqM-0006Z5-Am for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Apr 2005 20:10:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 23 Original-NNTP-Posting-Host: 203.59.9.243 Original-X-Trace: 1113782602 per-qv1-newsreader-01.iinet.net.au 386 203.59.9.243 Original-Xref: shelby.stanford.edu gnu.emacs.help:130195 Original-To: help-gnu-emacs@gnu.org 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:25762 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25762 Peter Dyballa wrote: > > Am 15.04.2005 um 11:06 schrieb luca.spinacci@seleniacomms.com: > >> is there a smart way to replace all tabs with 3 spaces in a buffer edited >> > > How about: replace-regexp RET TAB + RET SPC SPC SPC RET ? > Or: replace-string RET TAB RET SPC SPC SPC RET ? Mark the whole buffer then M-x untabify RET OR (defun untabify-buffer () "Untabifies entire buffer." (interactive) (save-excursion (untabify (point-min) (point-max)))) Paul