unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Brent Goodrick'" <bgoodr@gmail.com>,
	<2052@emacsbugs.donarmstrong.com>,  <emacs-pretest-bug@gnu.org>
Subject: bug#2052: 23.0.60; byte-compiled Emacs Lisp files are not shown during find-filecompletion
Date: Sun, 25 Jan 2009 10:50:35 -0800	[thread overview]
Message-ID: <003e01c97f1d$cf519820$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <18812.43984.135635.375722@hungover.brentg.com>

> 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.

Apologies if I missed something - I didn't read your report in detail. But is
the behavior different from what you see with previous Emacs versions?

In particular, isn't this the normal behavior, assuming that ".elc" is in
`completion-ignored-extensions'? If this is in fact the problem, see the Emacs
manual, node `Completion Options', which includes this:

"When completing file names, certain file names are usually ignored.
The variable `completion-ignored-extensions' contains a list of
strings; a file name ending in any of those strings is ignored as a
completion candidate.  The standard value of this variable has several
elements including `".o"', `".elc"', and `"~"'.  For example, if a
directory contains `foo.c' and `foo.elc', `foo' completes to `foo.c'.
However, if _all_ possible completions end in "ignored" strings, they
are not ignored: in the previous example, `foo.e' completes to
`foo.elc'.  Displaying a list of possible completions disregards
`completion-ignored-extensions'; it shows them all."







  reply	other threads:[~2009-01-25 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25 18:13 bug#2052: 23.0.60; byte-compiled Emacs Lisp files are not shown during find-file completion Brent Goodrick
2009-01-25 18:50 ` Drew Adams [this message]
2009-01-25 18:51 ` Eli Zaretskii
2009-01-25 18:59   ` Brent Goodrick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003e01c97f1d$cf519820$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=2052@emacsbugs.donarmstrong.com \
    --cc=bgoodr@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).