unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Unfill please!
@ 2009-08-05  0:01 Lennart Borgman
  2009-08-05  6:34 ` Bastien
  2009-08-05  8:09 ` Daniel Clemente
  0 siblings, 2 replies; 12+ messages in thread
From: Lennart Borgman @ 2009-08-05  0:01 UTC (permalink / raw)
  To: Emacs-Devel devel

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




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-08-05 15:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05  0:01 Unfill please! Lennart Borgman
2009-08-05  6:34 ` Bastien
2009-08-05  6:36   ` Lennart Borgman
2009-08-05  6:45     ` Bastien
2009-08-05  7:05       ` Lennart Borgman
2009-08-05  7:10         ` Bastien
2009-08-05  7:13           ` Lennart Borgman
2009-08-05  8:13             ` David Kastrup
2009-08-05  8:28         ` Deniz Dogan
2009-08-05  8:29           ` Lennart Borgman
2009-08-05 15:43             ` Lennart Borgman
2009-08-05  8:09 ` Daniel Clemente

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