all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: C-h, F1, Backspace, and splash screen
Date: Thu, 28 May 2009 22:17:22 -0600	[thread overview]
Message-ID: <gvnnkf$1a8$1@ger.gmane.org> (raw)
In-Reply-To: <jwv3aaoonc9.fsf-monnier+emacs@gnu.org>

Stefan Monnier wrote:
>> Nevertheless, if you look back at my first post in this thread
>> (http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00569.html), isn't
>> there a bug in the way startup.el prepares the splash screen?
> 
> Yes, indeed.
> I've just installed the patch below which should address this problem.
> 
> 
>         Stefan
> 
> 
> --- startup.el.~1.530.~	2009-04-28 14:57:44.000000000 -0400
> +++ startup.el	2009-05-28 21:26:50.000000000 -0400
> @@ -1824,6 +1824,11 @@
>  
>    ;; If keys have their default meanings,
>    ;; use precomputed string to save lots of time.
> +  (let ((c-h-accessible
> +         ;; If normal-erase-is-backspace is used on a tty, there's
> +         ;; no way to invoke C-h and you have to use F1 instead.
> +         (or (not (char-table-p keyboard-translate-table))
> +             (eq (aref keyboard-translate-table ?\C-h) ?\C-h))))
>    (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)
> @@ -1831,34 +1836,33 @@
>  	   (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
> +        (let ((help (if c-h-accessible "C-h" "<f1>")))
>  	(insert "
> -Get help\t   C-h  (Hold down CTRL and press h)
> +Get help\t   " help "  (Hold down CTRL and press h)

That can lead to the following confusing text:

Get help	   <f1> (Hold down CTRL and press h)

-- 
Kevin Rodgers
Denver, Colorado, USA





  reply	other threads:[~2009-05-29  4:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gvnnkf$1a8$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.