From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; whitespace.el mishap Date: Sat, 01 Mar 2008 16:00:22 -0300 Message-ID: <47C9A7C6.6080706@ig.com.br> 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 1204398228 5520 80.91.229.12 (1 Mar 2008 19:03:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 19:03:48 +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 Sat Mar 01 20:04:12 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 1JVX0F-0000zn-PV for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 20:04:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVWzj-00076q-8H for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 14:03:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVWzB-0006ip-Jb for emacs-devel@gnu.org; Sat, 01 Mar 2008 14:03:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVWzA-0006hV-AR for emacs-devel@gnu.org; Sat, 01 Mar 2008 14:03:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVWz9-0006hI-UB for emacs-devel@gnu.org; Sat, 01 Mar 2008 14:03:04 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVWz9-0008Ro-GT for emacs-devel@gnu.org; Sat, 01 Mar 2008 14:03:03 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JVWz9-0001Nc-6h for emacs-pretest-bug@gnu.org; Sat, 01 Mar 2008 14:03:03 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JVWz6-0008RB-2n for emacs-pretest-bug@gnu.org; Sat, 01 Mar 2008 14:03:03 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVWz5-0008Qr-Lr for emacs-pretest-bug@gnu.org; Sat, 01 Mar 2008 14:02:59 -0500 Original-Received: by an-out-0708.google.com with SMTP id c25so998834ana.84 for ; Sat, 01 Mar 2008 11:02:58 -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=Xsg4FQQEfiVwiLmVm3tEZM0GLHcK8NloHog9N24FNEI=; b=xsdG83m/97MQ63G6G9bF7pG7ShR+/wunK3uAjH/rO0ZtbOPArEyo6Xf4W5VVAMrYW2lYK8rTLFAnrFMjoUJWdzYePP8fK1P1L8FCtnj0fng9hHnkT5I1eKbiuG1Z+dnL9OKuRG2w9CHUfXLX8SmlDarh1kKKOW+Iny1M3UpcyNo= 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=OD5D/fWTmJLfH/spgrHSbFlwOjFtulnPwhXtznBxihQocv4R9f1ldOdKmO/w/XBYrvn6ICDp5+aYGod+4oNfVK1MkgDhu2NG8pYeez2I7B01XJu7+4+bMDCOvpdpn62qFBtnDnGALNekSoLFff5K+RTUzE6CDOoB20835vef9dM= Original-Received: by 10.100.196.17 with SMTP id t17mr23740857anf.57.1204398176955; Sat, 01 Mar 2008 11:02:56 -0800 (PST) Original-Received: from ?192.168.0.100? ( [201.82.45.91]) by mx.google.com with ESMTPS id b18sm20728329ana.14.2008.03.01.11.02.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 01 Mar 2008 11:02:55 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080201 SeaMonkey/1.1.8 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:90999 gmane.emacs.pretest.bugs:21369 Archived-At: I've just installed a fix in CVS trunk. 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: # >