GNU bug report logs - #30951
25.1; newline causes alert sound and error message in c-mode if narrowing to a page that isn’t the first

Previous Next

Package: emacs;

Reported by: galex-713 <at> galex-713.eu (Garreau, Alexandre)

Date: Mon, 26 Mar 2018 12:12:01 UTC

Severity: normal

Tags: fixed

Found in versions 25.3, 25.1

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: galex-713 <at> galex-713.eu (Garreau, Alexandre)
Cc: 30951 <at> debbugs.gnu.org
Subject: Re: bug#30951: 25.1; newline causes alert sound and error message
 in c-mode if narrowing to a page that isn’t the first
Date: Mon, 26 Mar 2018 08:31:54 -0400
found 30951 25.3
tags 30951 fixed
close 30951 26.1
quit

galex-713 <at> galex-713.eu (Garreau, Alexandre) writes:

> In any buffer, enter c-mode, insert a clearpage character () then
> narrow after it: now anything triggering newline (such as <return>, “;”,
> etc.) will emit an alert sound along with the following error message (I
> tested in *scratch* in my case):
>
> c-determine-limit: Args out of range: #<buffer *scratch*>, 1, 13
>
> In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)

I can reproduce in 25.3, but not in 26.0.91, so it seems this was fixed.




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

Previous Next


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