(completion-table-with-context): Fix `pred' for the
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 26 Apr 2008 01:47:11 +0000 (01:47 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 26 Apr 2008 01:47:11 +0000 (01:47 +0000)
commit3420078700003d6a21e34c5f116516bdd642df90
tree9aeb1bb3bcbe50149d28210bdb25f9b1f45da494
parented9bdfc505f092db9aa010b263ab3a3c615e3b22
(completion-table-with-context): Fix `pred' for the
various kinds of completion tables.
(completion-emacs22-try-completion): Place cursor after the /, as was
done in Emacs-22's minibuffer-complete-word.
Fix bug reported by David Hansen <david.hansen@gmx.net>.
(completion-emacs22-try-completion): Merge all mergable text rather than /.
(completion-pcm--delim-wild-regex): New var.
(completion-pcm-word-delimiters): New custom.
(completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
(completion-pcm--string->pattern, completion-pcm--pattern->regex)
(completion-pcm--all-completions, completion-pcm-all-completions)
(completion-pcm--merge-completions, completion-pcm--pattern->string)
(completion-pcm-try-completion): New functions.
(completion-styles-alist): Add them.
(completion-styles): Add it to the default.
etc/NEWS
lisp/ChangeLog
lisp/minibuffer.el