1. 25 Nov, 2009 14 commits
    • Juri Linkov's avatar
      (Man-completion-table): Modify regexp to include section names · 1e2d9ba1
      Juri Linkov authored
      to completion strings.  (Bug#3717)
      1e2d9ba1
    • 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
    • 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 13 commits
  3. 23 Nov, 2009 7 commits
    • Chong Yidong's avatar
      * net/browse-url.el (browse-url-filename-alist): On Windows, add · 5241b291
      Chong Yidong authored
      two slashes to the "file:" prefix.
      (browse-url-file-url): De-munge Cygwin filenames before passing
      them to Windows browser.
      (browse-url-default-windows-browser): Use call-process.
      5241b291
    • Juri Linkov's avatar
      Implement DocView Continuous mode. (Bug#4896) · aefcadb6
      Juri Linkov authored
      * doc-view.el (doc-view-continuous-mode): New defcustom.
      (doc-view-mode-map): Bind C-n/<down> to `doc-view-next-line-or-next-page',
      C-p/<up> to `doc-view-previous-line-or-previous-page'.
      (doc-view-next-line-or-next-page)
      (doc-view-previous-line-or-previous-page): New commands.
      aefcadb6
    • Juri Linkov's avatar
      Implement Isearch in comint input history. (Bug#3746) · 0d62bcea
      Juri Linkov authored
      * comint.el (comint-mode): Add `comint-history-isearch-setup' to
      `isearch-mode-hook'.
      (comint-history-isearch): New defcustom.
      (comint-history-isearch-backward)
      (comint-history-isearch-backward-regexp): New commands.
      (comint-history-isearch-message-overlay): New buffer-local variable.
      (comint-history-isearch-setup, comint-history-isearch-end)
      (comint-goto-input, comint-history-isearch-search)
      (comint-history-isearch-message, comint-history-isearch-wrap)
      (comint-history-isearch-push-state)
      (comint-history-isearch-pop-state): New functions.
      0d62bcea
    • Michael Albinus's avatar
      * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage · b593f105
      Michael Albinus authored
      return.
      (tramp-handle-make-symbolic-link)
      (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
      Quote file names.
      (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
      (tramp-handle-process-file): Use it.
      b593f105
    • Stefan Monnier's avatar
      (move-to-window-line-last-op): Remove. · 0f202d5d
      Stefan Monnier authored
      (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
      0f202d5d
    • Stefan Monnier's avatar
      (move-to-window-line-last-op): New var. · 216349f8
      Stefan Monnier authored
      (move-to-window-line-top-bottom): New command.
      (global-map): Bind M-r move-to-window-line-top-bottom.
      216349f8
    • Glenn Morris's avatar
      Sven Joachim <svenjoac at gmx.de> · c10e0633
      Glenn Morris authored
      (dired-guess-shell-alist-default): Support xz format.  (Bug#4953)
      c10e0633
  4. 22 Nov, 2009 4 commits
    • Chong Yidong's avatar
      * cedet/srecode/map.el (srecode-get-maps): · 2054a44c
      Chong Yidong authored
      * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
      * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
      * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
      (semantic-toggle-decoration-style):
      * cedet/semantic/decorate/include.el
      (semantic-decoration-include-describe)
      (semantic-decoration-unknown-include-describe)
      (semantic-decoration-unparsed-include-describe)
      (semantic-decoration-all-include-summary):
      * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
      * cedet/semantic/analyze/complete.el
      (semantic-analyze-possible-completions):
      * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
      (semantic-show-unmatched-syntax-mode)
      (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
      (semantic-highlight-func-mode):
      * cedet/semantic/util.el (semantic-describe-buffer):
      * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
      (semantic-symref-find-tags-by-name)
      (semantic-symref-find-tags-by-regexp)
      (semantic-symref-find-tags-by-completion)
      (semantic-symref-find-file-references-by-name)
      (semantic-symref-find-text):
      * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
      (senator-yank-tag):
      * cedet/semantic/scope.el (semantic-calculate-scope):
      * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
      * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
      (define-semantic-idle-service):
      * cedet/semantic/complete.el (semantic-complete-analyze-inline)
      (semantic-complete-analyze-inline-idle):
      * cedet/semantic/analyze.el (semantic-analyze-current-context):
      * cedet/mode-local.el (describe-mode-local-bindings)
      (describe-mode-local-bindings-in-mode):
      * cedet/ede/make.el (ede-make-check-version):
      * cedet/ede/locate.el (ede-enable-locate-on-project):
      * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
      (cedet-idutils-version-check):
      * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
      (cedet-gnu-global-version-check):
      * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
      (cedet-cscope-version-check): Use called-interactively-p instead
      of interactive-p.
      2054a44c
    • Chong Yidong's avatar
      * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function): · e96ec425
      Chong Yidong authored
      Use semantic-format-tag-prototype.
      e96ec425
    • Glenn Morris's avatar
      953e0c1a
    • Tassilo Horn's avatar
      * progmodes/subword.el (subword-mode-map): Fix subword-mode-map · 9ee12eee
      Tassilo Horn authored
      	generation from word-movement command names.
      9ee12eee
  5. 21 Nov, 2009 2 commits