[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24148: 25.1.50; M-x c-end-of-statement does not work on narrowed buf
From: |
Daiki Ueno |
Subject: |
bug#24148: 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
- bug#24148: 25.1.50; M-x c-end-of-statement does not work on narrowed buffer,
Daiki Ueno <=