From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Package file indexing Date: Thu, 09 Jan 2020 16:38:46 +0100 Message-ID: <87zhew7i7t.fsf@ambrevar.xyz> References: <20190314204941.GA21065@jasmine.lan> <87mulx9kuv.fsf@nckx> <87zhpx846u.fsf@ambrevar.xyz> <87bm21y2s2.fsf_-_@gnu.org> <87imw7cpe7.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> <87pnqdhkpf.fsf@gnu.org> <87imlt3hr2.fsf@ambrevar.xyz> <462f35f7596f7318d2b34cc300a7e27a69d2072c.camel@riseup.net> <87pnfs9437.fsf@ambrevar.xyz> <875zhk90pa.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57123) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZtc-0004PF-Pq for guix-devel@gnu.org; Thu, 09 Jan 2020 10:38:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZta-0006GR-VL for guix-devel@gnu.org; Thu, 09 Jan 2020 10:38:52 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:40671) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipZta-00062d-Mu for guix-devel@gnu.org; Thu, 09 Jan 2020 10:38:50 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: zimoun Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable zimoun writes: >> But for which benefit? It seems that this single example >> >> >> - guix search bin/gmsh gimp >> >> covers all your needs. > > No. > > For example: > >> >> - guix search file:gmsh.h gimp > > I am looking for the file gmsh.h and I do not know nothing more. =2D-8<---------------cut here---------------start------------->8--- guix search /gmsh.h=20 =2D-8<---------------cut here---------------end--------------->8--- would work. You don't need the full path. >> >> - guix search file:ieee*.sty bin/gmsh latex > > I know nothing about the path of the file ieee*.sty and it does not > belong to the package gmsh. I don't understand what you are trying to search. Is it the 'bin/gmsh' file or the files matching 'ieee*.sty'? >> For advanced search, we could provide "explorable" features with a >> graphical user interface (which I plan to work on later) or Emacs (a big >> like `guix-packages-by-name', but more general). Those interface would >> allow the user to chain searches by narrowing down lists. What you >> print in the end is irrelevant since you can have an interactive >> presentation (unlike the shell). > > ...but at some point you need some semantic for filtering, at least for r= egexp. We can have regexp of course, that's not a problem. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4XSQYACgkQm9z0l6S7 zH/Q6Af/U80UbDkGOfhNqcHNZZC3HIm4Q83903VFNJl5J+WfLvIfD6EBvf/NUSEV G45wvhiO6Olzr7MJ/ABj+TuIhRuRcCBjynWdWM4eS/2UYQsACsY7uwwk9++vLX/K 5hCgEZwmDIPYQCrSZqJ4xgc1Vc7MbD+9so7UyDeZgvdpqgpwM4LY52bZGHX2BlTP xnmManqdPLyHwntUCQBanC9Ihte0zGRA6M/LrBm+6iLCOZSCboNP0BKVyjzwRuqt LnmQHttIlldvHcsLNZ510893SEP+ylRuwCBZBpg/YNOdZgREOXKzBvgo4prVRgTN JfJKttjjQ2Q4qHIlM8JVm0yyrNoJNQ== =JLre -----END PGP SIGNATURE----- --=-=-=--