From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Why is C-d not bound to `delete-forward-char'? Date: Fri, 16 Jan 2015 16:17:20 -0600 Message-ID: <87a91i1ibz.fsf@red-bean.com> Reply-To: Karl Fogel NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421446666 8522 80.91.229.3 (16 Jan 2015 22:17:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2015 22:17:46 +0000 (UTC) To: Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 16 23:17:42 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YCFD2-0002EQ-Aa for ged-emacs-devel@m.gmane.org; Fri, 16 Jan 2015 23:17:40 +0100 Original-Received: from localhost ([::1]:57652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCFD1-0008Ac-51 for ged-emacs-devel@m.gmane.org; Fri, 16 Jan 2015 17:17:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCFCx-0008AH-R9 for emacs-devel@gnu.org; Fri, 16 Jan 2015 17:17:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCFCk-00052v-Ow for emacs-devel@gnu.org; Fri, 16 Jan 2015 17:17:35 -0500 Original-Received: from mail-yh0-x236.google.com ([2607:f8b0:4002:c01::236]:51598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCFCk-000514-HM for emacs-devel@gnu.org; Fri, 16 Jan 2015 17:17:22 -0500 Original-Received: by mail-yh0-f54.google.com with SMTP id c41so11315473yho.13 for ; Fri, 16 Jan 2015 14:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:reply-to:date:message-id:mime-version :content-type; bh=rEGJAIP6DHGEuplizIgoxZdJnBPCbVzXzafG+69NYvE=; b=sf/VGStgGVvaArNHwZBQNjd9Cy4kgCabCiYZgQ9AgIMe9Sy9fwFyNCjjgiWLxQO9uZ 40lsGTZ6o+wodXXoVmA4MWeixyDF04xn6I5iNnKb+c7d5g/61RzJxIx2zF5xd5FfJuwX RbHgjE1Ai+N3MRtwzi3ZwEm+DqbmECypCuMAXgdLk5h3iYeq01gJbxehhHIvM/PyY8Bc 6IeEYFFUIGI1XzFERiG3FadH4a+Rpd20HbS8HBluPUDiwg2Y8fDUfbn3i5acFRGsBlbd iBRDGGKd4zHC7xf8VXkd7G9JuJk2uyuuCEapkxfrm4OK0gmrVEzjAGdMOq+6oh3bbeXR mEVA== X-Received: by 10.236.62.136 with SMTP id y8mr10895815yhc.13.1421446641326; Fri, 16 Jan 2015 14:17:21 -0800 (PST) Original-Received: from kdesk (74-92-190-114-Illinois.hfc.comcastbusiness.net. [74.92.190.114]) by mx.google.com with ESMTPSA id 28sm3202773yhw.17.2015.01.16.14.17.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jan 2015 14:17:20 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181352 Archived-At: Does anyone know why C-d is bound to `delete-char' instead of 'delete-forward-char'? If I run "C-h k C-d", I get the help for `delete-char', which says: | C-d runs the command delete-char (found in global-map), which is an | interactive built-in function in `C source code'. | | It is bound to C-d. | | (delete-char N &optional KILLFLAG) | | Delete the following N characters (previous if N is negative). | Optional second arg KILLFLAG non-nil means kill instead (save in | kill ring). Interactively, N is the prefix arg, and KILLFLAG is set | if N was explicitly specified. | | The command `delete-forward-char' is preferable for interactive use, | e.g. because it respects values of `delete-active-region' and | `overwrite-mode'. According to that last paragraph, `delete-forward-char' would be preferable for interactive use, which implies that it should be on C-d instead, no? Best, -Karl