[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
<delete> key exits Shell Mode (on Windows)
From: |
Gareth Rees |
Subject: |
<delete> key exits Shell Mode (on Windows) |
Date: |
Wed, 17 Oct 2007 11:48:49 +0100 |
User-agent: |
Thunderbird 1.5.0.12 (Windows/20070509) |
I'm running GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on
Microsoft Windows XP.
My SHELL environment variable is set to "bash".
In a fresh emacs -q I type
M-x shell RET
<delete>
What I expect to happen: the bell should ring. (<delete> should delete
the character after point, but point is at the end of the buffer so
there is nothing to delete.)
What happens: the shell exits.
The reason for this is that <delete> is translated to C-d by
`function-key-map' and in Shell Mode C-d is bound to
`comint-delchar-or-maybe-eof'.
I suggest that <delete> and C-d be disunified in Shell Mode on Windows,
and the former should be bound to `delete-char'.
(This was reported in July, but not very clearly; see
http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-07/msg00210.html
I hope this report is better.)
--
Gareth Rees
- <delete> key exits Shell Mode (on Windows),
Gareth Rees <=