GNU bug report logs - #28598
25.3; Errors in narrowed buffers in CC-mode

Previous Next

Packages: cc-mode, emacs;

Reported by: George Plymale II <georgie <at> southernohio.net>

Date: Mon, 25 Sep 2017 15:30:03 UTC

Severity: normal

Found in version 25.3

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: John Wiegley <jwiegley <at> gmail.com>, George Plymale II <georgedp <at> orbitalimpact.com>
Cc: 28598 <at> debbugs.gnu.org
Subject: bug#28598: 25.3; Errors in narrowed buffers in CC-mode
Date: Mon, 25 Sep 2017 20:50:57 +0000
Hello, John and George.

On Mon, Sep 25, 2017 at 10:51:00 -0700, John Wiegley wrote:
> >>>>> "GP" == George Plymale <georgedp <at> orbitalimpact.com> writes:

> GP> For those too lazy to follow the link, here's the gist: When I press `RET'
> GP> at the beginning or end of a narrowed buffer in CC-mode, I see errors like
> GP> this:

> GP> c-determine-limit: Args out of range: #<buffer dired.c>, 1, 1564

> Alan, do you have any thoughts on this one?

Thanks for the heads up, John.

With the help of George's backtrace, I can see exactly what's happening,
where, and why.

The fixing of the bug will involve carefully defining conditions which
must hold when a function (c-determine-limit) is called, and amending it
on the assumption those conditions hold.

Give me a day or two, it's a bit late at the moment here in Germany.

> -- 
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

-- 
Alan Mackenzie (Nuremberg, Germany).




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

Previous Next


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