From: Alan Mackenzie <acm@muc.de>
Subject: Re: Whitespace deletion
Date: Fri, 9 Dec 2005 20:27:58 +0000 [thread overview]
Message-ID: <ecpcnd.pl.ln@acm.acm> (raw)
In-Reply-To: L40mf.39868$d5.196261@newsb.telia.net
August Karlstrom <fusionfive@comhem.se> wrote on Thu, 08 Dec 2005
19:46:51 GMT:
> Hi,
> Is there an Emacs command that works like just-one-space, but also
> deletes newlines?
There is in CC Mode (that's c-mode, c++-mode, java-mode, ....), namely
c-hungry-backspace. Or, if you're at the other end of the gap,
c-hungry-delete-forward. As from CC Mode 5.31, they're bound by default
to C-c C-DEL and C-c C-d. You'll probably have to insert that single
space by hand, though.
[ .... ]
> Regards,
> August
--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").
prev parent reply other threads:[~2005-12-09 20:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-08 19:46 Whitespace deletion August Karlstrom
2005-12-08 22:05 ` Kevin Rodgers
[not found] ` <mailman.18498.1134079821.20277.help-gnu-emacs@gnu.org>
2005-12-09 1:05 ` August Karlstrom
2005-12-09 2:15 ` Quokka
2005-12-09 5:56 ` William Xu
2005-12-09 17:44 ` B. T. Raven
2005-12-09 19:17 ` August Karlstrom
2005-12-09 20:27 ` Alan Mackenzie [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
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=ecpcnd.pl.ln@acm.acm \
--to=acm@muc.de \
/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).