From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Thu, 18 Mar 2010 22:54:17 +0200 Organization: JURTA Message-ID: <878w9pic5i.fsf@mail.jurta.org> References: <87ocitw2dl.fsf@stupidchicken.com> <201003130001.o2D01FFQ003489@godzilla.ics.uci.edu> <87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org> <20100317143519.GB4381@muc.de> <8739zy68n2.fsf@lola.goethe.zz> <87zl261yta.fsf@telefonica.net> <87sk7y4rdv.fsf@lola.goethe.zz> <87sk7y39qg.fsf@mail.jurta.org> <87aau63vww.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268945968 22253 80.91.229.12 (18 Mar 2010 20:59:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 20:59:28 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 21:59:23 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 1NsMoM-0008Im-Vt for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 21:59:23 +0100 Original-Received: from localhost ([127.0.0.1]:34187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsMoM-0004Dc-EF for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 16:59:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsMmE-0001rj-DC for emacs-devel@gnu.org; Thu, 18 Mar 2010 16:57:10 -0400 Original-Received: from [140.186.70.92] (port=41197 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsMmC-0001oR-Du for emacs-devel@gnu.org; Thu, 18 Mar 2010 16:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsMmB-0006Y1-5i for emacs-devel@gnu.org; Thu, 18 Mar 2010 16:57:08 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:39146 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsMm7-0006Wd-24; Thu, 18 Mar 2010 16:57:03 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.94.132.cable.starman.ee [82.131.94.132]) by mx2.starman.ee (Postfix) with ESMTP id C2BBE3F40D9; Thu, 18 Mar 2010 22:56:56 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Thu, 18 Mar 2010 10:27:36 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:122215 Archived-At: >>> So enabling delete-selection-mode should not affect them. > >> delete-selection-mode is an interactive autoloaded Lisp function in >> `delsel.el'. > >> [...] > >> When Delete Selection mode is enabled, Transient Mark mode is also >> enabled and typed text replaces the selection if the selection is >> active. Otherwise, typed text is just inserted at point regardless >> of any selection. > >> So wrong on count #2 as well. > > I take it for granted that if we enable something like > delete-selection-mode, we'll only make it do something when the region > is active, so people who turned t-m-m off will only be affected when > they do C-u C-x C-x or when they do C-SPC C-SPC to explicitly activate > the region (or when they select with the mouse). In this sense, people > who turned off t-m-m pretty much won't be affected. Yes, this is exactly what I meant. That's why I said "delete-selection-mode SHOULD NOT affect them". Sorry I didn't elaborate more in my previous post. -- Juri Linkov http://www.jurta.org/emacs/