unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <ecinmn@alcisp.com>
To: help-gnu-emacs@gnu.org
Subject: Simple function works in ver. 21.3 but not in 22.0
Date: Wed, 21 Mar 2007 23:00:11 -0500	[thread overview]
Message-ID: <a371f$4601ff56$49f11e1$7064@DIALUPUSA.NET> (raw)


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.

             reply	other threads:[~2007-03-22  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22  4:00 B. T. Raven [this message]
2007-03-22  5:54 ` Simple function works in ver. 21.3 but not in 22.0 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

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='a371f$4601ff56$49f11e1$7064@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).