unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Cc: Heime <heimeborgia@protonmail.com>
Subject: Re: static-if problem when using corfu
Date: Sat, 07 Dec 2024 09:43:23 +0100	[thread overview]
Message-ID: <87v7vvubmc.fsf@gnu.org> (raw)
In-Reply-To: <tbYqhcqrWjF0hLjYCf_3SabztM90inyjIAsedQT85vy2xcOBuNSVY5ZfTBUJmbyHMEh6GescS3o94-J_iYtTGgP1AezL1kdJfiAX7WA8Sfk=@protonmail.com> (Heime via Users list for the's message of "Fri, 06 Dec 2024 21:12:27 +0000")

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.

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

Bye,
  Tassilo



  reply	other threads:[~2024-12-07  8:43 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 [this message]
2024-12-07 10:47   ` Heime via Users list for the GNU Emacs text editor
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

  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=87v7vvubmc.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=heimeborgia@protonmail.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.
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).