From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Text selection can't be erased by pressing delete Date: Fri, 20 Aug 2010 10:42:38 -0600 Message-ID: <20100820164238.GA3146@dementia.proulx.com> References: <4C6E7059.5040805@sdesigns.eu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282322589 4020 80.91.229.12 (20 Aug 2010 16:43:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2010 16:43:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 20 18:43:08 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1OmUgO-0005zP-1M for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Aug 2010 18:43:08 +0200 Original-Received: from localhost ([127.0.0.1]:37961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmUgN-0008Dg-Ku for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Aug 2010 12:43:07 -0400 Original-Received: from [140.186.70.92] (port=54972 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmUfy-0008DM-Nk for help-gnu-emacs@gnu.org; Fri, 20 Aug 2010 12:42:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmUfx-0007Ib-ES for help-gnu-emacs@gnu.org; Fri, 20 Aug 2010 12:42:42 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:51949) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmUfx-0007I7-9W for help-gnu-emacs@gnu.org; Fri, 20 Aug 2010 12:42:41 -0400 Original-Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id CD29B21310 for ; Fri, 20 Aug 2010 10:42:38 -0600 (MDT) Original-Received: by dementia.proulx.com (Postfix, from userid 1000) id A56C53CC340; Fri, 20 Aug 2010 10:42:38 -0600 (MDT) Mail-Followup-To: Bob Proulx , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <4C6E7059.5040805@sdesigns.eu> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74751 Archived-At: Gabriel TEIXEIRA wrote: > I've been working with three simultaneous emacs windows, each one > containing a diferent project, and I noticed that two of those three are > presenting a weird behaviour. On what system are you running emacs? Is this GNU/Unix, Cygwin, MSYS, other? Running in a terminal window, or under a X11, or other native graphics? > When I select a text in those windows (like by pushing Shift and > then the arrow keys), and then I push the key Delete, I expect that > the selected/highlighted text be erased, but instead, it erases a > single character to the left of the cursor (like would happen > without the selection) and the selection disappears (although the > same operation works with Backspace or Shift+Delete normally). It > seems that the Delete key is not anymore aware of the text > selection. That would be the "normal" traditional behavior of Emacs on Unix machines for all of time prior to the recent introduction of Microsoft key bindings. > It is even more weird the fact that this doesn't happen with the > window that I opened the last and the other windows that I opened > after to check the behaviour. I seems that emacs "wears" after some > time opened. That does seem strange that it would change behavior depending upon whether you have launched subsequent emacs processes. > Anyone have any idea of what's this? Is this a bug or I typed > accidentaly any command that triggers this behaviour? I do not use CUA mode but the behavior makes me wonder if something is causing it to be enabled and then disabled somehow. http://www.emacswiki.org/CuaMode What is the behavior when using emacs without customizations? emacs -q And without any initialization? emacs -Q Thinking that there must be something in the initialization that is behaving undesirably. Bob