emacs-devel
[Top][All Lists]
Advanced

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

Re: [WIP PATCH] Adding more keybindings to rectangle-mark-mode-map


From: Stefan Monnier
Subject: Re: [WIP PATCH] Adding more keybindings to rectangle-mark-mode-map
Date: Sun, 02 May 2021 14:07:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jim Porter [2021-05-02 09:36:14] wrote:
> On Sun, May 2, 2021 at 9:09 AM Eli Zaretskii <eliz@gnu.org> wrote:
>> > From: Jim Porter <jporterbugs@gmail.com>
>> > I interpreted that to mean that, if Edit -> Clear is only enabled
>> > when there's an active region/rect, `backward-delete-char-untabify'
>> > is equivalent to a hypothetical `delete-rect-or-region'.
>>
>> But Edit->Clear is enabled even when the region is not active, like if
>> you turn off transient-mark-mode.
>
> Ah. In that case, a new function might be safer.

Indeed, we need a new function here.
It should be a small matter of moving the code from
`backward-delete-char-untabify' into a separate function.


        Stefan




reply via email to

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