From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: delete-selection-mode Date: Wed, 17 Mar 2010 15:08:13 -0700 Message-ID: <9B30E5E474524F4092443C23D37B92CC@us.oracle.com> References: <87ocitw2dl.fsf@stupidchicken.com><201003130001.o2D01FFQ003489@godzilla.ics.uci.edu><87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org><8BDB38B3CCBC481CB014CB3DA9FA1948@us.oracle.com> <87y6hq39rk.fsf_-_@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268863760 8992 80.91.229.12 (17 Mar 2010 22:09:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Mar 2010 22:09:20 +0000 (UTC) Cc: 'Chong Yidong' , emacs-devel@gnu.org To: "'Juri Linkov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 17 23:09: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 1Ns1QQ-0004vz-PR for ged-emacs-devel@m.gmane.org; Wed, 17 Mar 2010 23:09:15 +0100 Original-Received: from localhost ([127.0.0.1]:58333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns1QQ-0008JY-51 for ged-emacs-devel@m.gmane.org; Wed, 17 Mar 2010 18:09:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns1QL-0008Gv-2a for emacs-devel@gnu.org; Wed, 17 Mar 2010 18:09:09 -0400 Original-Received: from [140.186.70.92] (port=35647 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns1QJ-0008Dv-Jg for emacs-devel@gnu.org; Wed, 17 Mar 2010 18:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ns1QI-0007rw-4Y for emacs-devel@gnu.org; Wed, 17 Mar 2010 18:09:07 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:22939) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns1QH-0007rm-UU for emacs-devel@gnu.org; Wed, 17 Mar 2010 18:09:06 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2HM93ek031502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Mar 2010 22:09:04 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2HKLrMq028438; Wed, 17 Mar 2010 22:09:02 GMT Original-Received: from abhmt019.oracle.com by acsmt355.oracle.com with ESMTP id 94598431268863692; Wed, 17 Mar 2010 15:08:12 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Mar 2010 15:08:12 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87y6hq39rk.fsf_-_@mail.jurta.org> x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrGG4YdqXkTdZnCQ6WRGU3bwbCmJQAAFwGw X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4BA152FF.0064:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:122119 Archived-At: > >> Is that reason enough to enable delete-selection-mode by default? > > > > I vote yes. Yes, of course. > > > > But we've been around this block a few times before. Here > > we go, round and round. Folks will chime in again about > > cua-mode, cua-selection-mode, pc-selection-mode, > > transient-mark-mode,... The antimouse will raise its medusa > > head again... Round and round and round we go... Are we > > having fun yet? > > Please note that actually pc-selection-mode was already enabled > by default in 23.1 (shift-arrow keys with transient-mark-mode). Hm. Not quite. `pc-selection-mode' is off (e.g. the variable is nil), though what you say about the arrow keys is true. Thanks for pointing that out. BTW - I'm no expert on PC selection mode, but playing with it a bit and looking at the doc, it seems that the behavior (but not the doc) has changed from Emacs 22 to 23 - no doubt due to the arrow-key change you refer to. The doc for `pc-selection-mode' says that UNshifted arrow keys disable the mark (I guess it should say "deactivate", not "disable"). But I don't see that happening in Emacs 23. In Emacs 23, the arrow keys extend the active region, whether or not they are shifted, and whether or not `pc-selection-mode' is turned on. Perhaps someone knowledgable can compare the `pc-selection-mode' behaviors in 22 and 23, and report back with (a) a summary and (b) whether the Emacs 23 behavior is as documented. > So now we have a weird state with enabled pc-selection-mode > and disabled delete-selection-mode. Actually, `pc-selection-mode' enables `delete-selection-mode' (hence also t-m-mode). FWIW, my own vote is still for `delete-selection-mode', not `pc-selection-mode' as the default.