From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Why was `transient-mark-mode' turned off for `delete-selection-mode'? Date: Fri, 05 Sep 2014 09:03:05 +0200 Organization: Organization?!? Message-ID: <87ppfa1rdi.fsf@fencepost.gnu.org> References: <60d75d3a-d04c-4394-800b-60b65fafdb11@default> <2ffbe01d-ef46-4467-83a6-4714a192ba8b@default> <3b045884-0f98-49f3-addd-227a3c1403d1@default> <53f0f206-96ae-423b-a237-294a26f60270@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409900645 24141 80.91.229.3 (5 Sep 2014 07:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2014 07:04:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 05 09:03:56 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XPnYq-00031q-DE for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2014 09:03:56 +0200 Original-Received: from localhost ([::1]:55706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPnYq-0004a7-0k for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2014 03:03:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPnYX-0004Zs-37 for emacs-devel@gnu.org; Fri, 05 Sep 2014 03:03:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPnYI-0006FI-Ix for emacs-devel@gnu.org; Fri, 05 Sep 2014 03:03:37 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPnYI-0006Ew-Ce for emacs-devel@gnu.org; Fri, 05 Sep 2014 03:03:22 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XPnYG-0002cw-E3 for emacs-devel@gnu.org; Fri, 05 Sep 2014 09:03:20 +0200 Original-Received: from x2f4cd90.dyn.telefonica.de ([2.244.205.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Sep 2014 09:03:20 +0200 Original-Received: from dak by x2f4cd90.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Sep 2014 09:03:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 56 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f4cd90.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:3Pf3rgvK07/hxOIc9o5IYe1ksgU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174030 Archived-At: Drew Adams writes: > 2. There are now 4 possible behaviors that a user can > choose: > > a. d-s mode on and t-m mode on > b. d-s mode off and t-m mode on > c. d-s mode off and t-m mode off > d. d-s mode on and t-m mode off > > This is a good time to again consider the question of > what the default behavior should be. It is currently (b). > I think it should be (a). > > (a) is the behavior most new users are used to. It is the > behavior I have preferred for Emacs, ever since it was first > available, 20 or so years ago. > > (b) is the behavior we have now. I think it shouldn't. > I think (a) is the best choice for the default behavior, > and (d) is arguably the second best choice. I find myself trying to figure out a good way to unhighlight a selection half of the time when I am trying to edit a link in a browser or something that pops up highlighted for some reason. It is total nuisance behavior without a generally available way to turn the unasked-for selection off. The other half of the time I inadvertantly delete material. Sometimes it can be recovered by C-z (depending on the application). Sometimes not. Your only argument so far has been "others do it". But that's not, in itself, a good reason to let Emacs adopt default behavior that gets in the way of productive work. "Now how do I undo that damage" _is_ a distraction from whatever you have been doing. I do get this in Emacs when accidentally typing C-w (rather than C-e or something). But typing C-w accidentally does not occur as frequently as, well, typing anything at all. > But even then many of them interact with programs (e.g. > web browsers) that have the behavior of (a). In my case, that interaction involves a lot of swearing. > 3. Besides having the limitation of not being able to just > type to replace the region text, the current situation > suffers from treating mouse selection exceptionally. > A mouse selection has the deletion behavior of d-s mode, > but without its type-to-replace behavior. Are you sure about that? Like, really sure? -- David Kastrup