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

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

bug#68111: 30.0.50; backward-kill-word too eager in cc-mode


From: Eli Zaretskii
Subject: bug#68111: 30.0.50; backward-kill-word too eager in cc-mode
Date: Fri, 29 Dec 2023 20:54:54 +0200

> Date: Fri, 29 Dec 2023 21:23:54 +0500
> From: Platon Pronko <platon7pronko@gmail.com>
> 
> In cc-mode (C lang files) calling backward-kill-word seems to be too eager. 
> For example, given the following file and cursor position:
> 
> ```
> int main() {
>    printf("alpha beta gamma<cursor>
> }
> ```
> 
> calling backward-kill-word results in
> 
> ```
> int main() {
>    <cursor>
> }
> ```
> 
> while the expected result is probably:
> 
> ```
> int main() {
>    printf("alpha beta <cursor>
> }
> ```
> 
> It seems that this is a regression in commit 
> dae8aab52874441a70a94435d50f25b27301d9b0, by Alan Mackenzie on 2023-06-21.

Adding Alan to the discussion.





reply via email to

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