From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Unfill please! Date: Wed, 5 Aug 2009 02:01:48 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249430538 12838 80.91.229.12 (5 Aug 2009 00:02:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 00:02:18 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 02:02:10 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MYTxA-0000WT-NC for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 02:02:01 +0200 Original-Received: from localhost ([127.0.0.1]:56357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYTxA-0007I8-BR for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 20:02:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYTx5-0007Ht-Fv for emacs-devel@gnu.org; Tue, 04 Aug 2009 20:01:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYTx1-0007He-0T for emacs-devel@gnu.org; Tue, 04 Aug 2009 20:01:55 -0400 Original-Received: from [199.232.76.173] (port=56490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYTx0-0007Hb-Tm for emacs-devel@gnu.org; Tue, 04 Aug 2009 20:01:50 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.210.172]:36367) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYTx0-0006od-AA for emacs-devel@gnu.org; Tue, 04 Aug 2009 20:01:50 -0400 Original-Received: by yxe2 with SMTP id 2so7498768yxe.14 for ; Tue, 04 Aug 2009 17:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=VXZ2zeJPHiwTpzH4RzBfa4/dW2RP93JOQUceQyTljx0=; b=Qn/PFSsiRat0fbIw9xErw2cW8GHKkvz3UJx13eOivUsLvRZwCX3yyJyLOkjp93t8+L oLrKXfkF6Ys5CU1mwg0jMPgIlb+bmkrM+ahh6I3KbxC6L3/5GrHsPkdQRsnlA40mGtzk cTreIDJvlK+xFzcvBKIOwHnOip601BFV5CDeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=abKIlt38f8G9xpwMYL++RbLoLDbIMusmkF8+pW8W3ePBH1YzN6wDCl7RwpYbPVwC6P ou7xNHUITW2FFf139rLryY5arzsVDkNBXk64u4R8fDcL3O0ZzeAH8I+Waroe3/SWgmL8 o2T9+z/ZuBCyAjQMqj+Agei7Lg89WiHgkza2M= Original-Received: by 10.100.194.7 with SMTP id r7mr10885870anf.37.1249430508733; Tue, 04 Aug 2009 17:01:48 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113692 Archived-At: Now that we have visual-line-mode that is very good for writing text wouldn't it be good to have unfilling too? Like the routines below? ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; Unfilling ;; ;; The idea is from ;; http://interglacial.com/~sburke/pub/emacs/sburke_dot_emacs.config ;;;###autoload (defun unfill-paragraph () "Unfill the current paragraph." (interactive) (with-unfilling 'fill-paragraph)) ;;(defalias 'unwrap-paragraph 'unfill-paragraph) ;;;###autoload (defun unfill-region () "Unfill the current region." (interactive) (with-unfilling 'fill-region)) ;;(defalias 'unwrap-region 'unfill-region) ;;;###autoload (defun unfill-individual-paragraphs () "Unfill individual paragraphs in the current region." (interactive) (with-unfilling 'fill-individual-paragraphs)) ;;(defalias 'unwrap-individual-paragraphs 'unfill-individual-paragraphs) (defun with-unfilling (fn) "Unfill using the fill function FN." (let ((fill-column 10000000)) (call-interactively fn)))