GNU bug report logs - #76679
31.0.50; forward-sentence not working in the narrowed buffer under c-ts-mode

Previous Next

Package: emacs;

Reported by: lorniu <lorniu <at> gmail.com>

Date: Sun, 2 Mar 2025 10:23:02 UTC

Severity: normal

Found in version 31.0.50

To reply to this bug, email your comments to 76679 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#76679; Package emacs. (Sun, 02 Mar 2025 10:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lorniu <lorniu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Mar 2025 10:23:02 GMT) Full text and rfc822 format available.

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

From: lorniu <lorniu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; forward-sentence not working in the narrowed buffer under
 c-ts-mode
Date: Sun, 02 Mar 2025 15:44:48 +0800
The code `(forward-thing 'sentence)' is not working in narrowed region
under c-ts-mode.

For example, open file `test.c`, then turn on `c-ts-mode', what in the
buffer is:

    int main () { return 0; }
  
Now select word `return' and execute `narrow-to-region', then in buffer:

    Ireturn

where `I' represent the cursor. Now execute:

    (forward-thing 'sentence)

Then you will find that the cursor is stay still, not moving to the
end. This behavior is not like the ones anywhere else, I think it's a bug.




This bug report was last modified 1 day ago.

Previous Next


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