From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.bugs Subject: bug#14973: Unfill for Emacs Date: Sun, 28 Jul 2013 14:36:05 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1374993427 10378 80.91.229.3 (28 Jul 2013 06:37:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jul 2013 06:37:07 +0000 (UTC) To: 14973@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 08:37:09 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 1V3KbN-0008Uo-EK for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 08:37:09 +0200 Original-Received: from localhost ([::1]:38345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KbN-0002zf-0j for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2013 02:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KbI-0002ye-Ds for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3KbH-000407-JX for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:37:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KbH-000402-Gf for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V3KbG-0002Su-LN for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Xue Fuqiao Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2013 06:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.13749933789285 (code B ref -1); Sun, 28 Jul 2013 06:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jul 2013 06:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:53853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3KaW-0002Pe-Nh for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3KaU-0002PA-Dp for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3KaO-0003sS-Ai for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:09 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KaO-0003sB-7t for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KaN-0002go-A5 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3KaM-0003rk-Bo for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:36:07 -0400 Original-Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:57599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KaM-0003rg-6x for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:36:06 -0400 Original-Received: by mail-ob0-f174.google.com with SMTP id wd6so3972748obb.19 for ; Sat, 27 Jul 2013 23:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=g1hQZQXpz31Kb6HuRJDDRo6VA++YYO+42pIEStZOH14=; b=ufWpRKE5FPd6Cu8yZj08/Imnn58hPOy7Z3sQHTOQBUjaFRz8v9RHH6Yl2tdFFv0RiO 6TR0n5lKUJbrs9iDJmSqbKBjq0IpNnOd+ge/YZ6JLs8Aas4+ZvB9Tvg04RU0b0M6GUiy VRED4bwcOFGweDY2yZSwctJM0CyMtl+49wzCmMsIoTX5gvrpSN+lmdYaSAqNaf2v7u93 +lkj4wM+91wXg3zDn+1BaRCVeV27I6MVIIxLhbg5bE5scfBEGx2UQnfJ3Lun4kb33JmH 2bZe9KyKLSMyeQ63/lLALsY0ODYLF+s0++UXUGoocz/D/De6agdnB//xzL0zUvjLOcwJ TvSg== X-Received: by 10.43.152.210 with SMTP id kx18mr20936991icc.39.1374993365201; Sat, 27 Jul 2013 23:36:05 -0700 (PDT) Original-Received: by 10.42.28.3 with HTTP; Sat, 27 Jul 2013 23:36:05 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:76718 Archived-At: tags patch There are fill-{paragraph, column}, but I didn't find an unfill command, can we add them (maybe in fill.el)? (defun unfill-paragraph () "Replace newline characters in current paragraph by single spaces. This command does the inverse of `fill-paragraph'." (interactive) (let ((fill-column most-positive-fixnum)) (fill-paragraph nil))) (defun unfill-region (beg end) "Replace newline characters in region by single spaces. If called non-interactively, BEG and END are the beginning and end of the text to unfill. This command does the inverse of `fill-region'." (interactive "r") (let ((fill-column most-positive-fixnum)) (fill-region beg end))) -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/