[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text selection can't be erased by pressing delete

From: Gabriel TEIXEIRA
Subject: Re: Text selection can't be erased by pressing delete
Date: Fri, 20 Aug 2010 16:02:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100713 Thunderbird/3.0.6

On 20/08/2010 15:15, Gabriel TEIXEIRA wrote:

On 20/08/2010 14:27, Eli Zaretskii wrote:
Date: Fri, 20 Aug 2010 14:08:57 +0200
From: Gabriel TEIXEIRA<>

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. 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. 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. Anyone have any idea of what's this? Is this a bug or I typed
accidentaly any command that triggers this behaviour?
What does the following command display, when you invoke it from each
of the 3 windows?

   C-h c<Delete>

That is, type "C-h c", the press the<Delete>  key.

Also, what version of Emacs is that?  What does "M-x emacs-version"

Please, disconsider my last e-mail, here it is the correct stuff:

In the ill windows:

C-d (translated from <delete>) runs the command c-electric-delete-forward
C-d (translated from <delete>) runs the command c-electric-delete-forward

And in the good windows:
C-d (translated from <delete>) runs the command c-electric-delete-forward

And, yes, I forgot to tell the emacs version before asking. Here it is:
GNU Emacs (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-07-22 on kobe

I also found that when doing a selection and hitting Enter or any other character inserting key, the entire selection will be replaced by the character in the good window but in the ill windows the character will be just inserted and the selection will be unselected. Hopefully this can help.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]