# HG changeset patch # User Chong Yidong # Date 1237172624 0 # Node ID 9c86a5cf583e1be70d3dc4dc07c4ae1fc6f4d373 # Parent 38cce541a3bdd926a6b3dfb6796134795e9ff1e8 Describe new completion rules more clearly. diff -r 38cce541a3bd -r 9c86a5cf583e etc/NEWS --- a/etc/NEWS Mon Mar 16 02:42:45 2009 +0000 +++ b/etc/NEWS Mon Mar 16 03:03:44 2009 +0000 @@ -411,6 +411,19 @@ If you change it to t, Emacs always asks for confirmation; if you change it to nil, Emacs never asks for confirmation. +++ +*** The rules for performing completion have been changed. +When generating completion alternatives, Emacs now takes the +minibuffer text after point, if any, into account: this text is +treated as a substring of the remaining part of the completion +alternative (i.e., the part not matched by the minibuffer text before +point). If no completion alternatives are found this way, Emacs +attempts to perform partial-completion. If still no completion +alternatives are found, we fall back on the Emacs 22 rules for +performing completion. + +The new variable `completion-styles' can be customized to choose your +favorite completion style. ++++ *** When M-n in the minibuffer reaches the end of the list of defaults, it adds the completion list to the end, so next M-n continues putting completion items to the minibuffer. The same principle applies to @@ -453,11 +466,6 @@ +++ *** The variable read-buffer-completion-ignore-case overrides completion-ignore-case for buffer name completion. -+++ -*** `completion-styles' can be customized to choose your favorite -completion style. ---- -*** The default completion styles include a form of partial-completion. --- *** The new command `minibuffer-force-complete' chooses one of the possible completions, rather than stopping at the common prefix.