GNU bug report logs -
#78262
30.1; comint-delchar-or-maybe-eof doesn't respect delete-active-region
Previous Next
Reported by: Sebastián Monía <sebastian <at> sebasmonia.com>
Date: Mon, 5 May 2025 14:45:02 UTC
Severity: normal
Merged with 73527
Found in versions 30.1, 30.0.90
Fixed in version 31.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 78262 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Juri Linkov <juri <at> linkov.net>, sebastian <at> sebasmonia.com,
> 78262 <at> debbugs.gnu.org
> Date: Sun, 11 May 2025 00:14:16 -0400
>
> > This assumes that everyone will want the same command bound to C-d
> > globally to be invoked by C-d in comint-mode. But is that assumption
> > necessarily true?
>
> It's hard to handle all possible worlds at the same time, so I think
> we have to presume the answer is "yes". If they want something
> different, they'll have to rebind it explicitly in `comint-mode-map`.
The issue here is whether to support active region (which C-d does).
Are we sure users of comint want that in respective modes?
> -(defun comint-delchar-or-maybe-eof (arg)
> - "Delete ARG characters forward or send an EOF to subprocess.
> +(defun comint-delchar-or-maybe-eof ()
> + "Do like the global binding or send an EOF to subprocess.
I think we need to leave ARG in place, at least as an optional
argument, since otherwise this would be a breaking change.
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.