GNU bug report logs -
#27192
25.2; c-mode narrow-to-region broken
Previous Next
Reported by: Gordon Ross <gordon.w.ross <at> gmail.com>
Date: Fri, 2 Jun 2017 03:02:01 UTC
Severity: normal
Tags: moreinfo, wontfix
Found in version 25.2
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 27192 <at> debbugs.gnu.org (full text, mbox):
> From: Gordon Ross <gordon.w.ross <at> gmail.com>
> Date: Thu, 1 Jun 2017 21:17:16 -0400
>
> I often use "narrow-to-region" in c-mode when I want to do something
> like replace-string but just within the bounds of one C function or
> (in the example represented in this bug report) the entirety of one
> switch statement starting with switch (expr) { ... ending with }
>
> After my recent upgrade to emacs 25.2, the TAB "auto-indent" feature
> usually doesn't work in such a narrowed region, briefly showing
> complaints in the minibuffer (See "Args out of range" in messages
> section below) and not indenting.
Please show an example of a buffer where this happens, and tell to
which part to narrow it in order to reproduce the problem.
Thanks.
This bug report was last modified 6 years and 188 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.