From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package xeft.el Date: Thu, 5 Jan 2023 22:48:14 -0700 Message-ID: <91305A9A-7D23-466A-9C1A-1F55CCEEEBBE@gmail.com> References: <64A01ADD-E757-40F5-A5C3-518BB8BE9A41@gmail.com> <87a62yxf84.fsf@red-bean.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="34950"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 06 06:48:41 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pDfar-0008rY-Fp for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Jan 2023 06:48:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDfac-0006PR-7b; Fri, 06 Jan 2023 00:48:26 -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 1pDfaX-0006Ns-6f for emacs-devel@gnu.org; Fri, 06 Jan 2023 00:48:21 -0500 Original-Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDfaU-0001Lo-2S for emacs-devel@gnu.org; Fri, 06 Jan 2023 00:48:20 -0500 Original-Received: by mail-pj1-x1036.google.com with SMTP id m7-20020a17090a730700b00225ebb9cd01so4231587pjk.3 for ; Thu, 05 Jan 2023 21:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uTqSBxox1onQLUqxEd375OYCB727e8RaoisXWxI7Pa0=; b=mRDX3Ipf3dis6zOT0ShuP4+jlGQhNnGrXM7m6J/osOG1Yr0QIosYnhXOviU3wJfmsC u6btNVFAfHPAi8IYKwsWXgtHWhxWgtC69YpbS5k8FDTkya9amI5dIVaZb7BroLReCiAG 1wgVtycwiq90rUyBt+TCPtbwjrTQqP2WzxS6VuTOvwn/Yr4XyjLeo/r0uBMB6nl8HdJd zd5oPDn5ak4+rkSRMhJQzvE6CtiFfKGhot/hbDtrRZmVvb1AzpOc0sxYylxMk5NOyqPn NENYjfVgWyb7e0GomhBT+HIG6wfk0bHpQvqX5d7N0l9iZ7xVat5ZwYqDUGKMOaoYXi1g nuTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uTqSBxox1onQLUqxEd375OYCB727e8RaoisXWxI7Pa0=; b=QHN7IYhRtOgsaNX9U0CzZ3Ehk9gNhTkr2+p+tp6u6a9P66KnZ57ssR6CJZDZWWHGy2 IvSrZSCDjn2fgY146SqVZpFI2Cl9D9wvaXHdSPlDAX53JGbaUyMtzBpE6Xk5zaz6jTBT OYdiNunHaCAhOmnKBhN9ABPF88uTLKdks0fzsGTLocvCydVC/u/y6pQ+b3dRHnwBPRCR Nt1x7UhzPrSCDR3Lc+WbquFWe5+VlafU/YlyC0Dbq478vqHaa4t/q6C01nRt1Ro/VXGS Qm/jK3UA+kXuJ4+ElEs0z/v78yXu1EgSI4/kZG5IF8JzME35eo2DeB/pbxiihNKDeMcP XIxw== X-Gm-Message-State: AFqh2krzaG1/5QFayrzN1zJulepBlO/z9wTtN0r0vKsbjfLP80z4Ewho Ybtdy4neUsbu6b/Rj/3dSJk= X-Google-Smtp-Source: AMrXdXuENRfKPW5TOqltpzk085A6gjOsJVnegsNvP2t2OkhbTownV/XwMoivc1sP4rmdPKIEpyeuow== X-Received: by 2002:a17:902:ed0b:b0:192:7b0b:9c06 with SMTP id b11-20020a170902ed0b00b001927b0b9c06mr37026961pld.8.1672984096209; Thu, 05 Jan 2023 21:48:16 -0800 (PST) Original-Received: from smtpclient.apple (ip68-3-33-122.ph.ph.cox.net. [68.3.33.122]) by smtp.gmail.com with ESMTPSA id g12-20020a170902fe0c00b001896040022asm26931040plj.190.2023.01.05.21.48.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2023 21:48:15 -0800 (PST) In-Reply-To: <87a62yxf84.fsf@red-bean.com> X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=casouri@gmail.com; helo=mail-pj1-x1036.google.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302245 Archived-At: > On Jan 4, 2023, at 12:38 PM, Karl Fogel wrote: >=20 > On 04 Jan 2023, Stefan Monnier wrote: >> Yuan Fu [2023-01-02 20:11:50] wrote: >>> I wrote xeft.el awhile ago, it allows you to search text notes = really fast >>> by using a dynamic module. My initial plan is to somehow plug the = dynamic >>> module into Deft some day and I=E2=80=99ll keep xeft to myself. = Turns out it=E2=80=99s not >>> very feasible to make Deft use the dynamic module, so now I thought = I might >>> as well publish xeft. After all I think it is really cool and I want = more >>> people to use it :-) >>>=20 >>> You can find xeft here: https://git.sr.ht/~casouri/xeft >>=20 >> I'm a bit uncomfortable with the way this is set up: >> it's unusable without downloading further code first. >=20 > FWIW, I also was uncomfortable with this. I started to try out xeft, = but then I stopped when it asked me if I wanted to download a binary = package whose provenance wasn't clear to me. >=20 > Actually, I tried choosing the 'c' option to 'c'ompile, but that got a = generic error, "Wrong type argument" or something like that. I couldn't = tell what was wrong. I thought that having certain Debian packages = (xapian-tools, python3-xapian, libxapian30, libxapian-dev) installed = already might mean that xeft would Just Work, but that wasn't the case. >=20 Yeah you need to compile the dynamic module that wraps some Xapian = functions for Emacs to use, basically. Let me see what=E2=80=99s wrong = with the compile command. Yuan=