From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wanrong Lin Newsgroups: gmane.emacs.bugs Subject: bug#39484: 26.3; try-completion bug Date: Tue, 27 Oct 2020 16:17:35 -0400 Message-ID: References: <874kmf1peq.fsf@gnus.org> <87361zbi5x.fsf@igel.home> <87h7qfzdf8.fsf@gnus.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="blaine.gmane.org:116.202.254.214"; logging-data="14038"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 Cc: Stefan Monnier , 39484@debbugs.gnu.org To: Lars Ingebrigtsen , Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 27 21:18:31 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kXVQN-0003YJ-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 21:18:31 +0100 Original-Received: from localhost ([::1]:41244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXVQM-0008Q0-Ag for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 16:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXVPu-0008PT-HB for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 16:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXVPu-0003W7-7U for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 16:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXVPu-0006fw-3K for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Wanrong Lin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2020 20:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39484 X-GNU-PR-Package: emacs Original-Received: via spool by 39484-submit@debbugs.gnu.org id=B39484.160382987325643 (code B ref 39484); Tue, 27 Oct 2020 20:18:02 +0000 Original-Received: (at 39484) by debbugs.gnu.org; 27 Oct 2020 20:17:53 +0000 Original-Received: from localhost ([127.0.0.1]:46024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXVPk-0006fX-RY for submit@debbugs.gnu.org; Tue, 27 Oct 2020 16:17:53 -0400 Original-Received: from mail-pf1-f179.google.com ([209.85.210.179]:34589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXVPi-0006fI-LA for 39484@debbugs.gnu.org; Tue, 27 Oct 2020 16:17:51 -0400 Original-Received: by mail-pf1-f179.google.com with SMTP id o129so1588345pfb.1 for <39484@debbugs.gnu.org>; Tue, 27 Oct 2020 13:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=SFqUbCp45kGCYjK3qveCyWizLqxVCGmagE7DO+Etb58=; b=c7KzmuXmsMQTwpvp4ohpx388tLG3t6n3JYW1e21DhDmN0PZYBqThJ1oGPOI+91u/MT N4qHnF38jWvV203Sobs6QhWnW6Q91BXP19Szz1Vi0clBElUCUB/L+pKiJaH/eCgkso2h oH40HInhWRBuNQUbRYSE/geFhte0sD9ClhyulwHy+1UAuvX8iRUnDb6uLxYZwY9SJAzX Bnf9vYhmdeMOHBJmpBi1+pfx3X/DTTEMfAuSV05UO3bLZrrlbQwH3VVkEiP9KSCyjcUS 2nTO1vLz1g+afyhUuFEy2wMxZeSuaHMoVTPVgNJJJoIh3ravZjeiGViH+MSJFOTdsPeI lA6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=SFqUbCp45kGCYjK3qveCyWizLqxVCGmagE7DO+Etb58=; b=AP7DarethautL72nxQOB+zwrsevHiGgzT41NpANOW1OF6AWpSAblgKMXeehokBVPgl z5a8l/qU6P6/AKpdMxJ+h6za7zD68r3xpM0ygMZ6O6d4Q4us/UBL+XslL3C1ez7wKPWw UZajS8I1PitI+KUL3K9mQKiJO9q43qQfh4NdVomuYnG44Wn5VvpoBcio2DUNZ2t/kVlk PQBsDHnOj5xDxKZenPZlIytSC5BoCJBBqsIZBzhlpG1weZLXPYyQi3B1pDNqKUNwuLnl IQByPsI10sZNwAXT7PLXDkiq+tKrCwNtJekBO6KK9XHDJNm5lP9it/ONZqL8p4HVvUV3 uXHw== X-Gm-Message-State: AOAM530xKtHEdi84JJcz4pn0srSSiaIy56pK3Xj2QKXZpnFm3lloidO/ FMhAa7pKCAej0lJTIA0j3CxnLeIYyzkIjg== X-Google-Smtp-Source: ABdhPJzwtUgpoDJsY8wFQ9Y4VuAppdHAh0XnVRa7l4UxYBmfR/dqyH6UeWulAFhm0sRS6Fzl/ZbJdw== X-Received: by 2002:a63:5466:: with SMTP id e38mr3380763pgm.23.1603829864643; Tue, 27 Oct 2020 13:17:44 -0700 (PDT) Original-Received: from [192.168.2.19] (c-71-226-226-185.hsd1.nj.comcast.net. [71.226.226.185]) by smtp.googlemail.com with ESMTPSA id ev5sm410723pjb.2.2020.10.27.13.17.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Oct 2020 13:17:43 -0700 (PDT) In-Reply-To: <87h7qfzdf8.fsf@gnus.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191784 Archived-At: I am curious what is the rationale behind this behavior? I remember this behavior gives me problem in "ido" trying to expand the user input to the max common matched text among all candidates, because as you can see, the "expansion" using this method may end up returning something that is not common at all for all the candidates. On 10/27/2020 3:17 PM, Lars Ingebrigtsen wrote: > Andreas Schwab writes: > >> /* If we are ignoring case, and there is no exact match, >> and no additional text was supplied, >> don't change the case of what the user typed. */ > Should this be mentioned in the doc string? >