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: Glenn Morris <rgm <at> gnu.org>
To: Arik Mitschang <arik.mitschang <at> gmail.com>
Cc: 6902 <at> debbugs.gnu.org
Subject: bug#6902: 23.2; indent-line-to possible devide by zero error bug
Date: Wed, 25 Aug 2010 15:32:35 -0400
Arik Mitschang wrote:

> In indent.el the indent-line-to function has a comparison that devides
> the current column count by tab-width, whose value is an integerp and
> allowed to be zero (and in my experience is often 0).

Why do you want to set tab-width to 0?

A quick grep for tab-width shows other places that will break.




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.