unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Josh <josh@foxtail.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: Xue Fuqiao <xfq.free@gmail.com>, 14973@debbugs.gnu.org
Subject: bug#14973: Unfill for Emacs
Date: Sun, 28 Jul 2013 11:31:02 -0700	[thread overview]
Message-ID: <CANdFEAF-ueyyckXXhgNG2OE9Z1_hs36BCEo6RnusD6YQOnyLVQ@mail.gmail.com> (raw)
In-Reply-To: <877ggay60s.fsf@gmail.com>

On Sun, Jul 28, 2013 at 9:59 AM, Jambunathan K <kjambunathan@gmail.com> wrote:
>
>>> You need a special command to replace one character by another?
>
> This is what I use for deleting newlines and thus create "long" lines.
> Seem to work well for me.
>
> ,----
> | M-^ runs the command delete-indentation, which is an interactive
> | compiled Lisp function in `simple.el'.
> |
> | It is bound to M-^.
> |
> | (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.
> `----

Perhaps it would make sense to extend delete-indentation to apply to
active regions in the same way as commands like replace-string,
whitespace-cleanup, etc.  This could make "unfilling" a paragraph as
simple as M-h M-^, perhaps with an intervening C-n to move point to
the desired position.  Alternatively, a bare negative prefix argument
(M-- M-^) could trigger that behavior without need of an active
region.





  reply	other threads:[~2013-07-28 18:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<CAAF+z6G7rJzqONuZa5Aat9eK5hGUcM3TGrt7mKon8uzMa3FWkg@mail.gmail.com>
     [not found] ` <<834nbezqex.fsf@gnu.org>
2013-07-28 15:06   ` bug#14973: Unfill for Emacs Drew Adams
2013-07-28 16:59     ` Jambunathan K
2013-07-28 18:31       ` Josh [this message]
2022-01-26 17:25         ` Lars Ingebrigtsen
2013-07-28  6:36 Xue Fuqiao
2013-07-28 14:28 ` Drew Adams
2013-07-28 14:53 ` Eli Zaretskii
2013-07-28 15:14   ` Christopher Schmidt

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=CANdFEAF-ueyyckXXhgNG2OE9Z1_hs36BCEo6RnusD6YQOnyLVQ@mail.gmail.com \
    --to=josh@foxtail.org \
    --cc=14973@debbugs.gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=xfq.free@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).