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: Sat, 20 Mar 2010 19:59:26 -0700 Message-ID: <76B04A5C72604084B176D4F9CECD3773@us.oracle.com> References: <87k4t92hmb.fsf@home.jasonrumney.net> <87ocij1wdu.fsf@home.jasonrumney.net> <3BEB86EFB53543918F62839986C72F60@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1269140428 20348 80.91.229.12 (21 Mar 2010 03:00:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2010 03:00:28 +0000 (UTC) Cc: rms@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org, juri@jurta.org, dann@ics.uci.edu, monnier@iro.umontreal.ca, acm@muc.de, jasonr@gnu.org To: "'Lennart Borgman'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 21 04:00:14 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 1NtBOd-0003bs-QV for ged-emacs-devel@m.gmane.org; Sun, 21 Mar 2010 04:00:12 +0100 Original-Received: from localhost ([127.0.0.1]:45755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtBOd-0003WP-CE for ged-emacs-devel@m.gmane.org; Sat, 20 Mar 2010 23:00:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtBOZ-0003VE-CX for emacs-devel@gnu.org; Sat, 20 Mar 2010 23:00:07 -0400 Original-Received: from [140.186.70.92] (port=44367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtBOT-0003Sb-VU for emacs-devel@gnu.org; Sat, 20 Mar 2010 23:00:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtBOP-00025G-9t for emacs-devel@gnu.org; Sat, 20 Mar 2010 23:00:01 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:58689) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtBOD-00024Y-FO; Sat, 20 Mar 2010 22:59:45 -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 o2L2xfFU000789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 21 Mar 2010 02:59:42 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 o2L27alI031697; Sun, 21 Mar 2010 02:59:39 GMT Original-Received: from abhmt006.oracle.com by acsmt355.oracle.com with ESMTP id 97894151269140363; Sat, 20 Mar 2010 19:59:23 -0700 Original-Received: from dradamslap1 (/24.5.179.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 20 Mar 2010 19:59:23 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcrIlAxETvr7y2DQQsyVtHE5+nNAGwACu8Lg In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4BA58B9D.00D5: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:122399 Archived-At: > >> > =A0 =A0I think it is a very good suggestion to be able to have > >> > =A0 =A0one color for=A0regions that act in way compatible with = almost > >> > =A0 =A0every editing=A0environment and one that acts in the way = special > >> > =A0 =A0to Emacs. > >> > > >> > I have nothing against this feature, but I point out=20 > >> > that choosing another color, and making it properly > >> > distinctive in two different color environments (dark > >> > background and light background), is not going to be easy. > >> > >> Maybe use secondary-selection for the Emacs version? > > > > No thanks. We're looking for less confusion, not more. >=20 > Please explain. Is anyone really using secondary-selection? (I do have > one library using it, but I do not use x so I am not sure whether it > is used otherwise.) Explanation: Face `secondary-selection' is for the secondary selection. = End of story. Anyone use it? I, for one, use the secondary selection all of the time. 1. I use my own extensions for it, including a secondary ring, analogous = to the kill ring. I bind `C-M-y' to a `secondary-dwim' command that I use to both set the secondary and yank it. `M-y' cycles the normal kill ring or the = secondary ring, depending on whether it follows `C-y' or `C-M-y'. http://www.emacswiki.org/emacs/SecondarySelection#secondary-sel.el 2. I also use the secondary with the mouse - especially handy with `delete-selection-mode'. Double-click, yank secondary - here and there. = My guess is that others do this too. If not, I don't know why not (unless they = never use a mouse). 3. I also use the secondary with isearch. I have `C-SPC' during isearch = toggle putting the active region around the search hit when you exit. When = that's on, I can selectively replace search targets with the secondary. http://www.emacswiki.org/emacs/IsearchPlus The beauty of the secondary selection is that it isn't affected by the = changes to the `kill-ring' or where the region is. Extending the single = secondary selection to a ring has the same effect as the vanilla Emacs extension = of a single-item clipboard to the kill ring.