From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: detect if line has only white space?
Date: Mon, 10 Nov 2003 19:40:25 +0100 [thread overview]
Message-ID: <yoijbrrkukx2.fsf@rian.dd.chalmers.se> (raw)
In-Reply-To: gyllqoyva7.fsf@enquist.math.leidenuniv.nl
Miguel Frasson <frasson@enquist.math.leidenuniv.nl> writes:
> Aditionally, I would like to remove all space at the end of the
> lines at once (e-lisp code). How?
,----[ C-h f delete-trailing-whitespace RET ]
| delete-trailing-whitespace is an interactive compiled Lisp function in `simple'.
| (delete-trailing-whitespace)
|
| Delete all the trailing whitespace across the current buffer.
| All whitespace after the last non-whitespace character in a line is deleted.
| This respects narrowing, created by C-x n n and friends.
| A formfeed is not considered whitespace by this function.
`----
--
Johan Bockgård
next prev parent reply other threads:[~2003-11-10 18:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 17:42 detect if line has only white space? Miguel Frasson
2003-11-10 17:47 ` Phillip Lord
2003-11-10 17:51 ` marc0
2003-11-10 18:39 ` Gian Uberto Lauri
2003-11-13 13:47 ` LEE Sau Dan
2003-11-10 18:40 ` Johan Bockgård [this message]
2003-11-11 12:13 ` François Fleuret
2003-11-11 21:38 ` jan
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=yoijbrrkukx2.fsf@rian.dd.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
/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.