From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 85121e0: Allow completion on dynamic module files in load-library Date: Tue, 24 Nov 2015 16:12:58 -0500 Message-ID: References: <20151124203604.2994.60394@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448399617 8905 80.91.229.3 (24 Nov 2015 21:13:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2015 21:13:37 +0000 (UTC) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 24 22:13:27 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1Ktv-0001Mz-74 for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2015 22:13:23 +0100 Original-Received: from localhost ([::1]:41449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Ktw-0000i2-57 for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2015 16:13:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Ktf-0000hM-Et for emacs-devel@gnu.org; Tue, 24 Nov 2015 16:13:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Kte-0007FS-KS for emacs-devel@gnu.org; Tue, 24 Nov 2015 16:13:07 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:22328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1KtY-0007EO-QP; Tue, 24 Nov 2015 16:13:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CsCwA731xV/yr292hcgxCEAsEMCYdLBAICgTw5FAEBAQEBAQGBCkEFg10BAQRWIxALNBIUGA2IY88jAQEBAQYBAQEBHos6hQUHFoQXBYwwkmeGaY8EI4I7gVsggngBAQE X-IPAS-Result: A0CsCwA731xV/yr292hcgxCEAsEMCYdLBAICgTw5FAEBAQEBAQGBCkEFg10BAQRWIxALNBIUGA2IY88jAQEBAQYBAQEBHos6hQUHFoQXBYwwkmeGaY8EI4I7gVsggngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="179298531" Original-Received: from 104-247-246-42.cpe.teksavvy.com (HELO pastel.home) ([104.247.246.42]) by ironport2-out.teksavvy.com with ESMTP; 24 Nov 2015 16:12:58 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 91288601B8; Tue, 24 Nov 2015 16:12:58 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Tue, 24 Nov 2015 20:36:04 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195189 Archived-At: > - (list (completing-read "Load library: " > - (apply-partially 'locate-file-completion-table > - load-path > - (get-load-suffixes))))) > + (let (completion-ignored-extensions) > + (list (completing-read "Load library: " > + (apply-partially 'locate-file-completion-table > + load-path > + (get-load-suffixes)))))) Hmm... maybe we should even push this let-binding directly into locate-file-completion-table. WDYT? Stefan