From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Thu, 06 Sep 2018 22:49:20 +0300 Message-ID: <834lf2wgn3.fsf@gnu.org> References: <<8336v6cvem.fsf@gnu.org> <<8736v6icgt.fsf@himinbjorg.adminart.net> <83tvnmb958.fsf@gnu.org> <<877ekigiiw.fsf@himinbjorg.adminart.net> <837ekhb2me.fsf@gnu.org> <<87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org> <<871sanb71j.fsf@himinbjorg.adminart.net> <83y3cu7t9j.fsf@gnu.org> <<87lg8t2ki9.fsf@himinbjorg.adminart.net> <20180827015422.lcq44zvsjffeau4j@Ergus> <<83a7p76f5e.fsf@gnu.org> <87lg8p9o6y.fsf@russet.org.uk> <<83pnxx1foj.fsf@gnu.org> <87k1o1a06q.fsf@russet.org.uk> <<877ek1ql6u.fsf@toy.adminart.net> <87tvn2g665.fsf@russet.org.uk> <<83r2i6wv4v.fsf@gnu.org> <83k1nywjwv.fsf@gnu.org> <79df883d-b902-3d7b-2603-5ba83bfc6f62@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1536263245 24335 195.159.176.226 (6 Sep 2018 19:47:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2018 19:47:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 21:47:21 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fy0FN-0006Du-8g for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 21:47:21 +0200 Original-Received: from localhost ([::1]:35234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fy0HT-0004GP-Ni for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 15:49:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fy0HN-0004GI-KJ for emacs-devel@gnu.org; Thu, 06 Sep 2018 15:49:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fy0HM-0004wE-Q3 for emacs-devel@gnu.org; Thu, 06 Sep 2018 15:49:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fy0HK-0004sG-HR; Thu, 06 Sep 2018 15:49:24 -0400 Original-Received: from [176.228.60.248] (port=4560 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fy0HJ-000148-0w; Thu, 06 Sep 2018 15:49:22 -0400 In-reply-to: <79df883d-b902-3d7b-2603-5ba83bfc6f62@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Thu, 6 Sep 2018 15:27:30 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229358 Archived-At: > From: Clément Pit-Claudel > Date: Thu, 6 Sep 2018 15:27:30 -0400 > > > 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. That's fine, but I don't think we can make this the default behavior.