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: Shift selection using interactive spec Date: Mon, 17 Mar 2008 14:44:23 -0700 Message-ID: <005101c88878$112660c0$c2b22382@us.oracle.com> References: <87k5k69p92.fsf@stupidchicken.com><200803140408.m2E47hPU014494@sallyv1.ics.uci.edu><87prtxpekk.fsf@kfs-lx.rd.rdm> <87abl11ilo.fsf@stupidchicken.com><874pb9koyw.fsf@stupidchicken.com><87od9gzqv9.fsf@stupidchicken.com><87bq5gytbi.fsf@stupidchicken.com> <8763vndi0r.fsf@kfs-lx.rd.rdm><87hcf6ratt.fsf@stupidchicken.com> <878x0if9ul.fsf@stupidchicken.com><87od9e9gnx.fsf@stupidchicken.com><873aqp5mzs.fsf@stupidchicken.com> <87lk4h3vm5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205790430 31403 80.91.229.12 (17 Mar 2008 21:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 21:47:10 +0000 (UTC) Cc: 'Dan Nicolaescu' , "'Kim F. Storm'" , emacs-devel@gnu.org To: "'Chong Yidong'" , "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 17 22:47:38 2008 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.50) id 1JbNB0-0002Ip-35 for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2008 22:47:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbNAQ-0006Ie-8b for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2008 17:46:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbNAM-0006IZ-Rh for emacs-devel@gnu.org; Mon, 17 Mar 2008 17:46:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbNAL-0006IK-F6 for emacs-devel@gnu.org; Mon, 17 Mar 2008 17:46:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbNAL-0006IH-8W for emacs-devel@gnu.org; Mon, 17 Mar 2008 17:46:45 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JbNAK-0003ix-PB for emacs-devel@gnu.org; Mon, 17 Mar 2008 17:46:44 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m2HLjY5j022609; Mon, 17 Mar 2008 15:45:35 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m2HG159Z023681; Mon, 17 Mar 2008 15:45:33 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3612818491205790262; Mon, 17 Mar 2008 14:44:22 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 17 Mar 2008 14:44:22 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87lk4h3vm5.fsf@stupidchicken.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciIc7UJoBkcWup8QBexpyKgsG3w0wAAFMVA X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:92850 Archived-At: > If we're willing to ignore backward compatibility, I think > a good way to clean this up as follows: > - make transient-mark-mode a boolean again > - give mark-active a couple new possible values: > nil == same as now > t == mark active but no highlighting > `highlight' == mark active, highlight the region > `highlight-until-deactivated' == temporary TMM (like `lambda') > - change every relevant place in the code (including a couple of > spots in xdisp.c). For example, > (and transient-mark-mode mark-active) > would become > (memq mark-active '(highlight highlight-until-deactivated)) I have not been following all of the stuff in this thread - mea culpa. What is the reason for breaking backward compatibility and breaking 3rd-party code (e.g. the need to change (and transient-mark-mode mark-active) -> (memq mark-active '(highlight highlight-until-deactivated))? Is all of this only about satisfying those who want to let newbies use Shift to select text in a way that doesn't perturb their habit, or is something else behind this? If the former, it doesn't seem to me worth requiring code changes all over the place. It sounds like much ado about nothing (or little). If we gain nothing substantial by this, then count me among those who think it ain't broke now (and if it ain't broke, don't fix it). We have CUA selection mode, delete selection mode, PC selection mode, and transient mark mode. I've got nothing against adding yet another selection mode or combining some existing selection modes, but not at a cost of forcing changes to existing 3rd-party code. Please summarize the perceived need and, especially, the costs & benefits of the proposed changes. Thx.