From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Christoph Scholtes <cschol2112@googlemail.com>, 8141@debbugs.gnu.org
Subject: bug#8141: 23.2.94; python-fill-paragraph
Date: Mon, 07 Mar 2011 21:08:15 -0500 [thread overview]
Message-ID: <jwvk4gal62i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4D6CCE64.8060203@easy-emacs.de> ("Andreas Röhler"'s message of "Tue, 01 Mar 2011 11:45:56 +0100")
> with M-q resp. fill-paragraph it's fine here too.
> python-fill-paragraph displays the bug.
[...]
> AFAIS bug basically might reside in
> fill-paragraph, where
If calling fill-paragraph works while python-fill-paragraph doesn't, it
would rather seem to indicate that the bug is in python-fill-paragraph
(maybe the bug is that python-fill-paragraph should never be called
directly as a command, for example).
> ;; 2. Try fill-paragraph-function.
> (and (not (eq fill-paragraph-function t))
> (or fill-paragraph-function
> (and (minibufferp (current-buffer))
> (= 1 (point-min))))
> (let ((function (or fill-paragraph-function
> should be written like
> (cond (fill-paragraph-function
> DTRT)
> (t everything else
No, the current definition is on purpose. As the docstring of
fill-paragraph-function indicates:
...
If the function returns nil, then `fill-paragraph' does its normal work.
...
-- Stefan
next prev parent reply other threads:[~2011-03-08 2:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 20:56 bug#8141: 23.2.94; python-fill-paragraph Andreas Röhler
2011-03-01 2:59 ` Christoph Scholtes
2011-03-01 10:45 ` Andreas Röhler
2011-03-08 2:08 ` Stefan Monnier [this message]
2011-03-08 12:26 ` Andreas Röhler
2011-03-08 21:18 ` Stefan Monnier
2012-06-19 2:19 ` Glenn Morris
2012-10-07 13:26 ` Fabián Ezequiel Gallina
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=jwvk4gal62i.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=8141@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
--cc=cschol2112@googlemail.com \
/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.