From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5955: completions in M-x find-library include .elc files Date: Sat, 24 Jul 2010 00:59:59 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279926473 20776 80.91.229.12 (23 Jul 2010 23:07:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 23:07:53 +0000 (UTC) Cc: 5955@debbugs.gnu.org To: "Aaron S. Hawley" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 24 01:07:52 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcRLL-0003Fv-FB for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 01:07:51 +0200 Original-Received: from localhost ([127.0.0.1]:41878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcRLK-0001ZQ-QL for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jul 2010 19:07:50 -0400 Original-Received: from [140.186.70.92] (port=55660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcRLB-0001YD-95 for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 19:07:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcRLA-0007D8-6Y for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 19:07:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53302) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcRLA-0007D3-5K for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2010 19:07:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcREk-0008Cg-2h; Fri, 23 Jul 2010 19:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2010 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5955-submit@debbugs.gnu.org id=B5955.127992600831515 (code B ref 5955); Fri, 23 Jul 2010 23:01:02 +0000 Original-Received: (at 5955) by debbugs.gnu.org; 23 Jul 2010 23:00:08 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcRDr-0008CG-Jz for submit@debbugs.gnu.org; Fri, 23 Jul 2010 19:00:07 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcRDq-0008BZ-Kr for 5955@debbugs.gnu.org; Fri, 23 Jul 2010 19:00:06 -0400 Original-Received: from ceviche.home (vpn-132-204-232-95.acd.umontreal.ca [132.204.232.95]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o6NN001Y028504; Fri, 23 Jul 2010 19:00:01 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id BA606660D2; Sat, 24 Jul 2010 00:59:59 +0200 (CEST) In-Reply-To: (Aaron S. Hawley's message of "Thu, 15 Apr 2010 22:28:57 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3585=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 23 Jul 2010 19:01:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38855 Archived-At: > Typing TAB or ? in M-x find-library shows .el and .elc files when it > probably should just be the name of the library without the extension. > Appears that this is a general problem with > locate-file-completion-table in files.el. It appears to put all files > in to the completion table without condition. The fix is just > removing the first `push' operation. I added the `push' because in load-library I often want to select a particular file (i.e. either the .el or the .elc file). Stefan