• 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
admin Loading commit data...
build-aux Loading commit data...
doc Loading commit data...
etc Loading commit data...
leim Loading commit data...
lib Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
lwlib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
msdos Loading commit data...
nextstep Loading commit data...
nt Loading commit data...
oldXMenu Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.dir-locals.el Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
BUGS Loading commit data...
CONTRIBUTE Loading commit data...
COPYING Loading commit data...
ChangeLog.1 Loading commit data...
ChangeLog.2 Loading commit data...
ChangeLog.3 Loading commit data...
GNUmakefile Loading commit data...
INSTALL Loading commit data...
INSTALL.REPO Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.bat Loading commit data...
configure.ac Loading commit data...
make-dist Loading commit data...