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:12:40 +0300 Message-ID: <12b122f0-9ef9-97ff-7350-0f9414aece2c@yandex.ru> References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <20200502192908.GD6832@ACM> <835zddqf1j.fsf@gnu.org> <83h7wvoju7.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="4108"; 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: emacs-devel@gnu.org To: Eli Zaretskii , rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 04 19:13:50 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 1jVef8-0000ys-Cg for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 19:13:50 +0200 Original-Received: from localhost ([::1]:41014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVef7-0004Zg-CV for ged-emacs-devel@m.gmane-mx.org; Mon, 04 May 2020 13:13:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVee7-0003Y6-G9 for emacs-devel@gnu.org; Mon, 04 May 2020 13:12:47 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:35449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVee6-0001As-Gm; Mon, 04 May 2020 13:12:47 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id x18so19041wrq.2; Mon, 04 May 2020 10:12:45 -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=NFjYpofyvBcwm2iHCWdzKJVexcxciuDDXJunAexfsEs=; b=HpR4FcasSCZO+LHdFSFgdHDOK+AQ4HNgkOwliGYcln9HHibeEpswdv5iZd/w3PDNN4 nqIclyaqCF1gI5ngELsve+sTuhj/6CMoZBt/NwIp0rbamjnnNoBkBz+M1hZkQJJYY9AL SX11TmNwrauEu1B/ZoaNx/iCk97gflj+ORdAaYulu3X8olXWrR6AWGdKO1Kl8OSKJVsk U10h7/5bbTcqOt4R/EqffjwdDFlcdbCytlItdK/C9B5PkjRCJ3IS60nywGtdKQFflo9T gKEGq0TFtNkan7ABpyD7KHOg7NK+MkPph9yN9YKobJ31RM0Ydpt1aXpGXlMDY+w5neBd pcZA== 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=NFjYpofyvBcwm2iHCWdzKJVexcxciuDDXJunAexfsEs=; b=F6Q9L7VULXeYBs/GRRAuaLI4I90UEKCo8pb2DDndx5ILm+dX6NpvT12kC2BxF+axUL KQe8d4fceHFPGZMhCFlusO+GuLhPgCYnyp9bOmK0QtpviubdLjBIMU6cMq7Akh+5SMJE LRr2P847YWSh7gow3Icy0rjlmu4P5CxYFX8GOR4rX8Jc8TP+d0kcly0sCWf45GF/Pght PSsXHJsxh9V6N6lPjZ/fCpsSxqT8+xE3vG83MesirpBQNICcD+tihN434NJ/UUOqSZvC YFu60ojSZUVvEvm3Fzmj5lOR+GNUSvj+hIrfStF3EF0RYOkZjgNRhUeDy8gGFi6pvoLa TYJQ== X-Gm-Message-State: AGi0PubtJW92ctro5WLLjaIBULqs+ue+tv7xWHsucQRCYQbZrwHiaMIs 3/C51l14U4xnHx351okWjNRqPmS4 X-Google-Smtp-Source: APiQypI3DX2Q+K1hTyKeadym61fhA+dJUpsqK4HwmE2wX7p5v/3bQHRZBroWnc43rFNTCMaflpjBEQ== X-Received: by 2002:a5d:6806:: with SMTP id w6mr323482wru.324.1588612364005; Mon, 04 May 2020 10:12:44 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id y10sm119163wma.5.2020.05.04.10.12.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2020 10:12:43 -0700 (PDT) In-Reply-To: <83h7wvoju7.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42c.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:248874 Archived-At: 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).