From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2052: 23.0.60; byte-compiled Emacs Lisp files are not shown during find-file completion Date: Sun, 25 Jan 2009 20:51:41 +0200 Message-ID: References: <18812.43984.135635.375722@hungover.brentg.com> Reply-To: Eli Zaretskii , 2052@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232910296 10104 80.91.229.12 (25 Jan 2009 19:04:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 19:04:56 +0000 (UTC) To: Brent Goodrick , 2052@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 20:06:08 2009 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.50) id 1LRAIL-0006Qa-8m for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 20:05:54 +0100 Original-Received: from localhost ([127.0.0.1]:58106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRAH3-00076L-K4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 14:04:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRAGe-0006vM-Kg for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 14:03:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRAGa-0006tf-Hs for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 14:03:33 -0500 Original-Received: from [199.232.76.173] (port=50653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRAGa-0006tb-Dh for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 14:03:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55826) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRAGZ-0003zi-01 for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 14:03:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PJ3TPk017860; Sun, 25 Jan 2009 11:03:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0PJ05YD016860; Sun, 25 Jan 2009 11:00:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 25 Jan 2009 19:00:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2052 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2052-submit@emacsbugs.donarmstrong.com id=B2052.123290952815392 (code B ref 2052); Sun, 25 Jan 2009 19:00:05 +0000 Original-Received: (at 2052) by emacsbugs.donarmstrong.com; 25 Jan 2009 18:52:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PIq42J015386 for <2052@emacsbugs.donarmstrong.com>; Sun, 25 Jan 2009 10:52:06 -0800 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KE100E00IR4ZR00@i-mtaout1.012.net.il> for 2052@emacsbugs.donarmstrong.com; Sun, 25 Jan 2009 20:52:09 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.255.234]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KE1009ZWJ2KU9I0@i-mtaout1.012.net.il>; Sun, 25 Jan 2009 20:52:08 +0200 (IST) In-reply-to: <18812.43984.135635.375722@hungover.brentg.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 25 Jan 2009 14:03:33 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:24521 Archived-At: > From: Brent Goodrick > Date: Sun, 25 Jan 2009 10:13:36 -0800 > Cc: > > Using Emacs built from top of trunk CVS today. Validated this using > emacs -q. Do the following: > > 1. Open up the *scratch* (lisp-interaction-mode) buffer and evaluate > the following form which simply compiles the .el file into a .elc > file for demonstration purposes: > > (let* ((elisp-file "/tmp/afile.el") > (byte-compiled-file (concat elisp-file "c"))) > (find-file elisp-file) > (erase-buffer) > (insert (format "%S" '(message "just some message"))) > (save-buffer) > (when (file-exists-p byte-compiled-file) > (message "Deleting byte-compiled file %S" byte-compiled-file) > (delete-file byte-compiled-file)) > (byte-compile-file elisp-file) > (unless (file-exists-p byte-compiled-file) > (error "Assertion failed: .elc %S should exist. What happened?" byte-compiled-file)) > (message "Created byte-compiled file %s" byte-compiled-file)) > > 2. Execute M-x find-file > > 3. Type in "/tmp/afile.el" (without the double-quotes) and then hit > the TAB key twice. It reads "Sole completion" for only the .el file, > which wrong because the .elc file does indeed exist. The > /tmp/afile.elc file exists as you can tell by examining the > filesystem. Does the value of completion-ignored-extensions give you a hint why this is a feature?