From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.bugs Subject: bug#14973: Unfill for Emacs Date: Sun, 28 Jul 2013 11:31:02 -0700 Message-ID: References: <834nbezqex.fsf@gnu.org> <877ggay60s.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1375036337 25421 80.91.229.3 (28 Jul 2013 18:32:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jul 2013 18:32:17 +0000 (UTC) Cc: Xue Fuqiao , 14973@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 20:32:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V3VlR-0007fk-CH for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 20:32:17 +0200 Original-Received: from localhost ([::1]:50533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3VlQ-0005zX-Vk for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 14:32:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3VlI-0005zN-BT for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 14:32:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3VlC-0000zZ-BU for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 14:32:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3VlC-0000zV-89 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 14:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V3VlB-0005vz-T5 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 14:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Josh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2013 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14973-submit@debbugs.gnu.org id=B14973.137503630022765 (code B ref 14973); Sun, 28 Jul 2013 18:32:01 +0000 Original-Received: (at 14973) by debbugs.gnu.org; 28 Jul 2013 18:31:40 +0000 Original-Received: from localhost ([127.0.0.1]:54722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Vkp-0005v7-N8 for submit@debbugs.gnu.org; Sun, 28 Jul 2013 14:31:39 -0400 Original-Received: from mail-qc0-f171.google.com ([209.85.216.171]:36688) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Vko-0005uh-2v for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 14:31:38 -0400 Original-Received: by mail-qc0-f171.google.com with SMTP id n1so2495996qcw.30 for <14973@debbugs.gnu.org>; Sun, 28 Jul 2013 11:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=YprKf2+jm4RPDR+PPbh/xfUJ86ivI+3PxQo+0MOyQBQ=; b=crqVapigO945Lisji8H6u9rybxyI0rGqWCc6dwjyG/+cNB2oFYijRVk5DYRUJKwReE waLyMkxuTX/TBSVnocne4vyGfQpgOcaPvU7M4gkW2Xd5Jl0I/6X3jizNrOxpr12K/SpB MG4BbI/756SAS/hmyNhAx6tS22RGHapyd0JLgVtmaQtLfvx7RNk1D5ktqt3sfhzc1PUQ /CIHrCmjr0leMZZQxcCHqF8vv49wvh5XhPNnElvcaLDa65SBBjBv0FAykmT65Uf3CTRA y4aoi61sif1PksFbSMu9vz90fLExi1tgZRAUs3aq88WRBM35ouGz29yvvQ1s/nOiXdwR r2TQ== X-Received: by 10.224.22.195 with SMTP id o3mr40252027qab.90.1375036292317; Sun, 28 Jul 2013 11:31:32 -0700 (PDT) Original-Received: by 10.49.38.162 with HTTP; Sun, 28 Jul 2013 11:31:02 -0700 (PDT) In-Reply-To: <877ggay60s.fsf@gmail.com> X-Google-Sender-Auth: ecq4ZukqFQfv7owceLy_VVuPcow X-Gm-Message-State: ALoCoQkbUUPezl1MFQD/TFq4tfvv8VCPAwCkI/FivUT+riNVwaAMLvsr7wxMoSdt67/l3Rv5UmKC X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76740 Archived-At: On Sun, Jul 28, 2013 at 9:59 AM, Jambunathan K 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.