unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nikolaj Schumacher <n_schumacher@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: how do you strip leading white spaces in c-mode or similar?
Date: Sun, 08 Jul 2007 11:16:24 +0200	[thread overview]
Message-ID: <m2k5tbtfvb.fsf@nschum.de> (raw)
In-Reply-To: <u4pkhcywc.fsf@gnu.org> (Eli Zaretskii's message of "Fri\, 06 Jul 2007 18\:52\:51 +0300")

Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Nikolaj Schumacher <n_schumacher@web.de>
>> Date: Fri, 06 Jul 2007 14:48:38 +0200
>> 
>> Eli Zaretskii <eliz@gnu.org> wrote:
>> 
>> >> From: Tassilo Horn <tassilo@member.fsf.org>
>> >> Date: Fri, 06 Jul 2007 12:35:12 +0200
>> >> 
>> >> That's strange, anyway. Here, my emacs (22.1) removes trailing
>> >> whitespaces in the current line as soon as I go to the next line...
>> >
>> > It does that for me, too.
>> 
>> `newline' doesn't.  Only `newline-and-indent' does.
>
> Why should anyone use `newline' instead of `newline-and-indent'?

I'm not advising anyone on using it, if that's what you mean. :)

It just appeared the OP was using `newline' (isn't it the default?) and
I wanted to clear up the confusion.

regards,
Nikolaj Schumacher

  reply	other threads:[~2007-07-08  9:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  0:34 how do you strip leading white spaces in c-mode or similar? Johna
2007-07-05  8:49 ` brianjiang
2007-07-05 13:20 ` Eli Zaretskii
2007-07-05 17:48 ` Peter Lee
2007-07-06  1:29   ` Johna
2007-07-06 10:35     ` Tassilo Horn
2007-07-06 12:32       ` Eli Zaretskii
2007-07-06 12:48         ` Nikolaj Schumacher
2007-07-06 15:52           ` Eli Zaretskii
2007-07-08  9:16             ` Nikolaj Schumacher [this message]
2007-07-06 12:41     ` Nikolaj Schumacher

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=m2k5tbtfvb.fsf@nschum.de \
    --to=n_schumacher@web.de \
    --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.
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).