all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Lisp error when using M-x
Date: Sun, 10 Jan 2021 16:03:47 -0500	[thread overview]
Message-ID: <jwvim84a4l6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 87r1mswm0x.fsf@telefonica.net

>> The problem occurs with ivy as follows.  How is best to have the keybindings?
>>
>>   (require 'ivy)
>>   (ivy-mode 1)

How did you install `ivy`?  The normal installation via `package.el`
should make the above `require` unnecessary.

>>   (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)
>
> Probably you need a (require 'counsel) and a (require 'swiper) as well
> before those two lines.

But shouldn't those packages's autoloads take care of that already?


        Stefan




  reply	other threads:[~2021-01-10 21:03 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
2021-01-10 20:54   ` Óscar Fuentes
2021-01-10 21:03     ` Stefan Monnier [this message]
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=jwvim84a4l6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.