unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Whitespace deletion
Date: Thu, 08 Dec 2005 15:05:25 -0700	[thread overview]
Message-ID: <dnaan8$sd9$1@sea.gmane.org> (raw)
In-Reply-To: <L40mf.39868$d5.196261@newsb.telia.net>

August Karlstrom wrote:
 > Is there an Emacs command that works like just-one-space, but also
 > deletes newlines?
 >
 > Example:
 >
 > I want to   -!-
 >
 >    join these two lines
 >
 > should become
 >
 > I want to -!-join these two lines

Does this help?

,----[ C-h k M-^ ]
| M-^ runs the command delete-indentation
|    which is an interactive compiled Lisp function in `simple'.
| (delete-indentation &optional ARG)
|
| Join this line to previous and fix up whitespace at join.
| If there is a fill prefix, delete it from the beginning of this line.
| With argument, join this line to following line.
`----

-- 
Kevin Rodgers

  reply	other threads:[~2005-12-08 22:05 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 [this message]
     [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

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='dnaan8$sd9$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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).