all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wael-zwaiter@gmx.com
To: wael-zwaiter@gmx.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Lisp error when using M-x
Date: Sun, 10 Jan 2021 21:42:02 +0100	[thread overview]
Message-ID: <trinity-d2a5900e-6c0a-44b0-95d7-0312dfc7649c-1610311322406@3c-app-mailcom-bs11> (raw)
In-Reply-To: <trinity-04a457d6-56b4-4eb5-ad50-2898969bafb8-1610311119952@3c-app-mailcom-bs11>

The problem occurs with ivy as follows.  How is best to have the keybindings?

  (require 'ivy)
  (ivy-mode 1)
  (setq ivy-use-virtual-buffers t)
  (setq ivy-count-format "(%d/%d) ")

  (global-set-key (kbd "C-s") 'swiper-isearch)
  (global-set-key (kbd "M-x") 'counsel-M-x)
  (global-set-key (kbd "C-x C-f") 'counsel-find-file)
  (global-set-key (kbd "M-y") 'counsel-yank-pop)
  (global-set-key (kbd "<f1> f") 'counsel-describe-function)
  (global-set-key (kbd "<f1> v") 'counsel-describe-variable)
  (global-set-key (kbd "<f1> l") 'counsel-find-library)
  (global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
  (global-set-key (kbd "<f2> u") 'counsel-unicode-char)
  (global-set-key (kbd "<f2> j") 'counsel-set-variable)
  (global-set-key (kbd "C-x b") 'ivy-switch-buffer)
  (global-set-key (kbd "C-c v") 'ivy-push-view)
  (global-set-key (kbd "C-c V") 'ivy-pop-view)  )



> Sent: Monday, January 11, 2021 at 8:38 AM
> From: wael-zwaiter@gmx.com
> To: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Lisp error when using M-x
>
> Am getting a problem when hitting M-x, with the following error.
>
> Debugger entered--Lisp error: (wrong-type-argument commandp counsel-M-x)
>   call-interactively(counsel-M-x nil nil)
>   command-execute(counsel-M-x)
>
>
>
>
>
>



  reply	other threads:[~2021-01-10 20:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10 20:38 Lisp error when using M-x wael-zwaiter
2021-01-10 20:42 ` wael-zwaiter [this message]
2021-01-10 20:54   ` Óscar Fuentes
2021-01-10 21:03     ` Stefan Monnier
2021-01-10 21:10       ` wael-zwaiter
2021-01-10 21:17       ` wael-zwaiter
2021-01-10 22:55         ` Óscar Fuentes
2021-01-10 22:59           ` wael-zwaiter
2021-01-10 23:33             ` Óscar Fuentes
2021-01-11  0:00               ` wael-zwaiter
2021-01-11  4:25             ` Robert Thorpe

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=trinity-d2a5900e-6c0a-44b0-95d7-0312dfc7649c-1610311322406@3c-app-mailcom-bs11 \
    --to=wael-zwaiter@gmx.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.