unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C-h, F1, Backspace, and splash screen
@ 2009-05-28 16:26 Ken Brown
  2009-05-28 18:22 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Ken Brown @ 2009-05-28 16:26 UTC (permalink / raw)
  To: Emacs

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




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-05-29 22:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 16:26 C-h, F1, Backspace, and splash screen Ken Brown
2009-05-28 18:22 ` Stefan Monnier
2009-05-28 18:34   ` Ken Brown
2009-05-28 21:01     ` Stefan Monnier
2009-05-28 21:19       ` Ken Brown
2009-05-29  1:32         ` Stefan Monnier
2009-05-29  4:17           ` Kevin Rodgers
2009-05-29 11:48           ` Ken Brown
2009-05-28 22:44     ` David Robinow
2009-05-28 23:06       ` Ken Brown
2009-05-29 14:23         ` Rupert Swarbrick
2009-05-29 22:07           ` David Robinow

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).