From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: C-d deleting region considered harmful Date: Sun, 19 Sep 2010 19:21:00 +0100 Message-ID: <878w2xsigj.fsf@gmail.com> References: <87eicrx1ls.fsf@catnip.gol.com> <4C94E03D.8090002@gmail.com> <87fwx699pc.fsf@catnip.gol.com> <83tylmyclx.fsf@gnu.org> <4C961787.3090907@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284920476 17074 80.91.229.12 (19 Sep 2010 18:21:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Sep 2010 18:21:16 +0000 (UTC) Cc: Emacs-Devel devel To: Chad Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 19 20:21:15 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OxOVn-00078n-75 for ged-emacs-devel@m.gmane.org; Sun, 19 Sep 2010 20:21:15 +0200 Original-Received: from localhost ([127.0.0.1]:57869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxOVm-0004tR-JO for ged-emacs-devel@m.gmane.org; Sun, 19 Sep 2010 14:21:14 -0400 Original-Received: from [140.186.70.92] (port=50745 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxOVg-0004tK-8y for emacs-devel@gnu.org; Sun, 19 Sep 2010 14:21:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxOVe-0001iE-W5 for emacs-devel@gnu.org; Sun, 19 Sep 2010 14:21:08 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:63460) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxOVe-0001i1-SE for emacs-devel@gnu.org; Sun, 19 Sep 2010 14:21:06 -0400 Original-Received: by wyb36 with SMTP id 36so4827443wyb.0 for ; Sun, 19 Sep 2010 11:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=w8EoB1vAn1JYuM5risk27P5Atklf1S1wCMcv6UTGvjg=; b=FHNrW5Z+E1jJyi+b+paedU26krJgh3TFI3AplXvBrZtINkDUn5FkEiqOBXn8t351JL DlhQ5wA3yIKjdRmAIjfjPuseNI2ygrGiJmUX6xzJW05hnsGhT6oAJmtEkDl9mL75ynoe 3CKBJTMQRAcfq1B7C1Obfy5GMFglhlRNTPu0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=JfNW1YK3h0KIYctFf6c+XgmAx050u/yO2f5IRRfgWSfRzUbjPq5pu2qX4wK+6TJJK/ zyJKQsu3hTxXxnKBHlUCUE7FATj0YrxM+Qoy7U5rb2nkckKOkTrO4oSkDxvVupJQZdq0 VS4Hq1rXL5XxFh4oPp9lG9CYH/y1McOeE0BD4= Original-Received: by 10.216.50.18 with SMTP id y18mr3457315web.113.1284920465792; Sun, 19 Sep 2010 11:21:05 -0700 (PDT) Original-Received: from spec-desktop.specuu.com (host86-133-35-46.range86-133.btcentralplus.com [86.133.35.46]) by mx.google.com with ESMTPS id o49sm4555289wej.43.2010.09.19.11.21.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 19 Sep 2010 11:21:03 -0700 (PDT) In-Reply-To: (Chad Brown's message of "Sun, 19 Sep 2010 11:00:50 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130493 Archived-At: Chad Brown writes: > Question for the people who dislike transient-mark-mode and it's > related behaviors: > > Do you find yourself making an unwanted `highlighted region' using any > other method than C-xC-x? The potential candidates that come to mind > are `C-space and movement', shift-selection, and mouse-sweep. > > I used to dislike transient-mark-mode (back when it was called > zmacs-region and I was using Epoch), and disabled it along with most > of the `chrome', but at one point I intentionally tried working with > all of the bells and whistles and found it helpful except when I was > using C-xC-x often when editing code. I spend more time editing text > these days, and much less hoping around with C-xC-x, so I just live > with the occasional distraction, but perhaps a way to invert the ARG > of exchange-point-and-mark would let more emacs hackers enjoy the > benefits of t-m-m without being annoyed by the spurious flashing/C-g. I find `transient-mark-mode' quite useful, some of the commands work in a different way, maybe more intuitively (for instance `comment-dwim' or some of the replace functions). However I've been annoyed quite few times when it highlights the region when I don't want it. C-x C-x being a primal example (yes, I understand that it's a change in semantics). So I think overall it is a good improvement for handling regions in Emacs. However, I would not like to see C-d killing region, as in my work flow I quite often used it with selected region (most importantly it is better to separate C-d and backspace). Also people who are aware of C-d most likely are people who used Emacs for some time, in a contrast to the users who just hit backspace. So the behaviour of having a choice, `kill or not to kill' the region with a pressure on a intuitive default behaviour for both groups of users seems to reasonable. > > *Chad Cheers; Wojciech