From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: C-h, F1, Backspace, and splash screen Date: Thu, 28 May 2009 12:26:27 -0400 Message-ID: <4A1EBB33.2060602@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243528012 21097 80.91.229.12 (28 May 2009 16:26:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2009 16:26:52 +0000 (UTC) To: Emacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 28 18:26:49 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M9iRL-00009I-9l for ged-emacs-devel@m.gmane.org; Thu, 28 May 2009 18:26:47 +0200 Original-Received: from localhost ([127.0.0.1]:54178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9iRI-0002q0-30 for ged-emacs-devel@m.gmane.org; Thu, 28 May 2009 12:26:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9iRB-0002mm-IJ for emacs-devel@gnu.org; Thu, 28 May 2009 12:26:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9iR6-0002hL-Q9 for emacs-devel@gnu.org; Thu, 28 May 2009 12:26:37 -0400 Original-Received: from [199.232.76.173] (port=52840 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9iR6-0002hF-Ma for emacs-devel@gnu.org; Thu, 28 May 2009 12:26:32 -0400 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:58181 helo=authusersmtp.mail.cornell.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9iR6-0004vW-4D for emacs-devel@gnu.org; Thu, 28 May 2009 12:26:32 -0400 Original-Received: from [128.84.234.191] (markov.math.cornell.edu [128.84.234.191]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id n4SGQQ0O004182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 28 May 2009 12:26:27 -0400 (EDT) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111150 Archived-At: As I've announced in a different thread, I'm trying to bring cygwin's emacs packages up to date. One annoyance that I've encountered, which may not be cygwin specific, is that C-h is not available as the help key when emacs is run in a text terminal. I've looked at the documentation for normal-erase-is-backspace-mode, and it seems that this is to be expected. But the splash screen still says that C-h is the help key, which could be confusing to new emacs users. Such users may not know how to get to the documentation that tells them to use F1 as the help key. It seems that the problem is in startup.el: ;; If keys have their default meanings, ;; use precomputed string to save lots of time. (if (and (eq (key-binding "\C-h") 'help-command) (eq (key-binding "\C-xu") 'advertised-undo) (eq (key-binding "\C-x\C-c") 'save-buffers-kill-terminal) (eq (key-binding "\C-ht") 'help-with-tutorial) (eq (key-binding "\C-hi") 'info) (eq (key-binding "\C-hr") 'info-emacs-manual) (eq (key-binding "\C-h\C-n") 'view-emacs-news)) (progn (insert " Get help\t C-h (Hold down CTRL and press h) ") Given that C-h has been translated to DEL by normal-erase-is-backspace-mode, shouldn't the startup code detect this and tell the user that F1 is the help key? Or am I misunderstanding something? Ken