all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YE Qianchuan <stool.ye@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Is it legal to set `help-char' to nil?
Date: Fri, 12 Apr 2013 18:14:12 +0800	[thread overview]
Message-ID: <5167DE74.90409@gmail.com> (raw)
In-Reply-To: <87vc7tcoz7.fsf@web.de>

On 04/11/2013 06:59 PM, Michael Heerdegen wrote:
> I can reproduce this.  The error happens when loading "ehelp", here, in
> the definition of `electric-help-map':
>
> (define-key map (char-to-string help-char) 'electric-help-help)
Thanks for the explanation. It makes sense now.
>
> Similar examples are spread over diverse other elisp files.  So, we know
> now that Emacs indeed assumes that `help-char' is a character (and not
> nil), so nil is not allowed as a value.
OK, so it answered my question. nil is not legal for `help-char'.
>
> I don't have a better solution than to bind `help-char' to a different
> character.  You could also create a bug report - I think what you want
> could be made possible, but I don't know if emacs-dev would do it.
All the legal characters have been defined for other commands, or can't 
be used in terminal.
It's fine with me to just leave C-h for help in those cases.
Thank you.
>
> Regards,
>
> Michael.




  reply	other threads:[~2013-04-12 10:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.23660.1365244070.855.help-gnu-emacs@gnu.org>
2013-04-10 14:49 ` Is it legal to set `help-char' to nil? Michael Heerdegen
     [not found] ` <8738uyo2r3.fsf@web.de>
2013-04-11  9:21   ` YE Qianchuan
2013-04-11 10:59     ` Michael Heerdegen
2013-04-12 10:14       ` YE Qianchuan [this message]
2013-04-12 16:54         ` Stefan Monnier
2013-04-13 15:29           ` YE Qianchuan
2013-04-06 10:27 YE Qianchuan
2013-04-06 11:04 ` Peter Dyballa
2013-04-06 14:13   ` YE Qianchuan

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=5167DE74.90409@gmail.com \
    --to=stool.ye@gmail.com \
    --cc=help-gnu-emacs@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.