From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gareth Rees Newsgroups: gmane.emacs.bugs Subject: key exits Shell Mode (on Windows) Date: Wed, 17 Oct 2007 11:48:49 +0100 Message-ID: <4715E891.9020801@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192685216 19348 80.91.229.12 (18 Oct 2007 05:26:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 05:26:56 +0000 (UTC) Cc: Gareth Rees To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 18 07:26:56 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IiNuK-0004Gk-6f for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2007 07:26:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiNuC-00013H-VO for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2007 01:26:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ii6WF-0001k4-9j for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2007 06:52:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ii6WD-0001jD-DD for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2007 06:52:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ii6WD-0001j8-83 for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2007 06:52:53 -0400 Original-Received: from bowser.zoonami.com ([193.112.141.193]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ii6WC-0002yf-Nx for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2007 06:52:52 -0400 Original-Received: from [193.112.141.207] (ermintrude.zoonami.com [193.112.141.207]) by bowser.zoonami.com (8.12.11/8.12.11) with ESMTP id l9HArA0m079876; Wed, 17 Oct 2007 11:53:10 +0100 (BST) (envelope-from gareth.rees@pobox.com) User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) X-Virus-Scanned: ClamAV 0.90.1/4542/Tue Oct 16 21:31:56 2007 on bowser.zoonami.com X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-Mailman-Approved-At: Thu, 18 Oct 2007 01:26:43 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16774 Archived-At: 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 What I expect to happen: the bell should ring. ( 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 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 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