emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24148: closed (25.1.50; M-x c-end-of-statement doe


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24148: closed (25.1.50; M-x c-end-of-statement does not work on narrowed buffer)
Date: Fri, 05 Aug 2016 06:58:02 +0000

Your message dated Fri, 05 Aug 2016 08:57:27 +0200
with message-id <address@hidden>
and subject line Re: bug#24148: 25.1.50; M-x c-end-of-statement does not work 
on narrowed buffer
has caused the debbugs.gnu.org bug report #24148,
regarding 25.1.50; M-x c-end-of-statement does not work on narrowed buffer
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24148: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24148
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1.50; M-x c-end-of-statement does not work on narrowed buffer Date: Thu, 04 Aug 2016 10:05:00 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Steps to reproduce:

- C-x C-f /usr/include/stdio.h

- mark region around a function declaration, e.g.,

  extern FILE *fopen (const char *__restrict __filename,
                      const char *__restrict __modes) __wur;

- M-x narrow-to-region

- put cursor on the beginning of the function declaration

- M-x c-end-of-statement

Then I get:

c-state-full-pp-to-literal: Args out of range: #<buffer stdio.h>, 6001, 7659

The command moves the cursor to the ';' without error if the buffer is
not narrowed.

Regards,
-- 
Daiki Ueno




--- End Message ---
--- Begin Message --- Subject: Re: bug#24148: 25.1.50; M-x c-end-of-statement does not work on narrowed buffer Date: Fri, 05 Aug 2016 08:57:27 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Hello,

Alan Mackenzie <address@hidden> writes:

> You didn't say what version of Emacs you're using, but I think it was
> from the savannah master branch.  I've committed a fix to this branch.
> If you're indeed using it, would you please update and rebuild, then
> check that the bug really is fixed.  Otherwise, please tell me the
> version of Emacs you're using, then I can create a patch for that.

Yes, I was using the master.  I have confirmed that the problem is fixed
after updating and rebuilding.

Thank you for the quick fix!

Regards,
-- 
Daiki Ueno


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]