GNU bug report logs - #15735
locate-file-completion-table should not accept incomplete input

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Sun, 27 Oct 2013 17:38:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 29 Oct 2013 01:28:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 21:28:15 2013
Received: from localhost ([127.0.0.1]:50254 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vay6R-0004vT-Ap
	for submit <at> 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 <drew.adams@HIDDEN>) id 1Vay6O-0004vE-Uh
 for 15735 <at> 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 <drew.adams@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: RE: bug#15735: 24.3.50; `find-library' completion bug
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>
 <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
 <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
 <jwv4n8178n9.fsf-monnier+emacsbugs@HIDDEN>
 <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default>
 <jwvsivk6fis.fsf-monnier+emacsbugs@HIDDEN>
In-Reply-To: <jwvsivk6fis.fsf-monnier+emacsbugs@HIDDEN>
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-Debbugs-Envelope-To: 15735
Cc: 15735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

> in the case of load-library's completion, it
> should be fixable without too much trouble.

Sounds good. Thx.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.
Changed bug title to 'locate-file-completion-table should not accept incomplete input' from '24.3.50; `find-library' completion bug' Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 29 Oct 2013 01:25:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 21:25:12 2013
Received: from localhost ([127.0.0.1]:50245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vay3T-0004qF-9Q
	for submit <at> 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 <monnier@HIDDEN>)
 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 <monnier@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#15735: 24.3.50; `find-library' completion bug
Message-ID: <jwvsivk6fis.fsf-monnier+emacsbugs@HIDDEN>
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>
 <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
 <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
 <jwv4n8178n9.fsf-monnier+emacsbugs@HIDDEN>
 <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-Debbugs-Envelope-To: 15735
Cc: 15735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 15:06:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 11:06:14 2013
Received: from localhost ([127.0.0.1]:49240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VaoOT-00020b-Qo
	for submit <at> 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 <drew.adams@HIDDEN>) id 1VaoOR-00020L-CD
 for 15735 <at> 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 <drew.adams@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: RE: bug#15735: 24.3.50; `find-library' completion bug
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>
 <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
 <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
 <jwv4n8178n9.fsf-monnier+emacsbugs@HIDDEN>
In-Reply-To: <jwv4n8178n9.fsf-monnier+emacsbugs@HIDDEN>
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-Debbugs-Envelope-To: 15735
Cc: 15735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 14:53:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 10:53:14 2013
Received: from localhost ([127.0.0.1]:49205 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VaoBu-0001fv-20
	for submit <at> 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 <monnier@HIDDEN>) id 1VaoBr-0001fg-UX
 for 15735 <at> 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 <monnier@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#15735: 24.3.50; `find-library' completion bug
Message-ID: <jwv4n8178n9.fsf-monnier+emacsbugs@HIDDEN>
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>
 <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
 <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
Date: Mon, 28 Oct 2013 10:53:05 -0400
In-Reply-To: <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default> (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-Debbugs-Envelope-To: 15735
Cc: 15735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 14:39:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 10:39:36 2013
Received: from localhost ([127.0.0.1]:49157 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vanyh-0001Ji-0J
	for submit <at> 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 <drew.adams@HIDDEN>) id 1VanyV-0001JH-NA
 for 15735 <at> 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 <drew.adams@HIDDEN>
To: =?iso-8859-1?B?QW5kcmVhcyBS9mhsZXI=?= <andreas.roehler@HIDDEN>,
 15735 <at> debbugs.gnu.org
Subject: RE: bug#15735: 24.3.50; `find-library' completion bug
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>
 <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
 <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
 <526E7567.9070901@HIDDEN>
In-Reply-To: <526E7567.9070901@HIDDEN>
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-Debbugs-Envelope-To: 15735
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Oct 2013 14:30:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 10:30:13 2013
Received: from localhost ([127.0.0.1]:49135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VanpZ-00014F-AZ
	for submit <at> 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 <andreas.roehler@HIDDEN>) id 1VanpT-00012Y-IN
 for submit <at> 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 <andreas.roehler@HIDDEN>) id 1VanpE-0001iT-Ts
 for submit <at> 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 <andreas.roehler@HIDDEN>) id 1VanpE-0001iP-Qv
 for submit <at> 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 <andreas.roehler@HIDDEN>) id 1Vanp7-0002tS-H6
 for bug-gnu-emacs@HIDDEN; Mon, 28 Oct 2013 10:29:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andreas.roehler@HIDDEN>) id 1Vanp0-0001gC-78
 for bug-gnu-emacs@HIDDEN; 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 <andreas.roehler@HIDDEN>) id 1Vanoz-0001g2-Te
 for bug-gnu-emacs@HIDDEN; 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@HIDDEN>
Date: Mon, 28 Oct 2013 15:32:07 +0100
From: =?ISO-8859-1?Q?Andreas_R=F6hler?= <andreas.roehler@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
 rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: Re: bug#15735: 24.3.50; `find-library' completion bug
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>	<jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
 <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
In-Reply-To: <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 14:00:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 10:00:59 2013
Received: from localhost ([127.0.0.1]:49077 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VanNJ-0000Lj-Uu
	for submit <at> 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 <drew.adams@HIDDEN>) id 1VanNG-0000LV-HH
 for 15735 <at> 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: <ff2b195a-bc0f-4950-9a66-f6ef73e5703f@default>
Date: Mon, 28 Oct 2013 07:00:45 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: RE: bug#15735: 24.3.50; `find-library' completion bug
References: <754381f4-27c1-4468-a12c-e029f5fa078b@default>
 <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
In-Reply-To: <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
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-Debbugs-Envelope-To: 15735
Cc: 15735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at 15735 <at> debbugs.gnu.org:


Received: (at 15735) by debbugs.gnu.org; 28 Oct 2013 04:07:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 28 00:07:38 2013
Received: from localhost ([127.0.0.1]:48014 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vae78-0000Ps-Ib
	for submit <at> 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 <monnier@HIDDEN>) id 1Vae77-0000Pd-2T
 for 15735 <at> 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 <monnier@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#15735: 24.3.50; `find-library' completion bug
Message-ID: <jwveh7682fv.fsf-monnier+emacsbugs@HIDDEN>
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-Debbugs-Envelope-To: 15735
Cc: 15735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Oct 2013 17:37:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 27 13:37:36 2013
Received: from localhost ([127.0.0.1]:47669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VaUHP-0007va-Us
	for submit <at> 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 <drew.adams@HIDDEN>) id 1VaUHN-0007vL-Ir
 for submit <at> 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 <drew.adams@HIDDEN>) id 1VaUH8-0008Sg-6r
 for submit <at> 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 <drew.adams@HIDDEN>) id 1VaUH8-0008Sc-3p
 for submit <at> 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 <drew.adams@HIDDEN>) id 1VaUGz-00081t-E2
 for bug-gnu-emacs@HIDDEN; Sun, 27 Oct 2013 13:37:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1VaUGq-0008QV-OV
 for bug-gnu-emacs@HIDDEN; 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 <drew.adams@HIDDEN>) id 1VaUGq-0008QN-J0
 for bug-gnu-emacs@HIDDEN; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; 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 <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; `find-library' completion bug
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG=
=3D1'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15735; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.