From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: whitespace issues
Date: Tue, 30 Jun 2015 12:27:09 -0400 [thread overview]
Message-ID: <mmufuc$i9p$1@dont-email.me> (raw)
In-Reply-To: c2dba062-9719-41dc-805d-91a376cf1eaa@googlegroups.com
Rusi <rustompmody@gmail.com> writes:
> I have two somewhat related questions, both around whitespace:
>
> 1. Is it possible to have some sort of save-hook so that all leading
> (indentation) whitespace is cleaned up to space alone and tabs are
> removed?
Yes, but if you set indent-tabs-mode to nil hitting tab will
insert spaces instead of tabs so you won't have to remove tabs.
--
Dan Espen
next prev parent reply other threads:[~2015-06-30 16:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 14:17 whitespace issues Rusi
2015-06-30 14:54 ` tomas
[not found] ` <mailman.6025.1435676084.904.help-gnu-emacs@gnu.org>
2015-06-30 14:57 ` Rusi
2015-06-30 15:03 ` Jorge A. Alfaro-Murillo
2015-06-30 15:06 ` Óscar Fuentes
2015-06-30 15:24 ` Ian Zimmerman
[not found] ` <mailman.6026.1435676539.904.help-gnu-emacs@gnu.org>
2015-06-30 16:21 ` Rusi
2015-06-30 16:35 ` Rasmus
2015-06-30 16:27 ` Dan Espen [this message]
2015-06-30 23:25 ` Emanuel Berg
[not found] ` <mailman.6027.1435676795.904.help-gnu-emacs@gnu.org>
2015-07-01 2:37 ` Rusi
2015-07-01 8:06 ` tomas
[not found] ` <mailman.6071.1435706838.904.help-gnu-emacs@gnu.org>
2015-07-01 2:50 ` Rusi
2015-07-01 14:33 ` Jorge A. Alfaro-Murillo
2015-07-01 17:14 ` Emanuel Berg
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='mmufuc$i9p$1@dont-email.me' \
--to=despen@verizon.net \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.