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:46:15 -0700 Message-ID: <659E0780-5694-4B43-9845-AF1C0E2F7ECE@gmail.com> References: <64A01ADD-E757-40F5-A5C3-518BB8BE9A41@gmail.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="26270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 06 06:46:55 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 1pDfZ8-0006b9-In for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Jan 2023 06:46:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDfYe-0005el-3T; Fri, 06 Jan 2023 00:46:24 -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 1pDfYd-0005eX-2G for emacs-devel@gnu.org; Fri, 06 Jan 2023 00:46:23 -0500 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDfYb-0000sH-0e for emacs-devel@gnu.org; Fri, 06 Jan 2023 00:46:22 -0500 Original-Received: by mail-pj1-x102f.google.com with SMTP id fz16-20020a17090b025000b002269d6c2d83so5156453pjb.0 for ; Thu, 05 Jan 2023 21:46:19 -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=nyQPbCpM5d8yRWRZV0Kuo4it6fJfId/HpjWAAnhPAak=; b=GnOScO0aajQWN68rMvb/h17JN4gmLkWtDXgmSSa/bUFtcea41VwsBUU3V7nM9/c8e1 c71bFoTQJsf9UELIhds803NhB8PkTbA67X9SC2kGdW3ea3i5ajjbElN0wyLvsAKFILwm oegsrgcqHkQxC4ztjqHLSo9tWWbxPgs0J688MbPHiw5t5tUcdUMSTcETuJEGKtpHdT/w /HsWszr0820I4sVZiAs2ePxySqjvwSTNOPT0/felo7Zqk8TrNOehb02sHl+ZOQQiH2eC gSLiUtEzrBUlW8xXIQteAuI4zrMPwFqpoBtnRMYOEM8lIWly16Ul/HWFAbqv8rH5PjPO OxKA== 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=nyQPbCpM5d8yRWRZV0Kuo4it6fJfId/HpjWAAnhPAak=; b=ki38WwD0ZVOCj1KhuYVCIOj8oW8qYqJPDwFVQx8+ArF9oYZ7Wkt9AyM+d4anc/W7af 5tsZB9f0wZBS6Au846sapaBQ6if5uQRy69MOcv3cKzOHLgS/1Djyz1glp983OTw2BQbo +qwV+l+AQeb9Ew5FA3dT0sfalMERxjBo5UcZcXCWtfh5k60Dsp1TcSEsDI2xjN4pUaAM FG1KJ53Obi1hMmZR6bM4/DdKt782Oc3diBIM6ocmMcybobHmaMr1LA03jps142TdTYW3 2UjKfaYnOPZG3Ege+TJrQckzQNryCU+1+KOb/jPJaJIUbsvUtl/FQmL1N9w83AA6dfXd SQEQ== X-Gm-Message-State: AFqh2kr5SCGYy7qBqCsywdiwE/XEMVtUD8ft/69o0Vdu+bMS3TtKPTFZ 8fA4Bo4kiWZQU4qY6n3FAX0aG71Um0Q= X-Google-Smtp-Source: AMrXdXuWy+1PbUWXyTWY0JZFj3hfcZ/UGZuqJE+1HNjZnoREMp02Jq9fVfS9Zv+dpW9yqUA+Q7n3Kw== X-Received: by 2002:a17:903:228a:b0:191:cd3:aa74 with SMTP id b10-20020a170903228a00b001910cd3aa74mr72973423plh.24.1672983977557; Thu, 05 Jan 2023 21:46:17 -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 w1-20020a1709029a8100b001925c3ec34esm26191930plp.196.2023.01.05.21.46.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2023 21:46:17 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=casouri@gmail.com; helo=mail-pj1-x102f.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:302244 Archived-At: > On Jan 4, 2023, at 12:24 PM, Stefan Monnier = wrote: >=20 > 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 > Why not do it like the `pq` package, which includes the C source code = in > the GNU ELPA package? IOW merge your `xapian-lite` repository into = the > `xeft` repository. Or make a GNU ELPA package for `xapian-lite` if = you > think the two should not be so closely tied to one another? Yeah I can do that. The download feature is probably over-engineering = for not much benefit :-) > Other details I saw along the way: > - You claim you have precompiled packages for GNU/Linux but that's = only > true for amd64, which is only a particular subset of GNU/Linux > (most of my GNU/Linux machines (i386, armhf, arm64) are outside of > that subset, for example). That=E2=80=99s true, probably better to not have the download feature. > - Your source code includes `emacs-module.h` which should not be > necessary because that file is distributed with Emacs (the way `pq` > finds it is not ideal, but this might be a good opportunity to look > at improving the situation and providing a standardized way for > ELisp packages to find that file). Is it included in the distributed Emacs? I thought you would need the = source of Emacs to access that file. >=20 > - `xapian-lite.cc` lacks a license blurb. I can add it. Yuan=