From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#50583: 27.2; test-completion should return non-nil Date: Wed, 15 Sep 2021 02:37:01 +0300 Message-ID: References: <87ilz3p9uq.fsf@laposte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21155"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: Kevin Vigouroux , 50583@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 15 01:38:17 2021 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 1mQI0G-0005MK-MK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 01:38:16 +0200 Original-Received: from localhost ([::1]:51766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQI0F-0004xC-Mb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 19:38:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQI03-0004vm-OP for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 19:38:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQI01-0006cF-Ue for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 19:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQI01-0006MA-LI for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 19:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Sep 2021 23:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50583 X-GNU-PR-Package: emacs Original-Received: via spool by 50583-submit@debbugs.gnu.org id=B50583.163166263224374 (code B ref 50583); Tue, 14 Sep 2021 23:38:01 +0000 Original-Received: (at 50583) by debbugs.gnu.org; 14 Sep 2021 23:37:12 +0000 Original-Received: from localhost ([127.0.0.1]:50398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQHzD-0006L4-Uw for submit@debbugs.gnu.org; Tue, 14 Sep 2021 19:37:12 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:39699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQHzC-0006Kr-SN for 50583@debbugs.gnu.org; Tue, 14 Sep 2021 19:37:11 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id u15so862589wru.6 for <50583@debbugs.gnu.org>; Tue, 14 Sep 2021 16:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/hsj5SlYgXqiDiJZti+UYdrgy270wpPQ0yTgRZNjpcI=; b=qWaeI66oE3AmNuZNEfZy/h8cxjFaXmkewk8j7zvj9gUCrXdvGRd/Le1sKzJRlYgNiK znP8KlLLlLnMoVBjW8IzdO7RsntkojO4WDSX4m1Nd8XtiVAiaU0PvdQmR+Ac8q1HnEC7 HVyqVsuDytrmrwLpEq+vm5A/hnFaJ4/FGIGHGIvzsEbnpFnToBCxN1qLnWkLLdhQ3KA7 5hZ+FPblpsJO0GpiX7Y7/zGPAY0GmRkf+O00ZrRyk8eOd0qvrpK0Ap2DUCmq3yMM7BAL lOM6ysvqJjLR2rNIy/av4xyqf/4uZhLnORW4dUgdC+Aw/Zd1l7PIT4ORo7wXJFUYp2v1 un3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/hsj5SlYgXqiDiJZti+UYdrgy270wpPQ0yTgRZNjpcI=; b=OU4jqLNF9ZV9e6IioZOG5r28J2c4/QVpzde68ew546ZRHJmBpZ91YeZxKVTFCR2pbV EcaCBuPp0wW6LM4bzy7kyYpv/66fTUke/7YEBOapyb2yclXC004NlKdcqB6Axoc2z2wJ QF9h5ruGJ88xhGJRwrnwuL7+ECqk6N1KbhbKfAEzHHUAUXA9Z/nhBSZxbkiG+S0msLhg ZQuzMSNwhBQq+QvfEhTK3YnYMIrRcv/UA/q8+4JkCSAp9zKEbG9VvDqwToIwlNer7RII y2zUtcHrKE87Bf/4BSf0x9Q0m8yI1Yni/E4jAckvkeeOTLDsbzxn2WhcRWIXlixncEb+ ZI9g== X-Gm-Message-State: AOAM530UQGpM6j72owu8OTyY/74jm3ssO16O4+oWR6nTXynCyjiETkCB QN22wHOC6hNZC8PGmL40uRyi8t9UbVA= X-Google-Smtp-Source: ABdhPJzNECbjQh+/lxuTqES5OWHd+K2LsSnINDgJrp5KStRB9gkQg4Kej/5v11AIYgn0ripErhVAnQ== X-Received: by 2002:adf:82a8:: with SMTP id 37mr1662655wrc.409.1631662625026; Tue, 14 Sep 2021 16:37:05 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f7sm2450699wmh.20.2021.09.14.16.37.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Sep 2021 16:37:04 -0700 (PDT) In-Reply-To: <87ilz3p9uq.fsf@laposte.net> 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:214348 Archived-At: On 14.09.2021 16:25, Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > In the following code, I assume that `test-completion' should return a > non-‘nil’ value because "foo" is a valid completion alternative. "foo" is not a member of the list '("foobar" "bar" "barfoo"), so that's not true. Perhaps you want to use 'try-completion' instead?