From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kees Bakker Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#3688: Also need (auto-fill-mode nil) to trigger this bug Date: Mon, 29 Jun 2009 10:01:55 +0200 Message-ID: <200906291001.56093.kees.bakker@altium.nl> References: <200906261356.48352.kees.bakker@altium.nl> <20090626211431.GE4685@muc.de> Reply-To: Kees Bakker , 3688@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ansi_x3.4-1968" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246289509 24405 80.91.229.12 (29 Jun 2009 15:31:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2009 15:31:49 +0000 (UTC) Cc: Chong Yidong , 3688@emacsbugs.donarmstrong.com, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 29 17:31:42 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLIpN-0004y2-Ul for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2009 17:31:30 +0200 Original-Received: from localhost ([127.0.0.1]:44427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLIpJ-0003ZG-TC for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2009 11:31:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLC3Q-0004f9-Rp for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:17:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLC3M-0004cw-5h for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:17:32 -0400 Original-Received: from [199.232.76.173] (port=56690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLC3M-0004cm-2P for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:17:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59301) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLC3L-0007TG-LB for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:17:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5T8HOaM001905; Mon, 29 Jun 2009 01:17:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5T8A8qs000398; Mon, 29 Jun 2009 01:10:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kees Bakker Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 29 Jun 2009 08:10:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3688 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3688-submit@emacsbugs.donarmstrong.com id=B3688.124626253231041 (code B ref 3688); Mon, 29 Jun 2009 08:10:08 +0000 Original-Received: (at 3688) by emacsbugs.donarmstrong.com; 29 Jun 2009 08:02:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ns2.tasking.nl (ns2.tasking.nl [195.193.207.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5T827kc031022 for <3688@emacsbugs.donarmstrong.com>; Mon, 29 Jun 2009 01:02:08 -0700 Original-Received: from leonino.tasking.nl (nl-fg300a-1-dmz.tasking.nl [172.16.1.8]) by ns2.tasking.nl (8.14.3/8.14.3) with ESMTP id n5T81xVC008807; Mon, 29 Jun 2009 10:01:59 +0200 (MEST) Original-Received: from koli.tasking.nl (koli.tasking.nl [172.17.1.96]) by leonino.tasking.nl (8.14.3/8.14.3) with ESMTP id n5T81wOq030779; Mon, 29 Jun 2009 10:01:58 +0200 (MEST) Original-Received: by koli.tasking.nl (Postfix, from userid 269) id E2C114032E; Mon, 29 Jun 2009 10:01:57 +0200 (CEST) User-Agent: KMail/1.9.9 In-Reply-To: <20090626211431.GE4685@muc.de> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 29 Jun 2009 04:17:32 -0400 X-Mailman-Approved-At: Mon, 29 Jun 2009 11:31:08 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29079 gmane.emacs.devel:111810 Archived-At: 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