all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Platon Pronko <platon7pronko@gmail.com>, Alan Mackenzie <acm@muc.de>
Cc: 68111@debbugs.gnu.org
Subject: bug#68111: 30.0.50; backward-kill-word too eager in cc-mode
Date: Fri, 29 Dec 2023 20:54:54 +0200	[thread overview]
Message-ID: <83frzk6dq9.fsf@gnu.org> (raw)
In-Reply-To: <ea32455e-4b81-472a-9ee6-28bda3518dcd@gmail.com> (message from Platon Pronko on Fri, 29 Dec 2023 21:23:54 +0500)

> 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	other threads:[~2023-12-29 18:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-29 16:23 bug#68111: 30.0.50; backward-kill-word too eager in cc-mode Platon Pronko
2023-12-29 18:54 ` Eli Zaretskii [this message]
2023-12-31 11:15 ` Alan Mackenzie
2024-01-03 15:15   ` Platon Pronko
2024-01-06 11:45     ` 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=83frzk6dq9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68111@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=platon7pronko@gmail.com \
    /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.