From: Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Tassilo Horn <tsdh@gnu.org>
Cc: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: static-if problem when using corfu
Date: Sat, 07 Dec 2024 10:47:40 +0000 [thread overview]
Message-ID: <9vdk2HmSOWsmmBc-HPcSDi_5nyNnpiQwAY8UBQ6paLkMpUhn5K346qt08h2Ji0LOkJWHabeTUhuoUBBOPhd8n64oh2IXLUhuXAvBMVRCvus=@protonmail.com> (raw)
In-Reply-To: <87v7vvubmc.fsf@gnu.org>
Sent with Proton Mail secure email.
On Saturday, December 7th, 2024 at 8:43 PM, Tassilo Horn <tsdh@gnu.org> wrote:
> Heime via Users list for the GNU Emacs text editor help-gnu-emacs@gnu.org writes:
>
> > Am having a go at corfu, but am getting
> >
> > Lisp error: (void-function static-if)
>
>
> It looks like you use an emacs < 30 and the compat-30 library is not
> installed although that's a declared dependency of corfu.
I am using
GNU Emacs 30.0.50 of 2023-07-20
(build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.15.10)
> --8<---------------cut here---------------start------------->8---
>
> ;;; corfu.el --- COmpletion in Region FUnction -- lexical-binding: t --
>
> ;; Copyright (C) 2021-2024 Free Software Foundation, Inc.
>
> ;; Author: Daniel Mendler mail@daniel-mendler.de
>
> ;; Maintainer: Daniel Mendler mail@daniel-mendler.de
>
> ;; Created: 2021
> ;; Version: 1.5
> ;; Package-Requires: ((emacs "28.1") (compat "30"))
> ;; URL: https://github.com/minad/corfu
> ;; Keywords: abbrev, convenience, matching, completion, text
> --8<---------------cut here---------------end--------------->8---
>
>
> How did you install it? - Tassilo
From source code, requiring the library and
(defun corfu-launch ()
"Place 'corfu feature in a ready operational state."
(setq corfu-auto t)
(setq corfu-quit-no-match 'separator)
(add-hook 'prog-mode-hook 'corfu-mode)
(global-corfu-mode))
next prev parent reply other threads:[~2024-12-07 10:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-06 21:12 static-if problem when using corfu Heime via Users list for the GNU Emacs text editor
2024-12-07 8:43 ` Tassilo Horn
2024-12-07 10:47 ` Heime via Users list for the GNU Emacs text editor [this message]
2024-12-07 11:57 ` Tassilo Horn
2024-12-07 12:20 ` Heime via Users list for the GNU Emacs text editor
2024-12-07 13:15 ` Stefan Monnier 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9vdk2HmSOWsmmBc-HPcSDi_5nyNnpiQwAY8UBQ6paLkMpUhn5K346qt08h2Ji0LOkJWHabeTUhuoUBBOPhd8n64oh2IXLUhuXAvBMVRCvus=@protonmail.com' \
--to=help-gnu-emacs@gnu.org \
--cc=heimeborgia@protonmail.com \
--cc=tsdh@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.