From: Gareth Rees <gareth.rees@pobox.com>
To: bug-gnu-emacs@gnu.org
Cc: Gareth Rees <gareth.rees@pobox.com>
Subject: <delete> key exits Shell Mode (on Windows)
Date: Wed, 17 Oct 2007 11:48:49 +0100 [thread overview]
Message-ID: <4715E891.9020801@pobox.com> (raw)
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
next reply other threads:[~2007-10-17 10:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 10:48 Gareth Rees [this message]
2007-10-18 8:18 ` <delete> key exits Shell Mode (on Windows) Jason Rumney
2007-10-18 13:30 ` Jonathan Goldblatt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4715E891.9020801@pobox.com \
--to=gareth.rees@pobox.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).