help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple function works in ver. 21.3 but not in 22.0


From: Barry Margolin
Subject: Re: Simple function works in ver. 21.3 but not in 22.0
Date: Thu, 22 Mar 2007 01:54:10 -0400
User-agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X)

In article <a371f$4601ff56$49f11e1$7064@DIALUPUSA.NET>,
 "B. T. Raven" <ecinmn@alcisp.com> wrote:

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

Works for me in 22.0.50.

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

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]