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: Sat, 2 May 2020 17:43:34 +0200 Message-ID: References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <20200429101755.GF24737@tuxteam.de> <838sicw4do.fsf@gnu.org> <83zhaqu89z.fsf@gnu.org> <83sggiu2p9.fsf@gnu.org> <83r1w2s9wi.fsf@gnu.org> <83lfmas6cu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b63bef05a4ac2aad" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, Emacs developers , Stefan Monnier , Richard Stallman To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 17:44:43 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 1jUuJm-000L2u-U5 for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 17:44:43 +0200 Original-Received: from localhost ([::1]:59266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUuJm-0001TL-05 for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 11:44:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUuJD-0000hI-C0 for emacs-devel@gnu.org; Sat, 02 May 2020 11:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUuJC-0003Th-SA for emacs-devel@gnu.org; Sat, 02 May 2020 11:44:07 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:32793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUuJA-0003Na-CZ; Sat, 02 May 2020 11:44:04 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id z22so5936236lfd.0; Sat, 02 May 2020 08:44:03 -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=hoUXsVE43MDqbhguWVm0V9IIA/TyUcFFb7RILaNs0n0=; b=iTnLHyRZTEqUV2GdPjLsN6LVU69DsZgGBrqVJdW0Zi4bQ+uL/rnrFCMgiVJgu4rynS i5bHzirGy81/7M8UG4mbQxTHv7YvxqmTag2azOGitC5Vjj+w4gf+AOFlVspXgiQvwmPh L8w/5Z7ZHUCRYpQvKgq8V96NkkPFClQ9/I2AdbKZ0xn6lUw5h9Ew39TvxB4u0VVj2fRS IV2ILdbodJTKgzreh4G4Ny1UJF16WAxKcGvGFzqp5jMjbjVnX0NxWgmJcgeM7hjanmc1 l9+f4iMWxrr6qk/emnhNQe5vBMv5Ai3/hYNyS5Zjq+xvw3G8CKv+TZj6nyOIbBqimbb1 Bp6w== 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=hoUXsVE43MDqbhguWVm0V9IIA/TyUcFFb7RILaNs0n0=; b=gMNoHrCEFx2CHXOg0Jd5aAPset9ryAr53ItzBTnjHP0i4GXuafFTjuM4ffGIqRW6Vi JoTI5fn4hSIBVJKqN4jQWkow2JVFTH4Whg5QASvSxILtO77zjR6eSdOBWv0aFsn5gEy+ 7ow6gTyVaRVVznMgAIL0QF+t35kG89yhnKMjxYHa3okFj+bn1C6yA6D7KueyUd3uFM4b 8mQBUSpm9QrUNTN/bEHvvf61mZ4Fh1lEHcooAvGPgRX4vvbRimaEOi8davrsSjNVwEKD FICgls0o8l4ROfTadE4R5XZZDwaaRwIYdGOrxrtr7WsPIFbvSrifqEAasWl9aK3yar+d DLDA== X-Gm-Message-State: AGi0PuYV43ICdf6zUqgkb+6oxrLytMBMQr+mrTO+cyJ22PBx7FzZocgb ke21xvq341X7b1p1iTJx1I3c8hfpihMD9mVHrJ6ySManibM= X-Google-Smtp-Source: APiQypInizo8WALPkZNfbVM2CaqlZpQ9RBkIWj4q9SMMtFOqk/7Nnnxk1JPWN2Iw5WCpgXORUIIRKqs0vUXrf+fnwyU= X-Received: by 2002:a19:6a10:: with SMTP id u16mr1998590lfu.105.1588434241467; Sat, 02 May 2020 08:44:01 -0700 (PDT) In-Reply-To: <83lfmas6cu.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=philippe.vaucher@gmail.com; helo=mail-lf1-x134.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::134 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:248469 Archived-At: --000000000000b63bef05a4ac2aad Content-Type: text/plain; charset="UTF-8" > > > It starts with the following list: grep-regexp-alist, gmm-regexp-concat, > project-find-regexp, > > shell-dumb-shell-regexp, rmail-secondary-file-regexp, > rmail-user-mail-address-regexp, > > tramp-file-name-regexp, whitespace-indentation-regexp, > project-or-external-find-regexp... All of which are > > irrelevant to what we search. > > Which is why I said elsewhere that without making the candidate > scoring smarter, adding aliases based on namespaces will be much less > useful, perhaps even detrimental. > No, the idea is that you then search for ^regexp- and you get ONLY the functions that start with "regexp-". I don't understand why I'm still explaining this, if I'm missing something please tell me. > > What it should list is > https://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Search.html, > but > > also merged with the Match Data documentation, presented in a much more > condensed manner, etc. > > The above are _commands_ not functions. The equivalent would be > "C-h a regexp search RET", which does do what you want, I think. > This again gives me a giant list where a majority of what is listed is not what I'd like. --000000000000b63bef05a4ac2aad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> It starts with the following list: grep-regexp-alis= t, gmm-regexp-concat, project-find-regexp,
> shell-dumb-shell-regexp, rmail-secondary-file-regexp, rmail-user-mail-= address-regexp,
> tramp-file-name-regexp, whitespace-indentation-regexp, project-or-exte= rnal-find-regexp... All of which are
> irrelevant to what we search.

Which is why I said elsewhere that without making the candidate
scoring smarter, adding aliases based on namespaces will be much less
useful, perhaps even detrimental.

No, t= he idea is that you then search for ^regexp- and you get ONLY the functions= that start with "regexp-". I don't understand why I'm st= ill explaining this, if I'm missing something please tell me.

=C2=A0
> What it should list is https://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Sea= rch.html, but
> also merged with the Match Data documentation, presented in a much mor= e condensed manner, etc.

The above are _commands_ not functions.=C2=A0 The equivalent would be
"C-h a regexp search RET", which does do what you want, I think.<= br>

This again gives me a giant list where = a majority of what is listed is not what I'd like.=C2=A0
--000000000000b63bef05a4ac2aad--