• Stephen Leake's avatar
    Add new file completion tables, change project.el to allow using them · d2a5283a
    Stephen Leake authored
    * lisp/file-complete-root-relative.el: New file.
    
    * lisp/uniquify-files.el: New file.
    
    * test/lisp/progmodes/uniquify-files-resources/: New directory
    containing files for testing uniquify-files.
    
    * test/lisp/progmodes/uniquify-files-test.el: New file; test
    uniquify-files.
    
    * lisp/files.el (path-files): New function; useful with new completion
    tables.
    
    * lisp/progmodes/project.el (project-file-completion-table): Use
    file-complete-root-relative completion table.
    (project-find-file): Add optional FILENAME parameter.
    (project--completing-read-strict): Rewrite to just use the given
    completion table; extracting the common directory is now done by
    file-complete-root-relative. This also allows using the new
    uniquify-files completion table.
    
    * lisp/minibuffer.el (completion-category-defaults): Add
    uniquify-file.
    (completing-read-default): Add final step to call completion table
    with 'alist action if supported.
    d2a5283a
Name
Last commit
Last update
..
calc Loading commit data...
calendar Loading commit data...
custom-resources Loading commit data...
emacs-lisp Loading commit data...
emulation Loading commit data...
erc Loading commit data...
eshell Loading commit data...
gnus Loading commit data...
international Loading commit data...
mail Loading commit data...
net Loading commit data...
org Loading commit data...
progmodes Loading commit data...
textmodes Loading commit data...
url Loading commit data...
vc Loading commit data...
abbrev-tests.el Loading commit data...
arc-mode-tests.el Loading commit data...
auth-source-pass-tests.el Loading commit data...
auth-source-tests.el Loading commit data...
autorevert-tests.el Loading commit data...
buff-menu-tests.el Loading commit data...
button-tests.el Loading commit data...
char-fold-tests.el Loading commit data...
color-tests.el Loading commit data...
comint-tests.el Loading commit data...
custom-tests.el Loading commit data...
dabbrev-tests.el Loading commit data...
descr-text-tests.el Loading commit data...
dired-aux-tests.el Loading commit data...
dired-tests.el Loading commit data...
dired-x-tests.el Loading commit data...
dom-tests.el Loading commit data...
electric-tests.el Loading commit data...
epg-tests.el Loading commit data...
faces-tests.el Loading commit data...
ffap-tests.el Loading commit data...
filenotify-tests.el Loading commit data...
files-tests.el Loading commit data...
files-x-tests.el Loading commit data...
help-fns-tests.el Loading commit data...
hi-lock-tests.el Loading commit data...
htmlfontify-tests.el Loading commit data...
ibuffer-tests.el Loading commit data...
ido-tests.el Loading commit data...
image-tests.el Loading commit data...
imenu-tests.el Loading commit data...
info-xref-tests.el Loading commit data...
isearch-tests.el Loading commit data...
jit-lock-tests.el Loading commit data...
json-tests.el Loading commit data...
jsonrpc-tests.el Loading commit data...
kmacro-tests.el Loading commit data...
ls-lisp-tests.el Loading commit data...
man-tests.el Loading commit data...
md4-tests.el Loading commit data...
minibuffer-tests.el Loading commit data...
mouse-tests.el Loading commit data...
obarray-tests.el Loading commit data...
ps-print-tests.el Loading commit data...
register-tests.el Loading commit data...
replace-tests.el Loading commit data...
rot13-tests.el Loading commit data...
ses-tests.el Loading commit data...
shadowfile-tests.el Loading commit data...
shell-tests.el Loading commit data...
simple-tests.el Loading commit data...
sort-tests.el Loading commit data...
soundex-tests.el Loading commit data...
subr-tests.el Loading commit data...
tar-mode-tests.el Loading commit data...
term-tests.el Loading commit data...
thingatpt-tests.el Loading commit data...
thread-tests.el Loading commit data...
wdired-tests.el Loading commit data...
whitespace-tests.el Loading commit data...
wid-edit-tests.el Loading commit data...
xdg-tests.el Loading commit data...
xml-tests.el Loading commit data...
xt-mouse-tests.el Loading commit data...