all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.