help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Substiotution of tabs with spaces...


From: Quokka
Subject: Re: Substiotution of tabs with spaces...
Date: Mon, 18 Apr 2005 08:03:45 +0800
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

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


reply via email to

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