From: VanL <van@scratch.space>
To: help-gnu-emacs@gnu.org
Subject: Re: MELPA upgrade error
Date: Wed, 19 Feb 2020 12:17:58 +1100 [thread overview]
Message-ID: <m2pnebml2x.fsf@scratch.space> (raw)
In-Reply-To: jwv5zg4geq0.fsf-monnier+emacs@gnu.org
>> (setq help-char (kbd "<f1>"))
>
> (kbd "<f1>") returns a sequence (vector) of keys. `help-char` expects (as its
> name implies) a character (i.e. an integer).
Using,
(setq help-char 'f1) ; after reading [1]
Previously,
(setq help-char [f1])
(setq help-char (kbd "<f1>")) ; ignorantly copy & pasted
; set the help-char value to [f1]
; now the value is plainly f1
Footnotes:
[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Function-Keys.html
-- VL
李 Take a piss.
德 Take the piss.
煒 The difference is the article.
next prev parent reply other threads:[~2020-02-19 1:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 0:50 MELPA upgrade error Emanuel Berg via Users list for the GNU Emacs text editor
2020-02-18 7:28 ` VanL
2020-02-18 14:20 ` Stefan Monnier
2020-02-19 1:17 ` VanL [this message]
2020-02-20 11:53 ` VanL
2020-02-20 13:26 ` Stefan Monnier
2020-02-20 23:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-02-21 0:26 ` VanL
2020-02-21 0:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2pnebml2x.fsf@scratch.space \
--to=van@scratch.space \
--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.
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).