1. 27 Nov, 2009 7 commits
  2. 26 Nov, 2009 21 commits
  3. 25 Nov, 2009 12 commits
    • Kevin Ryde's avatar
      * textmodes/dns-mode.el: Add "Keywords: comm". It's only an · 34607612
      Kevin Ryde authored
      editing mode, but it's comms related and sgml-mode.el has "comm"
      on that basis too.
      34607612
    • Johan Bockgård's avatar
    • Kevin Ryde's avatar
      (man): completion-ignore-case t for friendliness and since man · 573f4575
      Kevin Ryde authored
      itself is case-insensitive on the command line.
      573f4575
    • Kevin Ryde's avatar
      * man.el (Man-completion-table): default-directory "/" in case · 002cbde5
      Kevin Ryde authored
      doesn't otherwise exist.  process-environment COLUMNS=999 so as
      not to truncate long names.  process-connection-type pipe to avoid
      any chance of hitting the pseudo-tty TIOCGWINSZ.  (Further to
      Bug#3717.)
      002cbde5
    • Juri Linkov's avatar
      (Man-completion-table): Modify regexp to include section names · 1e2d9ba1
      Juri Linkov authored
      to completion strings.  (Bug#3717)
      1e2d9ba1
    • Jan Djärv's avatar
      a1fadc6f
    • 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