GNU bug report logs - #8279
[PATCH] More fixes to prevent hide-show from being confused by commented-out braces

Previous Next

Package: emacs;

Reported by: Dima Kogan <dkogan <at> cds.caltech.edu>

Date: Fri, 18 Mar 2011 07:34:02 UTC

Severity: normal

Tags: patch

Merged with 6158

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Dima Kogan <dkogan <at> cds.caltech.edu>
Cc: 8279 <at> debbugs.gnu.org
Subject: bug#8279: [PATCH] More fixes to prevent hide-show from being confused by commented-out braces
Date: Sat, 28 May 2011 14:35:57 -0400
Dima Kogan <dkogan <at> cds.caltech.edu> writes:

> Earlier I submitted some fixes to hideshow.el to improve handling of
> braces in comments (bug#8036). These fixes were incomplete and in one
> case, incorrect. The attached patch improves hideshow.el further:

+  "Returns non-nil if the point is at the block start.
+A function is useful for this to cleanly disregard commented-out
+blocks"

This docstring should use the active voice, i.e. "Returns non-nil if the
point is at the block start."  And there's no need to justify the use of
a function.

Otherwise, the patch looks reasonable; I've commited it.  Thanks.




This bug report was last modified 13 years and 287 days ago.

Previous Next


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