[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
should locate-file-completion filter out "./" and "../"?
From: |
Drew Adams |
Subject: |
should locate-file-completion filter out "./" and "../"? |
Date: |
Sun, 9 Jul 2006 15:17:47 -0700 |
emacs -q
M-: (locate-file-completion "" (list load-path ".el" ".el.gz") t)
That returns a HUMONGOUS list (3093 entries in emacs -q)) such as this
(abbreviated):
("./" "../" "ja-dic/" "leim-list" "leim-list.el" "quail/" "./" "../"
".cvsignore" "ChangeLog" "CVS/" ...)
There are plenty of occurrences of "./" and "../" here, in particular.
1. Is it at all useful to have "./" and "../" in this list?
2. If it is useful, how about removing (or not creating) duplicates of
"./" and "../"?
In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
of 2006-03-20 on W2ONE
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'
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: ENU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Dired by name
Minor modes in effect:
encoded-kbd-mode: t
tooltip-mode: t
auto-compression-mode: t
tool-bar-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
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>
Recent messages:
(C:\Emacs-22-2006-03-20\bin\emacs.exe -q --no-site-file --debug-init
C:\drews-lisp-20)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading dired...
Loading regexp-opt...done
Loading dired...done
Loading emacsbug...done
- should locate-file-completion filter out "./" and "../"?,
Drew Adams <=
- RE: should locate-file-completion filter out "./" and "../"?, Drew Adams, 2006/07/09
- Re: should locate-file-completion filter out "./" and "../"?, Stefan Monnier, 2006/07/10
- RE: should locate-file-completion filter out "./" and "../"?, Drew Adams, 2006/07/10
- Re: should locate-file-completion filter out "./" and "../"?, Stefan Monnier, 2006/07/11
- RE: should locate-file-completion filter out "./" and "../"?, Drew Adams, 2006/07/11
- Re: should locate-file-completion filter out "./" and "../"?, Stefan Monnier, 2006/07/11
- RE: should locate-file-completion filter out "./" and "../"?, Drew Adams, 2006/07/11
- Re: should locate-file-completion filter out "./" and "../"?, Stefan Monnier, 2006/07/11
- RE: should locate-file-completion filter out "./" and "../"?, Drew Adams, 2006/07/11
Re: should locate-file-completion filter out "./" and "../"?, Richard Stallman, 2006/07/10