GNU bug report logs - #13713
24.3.50; C indent produces error when narrowing is active

Previous Next

Packages: emacs, cc-mode;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Thu, 14 Feb 2013 08:59:02 UTC

Severity: normal

Tags: fixed

Found in versions 25.3, 24.3.50

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 13713 <at> debbugs.gnu.org
Subject: Re: bug#13713: 24.3.50;
 C indent produces error when narrowing is active
Date: Fri, 01 Dec 2017 05:04:50 -0500
found 13713 25.3
tags 13713 fixed
close 13713 26.1
quit

Dima Kogan <dima <at> secretsauce.net> writes:

> Hi.
>
> I'm observing an issue with emacs indentation in C mode when narrowing
> is enabled. To reproduce, create a tst.c buffer with the following 3
> lines:
>
> // 123
> // 456
> // 789
>
> I select the last 2 lines (456, 789), and narrow-to-region. Then I place
> the point at the start of the 789 line, and press 'tab'. I get this:
>
> Debugger entered--Lisp error: (args-out-of-range 1 8)

Seems to be fixed in emac-26.




This bug report was last modified 7 years and 231 days ago.

Previous Next


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