aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2009-10-26 03:39:15 +0000
committerStefan Monnier2009-10-26 03:39:15 +0000
commit4fcc3d324ae3033ec990687ad0d753a8f2a4b868 (patch)
tree95396c1f29c7aec33895efa8858261f50667ec39 /lisp
parent2d0853070d1353348e6ef067b138d971cf52f341 (diff)
downloademacs-4fcc3d324ae3033ec990687ad0d753a8f2a4b868.tar.gz
emacs-4fcc3d324ae3033ec990687ad0d753a8f2a4b868.zip
(all-completions): Declare the 4th arg obsolete.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog34
-rw-r--r--lisp/minibuffer.el10
-rw-r--r--lisp/subr.el8
3 files changed, 48 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0ff59e4ef35..4e210449f1f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (all-completions): Declare the 4th arg obsolete.
4
12009-10-25 Stefan Monnier <monnier@iro.umontreal.ca> 52009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * pcomplete.el (pcomplete-unquote-argument-function): New var. 7 * pcomplete.el (pcomplete-unquote-argument-function): New var.
@@ -10,6 +14,36 @@
10 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if 14 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11 we're inside a dedicated or minibuffer window. 15 we're inside a dedicated or minibuffer window.
12 16
172009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * cedet/semantic/fw.el (semantic-alias-obsolete)
20 (semantic-varalias-obsolete): Make the `when' arg mandatory.
21 (define-mode-overload-implementation):
22 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
23 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
24 * cedet/semantic/util.el (semantic-file-token-stream)
25 (semantic-something-to-stream):
26 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
27 (semantic-expand-nonterminal):
28 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
29 (semantic-find-dependency, semantic-find-nonterminal)
30 (semantic-find-dependency):
31 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
32 (semantic-flex-text, semantic-flex-make-keyword-table)
33 (semantic-flex-keyword-p, semantic-flex-keyword-put)
34 (semantic-flex-keyword-get, semantic-flex-map-keywords)
35 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
36 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
37 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
38 (semantic-after-idle-scheduler-reparse-hooks):
39 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
40 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
41 * cedet/semantic.el (semantic-toplevel-bovine-table)
42 (semantic-toplevel-bovine-cache)
43 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
44 (semantic-init-mode-hooks, semantic-init-db-hooks)
45 (semantic-bovination-working-type): Provide the `when' arg.
46
132009-10-24 Karl Fogel <kfogel@red-bean.com> 472009-10-24 Karl Fogel <kfogel@red-bean.com>
14 48
15 * bookmark.el: Update documentation, especially documentation 49 * bookmark.el: Update documentation, especially documentation
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 014faeac79c..783e219199b 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -40,9 +40,17 @@
40;; corresponding to the displayed completions because we only 40;; corresponding to the displayed completions because we only
41;; provide the start info but not the end info in 41;; provide the start info but not the end info in
42;; completion-base-position. 42;; completion-base-position.
43;; - quoting is problematic. E.g. the double-dollar quoting used in
44;; substitie-in-file-name (and hence read-file-name-internal) bumps
45;; into various bugs:
43;; - choose-completion doesn't know how to quote the text it inserts. 46;; - choose-completion doesn't know how to quote the text it inserts.
44;; E.g. it fails to double the dollars in file-name completion, or 47;; E.g. it fails to double the dollars in file-name completion, or
45;; to backslash-escape spaces and other chars in comint completion. 48;; to backslash-escape spaces and other chars in comint completion.
49;; - when completing ~/tmp/fo$$o, the highligting in *Completions*
50;; is off by one position.
51;; - all code like PCM which relies on all-completions to match
52;; its argument gets confused because all-completions returns unquoted
53;; texts (as desired for *Completions* output).
46;; - C-x C-f ~/*/sr ? should not list "~/./src". 54;; - C-x C-f ~/*/sr ? should not list "~/./src".
47;; - minibuffer-force-complete completes ~/src/emacs/t<!>/lisp/minibuffer.el 55;; - minibuffer-force-complete completes ~/src/emacs/t<!>/lisp/minibuffer.el
48;; to ~/src/emacs/trunk/ and throws away lisp/minibuffer.el. 56;; to ~/src/emacs/trunk/ and throws away lisp/minibuffer.el.
@@ -72,8 +80,6 @@
72;; - add support for ** to pcm. 80;; - add support for ** to pcm.
73;; - Add vc-file-name-completion-table to read-file-name-internal. 81;; - Add vc-file-name-completion-table to read-file-name-internal.
74;; - A feature like completing-help.el. 82;; - A feature like completing-help.el.
75;; - make lisp/complete.el obsolete.
76;; - Make the `hide-spaces' arg of all-completions obsolete?
77 83
78;;; Code: 84;;; Code:
79 85
diff --git a/lisp/subr.el b/lisp/subr.el
index 9d49075a469..30107edd4a4 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1038,6 +1038,8 @@ is converted into a string by expressing it in decimal."
1038 "explicitly check for a frame-parameter instead." "22.2") 1038 "explicitly check for a frame-parameter instead." "22.2")
1039(make-obsolete 'interactive-p 'called-interactively-p "23.2") 1039(make-obsolete 'interactive-p 'called-interactively-p "23.2")
1040(set-advertised-calling-convention 'called-interactively-p '(kind)) 1040(set-advertised-calling-convention 'called-interactively-p '(kind))
1041(set-advertised-calling-convention
1042 'all-completions '(string collection &optional predicate))
1041 1043
1042;;;; Obsolescence declarations for variables, and aliases. 1044;;;; Obsolescence declarations for variables, and aliases.
1043 1045
@@ -1885,11 +1887,13 @@ any other non-digit terminates the character code and is then used as input."))
1885 ;; Turn a meta-character into a character with the 0200 bit set. 1887 ;; Turn a meta-character into a character with the 0200 bit set.
1886 (setq code (logior (logand translated (lognot ?\M-\^@)) 128) 1888 (setq code (logior (logand translated (lognot ?\M-\^@)) 128)
1887 done t)) 1889 done t))
1888 ((and (<= ?0 translated) (< translated (+ ?0 (min 10 read-quoted-char-radix)))) 1890 ((and (<= ?0 translated)
1891 (< translated (+ ?0 (min 10 read-quoted-char-radix))))
1889 (setq code (+ (* code read-quoted-char-radix) (- translated ?0))) 1892 (setq code (+ (* code read-quoted-char-radix) (- translated ?0)))
1890 (and prompt (setq prompt (message "%s %c" prompt translated)))) 1893 (and prompt (setq prompt (message "%s %c" prompt translated))))
1891 ((and (<= ?a (downcase translated)) 1894 ((and (<= ?a (downcase translated))
1892 (< (downcase translated) (+ ?a -10 (min 36 read-quoted-char-radix)))) 1895 (< (downcase translated)
1896 (+ ?a -10 (min 36 read-quoted-char-radix))))
1893 (setq code (+ (* code read-quoted-char-radix) 1897 (setq code (+ (* code read-quoted-char-radix)
1894 (+ 10 (- (downcase translated) ?a)))) 1898 (+ 10 (- (downcase translated) ?a))))
1895 (and prompt (setq prompt (message "%s %c" prompt translated)))) 1899 (and prompt (setq prompt (message "%s %c" prompt translated))))