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

From: Noam Postavsky <[email-masked]>
Date: Mon, 26 Mar 2018 08:31:54 -0400

found 30951 25.3
tags 30951 fixed
close 30951 26.1
quit

[email-masked] (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.