emacs-devel
[Top][All Lists]
Advanced

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

Re: Some developement questions


From: Clément Pit-Claudel
Subject: Re: Some developement questions
Date: Thu, 6 Sep 2018 15:27:30 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 2018-09-06 14:38, Eli Zaretskii wrote:
>> Date: Thu, 6 Sep 2018 07:56:13 -0700 (PDT)
>> From: Drew Adams <address@hidden>
>> Cc: address@hidden, address@hidden, address@hidden,
>>         address@hidden
>>
>>>> we should turn on `delete-selection-mode' by default.
>>>
>>> I don't think we can, because it gets in the way when editing code.
>>
>> How so? It doesn't get in my way. Quite the contrary - I appreciate
>> it for editing code.
>>
>> Please give a recipe
> 
> Type "C-x C-x", then some letter: puff! the whole region is gone.
> This could be okay in text modes, but in code buffers users generally
> don't replace regions with single letters.

Funny, I have code in my config for exactly this case.  I use 
delete-selection-mode, and I invert the meaning of C-u for C-x C-x (a plain C-x 
C-x doesn't make the region active, and pressing C-u C-x C-x does.

Clément.



reply via email to

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