GNU bug report logs - #11492
whitespace.el (whitespace-cleanup) not cleaning beginning-of-buffer [PATCH]

Previous Next

Package: emacs;

Reported by: Kevin J. Fletcher <dev <at> kjfletch.co.uk>

Date: Wed, 16 May 2012 21:26:01 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11492 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Kevin J. Fletcher <dev <at> kjfletch.co.uk>
Cc: 11492 <at> debbugs.gnu.org
Subject: Re: bug#11492: whitespace.el (whitespace-cleanup) not cleaning
	beginning-of-buffer [PATCH]
Date: Tue, 29 May 2012 19:51:55 +0800
Kevin J. Fletcher <dev <at> kjfletch.co.uk> writes:

> whitespace.el: (whitespace-cleanup) fails to clean whitespace at
> beginning of buffer due to a failed regexp starting with "\\`^".
>
> This patch removes the "^" from the regexp.

I fixed in this trunk using looking-at instead.  Thanks for the report.




This bug report was last modified 12 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.