From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: static-if problem when using corfu Date: Sat, 07 Dec 2024 10:47:40 +0000 Message-ID: <9vdk2HmSOWsmmBc-HPcSDi_5nyNnpiQwAY8UBQ6paLkMpUhn5K346qt08h2Ji0LOkJWHabeTUhuoUBBOPhd8n64oh2IXLUhuXAvBMVRCvus=@protonmail.com> References: <87v7vvubmc.fsf@gnu.org> Reply-To: Heime Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9760"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 11:48:33 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJsMS-0002PF-Gu for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 11:48:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJsLp-0004fJ-72; Sat, 07 Dec 2024 05:47:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJsLn-0004f4-Kf for help-gnu-emacs@gnu.org; Sat, 07 Dec 2024 05:47:51 -0500 Original-Received: from mail-43167.protonmail.ch ([185.70.43.167]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJsLk-0006PV-4Y for help-gnu-emacs@gnu.org; Sat, 07 Dec 2024 05:47:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1733568465; x=1733827665; bh=L6Fe6nm8atceCd+p2N8dJx3mr66zcv0aANur4F+LoGE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=N/sE0k2AgbLk//hYjPBM0x6BiKhngvP98KMS9Q4IOIR4g6lVE5HOoDwRosZ0nbPmD sAbU4vV3UgR3nIcs13J0Od/AE5/Acu3EERZ/cwbZ3PPvWa2zj/bMFKy3TpwJDYIvAX hw6LRT95u0kcSo9HuxhltQBhEys8OZyKR4NSVQ4D7x9+mL8Vwe6N8B44dV3M/2sJAE kxTGJZt/uFUGuxKeIMRgl+XOjh1ObCExPPG9q21HTRhdVlcf2l4wY3auTuEAiPkQFJ sg15JCrCIc+SzHXe5ctocKTar8KrS+iAW84ZGV7FZlX8UEsgxJVqz6Y70by3fujkwJ JIeJj3tuBqdMg== In-Reply-To: <87v7vvubmc.fsf@gnu.org> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 0afdf2bd74cb9c821e5e510900572b6aa994b409 Received-SPF: pass client-ip=185.70.43.167; envelope-from=heimeborgia@protonmail.com; helo=mail-43167.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148649 Archived-At: Sent with Proton Mail secure email. On Saturday, December 7th, 2024 at 8:43 PM, Tassilo Horn wro= te: > Heime via Users list for the GNU Emacs text editor help-gnu-emacs@gnu.org= writes: >=20 > > Am having a go at corfu, but am getting > >=20 > > Lisp error: (void-function static-if) >=20 >=20 > 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=20 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) =20 > --8<---------------cut here---------------start------------->8--- >=20 > ;;; corfu.el --- COmpletion in Region FUnction -- lexical-binding: t -- >=20 > ;; Copyright (C) 2021-2024 Free Software Foundation, Inc. >=20 > ;; Author: Daniel Mendler mail@daniel-mendler.de >=20 > ;; Maintainer: Daniel Mendler mail@daniel-mendler.de >=20 > ;; 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--- >=20 >=20 > How did you install it? - Tassilo >From source code, requiring the library and=20 (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))