unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Quokka <NoSpam@iinet.net.au>
Subject: Re: Substiotution of tabs with spaces...
Date: Mon, 18 Apr 2005 08:03:45 +0800	[thread overview]
Message-ID: <4262f94a$0$386$5a62ac22@per-qv1-newsreader-01.iinet.net.au> (raw)
In-Reply-To: <mailman.1631.1113563465.2895.help-gnu-emacs@gnu.org>

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

  parent reply	other threads:[~2005-04-18  0:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15  9:06 Substiotution of tabs with spaces luca.spinacci
2005-04-15 11:10 ` Peter Dyballa
     [not found] ` <mailman.1631.1113563465.2895.help-gnu-emacs@gnu.org>
2005-04-15 13:15   ` Pascal Bourguignon
2005-04-15 22:49     ` Peter Dyballa
     [not found]     ` <mailman.1690.1113606252.2895.help-gnu-emacs@gnu.org>
2005-04-15 23:38       ` Pascal Bourguignon
2005-04-17 21:42         ` Peter Dyballa
2005-04-16  4:16       ` Stefan Monnier
2005-04-17 20:05         ` Steinar Børmer
2005-04-17 21:18           ` Peter Dyballa
2005-04-17 21:50           ` Peter Dyballa
     [not found]           ` <mailman.1796.1113775705.2895.help-gnu-emacs@gnu.org>
2005-04-18  6:39             ` Steinar Børmer
2005-04-18  0:03   ` Quokka [this message]
     [not found] <mailman.1624.1113556776.2895.help-gnu-emacs@gnu.org>
2005-04-15 10:52 ` Pascal Bourguignon
2005-04-15 19:55 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4262f94a$0$386$5a62ac22@per-qv1-newsreader-01.iinet.net.au' \
    --to=nospam@iinet.net.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).