From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Manoj Srivastava Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Sun, 21 Mar 2010 08:33:34 -0700 Organization: Manoj Srivastava's Home Message-ID: <87ljdlu1td.fsf@anzu.internal.golden-gryphon.com> 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> <87r5nedp5b.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 1269185652 2075 80.91.229.12 (21 Mar 2010 15:34:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2010 15:34:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 21 16:34:08 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 1NtNAC-0001dn-51 for ged-emacs-devel@m.gmane.org; Sun, 21 Mar 2010 16:34:07 +0100 Original-Received: from localhost ([127.0.0.1]:53789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtNAB-0006nl-7i for ged-emacs-devel@m.gmane.org; Sun, 21 Mar 2010 11:34:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtNA5-0006nT-Mw for emacs-devel@gnu.org; Sun, 21 Mar 2010 11:33:57 -0400 Original-Received: from [140.186.70.92] (port=44007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtNA4-0006nL-9A for emacs-devel@gnu.org; Sun, 21 Mar 2010 11:33:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtNA2-0006gY-Gj for emacs-devel@gnu.org; Sun, 21 Mar 2010 11:33:56 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34248) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtNA2-0006gJ-4r for emacs-devel@gnu.org; Sun, 21 Mar 2010 11:33:54 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NtNA0-0001Vg-4f for emacs-devel@gnu.org; Sun, 21 Mar 2010 16:33:52 +0100 Original-Received: from c-24-16-70-55.hsd1.wa.comcast.net ([24.16.70.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Mar 2010 16:33:52 +0100 Original-Received: from srivasta by c-24-16-70-55.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Mar 2010 16:33:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 73 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-16-70-55.hsd1.wa.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAACYAAAAwCAMAAABKbPgaAAAAM1BMVEUAAADIjH/0rp1KPz79 0b+ic2nlpJc2Ly2AY17VlYb4uqi2gHQXFBN2WVXgno5iT02Xa2Nx+jaIAAACVElEQVQ4jeWU23bj IAxFLUAggQX6/6+dI9LGTpo+9mlYiXNhc3TnOP50naZE0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A8=s;!=O`ja|@PEzb&i0}Qp,`Z\:6:OmRi* Cancel-Lock: sha1:WIQIO9StuFzZmKiGviPC89Kkhiw= 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:122412 Archived-At: On Sun, Mar 21 2010, David Kastrup wrote: > 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. I often use my mouse to highlight the region. I might have hit backspace, though I thinhk it is more likely that I pasted something with my mouse. Could that have caused the region to be delete? (I have now set it so that only [delete] actually depetes the highlighted region, not backspace or c-d) > 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. No, that I was aware of, and my fingers are trained not to do so. > 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? Well, it is nil now. I do not think I it turned on, though. I definitely know that I would _not_ want it turned on; and I would like to request the Emacs developers to consider that long time Emacs users who are not necesarrily elisp experts or follow eacs devel list are also a resource that should nto be squandered; and so _always_ prioritizing potential new users over older users might turn out to be counter productive. The potential new users are often fickel, us old times have loyally stuck with Emacs. Changing the defauls ought to come with warnings, and explicit instructions on how to get the old behaviour back, for those of us who merely use Emacs as a tool, and do not follow development. I still miss the old behaviour of copying text by using shift-button 3 over an area of text to past the text at point (though I now have a local hack to enable it for me) manoj -- Q: How many WASPs does it take to change a lightbulb? A: One. Manoj Srivastava 4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C