unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: wael-zwaiter@gmx.com
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Lisp error when using M-x
Date: Sun, 10 Jan 2021 22:10:19 +0100	[thread overview]
Message-ID: <trinity-741afa86-f588-48d7-8e73-9a9bdbcfdfef-1610313019028@3c-app-mailcom-bs11> (raw)
In-Reply-To: <jwvim84a4l6.fsf-monnier+emacs@gnu.org>

> Sent: Monday, January 11, 2021 at 9:03 AM
> From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Lisp error when using M-x
>
> >> 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.

I am using ivy from source.

> >>   (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?

If you say so


>         Stefan
>
>
>



  reply	other threads:[~2021-01-10 21:10 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
2021-01-10 21:10       ` wael-zwaiter [this message]
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

  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=trinity-741afa86-f588-48d7-8e73-9a9bdbcfdfef-1610313019028@3c-app-mailcom-bs11 \
    --to=wael-zwaiter@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).