all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Simple function works in ver. 21.3 but not in 22.0
@ 2007-03-22  4:00 B. T. Raven
  2007-03-22  5:54 ` Barry Margolin
  0 siblings, 1 reply; 6+ messages in thread
From: B. T. Raven @ 2007-03-22  4:00 UTC (permalink / raw)
  To: help-gnu-emacs


Does any of you know why this should not work in version 22.0 (w32)?:

(defun unfill-paragraph () ;; bound to C-x M-q
   "Do the opposite of fill-paragraph; stuff all lines in the current 
paragraph into a single long line."
   (interactive)
   (let ((fill-column 90002000))
     (fill-paragraph nil)))

C-h k C-x M-q does show that the function is bound to that key sequence, with:

(global-set-key "\C-x\M-q" 'unfill-paragraph)

The only other settings that I can think might affect this (under 
custom-set-variables) are:

  '(sentence-end "[.?!][]\"')}]*\\($\\| $\\|	\\| \\)[ 	
]*")
  '(sentence-end-double-space nil)

It looks like fill-paragraph is ignoring the fill-column value in the let 
form. Any ideas?

Ed.

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

end of thread, other threads:[~2007-03-22 21:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-22  4:00 Simple function works in ver. 21.3 but not in 22.0 B. T. Raven
2007-03-22  5:54 ` Barry Margolin
2007-03-22  9:54   ` Tassilo Horn
2007-03-22 15:44     ` Lennart Borgman (gmail)
     [not found]     ` <mailman.1265.1174578410.7795.help-gnu-emacs@gnu.org>
2007-03-22 16:34       ` B. T. Raven
2007-03-22 21:55         ` B. T. Raven

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.