1. 25 Nov, 2009 14 commits
    • Juri Linkov's avatar
      Search recursively in gzipped files. (Bug#4982) · a601d313
      Juri Linkov authored
      (grep-highlight-matches): Add new options
      `always' and `auto'.  Doc fix.
      (grep-process-setup): Check `grep-highlight-matches' for
      `auto-detect' to determine the need to compute grep defaults.
      Move Windows/DOS specific --colors settings handling
      to `grep-compute-defaults'.  Check `grep-highlight-matches'
      to get the value of "--color=".
      (grep-compute-defaults): Compute `grep-highlight-matches' when it
      has the value `auto-detect'.  Move Windows/DOS specific settings
      from `grep-process-setup'.
      (zrgrep): New command with alias `rzgrep'.
      a601d313
    • Juri Linkov's avatar
      (doc-view-mode): Set buffer-local `view-read-only' to nil · bde04ea9
      Juri Linkov authored
      instead of switching off view-mode.  (Bug#4896)
      bde04ea9
    • Juri Linkov's avatar
      Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896) · 7d6b4d3c
      Juri Linkov authored
      * mwheel.el (mwheel-scroll-up-function)
      (mwheel-scroll-down-function): New defvars.
      (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
      `scroll-up', and `mwheel-scroll-down-function' instead of
      `scroll-down'.
      
      * doc-view.el (doc-view-scroll-up-or-next-page)
      (doc-view-scroll-down-or-previous-page): Add optional ARG.
      Use this ARG in the call to image-scroll-up/image-scroll-down.
      Change `interactive' spec to "P".  Goto next/previous page only
      when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
      SPC/DEL case).  Doc fix.
      (doc-view-next-line-or-next-page)
      (doc-view-previous-line-or-previous-page): Rename arg to ARG
      for consistency.
      (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
      `doc-view-scroll-up-or-next-page', and buffer-local
      `mwheel-scroll-down-function' to
      `doc-view-scroll-down-or-previous-page'.
      7d6b4d3c
    • Juri Linkov's avatar
      Provide additional default values (directories at other Dired · e237085f
      Juri Linkov authored
      windows) via M-n in the minibuffer of some Dired commands.
      
      * dired-aux.el (dired-diff, dired-compare-directories)
      (dired-do-create-files): Use `dired-dwim-target-defaults' to set
      `minibuffer-default' in `minibuffer-with-setup-hook'.
      (dired-dwim-target-directory): Find a window that displays Dired
      buffer instead of failing when the next window is not Dired.
      Use `get-window-with-predicate' to find for the next Dired window.
      (dired-dwim-target-defaults): New function.
      
      * ediff-util.el (ediff-read-file-name):
      Use `dired-dwim-target-defaults' to set `minibuffer-default'
      in `minibuffer-with-setup-hook'.
      e237085f
    • Juri Linkov's avatar
      Provide additional default values (file name at point or at the · 7d371eac
      Juri Linkov authored
      current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
      
      * minibuffer.el (read-file-name-defaults): New function.
      (read-file-name): Reset `minibuffer-default' to nil when
      it duplicates initial input `insdef'.
      Bind `minibuffer-default-add-function' to lambda that
      calls `read-file-name-defaults' in `minibuffer-selected-window'.
      (minibuffer-insert-file-name-at-point): New command.
      
      * files.el (file-name-at-point-functions): New defcustom.
      (find-file-default): Remove defvar.
      (find-file-read-args): Don't use `find-file-default'.
      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
      to `read-file-name'.
      (find-file-literally): Use `read-file-name' with
      `confirm-nonexistent-file-or-buffer'.
      
      * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
      
      * dired.el (dired-read-dir-and-switches):
      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
      to `read-file-name'.
      (dired-file-name-at-point): New function.
      (dired-mode): Add hook `dired-file-name-at-point' to
      `file-name-at-point-functions'.
      7d371eac
    • Stefan Monnier's avatar
      Really make the *Completions* window soft-dedicated (bug#5030). · 04ae543a
      Stefan Monnier authored
      * window.el (window--display-buffer-2): Add `dedicated' argument.
      (display-buffer): Pass it when needed so the dedicated flag is set
      after calling set-window-buffer, which would otherwise reset it.
      04ae543a
    • Jan Djärv's avatar
    • Stefan Monnier's avatar
      * progmodes/meta-mode.el (meta-complete-symbol): · d6b8d4e7
      Stefan Monnier authored
      * progmodes/etags.el (complete-tag): Use completion-in-region.
      d6b8d4e7
    • Stefan Monnier's avatar
      e2d4ea5a
    • Stefan Monnier's avatar
      (dabbrev--minibuffer-origin): Use minibuffer-selected-window. · 5f24557b
      Stefan Monnier authored
      (dabbrev-completion): Use completion-in-region.
      (dabbrev--abbrev-at-point): Simplify regexp.
      5f24557b
    • Stefan Monnier's avatar
      (abbrev--before-point): Use word-motion functions · fe4346f0
      Stefan Monnier authored
      if :regexp is not specified (bug#5031).
      fe4346f0
    • Stefan Monnier's avatar
      (string-prefix-p): New function. · cb190d7d
      Stefan Monnier authored
      cb190d7d
    • Stefan Monnier's avatar
      (Man-completion-cache): New var. · e2ec6dd5
      Stefan Monnier authored
      (Man-completion-table): Use it.
      e2ec6dd5
    • Stefan Monnier's avatar
      (vc-print-log-internal): Make `limit' optional for better · eb708e66
      Stefan Monnier authored
      compatibility (e.g. with vc-annotate.el).
      eb708e66
  2. 24 Nov, 2009 18 commits
  3. 23 Nov, 2009 8 commits