Peter Dyballa wrote:

Am 15.04.2005 um 11:06 schrieb [EMAIL PROTECTED]:

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 _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to