From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Fri, 1 May 2020 18:05:09 +0200 Message-ID: References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <837dxyz83p.fsf@gnu.org> <978f970b-b5c2-bd83-39da-f632d069d7d5@yandex.ru> <98ab19cf-680b-9cd2-7c42-89dd0b2f470a@yandex.ru> <4b8cad21-8b62-8a62-1f3a-d2cb62392bdc@yandex.ru> <458da7e9-3b2f-51af-1187-7e3932b8ca07@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000083efd05a4985a18" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="108915"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jonas Bernoulli , Emacs developers , Stefan Monnier , Adam Porter , Eli Zaretskii , Kyle Meyer To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 01 18:06:47 2020 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 1jUYBZ-000SDB-V1 for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 18:06:45 +0200 Original-Received: from localhost ([::1]:53294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUYBY-0001vD-WD for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 12:06:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUYAY-0000Wn-Qn for emacs-devel@gnu.org; Fri, 01 May 2020 12:05:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUYAY-0008Bs-72 for emacs-devel@gnu.org; Fri, 01 May 2020 12:05:42 -0400 Original-Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:38734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUYAU-0007rt-EA; Fri, 01 May 2020 12:05:38 -0400 Original-Received: by mail-lj1-x233.google.com with SMTP id e25so3030500ljg.5; Fri, 01 May 2020 09:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Ru6ESiiWJ9olnKojZAuntdw2TMVA/BElGEtKnR3KYI=; b=lIgMfK7M8B5qC4eOz12zQMb3yFkI+pdpjK8vhMDsTufBP8RMfQnBVu0dgLjVeHGsH1 5HOKP8M89Xb8VXHJRQvDhCTB8zyIn6OZC9/+yh/8GbYvT0vySUY9t+dXU4q0YK692nu8 /KlaxOzbWH5v+L05Pe6BIX5ZkiJ9AdMewtyeP6tHZ0C+fSkCPHbEG5KOOOzdz7yEKKEK jqdbvGVpxToYyGjv+xO4pGKuoRu28khq6z5M4E4yxr/Hg/CW6x5x+U9DLDe3A0axsOrM 6/zvy3TWj34DmSjdF5V9F2Hm3y+wfHXSFtnVtB8cd54Z+rS2Nix/rnQ3OvAUYfBWbt0G YOcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Ru6ESiiWJ9olnKojZAuntdw2TMVA/BElGEtKnR3KYI=; b=kIenil6XrWfXHDVOUNxbPSuIuQEa8wC3M5JIABlwRju6mhdV5z5ibI6yf7Ubf7JgSv WvxL6dUoe2xstlnRJZlpfsjT/wJiV6Vl/rmkz3UtOzAtLWKGsioBHcCN9rLq1jLucsy5 +wx8k++WOGMwgDVClLiiKGoGAvXX6OUK+DHfGdBGEOklTMWA9tcnLgXjnqmHYzwuxYx8 A++LPiOEUfRASouGtdbSrJTotKsCLfHrlllxtcWbuiRSWAoxBLEckMGc8fe1i64LS+xs HYRebxg4Vt5AWB+Oop1JEGP1hBMik0qtXrPbFWAiudYCYhgGi1mmZKEYIaVC26yvIKfq dmzg== X-Gm-Message-State: AGi0PuYdN6ZSRn+Wtu76Gbm3dRJU0o48KiYxVCtq/R5v+IQPvcOj4Gg4 uULwro9qUn6SXomTn6/ezIDHcn6rktWDGvmhRvgI2yyPSg4= X-Google-Smtp-Source: APiQypJiWBWSTd8kF1mzTZ06elUwOEXHPlJeVkgYPnkkdC8Rsy+cgnSFuHojrRELgmpOOON6LI2eGUNFusccMMfSL4o= X-Received: by 2002:a2e:700e:: with SMTP id l14mr2844237ljc.135.1588349136026; Fri, 01 May 2020 09:05:36 -0700 (PDT) In-Reply-To: <458da7e9-3b2f-51af-1187-7e3932b8ca07@yandex.ru> Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=philippe.vaucher@gmail.com; helo=mail-lj1-x233.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:248314 Archived-At: --000000000000083efd05a4985a18 Content-Type: text/plain; charset="UTF-8" > On 01.05.2020 06:15, Stefan Monnier wrote: > > But then you have the reverse problem: after typing `file-name` in > > fido-mode you get too many false-positive for functions which aren't > > "manipulating file names" but merely return a file-name. > > That's a fair point, but still the discoverability is not too bad. Given > weighted sorting, the relevant functions are mostly at the top, see the > screenshot. I forgot to comment on the fido trick: I also use a completion mechanism where it lists all function containing the search term, but as shown in your screenshot the amount of filtering you have to do in your head in order to have a plain list of functions relevant to what you search for is too high in my opinion. I understand some people don't mind it but I see it as unnecessary thinking that a consistant namespace would solve. That'd mean search for `^file-name-` and have the curated list directly. Philippe --000000000000083efd05a4985a18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On 01.05.2020 06:15, Stefan M= onnier wrote:
> But then you have the reverse problem: after typing `file-name` in
> fido-mode you get too many false-positive for functions which aren'= ;t
> "manipulating file names" but merely return a file-name.

That's a fair point, but still the discoverability is not too bad. Give= n
weighted sorting, the relevant functions are mostly at the top, see the screenshot.

I forgot to comment on the fido= trick: I also use a completion mechanism where it lists all function conta= ining the search term, but as shown in your screenshot the amount of filter= ing you have to do in your head in order to have a plain list of functions = relevant to what you search for is too high in my opinion. I understand som= e people don't mind it but I see it as unnecessary=C2=A0thinking that a= consistant namespace would solve. That'd mean search for `^file-name-`= and have the curated list directly.

Philippe
--000000000000083efd05a4985a18--