From: Kees Bakker <kees.bakker@altium.nl>
To: Alan Mackenzie <acm@muc.de>
Cc: Chong Yidong <cyd@stupidchicken.com>,
3688@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: bug#3688: Also need (auto-fill-mode nil) to trigger this bug
Date: Mon, 29 Jun 2009 10:01:55 +0200 [thread overview]
Message-ID: <200906291001.56093.kees.bakker@altium.nl> (raw)
In-Reply-To: <20090626211431.GE4685@muc.de>
On Friday 26 June 2009, Alan Mackenzie wrote:
> Hi, Kees!
Hi Alan,
>
> The mechanism for the bug is thus: when doing filling, c-mask-paragraph
> temporarily replaces the whitespace before "*/" with a string of "x"s, so
> that Emacs's low level filling routine can't put "*/" on a line of its
> own. At the end of the routine, the calculation to restore point does a
> spurious correction to correct for an imagined difference between the
> size of the WS (24 columns) and the number of bytes (3 tab characters).
>
> Removing this "uncorrection" fixes things. Please test out the patch
> below.
Yes, the patch fixes it. Thanks for looking into this, and having it solved
so quickly.
BTW. I never intended to enable auto-fill. But strangly enough the following
will _toggle_ auto-fill-mode. (I know, this function is "Toggle Auto Fill mode".
Besides a clear description to turn it on, it should also have a clear
description to turn it off.)
(auto-fill-mode nil)
--
Kees
next prev parent reply other threads:[~2009-06-29 8:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200906261356.48352.kees.bakker@altium.nl>
2009-06-26 21:14 ` bug#3688: Also need (auto-fill-mode nil) to trigger this bug Alan Mackenzie
2009-06-29 8:01 ` Kees Bakker [this message]
2009-06-29 8:54 ` Stefan Monnier
2009-06-29 9:18 ` Kees Bakker
2009-06-29 12:14 ` Stefan Monnier
2009-06-29 21:37 ` Alan Mackenzie
2009-06-29 14:55 ` Alan Mackenzie
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=200906291001.56093.kees.bakker@altium.nl \
--to=kees.bakker@altium.nl \
--cc=3688@emacsbugs.donarmstrong.com \
--cc=acm@muc.de \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).