From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#66187: read-file-name unexpected behavior when MUSTMATCH is a function Date: Thu, 05 Oct 2023 03:12:51 +0200 Message-ID: <87ttr53m98.fsf@web.de> References: <87r0mni6m1.fsf@breatheoutbreathe.in> <87bkdq3nw6.fsf@web.de> <875y3yx221.fsf@breatheoutbreathe.in> <87pm260wh9.fsf@web.de> <87v8bx48ww.fsf@breatheoutbreathe.in> <87msx8sbpv.fsf@web.de> <87bkdoh1gy.fsf@breatheoutbreathe.in> <87h6ngs85e.fsf@web.de> <87ttr7nzyj.fsf@breatheoutbreathe.in> <87jzs33vqs.fsf@web.de> <877co33qf9.fsf@breatheoutbreathe.in> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: philipk@posteo.net, joseph@breatheoutbreathe.in To: 66187@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 05 03:14:15 2023 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 1qoCwQ-0004F3-Cu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 03:14:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoCvy-0005f0-Cc; Wed, 04 Oct 2023 21:13:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoCvx-0005ef-2h for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 21:13:45 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoCvw-0002rl-Qg for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 21:13:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoCwE-0002yp-Fz for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 21:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2023 01:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66187 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: philipk@posteo.net, 66187@debbugs.gnu.org, Joseph Turner Original-Received: via spool by submit@debbugs.gnu.org id=B.169646840811391 (code B ref -1); Thu, 05 Oct 2023 01:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Oct 2023 01:13:28 +0000 Original-Received: from localhost ([127.0.0.1]:45598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoCvf-0002xe-Ld for submit@debbugs.gnu.org; Wed, 04 Oct 2023 21:13:27 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:50954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoCvd-0002xQ-Vf for submit@debbugs.gnu.org; Wed, 04 Oct 2023 21:13:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoCvG-0005Y1-Mv for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 21:13:02 -0400 Original-Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoCvF-0002im-4K for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 21:13:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1696468369; x=1697073169; i=michael_heerdegen@web.de; bh=pEfyVefUBtv9rLtqvGHicDSeIP/703ch4Q15PtmYn6Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=tvwQONyxKDgs5xDrsE8nihzSB6WnUoFC7jXSNbEh70UHEM8R+XKSKlCPVZbD+FQuaCuK8gDLSru OjfrXgYzfCYyyaOa62U+ovByKalj4seBx/CdrXqD9icKaeNcVHrqFnoio/sQnvFEa44BZlD0wiMte 6EAmRQDBILXghBOcShD0m4c7XSPjZqlWOLG2+IfO8cB7kEn/ZrKrscAmtqTRCiVGxajTCC0a6frSM 8QkpUIR4UDCx5vccBLSbMExoX5K9RWLWk9jfZIbtVwNGHV+kBip49/A3xnJUZ9UQrGS+LO6ilPUp9 BKW6y1KalSMslCieCmGgHtuxvqFWdOmBHlEw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([88.66.201.191]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MOm0r-1qxuF53Os3-00Q7ry; Thu, 05 Oct 2023 03:12:48 +0200 In-Reply-To: <877co33qf9.fsf@breatheoutbreathe.in> (Joseph Turner via's message of "Tue, 03 Oct 2023 22:22:05 -0700") X-Provags-ID: V03:K1:hpSeMtfsGMWC3pUbornzUoeglucoPwgv3eyEZFt01ZsJPb2SCdL VEEmpTNLjHdFFwkrv/eAsothYwkW0fgfXjDPuMIsSCkMlCSUcqXi68TE+JuVBGbOW9sdbuX eZRiBbZdIV3pDf7mJKAVqMyEtdG2aDAvi7UZAJ0gDLwqHT55Habn226GpFxGxaFMz2pnalq D6FYTB/KPS9lL8U/EMzjA== UI-OutboundReport: notjunk:1;M01:P0:i9qN84bhGAs=;UmYw98BRXuMntpGJxrE2mUhly3z kEOyiT52YpNPh8TTbGou6ZH8nXyMd2q/0XenQaSQ4EzZmMCpQFwDX1aTjyXR2fHB3stR+K71t 6ORnZ9rxKH/OGySK4IojvHt5lPwR8tLPD4RlWJGP5Y846yPc3X8/EXDpz8IxvTbVM2TXPxgf+ VlvbgH9TsLCu1HZhXBD3qyc1xAvMkuZFt+VyBHIrTJMXNOYkPbtvTUvzKjuGMncTl27owxTp2 2vENFTfzBkMfTlfEfmmqDH1KM92h6vE/I1xIRFlVFCKUEklbj6KzQdQ2eqtCHTfhl+yWmT6dR U28SWpcIAZDVHB7YU5N7YD2r5p2c6AF3UV3AbA4fGqvx3xMZN916C2SrQkuVFze7bd7xzLiIr yxNUhrHG/DZqscAw0fin9WawyNsYmEPmCB8j7pmtteYGHxlxK4tHxoUPm6LJChpoVq18ra33g 8Ky4YqlNc9kFL/7Hc2PhgcpEqQXbw8zJsXWqwiqySEd2n659jdNm57+IzCBHT0lCbSpKbmm2E B9AW/qan1yUqJRF7WDEom58iyg10AlXNTuSA5NPfApyD8t4o/iTLiVstqh2DSkuwIeBYxOTor EhdLNOJ4Jh4zGJv9WxLfLyxF9jE/nsxXzbEPDYHJBL3nj8aUgY4DLFX29FZ5tCfPOKITZnI1h bgrj6KjQZ7cpdd43/6v3za1k/g/Zpjr/kUmMERI07GbX8GnASdgUVuMlufDe+tyYVMkTH0gXg QCWMqRrAkFL7o7aAleLTATXUNoIojdG0RHAL5BUslEPl9Q/IDd6tziQSsLiJBlmc8by/ChIy Received-SPF: pass client-ip=217.72.192.78; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271832 Archived-At: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > My original expectations: > > - PREDICATE narrows the list of completion candidates > - MUST-MATCH function determines whether to accept the input > [...] > > This is only about `read-file-name' > > Doesn't the unexpected behavior originate in completing-read? If that's the behavioral aspect you mean, then yes, the meaning of the arguments is analogue, and they are passed to `completing-read'. Michael.