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: delete-selection-mode Date: Sun, 21 Mar 2010 10:01:36 +0100 Organization: Organization?!? Message-ID: <87r5nedp5b.fsf@lola.goethe.zz> 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> <877hp6ultk.fsf@anzu.internal.golden-gryphon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269162126 31928 80.91.229.12 (21 Mar 2010 09:02:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2010 09:02:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 21 10:02:02 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 1NtH2m-0002gQ-9y for ged-emacs-devel@m.gmane.org; Sun, 21 Mar 2010 10:02:00 +0100 Original-Received: from localhost ([127.0.0.1]:48774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtH2l-0005Nm-Qw for ged-emacs-devel@m.gmane.org; Sun, 21 Mar 2010 05:01:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtH2f-0005Ng-AJ for emacs-devel@gnu.org; Sun, 21 Mar 2010 05:01:53 -0400 Original-Received: from [140.186.70.92] (port=45492 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtH2d-0005NW-9o for emacs-devel@gnu.org; Sun, 21 Mar 2010 05:01:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtH2b-0004mp-JO for emacs-devel@gnu.org; Sun, 21 Mar 2010 05:01:51 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41993) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtH2b-0004mc-4K for emacs-devel@gnu.org; Sun, 21 Mar 2010 05:01:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NtH2Z-0002c0-FC for emacs-devel@gnu.org; Sun, 21 Mar 2010 10:01:47 +0100 Original-Received: from p5b2c2a31.dip.t-dialin.net ([91.44.42.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Mar 2010 10:01:47 +0100 Original-Received: from dak by p5b2c2a31.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Mar 2010 10:01:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5b2c2a31.dip.t-dialin.net 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/23.1.92 (gnu/linux) Cancel-Lock: sha1:T3/aYUBXruM97HuOOQYooOXS0/E= 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:122407 Archived-At: Manoj Srivastava writes: > On Thu, Mar 18 2010, Stefan Monnier wrote: > > >> 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. > > I like the functionality of highlighting the region whenever > the mark is active -- which is the only reason I have t-m-m turned > on. Is there another way of achieving that, without having all the > highlighted region disappearing on me accidentally, as it does now? While I would love to use your experience to bolster my stance, delete-selection-mode has not been enabled by default yet. So it would appear that we should find a different culprit. Either delete-selection-mode has been enabled by your distribution defaults, or you are experiencing a different problem. It would be good to know. Do you consider any of the following likely? a) you marked the region with the mouse, then hit DEL or backspace. This currently deletes the whole active region. b) you clicked on one end of the region with mouse-3 _twice_. That is the Emacs way to kill a region with the mouse. I don't have a good idea what, short of delete-selection-mode, would cause your pains. So what is the output of M-: delete-selection-mode RET for you? -- David Kastrup