aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2013-09-06 18:46:44 -0400
committerStefan Monnier2013-09-06 18:46:44 -0400
commit67982e2b74ad72987459a6995f34161053a1dbfb (patch)
tree373ee631b05b07ea3e9572b2068b6af48c5edd58 /lisp/ChangeLog
parente17d94a507d3ab2b2998880861b28badf8ecf0e7 (diff)
downloademacs-67982e2b74ad72987459a6995f34161053a1dbfb.tar.gz
emacs-67982e2b74ad72987459a6995f34161053a1dbfb.zip
* lisp/minibuffer.el: Make minibuffer-complete call completion-in-region
rather than other way around. (completion--some, completion-pcm--find-all-completions): Don't delay signals when debugging. (minibuffer-completion-contents): Beware fields within the minibuffer contents. (completion-all-sorted-completions): Use defvar-local. (completion--do-completion, completion--cache-all-sorted-completions) (completion-all-sorted-completions, minibuffer-force-complete): Add args `beg' and `end'. (completion--in-region-1): New fun, extracted from minibuffer-complete. (minibuffer-complete): Use completion-in-region. (completion-complete-and-exit): New fun, extracted from minibuffer-complete-and-exit. (minibuffer-complete-and-exit): Use it. (completion--complete-and-exit): Rename from minibuffer--complete-and-exit. (completion-in-region--single-word): New function, extracted from minibuffer-complete-word. (minibuffer-complete-word): Use it. (display-completion-list): Make `common-substring' argument obsolete. (completion--in-region): Call completion--in-region-1 instead of minibuffer-complete. (completion-help-at-point): Pass boundaries to minibuffer-completion-help as args rather than via an overlay. (completion-pcm--string->pattern): Use `any-delim'. (completion-pcm--optimize-pattern): New function. (completion-pcm--pattern->regex): Handle `any-delim'. * lisp/icomplete.el (icomplete-forward-completions) (icomplete-backward-completions, icomplete-completions): Adjust calls to completion-all-sorted-completions and completion--cache-all-sorted-completions. (icomplete-with-completion-tables): Default to t. * lisp/emacs-lisp/crm.el (crm--current-element): Rename from crm--select-current-element. Don't put an overlay but return the boundaries instead. (crm--completion-command): Take two new args to bind to the boundaries. (crm-completion-help): Adjust accordingly. (crm-complete): Use completion-in-region. (crm-complete-word): Use completion-in-region--single-word. (crm-complete-and-exit): Use completion-complete-and-exit.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog44
1 files changed, 44 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b6245d5791..eb5861bb21d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,49 @@
12013-09-06 Stefan Monnier <monnier@iro.umontreal.ca> 12013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * minibuffer.el: Make minibuffer-complete call completion-in-region
4 rather than other way around.
5 (completion--some, completion-pcm--find-all-completions):
6 Don't delay signals when debugging.
7 (minibuffer-completion-contents): Beware fields within the
8 minibuffer contents.
9 (completion-all-sorted-completions): Use defvar-local.
10 (completion--do-completion, completion--cache-all-sorted-completions)
11 (completion-all-sorted-completions, minibuffer-force-complete):
12 Add args `beg' and `end'.
13 (completion--in-region-1): New fun, extracted from minibuffer-complete.
14 (minibuffer-complete): Use completion-in-region.
15 (completion-complete-and-exit): New fun, extracted from
16 minibuffer-complete-and-exit.
17 (minibuffer-complete-and-exit): Use it.
18 (completion--complete-and-exit): Rename from
19 minibuffer--complete-and-exit.
20 (completion-in-region--single-word): New function, extracted from
21 minibuffer-complete-word.
22 (minibuffer-complete-word): Use it.
23 (display-completion-list): Make `common-substring' argument obsolete.
24 (completion--in-region): Call completion--in-region-1 instead of
25 minibuffer-complete.
26 (completion-help-at-point): Pass boundaries to
27 minibuffer-completion-help as args rather than via an overlay.
28 (completion-pcm--string->pattern): Use `any-delim'.
29 (completion-pcm--optimize-pattern): New function.
30 (completion-pcm--pattern->regex): Handle `any-delim'.
31 * icomplete.el (icomplete-forward-completions)
32 (icomplete-backward-completions, icomplete-completions):
33 Adjust calls to completion-all-sorted-completions and
34 completion--cache-all-sorted-completions.
35 (icomplete-with-completion-tables): Default to t.
36 * emacs-lisp/crm.el (crm--current-element): Rename from
37 crm--select-current-element. Don't put an overlay but return the
38 boundaries instead.
39 (crm--completion-command): Take two new args to bind to the boundaries.
40 (crm-completion-help): Adjust accordingly.
41 (crm-complete): Use completion-in-region.
42 (crm-complete-word): Use completion-in-region--single-word.
43 (crm-complete-and-exit): Use completion-complete-and-exit.
44
452013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
46
3 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather 47 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4 than dynamically. 48 than dynamically.
5 49