From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2013 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15735@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138289545630482 (code B ref -1); Sun, 27 Oct 2013 17:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Oct 2013 17:37:36 +0000 Received: from localhost ([127.0.0.1]:47669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaUHP-0007va-Us for submit@debbugs.gnu.org; Sun, 27 Oct 2013 13:37:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42149) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaUHN-0007vL-Ir for submit@debbugs.gnu.org; Sun, 27 Oct 2013 13:37:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaUH8-0008Sg-6r for submit@debbugs.gnu.org; Sun, 27 Oct 2013 13:37:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaUH8-0008Sc-3p for submit@debbugs.gnu.org; Sun, 27 Oct 2013 13:37:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaUGz-00081t-E2 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 13:37:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaUGq-0008QV-OV for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 13:37:09 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:39808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaUGq-0008QN-J0 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 13:37:00 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9RHawYR017078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 27 Oct 2013 17:36:58 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9RHavKB003090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 27 Oct 2013 17:36:58 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9RHavmo007618 for ; Sun, 27 Oct 2013 17:36:57 GMT MIME-Version: 1.0 Message-ID: <754381f4-27c1-4468-a12c-e029f5fa078b@default> Date: Sun, 27 Oct 2013 10:36:59 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) emacs -Q I add directory`ess-5.3.10' to my `load-path'. That dir has a subdirectory `lisp', which contains libraries whose names begin with `ess', such as `ess.el'. (But subdir `lisp' is not in `load-path'.) M-x find-library ess TAB completes to `ess-5.3.10', which it should not. There is no library in my `load-path' that has that prefix. `RET' with the completion `ess-5.3.10' raises an error (naturally): Debugger entered--Lisp error: (error "Can't find library ess-5.3.10/") signal(error ("Can't find library ess-5.3.10/")) error("Can't find library %s" "ess-5.3.10/") find-library-name("ess-5.3.10/") (find-file-noselect (find-library-name library)) (let ((buf (find-file-noselect (find-library-name library)))) (condition-= case nil (switch-to-buffer buf) (error (pop-to-buffer buf)))) find-library("ess-5.3.10/") call-interactively(find-library record-it) ... In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-10-19 on LEG570 Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG= =3D1' From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 04:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.13829332591608 (code B ref 15735); Mon, 28 Oct 2013 04:08:01 +0000 Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 04:07:39 +0000 Received: from localhost ([127.0.0.1]:48014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vae78-0000Ps-Ib for submit@debbugs.gnu.org; Mon, 28 Oct 2013 00:07:38 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:8119) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vae77-0000Pd-2T for 15735@debbugs.gnu.org; Mon, 28 Oct 2013 00:07:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFsr+u9/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFsr+u9/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36483904" Received: from 108-175-235-189.dsl.teksavvy.com (HELO pastel.home) ([108.175.235.189]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2013 00:07:31 -0400 Received: by pastel.home (Postfix, from userid 20848) id 82CB560036; Mon, 28 Oct 2013 00:07:31 -0400 (EDT) From: Stefan Monnier Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> Date: Mon, 28 Oct 2013 00:07:31 -0400 In-Reply-To: <754381f4-27c1-4468-a12c-e029f5fa078b@default> (Drew Adams's message of "Sun, 27 Oct 2013 10:36:59 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > completes to `ess-5.3.10', which it should not. There is no library in [...] > Debugger entered--Lisp error: (error "Can't find library ess-5.3.10/") >From this error message, it looks like it did not complete to "ess-5.3.10" but to "ess-5.3.10/", from which I gather that this is the directory you added (you added it inside a directory which is itself in load-path). So that looks perfectly correct. Or am I misunderstanding something? Stefan From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.13829688591353 (code B ref 15735); Mon, 28 Oct 2013 14:01:02 +0000 Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 14:00:59 +0000 Received: from localhost ([127.0.0.1]:49077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VanNJ-0000Lj-Uu for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:00:58 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:23131) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VanNG-0000LV-HH for 15735@debbugs.gnu.org; Mon, 28 Oct 2013 10:00:55 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9SE0lNm017508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 Oct 2013 14:00:48 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9SE0ktT017005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Oct 2013 14:00:47 GMT Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9SE0kQD026746; Mon, 28 Oct 2013 14:00:46 GMT MIME-Version: 1.0 Message-ID: Date: Mon, 28 Oct 2013 07:00:45 -0700 (PDT) From: Drew Adams References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > > Debugger entered--Lisp error: (error "Can't find library ess- > > 5.3.10/") >=20 > From this error message, it looks like it did not complete to > "ess-5.3.10" but to "ess-5.3.10/", from which I gather that this is > the directory you added (you added it inside a directory which is > itself in load-path). That's right. It is a subdirectory of a directory in `load-path'. It is not, itself, in `load-path'. > So that looks perfectly correct. Or am I misunderstanding > something? It doesn't seem right to me, but I'm probably naive. I wouldn't think that it should be a completion at all, since (a) it is not itself an Emacs-Lisp library in the load-path and (b) there are no such libraries within it. I would expect TAB to say that there are no completions. I would expect that even if this directory were itself a member of the load-path (which it is not). But if this is the intended design, no problem. It just didn't seem like TRT to me. IOW, I didn't expect it. From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 14:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15735@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13829706134116 (code B ref -1); Mon, 28 Oct 2013 14:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2013 14:30:13 +0000 Received: from localhost ([127.0.0.1]:49135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VanpZ-00014F-AZ for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:30:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40319) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VanpT-00012Y-IN for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VanpE-0001iT-Ts for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:29:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VanpE-0001iP-Qv for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:29:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vanp7-0002tS-H6 for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 10:29:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vanp0-0001gC-78 for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 10:29:41 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:55968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vanoz-0001g2-Te for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 10:29:34 -0400 Received: from purzel.sitgens (brln-4db9aa1d.pool.mediaWays.net [77.185.170.29]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MJU4Z-1VYL6u120B-0032qV; Mon, 28 Oct 2013 15:29:31 +0100 Message-ID: <526E7567.9070901@easy-emacs.de> Date: Mon, 28 Oct 2013 15:32:07 +0100 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:kLiNJ6Gm5HtiHoPRvqHQsljgbWs7m+Et3Q8Uh/29kzW bN/sFVFI3+p4BEkpVNBvpFNspqU8kYYFBZc+fWUayAjQM7hORc x7w9lFJL0ivVzlqChyReUOQJYAvVKOD6/Oe3D5e4ec53Ywkj8J ZYyI/cMOs0Lsafil+u3E7j3HVt7RiUSa+e6dZLSP30y4eaRJEB JU7eNcYXF4ofBCaCBRzdK7WHz6m3HegO6J3fRlIXoBxsn8j1Fz Q4nW0Ixe63vgkLViJ+NKCjyWdjB6Vj4D2rq/kWm51yPqbb5Ahl xoORxH59koEIP2ZiYcuHQDbDErL5Z5qgbRHyZoFNpRz/dBLb6y bsMpnhAF3RdT/FpLSjX/6dVCHNBArPD3aTw3qz7GC X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Am 28.10.2013 15:00, schrieb Drew Adams: >>> Debugger entered--Lisp error: (error "Can't find library ess- >>> 5.3.10/") >> >> From this error message, it looks like it did not complete to >> "ess-5.3.10" but to "ess-5.3.10/", from which I gather that this is >> the directory you added (you added it inside a directory which is >> itself in load-path). > > That's right. It is a subdirectory of a directory in `load-path'. > It is not, itself, in `load-path'. > >> So that looks perfectly correct. Or am I misunderstanding >> something? > > It doesn't seem right to me, but I'm probably naive. I wouldn't > think that it should be a completion at all, since (a) it is not > itself an Emacs-Lisp library in the load-path and (b) there are > no such libraries within it. I would expect TAB to say that there > are no completions. > > I would expect that even if this directory were itself a member > of the load-path (which it is not). > > But if this is the intended design, no problem. It just didn't > seem like TRT to me. IOW, I didn't expect it. > > > > Maybe the difficulty raises from the fact of the prefic being part of the directory name, which seems causing conflict? From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= , 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.13829711775071 (code B ref 15735); Mon, 28 Oct 2013 14:40:02 +0000 Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 14:39:37 +0000 Received: from localhost ([127.0.0.1]:49157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vanyh-0001Ji-0J for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:39:35 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:21490) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VanyV-0001JH-NA for 15735@debbugs.gnu.org; Mon, 28 Oct 2013 10:39:24 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9SEdGMj025889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 Oct 2013 14:39:17 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9SEdE61012623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Oct 2013 14:39:15 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9SEdDVM012617; Mon, 28 Oct 2013 14:39:13 GMT MIME-Version: 1.0 Message-ID: <6737d73b-472c-4448-8f2e-d190f02cd2f3@default> Date: Mon, 28 Oct 2013 07:39:13 -0700 (PDT) From: Drew Adams References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <526E7567.9070901@easy-emacs.de> In-Reply-To: <526E7567.9070901@easy-emacs.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > Maybe the difficulty raises from the fact of the prefic being part > of the directory name, which seems causing conflict? Sorry, not sure what you mean. Dunno whether there is any conflict. I just didn't expect that it would successfully complete to a directory that is not in `load-path', and hence cannot possibly contain libraries that are in the `load-path'. IOW, I was thinking that Emacs should be able to tell me, at completion time, what it tells me if I hit RET for that directory: no library. From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.13829719956450 (code B ref 15735); Mon, 28 Oct 2013 14:54:01 +0000 Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 14:53:15 +0000 Received: from localhost ([127.0.0.1]:49205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaoBu-0001fv-20 for submit@debbugs.gnu.org; Mon, 28 Oct 2013 10:53:14 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:24569) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaoBr-0001fg-UX for 15735@debbugs.gnu.org; Mon, 28 Oct 2013 10:53:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFsr+um/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFsr+um/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36506958" Received: from 108-175-235-166.dsl.teksavvy.com (HELO pastel.home) ([108.175.235.166]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2013 10:53:06 -0400 Received: by pastel.home (Postfix, from userid 20848) id A2B7160A5E; Mon, 28 Oct 2013 10:53:05 -0400 (EDT) From: Stefan Monnier Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> Date: Mon, 28 Oct 2013 10:53:05 -0400 In-Reply-To: (Drew Adams's message of "Mon, 28 Oct 2013 07:00:45 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> So that looks perfectly correct. Or am I misunderstanding >> something? > It doesn't seem right to me, but I'm probably naive. You can do (load "ess-5.3.10/somefile"), and for that reaon you can do You can do M-x load-library RET ess-5.3.10/somefile RET, and for that reason, you can do M-x load-library RET ess- TAB somefi TAB RET This is not used with many packages, but it is used for (load "term/xterm.el") since "term/" is not in load-path, and it is used extensively for CEDET where the subdirectories are used for "namespace", so they can load "semantic/debug" without colliding with Emacs's debug.el. Stefan From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2013 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.13829727757730 (code B ref 15735); Mon, 28 Oct 2013 15:07:02 +0000 Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 15:06:15 +0000 Received: from localhost ([127.0.0.1]:49240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaoOT-00020b-Qo for submit@debbugs.gnu.org; Mon, 28 Oct 2013 11:06:14 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:31630) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaoOR-00020L-CD for 15735@debbugs.gnu.org; Mon, 28 Oct 2013 11:06:12 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9SF64Fw012672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 Oct 2013 15:06:05 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9SF6256009291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Oct 2013 15:06:03 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9SF62cW010733; Mon, 28 Oct 2013 15:06:02 GMT MIME-Version: 1.0 Message-ID: <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> Date: Mon, 28 Oct 2013 08:06:01 -0700 (PDT) From: Drew Adams References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > > It doesn't seem right to me, but I'm probably naive. >=20 > You can do (load "ess-5.3.10/somefile"), and for that reaon you can > do > You can do M-x load-library RET ess-5.3.10/somefile RET, and for > that > reason, you can do M-x load-library RET ess- TAB somefi TAB RET >=20 > This is not used with many packages, but it is used for (load > "term/xterm.el") since "term/" is not in load-path, and it is used > extensively for CEDET where the subdirectories are used for > "namespace", so they can load "semantic/debug" without colliding > with Emacs's debug.el. OK. Perhaps what is the most confusing to me is that instead of Emacs telling you that there are no completions of what you've typed, it tells you that this (the dir) is a successful completion, and yet if you hit RET it tells you no library. It would make more sense to me if RET at this point did what I expected a second TAB to do: tell you there are no completions (beyond the directory name), but not exit the minibuffer. More generally, perhaps RET for `find-library' should not exit the minibuffer for unsuccesful library-finding. I'm OK with your closing the bug, but I wonder whether a less surprising behavior might not be possible. From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2013 01:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.138300991218622 (code B ref 15735); Tue, 29 Oct 2013 01:26:01 +0000 Received: (at 15735) by debbugs.gnu.org; 29 Oct 2013 01:25:12 +0000 Received: from localhost ([127.0.0.1]:50245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vay3T-0004qF-9Q for submit@debbugs.gnu.org; Mon, 28 Oct 2013 21:25:11 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:54567) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vay3P-0004pw-HJ; Mon, 28 Oct 2013 21:25:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFsoXfp/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFsoXfp/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36558126" Received: from 108-161-119-233.dsl.teksavvy.com (HELO pastel.home) ([108.161.119.233]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2013 21:25:01 -0400 Received: by pastel.home (Postfix, from userid 20848) id 607C760020; Mon, 28 Oct 2013 21:25:01 -0400 (EDT) From: Stefan Monnier Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> Date: Mon, 28 Oct 2013 21:25:01 -0400 In-Reply-To: <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> (Drew Adams's message of "Mon, 28 Oct 2013 08:06:01 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) retitle 15735 locate-file-completion-table should not accept incomplete input thanks > It would make more sense to me if RET at this point did what I > expected a second TAB to do: tell you there are no completions > (beyond the directory name), but not exit the minibuffer. Yes, that makes sense. Indeed, there's a problem in the completion system: we don't distinguish between a valid input and a completion candidate. "ess-5.3.10/" is a valid completion candidate, but is not a valid input. IIRC there are cases where the completion primitives make it difficult to enforce this distinction (e.g. when we provide a predicate, where it can be OK to ignore the predicate on intermediate completions like "ess-5.3.10/"), but in the case of load-library's completion, it should be fixable without too much trouble. Stefan From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: 24.3.50; `find-library' completion bug Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2013 01:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 15735@debbugs.gnu.org Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.138301009518944 (code B ref 15735); Tue, 29 Oct 2013 01:29:02 +0000 Received: (at 15735) by debbugs.gnu.org; 29 Oct 2013 01:28:15 +0000 Received: from localhost ([127.0.0.1]:50254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vay6R-0004vT-Ap for submit@debbugs.gnu.org; Mon, 28 Oct 2013 21:28:15 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:44159) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vay6O-0004vE-Uh for 15735@debbugs.gnu.org; Mon, 28 Oct 2013 21:28:13 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9T1S5rB000657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Oct 2013 01:28:06 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9T1S4hY004102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Oct 2013 01:28:05 GMT Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9T1S4wP004210; Tue, 29 Oct 2013 01:28:04 GMT MIME-Version: 1.0 Message-ID: <06c2ceb2-4d3d-4ebe-981f-9ffb5f8b581f@default> Date: Mon, 28 Oct 2013 18:28:04 -0700 (PDT) From: Drew Adams References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > in the case of load-library's completion, it > should be fixable without too much trouble. Sounds good. Thx. From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: locate-file-completion-table should not accept incomplete input Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Feb 2022 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 15735@debbugs.gnu.org, Drew Adams Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.164410376928319 (code B ref 15735); Sat, 05 Feb 2022 23:30:02 +0000 Received: (at 15735) by debbugs.gnu.org; 5 Feb 2022 23:29:29 +0000 Received: from localhost ([127.0.0.1]:35870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGUUj-0007Mh-Jf for submit@debbugs.gnu.org; Sat, 05 Feb 2022 18:29:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGUUi-0007MU-Hl for 15735@debbugs.gnu.org; Sat, 05 Feb 2022 18:29:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RujlAQKX8d+WnBROTUkBA4YwSEdcmVs60f+yQoiVT0E=; b=BlxLqL8YPmQCj0yucAqntfP4gA JCOueiFpFGAzO8n4e0Ms+2Xj/IXHTeV+GHmvWAd+GtwCux2oyiYqRMC1gat28tg05uLTk02EcjgI2 d7zOXOUvsh/t+XSO8ZRaicpOyNtRrkmRePTKIKiu7ntHjBbx5zuhrWuObBNYv3V54gKE=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGUUT-00050i-SB; Sun, 06 Feb 2022 00:29:16 +0100 From: Lars Ingebrigtsen References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> X-Now-Playing: Joni Mitchell's _The Hissing Of Summer Lawns_: "Sweet Bird" Date: Sun, 06 Feb 2022 00:29:13 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 28 Oct 2013 21:25:01 -0400") Message-ID: <87h79cao52.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > IIRC there are cases where the completion primitives make it difficult > to enforce this distinction (e.g. when we provide a predicate, where it > can be OK to ignore the predicate on intermediate c [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier writes: > IIRC there are cases where the completion primitives make it difficult > to enforce this distinction (e.g. when we provide a predicate, where it > can be OK to ignore the predicate on intermediate completions like > "ess-5.3.10/"), but in the case of load-library's completion, it should > be fixable without too much trouble. I've now introduced a new user option find-library-include-other-files in Emacs 29 that makes `read-library-name' (and therefore `find-library') behave differently -- if set to nil, it'll offer completion over library files and nothing else. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 18:29:51 2022 Received: (at control) by debbugs.gnu.org; 5 Feb 2022 23:29:51 +0000 Received: from localhost ([127.0.0.1]:35873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGUV4-0007NM-RN for submit@debbugs.gnu.org; Sat, 05 Feb 2022 18:29:50 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGUV3-0007N8-JR for control@debbugs.gnu.org; Sat, 05 Feb 2022 18:29:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+lftUlNeb+6r18GD/nQwDAsFDKPjGkXiE8Ho1r0nALE=; b=WtKT7dbfn/Q9pIjZNed68jajfX xEXUt/Qjz/4XP8iKsX8iNDX3vQ/dRveIgLoqA2oc3jMng4gFxssV5udQeT8eTpI55Q8h1kU1Tb80H zkNQ0Euihae3IabId3NRpVP801uE2iwTR7RPFLrNYRTFTx7hQ1lSZmonkYUDb5ciF13M=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGUUv-00050w-EW for control@debbugs.gnu.org; Sun, 06 Feb 2022 00:29:43 +0100 Date: Sun, 06 Feb 2022 00:29:39 +0100 Message-Id: <87fsowao4c.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15735 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 15735 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 15735 29.1 quit From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 00:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen , Stefan Monnier Cc: "15735@debbugs.gnu.org" <15735@debbugs.gnu.org> Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.164410665126653 (code B ref 15735); Sun, 06 Feb 2022 00:18:02 +0000 Received: (at 15735) by debbugs.gnu.org; 6 Feb 2022 00:17:31 +0000 Received: from localhost ([127.0.0.1]:35999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVFC-0006va-RU for submit@debbugs.gnu.org; Sat, 05 Feb 2022 19:17:31 -0500 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:64738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVFA-0006t5-9z for 15735@debbugs.gnu.org; Sat, 05 Feb 2022 19:17:29 -0500 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 2160Aw6P009016; Sun, 6 Feb 2022 00:17:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=4DfbWoC2IwQ05X3D/QmboOHHqm3OWZkOUgCjsX2db9Y=; b=dCOnSEuDUKpD2PqR2APWsKayFKsgVJomxwV7PxRaLKO3jwdxjLY+DpbD5F9+Ure91YJY ea2cb7/vqd7Rio9za85E+4Hl1tSSzaIGDiUACCoVOv6GdnPSxOMnU4FVG4mTWwXIZhxc 1g/14olSwDVlGCKRg2MeOgw2KP60FqGY6+uKLJP8tSach27dOf+a2Pc4yuBENousTtot fa3LXWKKy6zK1c1lGlXq+TS9Gp5RkpEq6asV8snEM8LHPu+VKCQetPD82OSErnJFlv4X cvqqYR78vGwRYLP65nGen/bT9Y8/5xtj4EzM8ewtyieRlFvQuetTvhkvwZg22qHmsht9 ag== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3e1fu2hyru-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Feb 2022 00:17:26 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 2160FujZ125618; Sun, 6 Feb 2022 00:17:25 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2173.outbound.protection.outlook.com [104.47.56.173]) by aserp3030.oracle.com with ESMTP id 3e1f9bfuh1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Feb 2022 00:17:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mRfGTkfNn6EnETms+7x7fXY5Oox4SOuNoDkrB3r6zZqo6rZ+b2D5i3zg1f9P1kpnf4+xUyy4LGCcyl8W7I11ElawFZX/A8iPxQ24U56Quy18mpmxfeeobpYtW/XKCHrjXjbzQWh4oC3fPLbcsp34SoLAhnCpyhHff+v1V4tefocxuGTryr3F8ZsEHBDc3q/ypRHkiUGm3zAJa7nBGZehI2myc/gbWLmAfgsrqhVJTZULsgnPycHtTjV2Me6+RySdAPhI+ZHub33+pmkw/L3KzilAK9sMoijXdRJZH1SBonx9CR5xObAU+4wsWW5hUry8NeQ0OmcG64LNF/uS8P1aFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4DfbWoC2IwQ05X3D/QmboOHHqm3OWZkOUgCjsX2db9Y=; b=eFYHy8LvzETneQZBKpOppNHEdmikqXMV5ZmUajRLke9vodVvfh6YigYEyeB37rQSslzbl+Hpl9n2sY7MAsYim+kVlQotuTU3oVAj7WHQ/lI0s7GD4Pi901fp2eQHBZFi/t2+u3EOsI+rtB8jLGngd1w0O5MGa6H0cpNkwAwLbxSEqPN+eO6Ka0tdeAfjt6d6tCU6oev0Mctu1SnKuODV4dSrkrWXdXJ6DAWOaMn5QSrYBK+KgbDpcS1deBuPs3yrgomkFDv2rk3v/nq9y5mRUbso7wRFLInosejqzTsXccTTcz5WL0Q8x8utd3e9WS7dML3iwGR65Swc3qhCpGuw+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4DfbWoC2IwQ05X3D/QmboOHHqm3OWZkOUgCjsX2db9Y=; b=q4FgDJVtYmfgmwLI4khi0PHnRoobafuVB7T+TjjOLA/aAjSTc9oLntS8Wxm9tcD74buV+Y5D2ZyH0RA9tH44tlxcvWZUiXvV9B+ct9Xjq0pEkmSnpGKiJBaJpcH0Bbt90+rx8na95eaUWzhL69l81iAapRlQUzqgsdnvnJq6hxE= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH0PR10MB5869.namprd10.prod.outlook.com (2603:10b6:510:14b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.14; Sun, 6 Feb 2022 00:17:22 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%7]) with mapi id 15.20.4951.018; Sun, 6 Feb 2022 00:17:22 +0000 From: Drew Adams Thread-Topic: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Thread-Index: AQHYGug8ldA00Rhur0OKUqkU/+JW1ayFp8cQ Date: Sun, 6 Feb 2022 00:17:22 +0000 Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> <87h79cao52.fsf_-_@gnus.org> In-Reply-To: <87h79cao52.fsf_-_@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 50af497c-2265-4478-2831-08d9e9060bd0 x-ms-traffictypediagnostic: PH0PR10MB5869:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rmGUtsQ3klEjKDDzDgw5ujPTyK0jP/y93kP5kgfVGRqBBxEpgDEZDo2JTlMt04QnJ0w2Qr4VTrHAykr3ozuW1+aXO0GQQsEnRsx38SaSVJ3koq/eWVRdMCZGUn//AQHNJ7HAcmmb3U8aP/1mKcgK6+rn/2s+UvgdNUm6qmN0/GAS6dlOmdpZMPY6ImSqelBuCKbKBmiWdFbo+wKCHYsOt1knYHZEJznw2btEQDbuCN9e5+r6+W87py3AviS3F2fDqHboNBmSSeRl+g9cbVxYilerDLcsTslt5Hj1dPsdrCwsQHeWJozHUb5va/k9CLZvO9t8zjrZWNFMFsy7lZwsLHmjGfcNmwnnSrs3VxBuYq3FbEOU88nz0DNsFyEG8hul5sxOhc9duRJK2G+DCTSQ4zLoXqS3OF1S+r6xB7of/wFnzOtw2qhlFnSr7UyQqBqv75G9OHiMW/SQPtGGGiHjq1LZrDIy7o6JvUoXvfMgP7IipToG9s4mORrNnjCpI0ymmQUE//WTXQmmhZRwx6QuYU5sGcoJ+5UYVHWQf4KMS253A3oFZOxOyYl2gi6GaCkv2nREljuT5CxxPONbpNn+E5lRQw1LevCTe1KFr9bUHMem0BSvxgjR9aHdf8Bkjlh+lFM6f/Oe7OYqG3FWx4XeWmjntGpMLvG/WDUrr1iWcUw50onR5gKIQdYe7Y/tOxVp9BNYgtlmjQHJA/8oytOtkg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(5660300002)(44832011)(64756008)(66476007)(66556008)(26005)(110136005)(122000001)(52536014)(9686003)(71200400001)(66446008)(508600001)(66946007)(4744005)(76116006)(186003)(316002)(38070700005)(4326008)(33656002)(6506007)(7696005)(8676002)(38100700002)(8936002)(86362001)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: pGoJ9Ae2Zr765kXWhvqgh7GfHdZgRrgGqpI3JdPFLcMXZXoEFrK3L83V3iRrI0GsHvAthAIgUYhvHV/rw/VfUSQ5HSiaXlblKwisBfnQwJHOpdmERskSZTqpWnUSnNckYPB4UaDzdtxKLwu+HN0aMnAtrt4G+sTR6VoNgBQYe5718fGV4gaNiNH8IY0wT6YssqkJ6exd09CIiBFTMEza214JOWn5q99zSrROxg8jbJ/69uAFzd2TgF5bl+lyeEHNyuUaqUBdV70Jy7Q588uvvwKzcxZAe1/6Zs/sHSNvtzaAwj/PD2+XUPb/WuEdhlUB8KuIi+1hfa56iLP6XhAJNeYzvrYKFpu6euXlDdGwQfJTmkcHLbulW4SWOUE9LMCfcp2T5Jq2frcaVP+/I3rH/V9e6iQZs0UuGHioq7ZlF9gXoSAxu/LB7h/jlq+0Klnz1ZiOWuRrWqr+otNFtLipNmjDEF2irajILsgkv031IQL5taKkegmdxQkRhgJukA2RgLJG2JkLyhzLP3LsP6opzaiUKjLYwcF2OQ7EkrzL1zpUvAVM/blTG3NDuz+uxVHMqRFwbNTvCJMP4+ggP514K9g5zIzq2cvzKB2MiE1nmPuQ3NTh5VlHzEY9BHwA2r2scuDXxlZVIb7cjpdjx5gHXVpQg9DFeSjtkAXb+hut9sk4G45pbVKZ050sYj/Am+7nR017Vl9kaMzRpOytHfGBmnWFgpIEHcsaZShg9DPkUvA02U5GNXPFBEU8IhcfPT24fcW4tmuDZCb2pxTuCfCLAE+a0VOW/1/jMmXuFin/dkj8mpooQFVGith+tyDf/HVrZfwav2qZUG2dH/St2hNWS7a0H30FqBANwb+Zow0SY1yUk9K56r8k13MRy72Xi7ASFALo5nLdR8YKj3W5ZbGReHNsor4H+lXeTs4oloQZtqTopp3Y9rzReN1csIhPMW6VA8MWhLisqj89qYtwchP6pLmiyNL1tywo0+IF6N4PhVzD65uz3juKO7/Oo0tF7nT9dOXM5CwB/TytX4Kk+tuUTtSUpqmRFKgxhF7vlkRb3vW0VC/q3ueV+cSee9i5aaK2kzdHN0RAfBDITA2kApP+VBY+qcl5X/uq+6hPUxeZxqXhQC92V7x8HV04sJKSCIaZ0yOd6TGJGF/xh2b+cx9qwfFw+3qRqOakv6YOcKOKObKRgo6iR62ZuFN/PEM/7f8fIdgdJMiGjdpB6REgIVU9E0OKg+FdurllpvZA/y9ywFKRyw1Q8YaxSWFpsvimQ8Z/RiK3j9yFbf3GHMG64kdHk/zh4c1ehxoz4nCJqrG3vony7H5XYrhRka4n9/0NSKfNsCbVw+2VCl7l83+4b/NfZ34n+vXnbKQt5kL/F0C3vDYUKzjupc+9/Fn2L260dtolzL3nFK122QaW1na4YZep0tOnC+tALX7qX4NXKEXFoefogDLH67UHdoT8AVj0G4Y2uIylZEqhvUZ0I2BsHl99EgmM+NxL1A+0xC7NqatqeTJtswN8CpBgznFFZoBDMiD4NItTWyLW6oM+upt5+VXcEZzS73qisxEhdJ8TawcvUK8PmugY6AZvexjb/Q9xIn2TJlfWNTnukXPJCQYK2ieiKA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50af497c-2265-4478-2831-08d9e9060bd0 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2022 00:17:22.6277 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vmKOthH5jbyXQWOSne2ZGargxgGhMC4JnyNj91zL8PFRJbOd3pyjc3Nqe3VbKoVfdTUvPegUWCKeTEgxrAgEZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5869 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10249 signatures=673430 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202060000 X-Proofpoint-ORIG-GUID: LDKprhmeZcTgkQPO32dHUetHooqmkQwt X-Proofpoint-GUID: LDKprhmeZcTgkQPO32dHUetHooqmkQwt X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I've now introduced a new user option find-library-include-other-files > in Emacs 29 that makes `read-library-name' (and therefore > `find-library') behave differently -- if set to nil, it'll offer > completion over library files and nothing else. Thanks. But what's the default behavior, nil or non-nil? From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 00:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: Stefan Monnier , "15735@debbugs.gnu.org" <15735@debbugs.gnu.org> Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.164410672127257 (code B ref 15735); Sun, 06 Feb 2022 00:19:01 +0000 Received: (at 15735) by debbugs.gnu.org; 6 Feb 2022 00:18:41 +0000 Received: from localhost ([127.0.0.1]:36004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVGL-00075Z-8O for submit@debbugs.gnu.org; Sat, 05 Feb 2022 19:18:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVGJ-00075M-1P for 15735@debbugs.gnu.org; Sat, 05 Feb 2022 19:18:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9PJYkKoDvwJQnmjRluBd1WzR9yyeOo0Vq3YNmCuWo+I=; b=J0SGjukZCouJ+ONZTma8kydO1S JlOyaK5xrXmuTJ0uY6Tdg2CWxsib/FDltHvahh8PO9lfIZsg8WvmkCjmlwnjX7gNyceauhgDZbbnL VWcMj11oLQ3JPAWBu9ZcytrC7PzZBsHT5KCEkNKT2piRotsQfph0AcZUAWGX0olGhhfE=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGVG6-0005Ww-2E; Sun, 06 Feb 2022 01:18:28 +0100 From: Lars Ingebrigtsen References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> <87h79cao52.fsf_-_@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUNDQ9dXVzLyMOB gH3///8CmfBVAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YCBgASE68ob44AAAF9SURBVDjLjZMBcgMh CEUluYDoBSJcYMX7360f1Dab2pk6mckub4X/QVOinM6L/wL530Gsouf4U+QMTOQ6AhI5FHH5dipO nXrp5wpX0dOWKrnISe9Tskk5FVEYtETcP/LRYGuSuOj4AGzC4mbsbpMyjYdAg+jdJzFdRbwv8mFn eNRBS/zhPSEVijSqv71gWEXpV/sRIcVYJMS8qyup4vsAXO1N3TPJNyhyax1eZoDh6N2QKX5ttns5 muJrQy9fkda94inXILXDYwByAGG9hrp6kY2Ldy7EmK91KLhkaws0NGTWoCuxYZbzGIhgcLS7XxuF N5wBER59j4XHsJDz9Fw6eN6YjBlLJF8PukDn6hmiK/GgedYYPB66HER14Ql02EPKzBWC9w1A5Rog OuxbVovVdEwAXRgJ0Dxn/kmk9i9pmI21x0MTuEcods182+G5SEe84Ni+AdeDKjOBg7aBxE3+Bjjz e70wLdMN9AaqqiwwfgByodcbaMd/3eVpypIvwG5G+QZK5TgAAAAldEVYdGRhdGU6Y3JlYXRlADIw MjItMDItMDZUMDA6MTg6MTkrMDA6MDCOghoeAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTA2 VDAwOjE4OjE5KzAwOjAw/9+iogAAAABJRU5ErkJggg== X-Now-Playing: Kate & Anna McGarrigle's _Kate & Anna McGarrigle_: "My Town" Date: Sun, 06 Feb 2022 01:18:24 +0100 In-Reply-To: (Drew Adams's message of "Sun, 6 Feb 2022 00:17:22 +0000") Message-ID: <87fsow7sq7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: >> I've now introduced a new user option find-library-include-other-files >> in Emacs 29 that makes `read-library-name' (and therefore >> `find-library') behave differently -- if set to nil, it'll off [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Drew Adams writes: >> I've now introduced a new user option find-library-include-other-files >> in Emacs 29 that makes `read-library-name' (and therefore >> `find-library') behave differently -- if set to nil, it'll offer >> completion over library files and nothing else. > > Thanks. But what's the default behavior, nil or non-nil? Non-nil. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 21 10:44:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15735: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Stefan Monnier , "15735@debbugs.gnu.org" <15735@debbugs.gnu.org> Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.164410737328219 (code B ref 15735); Sun, 06 Feb 2022 00:30:02 +0000 Received: (at 15735) by debbugs.gnu.org; 6 Feb 2022 00:29:33 +0000 Received: from localhost ([127.0.0.1]:36009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVQr-0007L5-85 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 19:29:33 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:28926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVQq-0007Kw-3p for 15735@debbugs.gnu.org; Sat, 05 Feb 2022 19:29:32 -0500 Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 215Ji2E5007379; Sun, 6 Feb 2022 00:29:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=fsqBFnKhyFZGTWc0uG1otJ3vaYaa1JCRG/dxoxhsNGM=; b=iZmiYyuDeEq0+Oi6ETCK5D31ej0sNEsnwTIOwxDsOn8Nr2y5qdyEJkpM+C6wSYiwNEa8 tsesesH5eaiA1+0qsWnJyqt26EYcCh9GWkmvemeX55gk95Aixyp+1ja+Ygm/ETlTC182 p22SLOxyoZ01bav5m3Noy2jhXYE7yHAjeAO4ywUZP+laYQj8sVnS/ftQDCuG0dPb7p0U f6aqh5RftjDPIOkG+exZPNbp1IbtSYjw9OXEyyykFGLfRQQq72/3GhNABLc1XUlVA3K7 pcgBTCeiEPoHInHQHnQ+vsPAs0evM2h7c0GTSZXy54zJ3dDLftkaXUDFsm8bE+QU0uQm zQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3e1gussw2b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Feb 2022 00:29:30 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 2160G8ca106177; Sun, 6 Feb 2022 00:29:29 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2045.outbound.protection.outlook.com [104.47.66.45]) by userp3020.oracle.com with ESMTP id 3e1jpk1vds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Feb 2022 00:29:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cHyixWLvGF/7ojaNkzci2A+jUZ9sf+GffQUs0WeQpzjv3fQQB5cjWKrA29p28zfO37JBUORpRB2weWqRocEj6APleSzMGnyadObn85wCZT4BdqowfW376FarnIxjnV58A2mMbnSsrw35rqYEfRUibrNnp4KKj52JsPgIEDpS4DlNHXeiy6DAuhjqU7uxeJCAXjyFT8yrD9+HQY2ACGveTl+ZJZ430/7bYOaBpSBDCOX/8QR4UBvwej0EDp4TQw7oLVFtiUOZRkofsb7RExoHo1RDynUleHZaxbJY0XHB0jjf7KSbuWlGrZBhYsaWFJNO5i7mUvDIrjevW7GaO8PH2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fsqBFnKhyFZGTWc0uG1otJ3vaYaa1JCRG/dxoxhsNGM=; b=A8OpbWMH/h9kYy0H4C7rVrSWg3h6rn4d5r1cYlZ7TMqVKIZIiMrrQsqu7XMMkjYwMr+4SRYz3HjmnYbHh4uI5DmXJ/Rib9EHSx8pc7ChTKwiN7ciVvQwyXAHuHwAi9b1Su0U926Dg3icNAJclrhBkJYG6VyPOLCKnbUsDnoemS4G0Ze05vUSZioJXneoAOMrHRYKmsr5k4c05I/32ybgyabUILbEkPVHcnM9S1pQUCK2675FKITxbUndmXxcHxSi0e+a5iIUl6slaSVq+7LPtnTpiUXwiTP40woht5SXmIIx9TJpHdrgfiLXxeesvM3Ihko1nBnHSqBWLwkjM0QY8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fsqBFnKhyFZGTWc0uG1otJ3vaYaa1JCRG/dxoxhsNGM=; b=oQjaKzVf6K9JVN8/x2bEdBsq//e6bur2gz3pUlFYU41dgNdPUqvk6ozNbBEEYpbxHLJ+bfwYo8kI0xg3s1DzQk6H469F0Dx3DYL2QF/z6Ff/cq0+MQHlN1mc6GFUX0Y9ULutpS/i9WBa/CkNEzFD96Zh3zSZIMQYypFh7ofMuc0= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB2533.namprd10.prod.outlook.com (2603:10b6:a02:b4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.16; Sun, 6 Feb 2022 00:29:27 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%7]) with mapi id 15.20.4951.018; Sun, 6 Feb 2022 00:29:27 +0000 From: Drew Adams Thread-Topic: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Thread-Index: AQHYGug8ldA00Rhur0OKUqkU/+JW1ayFp8cQgAAAlxSAAAGXgA== Date: Sun, 6 Feb 2022 00:29:27 +0000 Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> <87h79cao52.fsf_-_@gnus.org> <87fsow7sq7.fsf@gnus.org> In-Reply-To: <87fsow7sq7.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9055b5d1-8279-4e06-9465-08d9e907bbb0 x-ms-traffictypediagnostic: BYAPR10MB2533:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JGju1tO3wokbl5J+d/xkrj4n20J/9y3WnK7RZCG7hJvlzinggPs70YWcDkBdaD6nYU8uDKxHvaEZ7Gy6bO4ZVGuEnOLWKYrX5M6IDFpLDXSjN0P4frnkrBhRGTDAkMPHlueBOMUGKl6haxTwA2ZX0T09wYScGXJOranNPwGO4f08qyXogta2XuLQY28a2jpkcBCQYLZp4JwKim2PCpJGSRe4gpwrNZPKuo2Gy/ob8EM9SWdJgxEX0Ry7SjiZXMqwKHDUx7LSlHuLtURu4wTPrEtfGZFxP8mymKOwjrL5rNMgIJg82Yg0DHVgGr6hJCy/VcrFxNgGrMCXOSEXrA32sbaozJXE+6nm/QcTcS0xu9IJKoSM1ohu+P3msumwGWGatSUHK+gzse0bpOxMSUfHZErTo6p/QFQ4w5fN2L/0QIqPRXre73vRs88Yy4RFGo1MR5+AEJs65t6Fu+WQ6ZJnRTzC3pM1N0+36cwapaBCQoVm0sTufddjTTnrC575+Y/z2SzVMZxFYqvc5U3l8f7ACmlGaCQ3K/w94PxfdKKA/6qaVBVQwY6ym/4uR05fUtyscDxT2hkFPuT7IAej7LsHOJW2oAk95sRiyC9D44KRxGo5/RAlXiG9CnCHsW4nBuw+81DtCdTVAzeHG54XtAWA9E7IDA64WFKcnPt9FcTkXkjfHaLzSOddMD7PthuxM8lWyjOYfeizxZaugQSWtDVNOQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(76116006)(86362001)(54906003)(66946007)(64756008)(8676002)(66556008)(66446008)(66476007)(8936002)(33656002)(508600001)(38100700002)(55016003)(44832011)(52536014)(26005)(71200400001)(38070700005)(2906002)(5660300002)(6916009)(122000001)(4326008)(186003)(316002)(6506007)(9686003)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: qixcbtl4jCa5v7O/tdTsuPdG1V8SMJBLaFbeK4eMNi2FziOMDq+/+0Yp4DKhX32w2Yee9lvx/7apzLT2VOfvUJ91PPOROCHJCKbcQy1LESZaz/16fui2ZrT/+Qlng6lTXVMIiF3yD0FMU3R6i3tJJtSYUqfiP+B0It6aumqgzFiMNbTAwtfaVkTLK0m62mm3LPB9jDhnQ+NnsFYdBrGONLiYSh6yiKWzMr7Om1w0w/jucElmuHaTng+AoIu9ex0cgGhWqLGd6gwXTiWwL0Jm1TcFGu/R/CZQ7tXsi62sDWu10EGSkNJUGhZeVtWH0X9nu+1BVXivxMvVkZEJmtTqI8tfnlFJhfHXgmmf4zyCkyT4+6LwPYUvFmuT3QxNP2BLf/d4k+ODcGrxn3phYOJTBiSxCe6ZUbS/eKcpwhphVOCLOLmvju3eeFbiGE60PNRDfI5OTTcP0lmLim8NyS5J3kjWmX3cxf04l48p9cihZm4mIEwxBQO2AQ9aQQNAeAtxYkhrkeWKtq6fgQEgH3mHYJZlHZ9Xwbpp+LFpOKiMYrljWkNu9us1VUuPE894sV/oCrOmxK+xymJ74noxb3kar1a48x0/D8nBCD4R20gwQkLSwb0HtRtjRVrFZl9gkDCIctR13GdAApUi9ZoEXea6qwyjq74ztXxDuBd3An6DYFKvaok8SEp6PnDLjRdOu9MyQ3woOF2rKvPV+BKMzcQrBvbzJSMzMBcakOEIRIOBVkWKbfffJaGM4P+JegtJFDmp3qXEcRjGveIRnw8ICOPYUnCqBaTW9EPxPegpwYntoMzIiLS4pnbcnbhk8TqFglTT35IbZmDFMn58ZczKLzUmyNrbYDaX3EfbRcXaJbPZ98RTmAi+aL0uIEmlVqqE+2deq0Fd73yVEZawfLESz5zQ7RsdUBh3rRLKWa1S5JPw3oM3Yh+GMEaB7KXhUZp9++d38pzBLzwk2IAlEKr+U+RupkBllloDmTWF11W1IQwsg0axP8RmOFeq+nLcrs62eoSPZNSNDebpDiOYC9bl06J5tH/iv1cGPT5AT60TSMq57K88n66NLnSubiqUvXJ+u/J7MMfaKxY/Fj8yRiAp26XI2FWg6wSsVOIXRgcdrhXVNTWpdxos4oKjs7AIx9nZVJ01nmWM8Y/lVwA2RY5vM8agk9xcKuRboG4+cLUj7cOMjIvsT9yGKT2w2+m+w6d8F4HcOHI92qgyoZtnxvh4hybAnfHIj/AWO4pOslffyiMpPylp9UvB9LUb3FcOoMZJDvUalc0NP6jvea8CrG/LZRA+iTDl7XgYZ1u0Xt3pXAVvhuCThWR7tRe+71Yv9wdbQDE9GMhtYk/zThlHnCY4eIpDG8gokNkFhxFK/0q28kl/b39/cRgK1vXtMHDRMWThsiWN5tMH5hgLzidWsbM87K7i6Pv0TQTlEbnRG74z3P0xwtJpJmk/W9r8Ca4QjVHlYGbjtneT2D4B2cAU1a6vPC2cT6Vr9nuVTXS1tk/KTzxwN5/YHTbYHqb8CTMEy8pyUK4C7QryNoIh3BoR7EYkxJhdYObMjWVk7Q8dfBLIZ6c2gX6DEiNtGZIUPo+iRTLSbrHtwB7SvjiLj5F1BxwnqxfbxA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9055b5d1-8279-4e06-9465-08d9e907bbb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2022 00:29:27.1653 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LmxZrQMosVVvnP1sAPyeRZOp/Cft/DzfYF3Q4uA25rcUijz58ckn4tvg5PxuWRDl7IuD0JlzIBgg0SH71J15gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2533 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10249 signatures=673430 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202060000 X-Proofpoint-ORIG-GUID: SUL8cMEaaysPwNhVbul5d11UUQ18Ji-P X-Proofpoint-GUID: SUL8cMEaaysPwNhVbul5d11UUQ18Ji-P X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > >> I've now introduced a new user option find-library-include-other-files > >> in Emacs 29 that makes `read-library-name' (and therefore > >> `find-library') behave differently -- if set to nil, it'll offer > >> completion over library files and nothing else. > > > > Thanks. But what's the default behavior, nil or non-nil? >=20 > Non-nil. So we're back to Square 1. Guess this should be filed under "won't fix" instead of "done". Instead of fixing it, e.g. as Stefan indicated, you chose to give users an option to fix it themselves, but the default value of the option doesn't fix it for them. da> It would make more sense to me if RET at this da> point did what I expected a second TAB to do: da> tell you there are no completions (beyond the da> directory name), but not exit the minibuffer. sm> Yes, that makes sense. Indeed, there's a problem in the completion sys= tem: we don't distinguish between a valid input and a completion candidate.= "ess-5.3.10/" is a valid completion candidate, but is not a valid input. sm> IIRC there are cases where the completion primitives make it difficult = to enforce this distinction (e.g. when we provide a predicate, where it can= be OK to ignore the predicate on intermediate completions like "ess-5.3.10= /"), but in the case of load-library's completion, it should be fixable wit= hout too much trouble.