From: Daiki Ueno <ueno@gnu.org>
To: 24148@debbugs.gnu.org
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 [thread overview]
Message-ID: <od18twdgdsj.fsf-ueno@gnu.org> (raw)
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
next reply other threads:[~2016-08-04 8:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-04 8:05 Daiki Ueno [this message]
2016-08-04 21:20 ` bug#24148: 25.1.50; M-x c-end-of-statement does not work on narrowed buffer Alan Mackenzie
2016-08-05 6:57 ` Daiki Ueno
2016-08-05 8:21 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=od18twdgdsj.fsf-ueno@gnu.org \
--to=ueno@gnu.org \
--cc=24148@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.