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: Mon, 4 May 2020 20:42:03 +0300 Message-ID: <4c52f5e5-380e-76bc-c9fe-6bb10c4fec1f@yandex.ru> References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <20200502192908.GD6832@ACM> <835zddqf1j.fsf@gnu.org> <83h7wvoju7.fsf@gnu.org> <12b122f0-9ef9-97ff-7350-0f9414aece2c@yandex.ru> <83tv0vmwmh.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="10504"; 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: rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 04 19:43:55 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 1jVf8E-0002dE-Kg for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 19:43:54 +0200 Original-Received: from localhost ([::1]:41076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVf8D-00015n-N4 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 13:43:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVf6Y-00072n-A3 for emacs-devel@gnu.org; Mon, 04 May 2020 13:42:10 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:42637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVf6X-0006Xo-7C; Mon, 04 May 2020 13:42:10 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id s8so84069wrt.9; Mon, 04 May 2020 10:42:08 -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=4/WyIjn5r2W73/ON49p35IEPrBMjJiKzLXupdv1FNvs=; b=r7uOI17aGQx452F/xoi1dWwaPAbm13DnLgNk/5nCZmgfKaNuNbboL4Xy54zXms53ji 1kckgeKPb5/qgOasLYTvJgt3bzAl0DYNBkyKn4ZANjcDn9XbXarBHTpQ6379PdUTWOrK pzVPJOwJvCOrA+wcaJwtEuClGX/A1CXnWBX2i1KISVg1mkV3N7X3IK7w5GvMdQTMmvjO oyVgwqg1Cyw/y4unMKiZF64S6dPAKEHvwGoBr0ft0U5lMiVMtravbDRwsE8bGUbUzQts 2T0LnKAO3sVNJHBJWL/Lf32GP8xLhuOdUSafrJe09ie4DV0v5M6ZPBlre10BbbPVbLGl nLGw== 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=4/WyIjn5r2W73/ON49p35IEPrBMjJiKzLXupdv1FNvs=; b=iucKG1bdiAha4ZBaQ++DPCuJniJ0mHm+i5cmOYWFbTgur8Fa9Q5UW6fLafF2125KgY EG9pfpYU4bhWEXjEXEtmhbWlgOSS4J+c0HTq/0mBb1VQ+8qVCw/gu8eQTw2JLtiF43H+ NW4kFqN4xc6UrE9FPa3Y0bl+nMCHaDdjIvzF0vUrtFkVp8wAiyBcfVINbWdGIFAdnVqS Bz9+JUObntLkFWotaKhxiVOL3KyD854/1+YJRe+2hiOmHlo1sakRZGC1NFfjLhV5uwea ocOTJAIXCinkEaLwsSOE4IxqQBp62sGTP2LZGvO2VswTtT2yLtOQfS6oXOkV9uNnWWKU pacQ== X-Gm-Message-State: AGi0PualdI3B3bTA+irIJo+5TE4ZsJRuUUtDOuv0ZB/n4rK5Ei7blTCg i+TOfZmaW999xQUK7G6TRyKteE9T X-Google-Smtp-Source: APiQypL8AQi+VL8ZoqMOGmhbwuQNc2l6pKLgAs7vbnYENLdC4DdaKRPeZMsq0wTEvzwRRchV4oeAQg== X-Received: by 2002:adf:e4c5:: with SMTP id v5mr443723wrm.143.1588614127013; Mon, 04 May 2020 10:42:07 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id u2sm18031373wrd.40.2020.05.04.10.42.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2020 10:42:06 -0700 (PDT) In-Reply-To: <83tv0vmwmh.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=raaahh@gmail.com; helo=mail-wr1-x435.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: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 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, 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:248885 Archived-At: On 04.05.2020 20:35, Eli Zaretskii wrote: >> Cc:emacs-devel@gnu.org >> From: Dmitry Gutov >> Date: Mon, 4 May 2020 20:12:40 +0300 >> >> On 04.05.2020 17:28, Eli Zaretskii wrote: >>> I think it would be better to do it the other way around: make "C-h f" >>> look at the arguments and the first line of the doc string (and >>> similarly with "C-h v") >> Unusual behavior aside, I don't think our general completion logic will >> work well when input has little correlation to the completion results >> (function names). > I don't understand the response: what I wrote had no relation to > completion whatsoever. Maybe you responded to the wrong message? Not at all. 'C-h f' uses completing-read to help the user input the function they'll see the description for.