From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#36945: 27.0.50; read-library-name Date: Thu, 17 Sep 2020 12:41:36 -0400 Message-ID: References: <87a6xr9q4l.fsf@gnus.org> <83sgbj85ak.fsf@gnu.org> <875z8cqxev.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: fabrice.popineau@gmail.com, 36945@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 17 18:42:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kIwz5-0003KT-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Sep 2020 18:42:12 +0200 Original-Received: from localhost ([::1]:33872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIwz4-0002y2-I5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Sep 2020 12:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIwyw-0002vN-Fa for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 12:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIwyw-0002hm-57 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 12:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIwyw-0006G8-2g for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Sep 2020 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36945 X-GNU-PR-Package: emacs Original-Received: via spool by 36945-submit@debbugs.gnu.org id=B36945.160036090624032 (code B ref 36945); Thu, 17 Sep 2020 16:42:02 +0000 Original-Received: (at 36945) by debbugs.gnu.org; 17 Sep 2020 16:41:46 +0000 Original-Received: from localhost ([127.0.0.1]:38838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIwyg-0006FY-Dm for submit@debbugs.gnu.org; Thu, 17 Sep 2020 12:41:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIwye-0006FL-Kc for 36945@debbugs.gnu.org; Thu, 17 Sep 2020 12:41:45 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5154E440350; Thu, 17 Sep 2020 12:41:39 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BDF3E440327; Thu, 17 Sep 2020 12:41:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1600360897; bh=cpnX1xx8lA6D22iqJ5Zle34hTJLwqQpHhsAeQ063p0Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=QWpMhNbvkzKOr0/8R2TiD5W7socpMZO0yfbIQWyTlte4MGsptypeq3OkQhgZYgjYv yB7r3otapKf0HVTb0+eOcrxnt0VnRAZCbZuipcMvnFgWYKhqOi1K9OZkSoHE9/+dM/ DpV8/segFD5xs00r26ASs9w8dGD44UQUTesj+38HptiZ/XDoV8XH5zfc5Y6iLPgzf6 dVGdqEINyXWZ+XZa3ntAd77ofniZX63GA/NIBUZ+XzDcHO/Xb42Eg+iJ/GTm/8p7gZ MJICM1We8ZDh64weE0k5pM1qLdOtDj48vqCciUUvZ8iNa7qamTia7j60QAy5C/jpC/ LuYejeIUFpjUg== Original-Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4C1601203B6; Thu, 17 Sep 2020 12:41:37 -0400 (EDT) In-Reply-To: <875z8cqxev.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 17 Sep 2020 16:40:24 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188225 Archived-At: >> Since load-library must support the use case when the user forces to >> load the .el file, not the .elc file, read-library-name must allow >> library names with extensions, I think. IOW, the "library" in this >> context is just the basename of its file name, with or without the >> extension. > Yeah. So I think the request in 36945 can't be done -- Emacs has to > complete over all files in load-path, no matter what they're called, > really. Yes and no. The behavior could be similar to what we do with `completion-ignored-extensions` (where those files are only ignored if there are others), e.g. for an input "i" we'd list ("icomplete" "image" ...) but for an input "icomplet" we'd list ("icomplete.el" "icomplete.elc" "icomplete.el.BAK"). Stefan