]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/wid-edit.el (widget-complete-field): Remove.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 21 Mar 2012 02:13:52 +0000 (22:13 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 21 Mar 2012 02:13:52 +0000 (22:13 -0400)
(widget-complete): Remove broken use of it.

Fixes: debbugs:11051
lisp/ChangeLog
lisp/wid-edit.el

index ed5dc39021bb2646087a0b4a5ef7ea400af1c798..3699bb0f5bd3dc800ee95f32adda110b6d77515c 100644 (file)
@@ -1,7 +1,12 @@
+2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * wid-edit.el (widget-complete-field): Remove (bug#11051).
+       (widget-complete): Remove broken use of it.
+
 2012-03-20  Chong Yidong  <cyd@gnu.org>
 
-       * emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use
-       string-width and truncate-string-width to handle arbitrary
+       * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
+       Use string-width and truncate-string-width to handle arbitrary
        characters.
 
 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
@@ -17,8 +22,7 @@
 
 2012-03-18  Leo Liu  <sdl.web@gmail.com>
 
-       * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
-       prefix.
+       * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
 
 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
 
@@ -48,7 +52,7 @@
        (hfy-fontify-buffer): Use above handlers.
        (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
        (hfy-face-to-css): Re-defined to be a variable.
-       (hfy-compile-stylesheet): Modified.  Allow stylesheet to be built
+       (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
        over multiple runs. This is made possible by having the caller let
        bind a special variable `hfy-user-sheet-assoc'.
        (htmlfontify-string): New defun.
        * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
        limit to a call of `c-literal-limits'.
        (c-determine-+ve-limit): New function.
-       (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an
-       `and'.
-       (c-guess-basic-syntax): In macros, restrict a search limit to
-       2000.
+       (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
+       (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
        In CASE 5B, restrict a search limit to 500.
        (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
 
@@ -89,7 +91,7 @@
 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
 
        * tar-mode.el (tar-mode): Fix saving by conditionally undoing
-        `special-mode' setting of `buffer-read-only'.  (Bug#11010)
+       `special-mode' setting of `buffer-read-only'.  (Bug#11010)
 
 2012-03-16  Glenn Morris  <rgm@gnu.org>
 
 
 2012-03-12  Leo Liu  <sdl.web@gmail.com>
 
-       * simple.el (kill-new): Use equal-including-properties for
-       comparison.
+       * simple.el (kill-new): Use equal-including-properties for comparison.
        (kill-do-not-save-duplicates): Doc fix.
 
 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * net/mairix.el (mairix-replace-invalid-chars): Rename from
        mairix-replace-illegal-chars; all callers changed.  Don't remove
-       ^, ~, and = characters: they are meaningful in mairix search
-       specs.
+       ^, ~, and = characters: they are meaningful in mairix search specs.
        (mairix-widget-create-query): Add usage information about mairix
        search forms: negating words, searching for substrings, etc.
 
 
 2012-03-04  Chong Yidong  <cyd@gnu.org>
 
-       * cus-start.el: Make x-select-enable-clipboard-manager
-       customizable.
+       * cus-start.el: Make x-select-enable-clipboard-manager customizable.
 
 2012-03-04  Glenn Morris  <rgm@gnu.org>
 
        (font-lock-default-function): Move the check for a specification
        to font-lock-spec-present.
 
-       * font-lock.el (font-lock-initial-fontify): call ...
+       * font-lock.el (font-lock-initial-fontify): Call ...
        (font-lock-spec-present): New function.
 
 2012-02-26  Jim Blandy  <jimb@red-bean.com>
 
 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
 
-       * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
-       tag.
+       * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
 
 2012-02-12  Alan Mackenzie  <acm@muc.de>
 
        * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
        Add :version tags.
 
-       * progmodes/compile.el (compilation-first-column)
-       (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
+       * progmodes/compile.el (compilation-error-screen-columns)
+       (compilation-first-column, compilation-filter-start): Doc fixes.
 
        * vc/log-view.el (log-view-toggle-entry-display):
        * vc/vc.el (vc-merge, vc-pull): Doc fixes.
index 61bb4db558c517fffb890eb3a630e71903900fd5..b6feecebde57d7def2e1b9909452dc17d5cbc27b 100644 (file)
@@ -1141,12 +1141,6 @@ the field."
        (kill-region (point) end)
       (call-interactively 'kill-line))))
 
-(defcustom widget-complete-field (lookup-key global-map "\M-\t")
-  "Default function to call for completion inside fields."
-  :options '(ispell-complete-word complete-tag lisp-complete-symbol)
-  :type 'function
-  :group 'widgets)
-
 (defun widget-narrow-to-field ()
   "Narrow to field."
   (interactive)
@@ -1169,10 +1163,6 @@ When not inside a field, signal an error."
         (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data)
                               (plist-get completion-extra-properties
                                          :predicate))))
-     ((widget-field-find (point))
-      ;; This defaulting used to be performed in widget-default-complete, but
-      ;; it seems more appropriate here than in widget-default-completions.
-      (call-interactively 'widget-complete-field))
      (t
       (error "Not in an editable field")))))
 ;; We may want to use widget completion in buffers where the major mode