From: "B. T. Raven" <ecinmn@alcisp.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Simple function works in ver. 21.3 but not in 22.0
Date: Thu, 22 Mar 2007 16:55:05 -0500 [thread overview]
Message-ID: <75a06$4602fb44$49f202a$13406@DIALUPUSA.NET> (raw)
In-Reply-To: <14fcb$4602b004$49eded5$11462@DIALUPUSA.NET>
B. T. Raven wrote:
> Lennart Borgman (gmail) wrote:
>> Tassilo Horn wrote:
>>> Barry Margolin <barmar@alum.mit.edu> 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
prev parent reply other threads:[~2007-03-22 21:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='75a06$4602fb44$49f202a$13406@DIALUPUSA.NET' \
--to=ecinmn@alcisp.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).