all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: command-execute: Wrong type argument: commandp, helm-command-prefix
Date: Fri, 5 May 2023 13:13:14 +0800	[thread overview]
Message-ID: <CAGP6PO+D-1ftJ1CFJ+svi_hOQ2xuNir6+kTp1QeXwvm=cOJCqw@mail.gmail.com> (raw)
In-Reply-To: <87h6srxtby.fsf@web.de>

On Fri, May 5, 2023 at 1:04 PM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> Ruijie Yu via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
> >     (autoload #'helm-command-prefix "helm-bibtex" nil t))
>                                                     ^^^^^
>
> Is this expected to work reliably?  AFAIU, the thing to be autoloaded is
> a keymap, not an interactive function.

But it really works smoothly, and you can check the example
configuration provided by the author of this package here [1]:

(require 'helm-config)

(global-set-key (kbd "<menu>") 'helm-command-prefix)

(define-key helm-command-map "b" 'helm-bibtex)
(define-key helm-command-map "B" 'helm-bibtex-with-local-bibliography)
(define-key helm-command-map "n" 'helm-bibtex-with-notes)
(define-key helm-command-map (kbd "<menu>") 'helm-resume)


[1] https://github.com/tmalsburg/helm-bibtex#key-bindings

> Michael.

Zhao



  reply	other threads:[~2023-05-05  5:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05  0:34 command-execute: Wrong type argument: commandp, helm-command-prefix Hongyi Zhao
2023-05-05  1:40 ` Platon Pronko
2023-05-05  2:45   ` Ruijie Yu via Users list for the GNU Emacs text editor
2023-05-05  4:18     ` Hongyi Zhao
2023-05-05  5:04     ` Michael Heerdegen
2023-05-05  5:13       ` Hongyi Zhao [this message]
2023-05-05  5:18       ` Ruijie Yu via Users list for the GNU Emacs text editor
2023-05-05  5:59         ` Hongyi Zhao

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='CAGP6PO+D-1ftJ1CFJ+svi_hOQ2xuNir6+kTp1QeXwvm=cOJCqw@mail.gmail.com' \
    --to=hongyi.zhao@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.