GNU bug report logs -
#80084
Koutliner: unable to delete region with kotl commands
Previous Next
To reply to this bug, email your comments to 80084 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-hyperbole <at> gnu.org:
bug#80084; Package
hyperbole.
(Sun, 28 Dec 2025 15:03:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mats Lidell <matsl <at> gnu.org>:
New bug report received and forwarded. Copy sent to
bug-hyperbole <at> gnu.org.
(Sun, 28 Dec 2025 15:03:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Zyd,
> zyd writes:
> Greeting hyperbole and koutliner users.
>
> I just started using koutliner today myself and have come across a weird
> issue. I'm unsure if it's a bug or not: when I mark the region, I expect to be
> able to delete that text when I press <backspace> or <DEL>, but instead I either
> get a message
>
> kotl-mode:delete-char: (kotl-mode:delete-char): End of cell
>
> Or, a single character gets deleted. This happens with both commands
> kotl-mode:delete-backward-char and kotl-mode:delete-char. This is really weird
> behavior. Currently the only way to delete a region is by killing it to the ring
> via C-w, but that pollutes my kill ring with text I never intend to yank/paste.
Thanks for trying out the koutliner and thanks for the report.
Yes, I can see that this is confusing since it does not align with regular
text editing behavior. The functions you mention does not take the region into
account so acts just from point on characters. That is why <DEL> when at point
of the end of a cell gives an error message. You can't delete a cell boundary.
I'll forward this to bug-hyperbole and we will take a look at it. I think what
you are expecting is very reasonable. Personally I have C-w in my muscle
memory for deleting regions so I have not seen this how odd it might sound.
> If this is not a bug but a feature/expected behavior, does anyone have
> suggestions for implementing the behavior I want beyond just locally rebinding
> those keys to #'backward-delete-char. I'd like to keep the dwim-like features of
> the kotl keybinds but deal with this edge case.
A, possibly lame, alternative for now is to insert a SPACE char since self
insert respects the region and will replace it a the space.
> Attached is a video demonstration
>
> Hyperbole version: 20251225.1030
%% Mats
<#secure method=pgpmime mode=sign>
This bug report was last modified 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.