From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rajesh Vaidheeswarran Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; whitespace.el mishap Date: Tue, 05 Feb 2008 23:53:14 -0500 Message-ID: <47A93D3A.90308@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202273590 5023 80.91.229.12 (6 Feb 2008 04:53:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2008 04:53:10 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 05:53:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JMcHq-000585-VI for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 05:53:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMcHO-00065c-MK for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 23:53:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMcHC-00061L-VP for emacs-devel@gnu.org; Tue, 05 Feb 2008 23:52:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMcHC-00060r-9W for emacs-devel@gnu.org; Tue, 05 Feb 2008 23:52:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMcHC-00060k-3r for emacs-devel@gnu.org; Tue, 05 Feb 2008 23:52:50 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMcHB-0007HM-NA for emacs-devel@gnu.org; Tue, 05 Feb 2008 23:52:49 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JMcHB-0001Kk-CA for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 23:52:49 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JMcH8-0007Gy-9S for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 23:52:49 -0500 Original-Received: from py-out-1112.google.com ([64.233.166.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMcH8-0007Go-0D for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 23:52:46 -0500 Original-Received: by py-out-1112.google.com with SMTP id u52so2944942pyb.1 for ; Tue, 05 Feb 2008 20:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=IuC3PxVosYRF/bNwc6Onj6J5gW7G/r5bSN9iUXRLnmw=; b=nD0LPg0E5p+QY9Inx6xq6kz/BZUuCP0GUoEOXcIFuV3wI1Bv4WW1O6YoTbQmahmZPlMqSqgo4CoxJrG3G06bQk3eL2fgykBMMEea7tSMb6qdduMr18wum4SF15Of3vCeBRd9bfvSUFdTFYPXK4iLStdp1vr566IKxF2OOBOQpUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=EqU/tKFm8fygnnbmgantWETp1WLyG0/YSuZsMeQvGyUsqrAqBw7b5z1bzoC6Fk8wCxEepJLSvF8/GLtzQoeYqdNVXPuSRMy3qQjyeT3KYZYS5MMAXZemcdltoe6tGFKjx/G8Ujpcmje7ORi21x/lRD5ErH3mZ9WygUpY8dXULQI= Original-Received: by 10.65.194.13 with SMTP id w13mr17548306qbp.67.1202273564517; Tue, 05 Feb 2008 20:52:44 -0800 (PST) Original-Received: from ?127.0.0.1? ( [68.116.169.83]) by mx.google.com with ESMTPS id e16sm7746965qbe.10.2008.02.05.20.52.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 Feb 2008 20:52:44 -0800 (PST) User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88325 gmane.emacs.pretest.bugs:20896 Archived-At: I'll check out the bug. Thanks for the report. But, I'm a bit confused. Does this crash emacs? rv Michael Welsh Duggan wrote: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > Given the c buffer: > > int main() > { > if (1) { > x = foo; > } > return 0; > } > > > `M-x whitespace-cleanup' will result in: > > int main() > { > if (1) { > x= foo; > } > return 0; > } > > This is because `whitespace-indentation-regexp' includes a trailing > "[^\n\t]", which matches the x. After `re-search-forward' of > `whitespace-cleanup-region' the point is now after the `x'. In order > for the subsequent `delete-horizontal-space' to work, a > (forward-char -1) should probably be done, before the > `current-indentation' call. > > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > If you would like to further debug the crash, please read the file > /home/mwd/share/emacs/23.0.60/etc/DEBUG for instructions. > > > In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.10.4) > of 2008-02-05 on maru.green.cert.org > Windowing system distributor `The X.Org Foundation', version 11.0.70101000 > configured using `configure '--prefix=/home/mwd' '--without-toolkit-scroll-bars' '--with-gif=no'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=none > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t > > Major mode: C/l > > Minor modes in effect: > shell-dirtrack-mode: t > display-time-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-compression-mode: t > line-number-mode: t > abbrev-mode: t > > Recent input: > C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n > C-n C-n C-n > C-w C-p C-p C-p C-p C-p C-p > C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-e C-b C-b > C-b C-b C-b SPC C-x C-s C-b C-b SPC C-x C-s C-f C-d > C-x C-s C-a C-SPC C-n q C-x 4 b > C-p C-SPC C-n M-x M-p SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC q C-p C-p C-e C-p > C-e ( f o r w a r d - c j h a > h a r SPC - 1 ) C-x C-s C-u > C-M-x C-_ C-n C-p C-a C-SPC > C-n M-x M-p SPC C-_ > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC > C-p C-p C-p C-p C-p C-p C-p C-p C-p > C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p > C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p > M-x r e p o r t - e m a c s - 0 > b > > Recent messages: > Result: nil > > Result: nil > [2 times] > Result: # > > Result: # > > Result: # > > >