Skip to content

Conversation

@matsl
Copy link
Collaborator

@matsl matsl commented Jan 19, 2026

What

  • Add region behavior for kotl-mode:delete-char et al
  • Fix multiple char deletion with kill-flag
  • Add tests

Why

bug#80084 Koutliner: unable to delete region with kotl commands

Corrects an additional inconsistency with "normal" delete-char commands
by accumulating the deleted chars to form a single kill-ring item
instead of separate items.

@matsl matsl requested a review from rswgnu January 19, 2026 23:28
Copy link
Owner

@rswgnu rswgnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One typo correction to make.

ChangeLog Outdated
(kotl-mode:delete-char, kotl-mode:delete-backward-char): Fix
inconsistencies with delete-char - Support transient mark mode. Use
kotl-mode:delete-char-acc for saving multiple chars to kill-ring when
called with kill-flag. (The later is implicit when used interactively
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latter instead of later.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. Will correct and push. 🙏

@matsl matsl merged commit b8344d5 into master Jan 20, 2026
4 checks passed
@matsl matsl deleted the fix_kotl-mode_delete_char_with_active_region branch January 20, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants