From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Add some aliases for re-related functions Date: Sun, 3 May 2020 23:20:32 +0700 Message-ID: References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <20200502192908.GD6832@ACM> <837dxtqf2x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="64880"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Mackenzie , Yuan Fu , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 18:21:21 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 1jVHMm-000Gmc-TH for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 18:21:20 +0200 Original-Received: from localhost ([::1]:46214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVHMl-0005p8-Ki for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 12:21:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVHMF-00049i-8O for emacs-devel@gnu.org; Sun, 03 May 2020 12:20:47 -0400 Original-Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:36526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVHME-0004zy-He; Sun, 03 May 2020 12:20:46 -0400 Original-Received: by mail-vs1-xe2a.google.com with SMTP id s11so9569529vsm.3; Sun, 03 May 2020 09:20:45 -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:content-transfer-encoding; bh=+CJe6mcGeHqv3HM+yXJCp3VawMC9dtWp7HAWneQzEHM=; b=n+dLfmPDS3i43laSiBgyZBdulRFnLr+FPHkPnhZ99GsVpr6XtUWOOeAH2B6+/x0g4y SmSAb5VgTKn5cYl6o07/XxoVU7BTA6ynQ28+Lmd7pBs4qLFXuNZYZF6tFMEZLDR0fM3w rFOprxi1FZNQaL/tfB2uTK8VKlA8vq/52H2Nt06mbeVOqASdi+dA8WrUh3vf1s4AdtjP mhAyJoCzJ8R/igaoQjvZDXRxviGD5kjDFb4gwce2FffUGSuJs2sxp/yy1+Bvv2ZGqUTY EyH3XpMBP7aannrZSBP4hdxPIXSBLA4keAqgz2Xx0/XFVqFp6xtLqXeVxmJjH7FLX7gz 6wyA== 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:content-transfer-encoding; bh=+CJe6mcGeHqv3HM+yXJCp3VawMC9dtWp7HAWneQzEHM=; b=WuXvKI/LA9Ke40k+tuKelX65YREuwaAjYjYc9YZcKTgAROLb7fRSmQ240jn8INBh+c FTRjwnhaQzfGYpQx8IvDvzmWTocIbKwgh03XyMe+ccjvNuxacxVu19t874K2RTWKiIuF LwWRUXAVkjUXdm0s9yLeVA4c82s0+i08+wGCkJPkzelSiKlTrMy9F2VW8VEpIsA+nfaH ERNWOH69Z41CnBfdAb58xV2UGkavsPTXWVy6qRQnv7ZjDHnAJQHChPFMhY423pdjhx4b isVhfI6Vh83+zM59hLswkuq6Up8Oxks3YffN7/1ae5Aah9Yidjjond5gr1ud+HZQIY3A TkJw== X-Gm-Message-State: AGi0PubfBtq7xmpQ4qPhsiICvyShdIPoyMeUVWktWcEy3kET2vuj0DT8 3qEmsOF86pOQQYuDazYcAG+8BcpCl8354unav56Aww== X-Google-Smtp-Source: APiQypL+3pil3mS3jf1/u+aiU7gRnvVYCx9WtZG7vhCZDZVEu/2+nvcJ3YbRjPFVkgOv7EONcgcgaOWHqB0ZnyiDt2o= X-Received: by 2002:a67:6dc7:: with SMTP id i190mr8742273vsc.75.1588522844342; Sun, 03 May 2020 09:20:44 -0700 (PDT) In-Reply-To: <837dxtqf2x.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a; envelope-from=yurivkhan@gmail.com; helo=mail-vs1-xe2a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:248710 Archived-At: On Sun, 3 May 2020 at 21:16, Eli Zaretskii wrote: > [=E2=80=A6] please note that you are using the wrong tool for > the job. If you expect the _name_ of the function to include "posix", > then the right tool is "C-u C-h a posix RET", which gives you exactly > what you want. "C-h d" is for when you are NOT sure the keyword will > appear in the name, and therefore widen your search to the doc string > and the list of the arguments. Now this shows one aspect of the problem. You know there are two tools, one for searching function names, another for searching docstrings. (Also one for searching Info.) You have developed an intuition when to use which. An average user today believes that there should be one obvious tool for all search needs. =E2=80=9CComputer, show me everything I might want to know about posix regexps, pereferably listing the one function I need right now at the top (but I=E2=80=99m willing to scroll through about ten o= r twenty results as I know mind reading hasn=E2=80=99t been perfected yet).= =E2=80=9D