[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: whitespace-cleanup + untabify?
From: |
Juanma |
Subject: |
Re: whitespace-cleanup + untabify? |
Date: |
Sat, 14 Jun 2008 15:43:06 +0200 |
User-agent: |
KMail/1.9.6 (enterprise 0.20070907.709405) |
On Saturday 14 June 2008, dsevilla@gmail.com wrote:
> Dear all:
>
> 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:
It's easy to put things together in your own function:
(defun my-whitespace-cleanup ()
(interactive)
(whitespace-cleanup)
(call-interactively 'untabify))
That's the quick&dirty-est way and you should mark a region to use it (as it
would be for 'untabify' anyway). Bind it to a key. Done.
But, does 'whitespace-cleanup' work for you? I mean, the documentation of
`whitespace-buffer' says:
+-----------------------------------------------------------------------------+
| 3. Indentation space (8 or more spaces, that should be replaced with TABS). |
+-----------------------------------------------------------------------------+
Saludos,
Juan
- whitespace-cleanup + untabify?, address@hidden, 2008/06/14
- Re: whitespace-cleanup + untabify?, Kevin Rodgers, 2008/06/14
- Re: whitespace-cleanup + untabify?, Rupert Swarbrick, 2008/06/14
- Re: whitespace-cleanup + untabify?,
Juanma <=
- Re: whitespace-cleanup + untabify?, Nikolaj Schumacher, 2008/06/14
- Re: whitespace-cleanup + untabify?, Juanma Barranquero, 2008/06/14
- Re: whitespace-cleanup + untabify?, Lennart Borgman (gmail), 2008/06/14
- Message not available
- Message not available