From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Add some aliases for re-related functions Date: Sun, 3 May 2020 19:50:23 +0300 Message-ID: <49b824ea-b2eb-ed74-d5e4-8e862b083595@yandex.ru> References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <20200502192908.GD6832@ACM> <837dxtqf2x.fsf@gnu.org> <83imhdotr9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="60306"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: acm@muc.de, casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 18:51:20 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 1jVHpn-000FZx-UJ for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 18:51:19 +0200 Original-Received: from localhost ([::1]:52824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVHpm-0004Re-W2 for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 12:51:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVHp0-00038T-FZ for emacs-devel@gnu.org; Sun, 03 May 2020 12:50:30 -0400 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:35275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVHoz-0002Ae-3V; Sun, 03 May 2020 12:50:30 -0400 Original-Received: by mail-wr1-x433.google.com with SMTP id x18so18058063wrq.2; Sun, 03 May 2020 09:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PnCWhDgkdtdRD6Nd4yCFSUXGTtKYBpBsxaUNJ/wFTSc=; b=fdpbVHro7Q7RPyokp9sTJwqCmS7Mll5D7Wzdj4xGG27TXBQryPNPeW1sXvB3MoCm86 rLjZl9n62KertH+ncu32OnMT/9vMCvrk0d4uCsL9iBlRYxfHJ8ckxkN0uD5YNTcbmUN9 XEbq0cQr6QuBtcU3topGz0WhWQCrSVQeHLOtkORTqAwtOzVpM4oulVJ68WOy8p63cv2r NVroJsr7oRSZz5qBmKZig17VqNIUdPFL1iduC8RuV+yPL6MfxQOn4Ev2DWR9vd5UJPkB s7Rz0QNwImAMXtYdcS4IwUxSN/7G5Pq8eLZnkT/MPYETMrYwHZrmyhwy2HA1vcnOmYk7 KXQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PnCWhDgkdtdRD6Nd4yCFSUXGTtKYBpBsxaUNJ/wFTSc=; b=Qh5AN1qMKS2IQ0jVubp46xOYTbcamBzoIWbEK13PQ7Qndw7HSk8cAOc2TZnrMmHIqY zUvvVcsHtdtZndHEeseWtRTjxu9lKd0I19/0n8VAs4TNuhu5YWlOtGIcRTIog4BgdAdy Ms7IEVbgSvrGpjLOUXD8jx+8xTRc6L6mcYXr6arfiCm0kfMNOb2adKnCt15boA8/dcaq +g8kTbypxdyvs4/J3P01ofaG/eqodZXcEWZPX5wtFao1/nhx+MrSNRbVGJbWfKyqMIaf 68DPq/pt1F2XexNMejkEvNC/focMiXgqiy1zH+6xWM4nWoqFG3TFP4+IHNiTLRCi+Nx4 tnLw== X-Gm-Message-State: AGi0Pua8zvfkJwaxB3zJOdxAeDfMZi0Vtz64I/PRG16OhEqlzLSCD/ET 6u3Qj4zlVL2Cr1u/x0Irdu+REEXJ X-Google-Smtp-Source: APiQypLCHKWosRVb7DGfcUhclpnX8QWIcYjz0iLBge8/l8J7aI9l1s5mHM8s07BjwoU8Ow9QqcTGAQ== X-Received: by 2002:a5d:4843:: with SMTP id n3mr14369051wrs.7.1588524626106; Sun, 03 May 2020 09:50:26 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id a7sm9204714wmj.12.2020.05.03.09.50.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 May 2020 09:50:25 -0700 (PDT) In-Reply-To: <83imhdotr9.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=raaahh@gmail.com; helo=mail-wr1-x433.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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:248718 Archived-At: On 03.05.2020 19:42, Eli Zaretskii wrote: > I said up-thread, and I repeat: all of the measures to make the > potential number of hits larger will backfire as long as we don't have > a good scoring system that almost always puts the most probable hits > in the first dozen. Please don't assume your usage-based scoring idea is going to be good for everyone. Some like that, some don't. In fact, it's going to be _terrible_ for discovering an API, simply because the user hasn't already used something he's looking for, yet. > No, I don't have an algorithm for that; I'm not an expert in this field. But I do know it's possible, because I see it every day when I search the Internet. In the meantime, we have a few existing filtering/scoring algorithms that people use already. And the request for prefix-based naming is borne out of that usage.