From a045a16773e4953e2a68f060f9245d044ee5e345 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 17 Nov 2012 14:45:24 -0800 Subject: [PATCH] * minibuf.texi (Basic Completion): Mention misc completion-table funcs. * etc/NEWS: Related edit. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/minibuf.texi | 17 +++++++++++++++++ etc/NEWS | 7 +------ 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 3aa947d22b7..da82ece39c1 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2012-11-17 Glenn Morris + + * minibuf.texi (Basic Completion): Mention misc completion-table funcs. + 2012-11-17 Leo Liu * minibuf.texi (Programmed Completion): Doc fix for metadata diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index d1cc33b9f07..2c0fcc88f56 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi @@ -886,6 +886,23 @@ Here is an example: @end smallexample @end defmac +@c FIXME? completion-table-with-context? + +@findex completion-table-case-fold +@findex completion-table-in-turn +@findex completion-table-subvert +@findex completion-table-with-predicate +@findex completion-table-with-terminator +There are several functions that take an existing completion table and +return a modified version. @code{completion-table-case-fold} returns +a case-insensitive table. @code{completion-table-in-turn} combines +multiple input tables. @code{completion-table-subvert} alters a table +to use a different initial prefix. +@code{completion-table-with-terminator} adds a terminating string. +@code{completion-table-with-predicate} filters a table with a +predicate function. + + @node Minibuffer Completion @subsection Completion and the Minibuffer @cindex minibuffer completion diff --git a/etc/NEWS b/etc/NEWS index 068fc5a809d..f518605b572 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -812,15 +812,10 @@ More commands use `read-regexp' now to read their regexp arguments. *** New function `completion-table-with-quoting' to handle completion in the presence of quoting, such as file completion in shell buffers. ++++ *** New function `completion-table-subvert' to use an existing completion table, but with a different prefix. -FIXME? -*** There are several other completion-table- functions that never got -added to NEWS or documented: completion-table-case-fold (24.1), -completion-table-with-context (23,1), completion-table-with-terminator (23.1), -completion-table-with-predicate (23.1), completion-table-in-turn (23.1) - ** Debugger changes +++ -- 2.39.2