From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brent Goodrick Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2052: 23.0.60; byte-compiled Emacs Lisp files are not shown during find-file completion Date: Sun, 25 Jan 2009 10:13:36 -0800 Message-ID: <18812.43984.135635.375722@hungover.brentg.com> Reply-To: Brent Goodrick , 2052@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232907858 2590 80.91.229.12 (25 Jan 2009 18:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 18:24:18 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 19:25:31 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 1LR9fm-0006nj-HL for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 19:25:30 +0100 Original-Received: from localhost ([127.0.0.1]:40484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LR9eU-0006qI-LL for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 13:24:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LR9dw-0006WA-7l for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 13:23:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LR9dt-0006Uu-PL for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 13:23:35 -0500 Original-Received: from [199.232.76.173] (port=33503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LR9ds-0006Uh-Tg for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 13:23:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53148) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LR9ds-00005O-8j for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 13:23:32 -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 n0PINTYm008074; Sun, 25 Jan 2009 10:23:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0PIK3Lw006921; Sun, 25 Jan 2009 10:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Brent Goodrick Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 25 Jan 2009 18:20:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2052 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12329072395644 (code B ref -1); Sun, 25 Jan 2009 18:20:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jan 2009 18:13:59 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PIDtr3005638 for ; Sun, 25 Jan 2009 10:13:57 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:55073) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LR9T1-0008N2-2B for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 13:12:19 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LR9UT-0007aX-6g for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 13:13:53 -0500 Original-Received: from rv-out-0708.google.com ([209.85.198.240]:49934) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LR9US-0007a9-6j for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 13:13:49 -0500 Original-Received: by rv-out-0708.google.com with SMTP id k29so6545084rvb.6 for ; Sun, 25 Jan 2009 10:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:content-transfer-encoding:message-id:date:to:subject :x-mailer; bh=ksBCx3wn34+VSp+BG5BHcPXcMIYSn31GJcZxu4OEQ2M=; b=wlsbzmb6mfM+ZnUvF7Oxff8eJ2kt2T1DI/bDz3Ga14gKHTAC3YQco0mw9Kp/OekoGT vVGKfFVJJoLjQEvheSHjNb6EfiG9mr+poOhw5a16NPEMg2c2whfK0wsZF+h8YVmQ4VvU F8Bo6Jznlgbfr8D9YZFVB2IpIlZ6asfCMaS/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:subject:x-mailer; b=Kl6c6rVxCkoeSlC8bowwisIUFyJjsjYaVsYf62BvR0ZowCBNxWt86IJtBpELBSeMje jxDPqqYPBTVfaGMljVBKn/e/b2RLVTU0amSVIVa5YNf+dHzt2o6DvWgkZ7clq3qUlMGt j0CyfZZxHG++lUn6OBuW/dX6VNsXEIh71rJOc= Original-Received: by 10.141.86.4 with SMTP id o4mr4893381rvl.172.1232907223895; Sun, 25 Jan 2009 10:13:43 -0800 (PST) Original-Received: from hungover.brentg.com.thisisbogus.com ([76.14.208.3]) by mx.google.com with ESMTPS id k41sm12274699rvb.3.2009.01.25.10.13.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Jan 2009 10:13:43 -0800 (PST) X-Mailer: VM viewmail-609 under 23.0.60.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 25 Jan 2009 13:23:35 -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:24516 gmane.emacs.pretest.bugs:23762 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 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. Now, granted, I can see that this might be a feature that was added, I mean, who in their right mind would want to actually view the .elc file contents? But, I don't want to look at it, I want to see if it is there. Thanks! Brent If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/brentg/emacs_from_source/install/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11) of 2009-01-25 on hungover Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--with-x-toolkit' '--prefix=/home/brentg/emacs_from_source/install'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Shell Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-netsplit-mode: t desktop-save-mode: t iswitchb-mode: t erc-ring-mode: t erc-services-mode: t erc-networks-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t display-time-mode: t shell-dirtrack-mode: t delete-selection-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: 1 transient-mark-mode: t abbrev-mode: t Recent input: C-h k C-c C-f C-h k C-x C-f w h y SPC d o e s n ' t SPC f i n d - f i l e SPC r e p o r t SPC C-SPC M-b s h o w SPC . e l c SPC f i l e s ? SPC w h e n SPC M-b SPC C-e I SPC h i t SPC t a b SPC f o r SPC c o m p l e t i o n ? M-b M-b M-b M-u C-e C-b SPC a n y m o r e SPC M-( E m a c s SPC f r o m SPC C V S C-e C-x o C-c d e m a c s x f SPC SPC - q M-x r e p o r t - e m a c s b u g Recent messages: Pushed a window configuration. Type C-x 4 C-o RET to restore the other window. Mark set Renamed transient buffer "*Help*" to "*Help*<6>" Pushed a window configuration. ~ Completing command name... Partially completed Completing command name... Type space to flush; repeat completion command to scroll