From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 85121e0: Allow completion on dynamic module files in load-library Date: Wed, 25 Nov 2015 10:47:16 -0600 Message-ID: <86twoayqjv.fsf@stephe-leake.org> 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 1448499853 6456 80.91.229.3 (26 Nov 2015 01:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 01:04:13 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 26 02:04:00 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 1a1kye-00078b-5J for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 02:04:00 +0100 Original-Received: from localhost ([::1]:48585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1kyf-0002Pa-TR for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 20:04:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1kyR-0002PU-0n for emacs-devel@gnu.org; Wed, 25 Nov 2015 20:03:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1kyN-0007Bv-Pa for emacs-devel@gnu.org; Wed, 25 Nov 2015 20:03:46 -0500 Original-Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:34299) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1a1kyN-0007Ap-HL for emacs-devel@gnu.org; Wed, 25 Nov 2015 20:03:43 -0500 Original-Received: (qmail 2288 invoked by uid 0); 26 Nov 2015 01:03:34 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy10.mail.unifiedlayer.com with SMTP; 26 Nov 2015 01:03:34 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw3 with id m83U1r00V2UdiVW0183X3a; Thu, 26 Nov 2015 01:03:32 -0700 X-Authority-Analysis: v=2.1 cv=Caqbutbl c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=qtqOOiqGOCEA:10 a=aLOnu2nY4TxyJUOjnLgA:9 Original-Received: from [76.218.37.33] (port=59877 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1a1dDz-0001xD-BA; Wed, 25 Nov 2015 09:47:19 -0700 In-Reply-To: (Stefan Monnier's message of "Tue, 24 Nov 2015 16:12:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.20.226 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:195269 Archived-At: Stefan Monnier writes: >> - (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? +1; that would be cleaner -- -- Stephe