From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Simple function works in ver. 21.3 but not in 22.0 Date: Thu, 22 Mar 2007 16:55:05 -0500 Organization: UseNetServer.com Message-ID: <75a06$4602fb44$49f202a$13406@DIALUPUSA.NET> References: <87vegtd2nd.fsf@baldur.tsdh.de> <14fcb$4602b004$49eded5$11462@DIALUPUSA.NET> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174603123 13873 80.91.229.12 (22 Mar 2007 22:38:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 22:38:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 22 23:38:36 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUVvX-0006Ey-4m for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2007 23:38:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUVxM-0007ft-BE for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2007 17:40:28 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!router1.astraweb.com!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!DIALUPUSA.NET!not-for-mail User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-Newsgroups: gnu.emacs.help In-Reply-To: <14fcb$4602b004$49eded5$11462@DIALUPUSA.NET> Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 52 Original-X-Trace: 75a064602fb44a13a858f13406 Original-Xref: shelby.stanford.edu gnu.emacs.help:146513 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42117 Archived-At: B. T. Raven wrote: > Lennart Borgman (gmail) wrote: >> Tassilo Horn wrote: >>> Barry Margolin writes: >>> >>> Hi, >>> >>>>> 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. >>> >>> Works for me with 22.0.96 on GNU/Linux, too. >> >> >> Works for me too on w32 with >> >> GNU Emacs 22.0.96.1 (i386-mingw-nt5.1.2600) of 2007-03-21 (patched) >> >> Did you try starting with >> >> emacs -Q >> >> >> >> > > Thanks, Barry, Tassilo, and Lennart. No, emacs -Q didn't work either. I > copied just the keybinding and function forms into *scratch* and > evaluated them. C-h k etc. report them as loaded but they don't work. I > noticed that the text ";; This buffer is for notes..." could be toggled > to filled-unfilled with M-q and C-x M-q but not other text. Maybe it has > to do with fontification or someething. Turnig of global fontification > didn't help either though. > > Build is: > This is GNU Emacs 22.0.93.1 (i386-mingw-windows98.2222)of 2007-01-26 on > NEUTRINO > Sorry. False alarm. The fact that it worked on a comment in lisp interactive mode was a clue. I use text mode more than 95% of the time so I didn't stop to think how useless my function would be when I tested on randomly typed strings in the context of *scratch*. As soon as I did M-x text-mode in *scratch* the function worked of course, even on the lisp code. Ed