GNU bug report logs - #6902
23.2; indent-line-to possible devide by zero error bug

Previous Next

Package: emacs;

Reported by: Arik Mitschang <arik.mitschang <at> gmail.com>

Date: Tue, 24 Aug 2010 15:50:03 UTC

Severity: minor

Tags: wontfix

Found in version 23.2

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: Arik Mitschang <arik.mitschang <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 6902 <at> debbugs.gnu.org
Subject: bug#6902: 23.2; indent-line-to possible devide by zero error bug
Date: Sun, 10 Apr 2011 16:56:52 -0400
Arik Mitschang <arik.mitschang <at> gmail.com> writes:

>  > A quick grep for tab-width shows other places that will break.
>
> The fact that it's value can be zero (without even warning in the doc
> string) and this value causes functionality to break doesn't seem good
> to me. If nobody but me ever had it set to zero, then perhaps just
> updating its doc-string to warn users away from that value would be
> nice.

I have made such an update to the doc-string.  It doesn't seem
worthwhile to try to handle zero tab-widths in all the places where it
could be problematic.  Thanks.




This bug report was last modified 14 years and 130 days ago.

Previous Next


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