all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Torsten Mueller <dev-null@shared-files.de>
To: help-gnu-emacs@gnu.org
Subject: Re: auto-indenting C++ files upon saving
Date: Mon, 22 Feb 2010 07:10:48 +0100	[thread overview]
Message-ID: <u3a0tx0k7.fsf@shared-files.de> (raw)
In-Reply-To: mailman.1505.1266598832.14305.help-gnu-emacs@gnu.org

Richard Riley <rileyrgdev@gmail.com> schrieb:

> > How can this be automated, so that a file gets auto-indented
> > whenever it's saved?
>
> As a point of contention, I don't think you should do this when you
> save. When you save you should be saving what you see. Students
> should be indenting as they go.

I agree with this completely. For me it would be horror to get noticed
that any automatic process in the background modified my sources and I
cannot control it. If this really has to be done for any reason I
would prefer if this would happen in front of my eyes while I'm
editing. (Indeed I'm also not a fan of this, I want the text to be
what I type in, not what any dumb tool thinks it should be.)

T.M.


      parent reply	other threads:[~2010-02-22  6:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19 16:23 auto-indenting C++ files upon saving Art Werschulz
2010-02-19 16:54 ` Eric James Michael Ritz
2010-02-19 18:11   ` Andreas Politz
2010-02-19 16:57 ` Richard Riley
     [not found] ` <mailman.1505.1266598832.14305.help-gnu-emacs@gnu.org>
2010-02-22  6:10   ` Torsten Mueller [this message]

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=u3a0tx0k7.fsf@shared-files.de \
    --to=dev-null@shared-files.de \
    --cc=Urlicht@gmx.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.