1. 21 Jun, 2011 9 commits
  2. 20 Jun, 2011 6 commits
    • Jan Djärv's avatar
      * x-dnd.el (x-dnd-version-from-flags) · ca530739
      Jan Djärv authored
      (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
      and long as number.
      (x-dnd-handle-xdnd): Call functions above.
      Fixes: debbugs:8899
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (completion-metadata): Prepend the alist with `metadata'. · 4cb3bfa0
      Stefan Monnier authored
      (completion-try-completion, completion-all-completions): Compute the
      metadata argument if it's missing; make it optional.
      Fixes: debbugs:8795
    • Stefan Monnier's avatar
      Use completion-at-point rather than completion-in-region. · bcd70d97
      Stefan Monnier authored
      * lisp/wid-edit.el: Use lexical scoping and move towards completion-at-point.
      (widget-complete): Use new :completion-function property.
      (widget-completions-at-point): New function.
      (default): Use :completion-function instead of :complete.
      (widget-default-completions): Rename from widget-default-complete, rewrite.
      (widget-string-complete, widget-file-complete, widget-color-complete):
      Remove functions.
      (file, symbol, function, variable, coding-system, color):
      * lisp/international/mule-cmds.el (default-input-method, charset)
      * lisp/cus-edit.el (face): Use new property :completions.
      * lisp/progmodes/pascal.el (pascal-completions-at-point): New function.
      (pascal-mode): Use it.
      (pascal-mode-map): Use completion-at-point.
      (pascal-toggle-completions): Make obsolete.
      (pascal-complete-word, pascal-show-completions):
      * lisp/progmodes/octave-mod.el (octave-complete-symbol):
      Redefine as obsolete alias.
      * lisp/progmodes/octave-inf.el (inferior-octave-completion-at-point):
      Signal absence of completion info for old Octave,
      (inferior-octave-complete): Redefine as obsolete alias.
      * lisp/progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
      (meta-completions-at-point): Rename from meta-complete-symbol and
      adapt it for use on completion-at-point-functions.
      (meta-common-mode): Use it.
      (meta-looking-at-backward, meta-match-buffer): Remove.
      (meta-complete-symbol): Redefine as obsolete alias.
      (meta-common-mode-map): Use completion-at-point.
      * lisp/progmodes/make-mode.el: Use lexical-binding and completion-at-point.
      (makefile-mode-map): Use completion-at-point.
      (makefile-completions-at-point): Rename from makefile-complete and
      adapt it for use on completion-at-point-functions.
      (makefile-mode): Use it.
      (makefile-complete): Redefine as obsolete alias.
    • Deniz Dogan's avatar
    • Martin Rudalics's avatar
      Restore old behavior of get-window-with-predicate and get-buffer-window-list. · 4c43d97b
      Martin Rudalics authored
      * window.el (get-window-with-predicate): Start scanning with
      window following selected window to restore Emacs 23 behavior.
      Clarify doc-string.
      (get-buffer-window-list): Start scanning with selected window to
      restore Emacs 23 behavior.  Clarify doc-string.
    • Daniel Colascione's avatar
  3. 19 Jun, 2011 5 commits
  4. 18 Jun, 2011 7 commits
  5. 17 Jun, 2011 4 commits
    • Stefan Monnier's avatar
      * lisp/pcomplete.el: Convert to lexical binding and fix bug#8819. · 1c6d8c76
      Stefan Monnier authored
      (pcomplete-suffix-list): Mark as obsolete.
      (pcomplete-completions-at-point): Capture pcomplete-norm-func and
      pcomplete-seen in the closure.
      (pcomplete-comint-setup): Setup completion-at-point as well.
      (pcomplete--entries): New function.
      (pcomplete--env-regexp): New var.
      (pcomplete-entries): Rewrite to work with partial-completion and
      without relying on pcomplete-suffix-list.
      (pcomplete-pare-list): Remove, unused.
      * lisp/shell.el (shell-completion-vars): Set pcomplete-termination-string
      according to comint-completion-addsuffix.
    • Martin Rudalics's avatar
      Rewrite display-buffer-alist and display-buffer-normalize-specifiers. · 25aef8b8
      Martin Rudalics authored
      * window.el (display-buffer-alist): Set pop-up-window-min-height
      and pop-up-window-min-width in default value.  Reported by
      Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
      (display-buffer-macro-specifiers): Comment out entry for
      other-window specifier.
      (display-buffer-other-window-means-other-frame): New function.
      (display-buffer-normalize-specifiers-1): New arguments
      buffer-name and label.  Treat other-window case specially.
      (display-buffer-normalize-specifiers-2): Treat other-window case
      (display-buffer-normalize-specifiers-3): New function.
      (display-buffer-normalize-specifiers): Call
    • Martin Rudalics's avatar
      Fix handling of old `display-buffer' options (bug#8851) (bug#8856). · d1067961
      Martin Rudalics authored
      * window.el (display-buffer-normalize-specifiers-1): Don't
      check pop-up-frames for 'unset initialization.
      (display-buffer-normalize-specifiers-2): Major rewrite using
      special-display-p and same-window-p (Bug#8851) and (Bug#8856).
      (pop-up-frames, display-buffer-reuse-frames)
      (display-buffer-mark-dedicated): Don't initialize to 'unset.
      Suggested by David Engster <deng@randomsample.de>.
      (even-window-heights): Initialize to 'unset.
      (display-buffer-alist-set): Handle new 'unset initializations.
    • Martin Rudalics's avatar
      Fix two typos in same-window-p. · dbad4f69
      Martin Rudalics authored
      * window.el (same-window-p): Fix two typos introduced when
      adding with-no-warnings.
  6. 16 Jun, 2011 4 commits
  7. 15 Jun, 2011 5 commits