unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
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 01:54:10 -0400	[thread overview]
Message-ID: <barmar-B6A159.01541022032007@comcast.dca.giganews.com> (raw)
In-Reply-To: a371f$4601ff56$49f11e1$7064@DIALUPUSA.NET

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	other threads:[~2007-03-22  5:54 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 [this message]
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

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=barmar-B6A159.01541022032007@comcast.dca.giganews.com \
    --to=barmar@alum.mit.edu \
    --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).