1. 11 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/misearch.el (multi-isearch-buffers): Set the value of · 4cc51eaf
      Juri Linkov authored
      `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
      arg of isearch-forward to t.
      (multi-isearch-buffers-regexp): Set the value of
      `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
      arg of isearch-forward-regexp to t.
      (multi-isearch-files): Set the value of
      `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
      arg of isearch-forward to t.
      (multi-isearch-files-regexp): Set the value of
      `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
      arg of isearch-forward-regexp to t. 
      
      * lisp/dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
      arg of isearch-forward to t.
      (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
      arg of isearch-forward-regexp to t.
      (dired-isearch-filter-filenames): Remove unnecessary check for
      `dired-isearch-filenames'.
      
      * lisp/comint.el (comint-history-isearch-backward):
      Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
      (comint-history-isearch-backward-regexp):
      Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
      
      Fixes: debbugs:16035
      4cc51eaf
  2. 10 Dec, 2013 2 commits
  3. 09 Dec, 2013 7 commits
  4. 08 Dec, 2013 8 commits
    • Dmitry Gutov's avatar
      Port indentation code from js2-mode to js-mode · 47e59c66
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js-auto-indent-flag): Remove, was unused.
      (js-switch-indent-offset): New option.
      (js--proper-indentation): Use it.  And handle the case when
      "default" is actually a key in an object literal.
      (js--same-line): New function.
      (js--multi-line-declaration-indentation): Use it.
      (js--indent-in-array-comp, js--array-comp-indentation): New
      functions.
      (js--proper-indentation): Use them, to handle array comprehension
      continuations.
      47e59c66
    • Leo Liu's avatar
      Re-write flymake-highlight-line in flymake.el · 974ebc9c
      Leo Liu authored
      * progmodes/flymake.el (flymake-highlight-line): Re-write.
      (flymake-make-overlay): Remove arg MOUSE-FACE.
      (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
      974ebc9c
    • Stefan Monnier's avatar
      Make CUA-mode use shift-select-mode. · 27262e39
      Stefan Monnier authored
      * lisp/emulation/cua-base.el (cua--explicit-region-start)
      (cua--last-region-shifted): Remove.
      (cua--deactivate): Use deactivate-mark.
      (cua--pre-command-handler-1): Don't handle shift-selection.
      (cua--post-command-handler-1): Don't change transient-mark-mode.
      (cua--select-keymaps): Use region-active-p rather than
      cua--explicit-region-start or cua--last-region-shifted.
      (cua-mode): Enable shift-select-mode.
      * lisp/emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
      New function.
      (redisplay-highlight-region-function): Use it.
      27262e39
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-mark-mode): Activate mark even if · 02033d49
      Stefan Monnier authored
      transient-mark-mode is off.
      (rectangle--highlight-for-redisplay): Fix boundary condition when point
      is > mark and at bolp.
      
      Fixes: debbugs:16066
      02033d49
    • Leo Liu's avatar
      Re-implement popup menu for flymake · 6407822c
      Leo Liu authored
      * progmodes/flymake.el (flymake-popup-current-error-menu): Rename
      from flymake-display-err-menu-for-current-line. Reimplement.
      (flymake-posn-at-point-as-event, flymake-popup-menu)
      (flymake-make-emacs-menu): Remove.
      
      Fixes: debbugs:16077
      6407822c
    • Stefan Monnier's avatar
      Use delete-selection-mode in cua-mode. · 6f8dfccf
      Stefan Monnier authored
      * lisp/emulation/cua-base.el (cua--prefix-copy-handler)
      (cua--prefix-cut-handler): Rely on region-extract-function rather than
      checking cua--rectangle.
      (cua-delete-region): Use region-extract-function.
      (cua-replace-region): Delete function.
      (cua-copy-region, cua-cut-region): Obey region-extract-function.
      (cua--pre-command-handler-1): Don't do the delete-selection thing.
      (cua--self-insert-char-p): Ignore `self-insert-iso'.
      (cua--init-keymaps): Don't remap delete-selection commands.
      (cua-mode): Use delete-selection-mode instead of rolling our own.
      * lisp/emulation/cua-rect.el (cua--rectangle-region-extract): New function.
      (region-extract-function): Use it.
      (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
      (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
      Delete functions.
      (cua--init-rectangles): Don't re-remap copy-region-as-kill,
      kill-ring-save, kill-region, delete-char, delete-forward-char.
      Ignore self-insert-iso.
      * lisp/menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
      Obey region-extract-function.
      * lisp/emulation/cua-gmrk.el (cua--init-global-mark):
      Ignore `self-insert-iso'.
      
      Fixes: debbugs:16085
      6f8dfccf
    • Stefan Monnier's avatar
      Make registers and delete-selection-mode work on rectangles. · 00a2b823
      Stefan Monnier authored
      * lisp/register.el (describe-register-1): Don't modify the register's value.
      (copy-to-register): Obey region-extract-function.
      * lisp/delsel.el (delete-active-region): Obey region-extract-function.
      00a2b823
    • Leo Liu's avatar
      Clean up flymake.el · a92fa5f1
      Leo Liu authored
      * lisp/progmodes/flymake.el (flymake, flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position)
      (flymake-compilation-prevents-syntax-check)
      (flymake-start-syntax-check-on-newline)
      (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
      (flymake-start-syntax-check-on-find-file, flymake-log-level)
      (flymake-xml-program, flymake-master-file-dirs)
      (flymake-master-file-count-limit)
      (flymake-allowed-file-name-masks): Relocate.
      (flymake-makehash, flymake-float-time)
      (flymake-replace-regexp-in-string, flymake-split-string)
      (flymake-get-temp-dir): Remove.
      (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
      (flymake-current-row, flymake-selected-frame)
      (flymake-get-point-pixel-pos): Remove xemacs compatibity and
      related functions.
      
      Fixes: debbugs:16077
      a92fa5f1
  5. 07 Dec, 2013 3 commits
  6. 06 Dec, 2013 6 commits
    • Michael Albinus's avatar
      Bug#16045 · 4803595d
      Michael Albinus authored
      * progmodes/compile.el (compilation-start):
      * progmodes/grep.el (rgrep): Revert change of 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
      
      * net/tramp-sh.el (tramp-sh-handle-start-file-process):
      Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
      4803595d
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch · fa834a93
      Dmitry Gutov authored
      up the last change.
      fa834a93
    • Leo Liu's avatar
      * progmodes/octave.el (inferior-octave-prompt): Use shy groups. · b2856a6f
      Leo Liu authored
      (inferior-octave-startup): Always use "octave> " for prompt.
      (octave-goto-function-definition)
      (octave-sync-function-file-names)
      (octave-find-definition-default-filename): Remove redundant backquotes.
      b2856a6f
    • Dmitry Gutov's avatar
      Fix Bug#15874 · af67e79a
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
      syntax for `?'.
      (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
      where appropriate already.
      (ruby-syntax-propertize-function): Propertize `?' and `!' at the
      end of method names.
      af67e79a
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch--saved-overriding-local-map): New internal variable. · bf093209
      Juri Linkov authored
      (isearch-mode): Set it to the initial value of `overriding-terminal-local-map'.
      (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
      with `isearch--saved-overriding-local-map'.
      
      Fixes: debbugs:16035
      bf093209
    • Dmitry Gutov's avatar
      Add caching variant of `completion-table-dynamic' · 16588fad
      Dmitry Gutov authored
      * lisp/minibuffer.el (completion-table-with-cache): New function.
      
      * lisp/progmodes/octave.el (inferior-octave-completion-table): Turn
      back into function, use `completion-table-with-cache'.  Update all
      references.
      
      Fixes: debbugs:11906
      16588fad
  7. 05 Dec, 2013 3 commits
    • Cameron Desautels's avatar
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^. · bf4906d7
      Cameron Desautels authored
      * test/automated/regexp-tests.el: New file.
      
      Fixes: debbugs:16046
      bf4906d7
    • Ted Zlatanov's avatar
      eww: add command to view page source · ff69c18f
      Ted Zlatanov authored
      * net/eww.el (eww-current-source): New variable to store page
      source.
      (eww-display-html, eww-mode, eww-save-history)
      (eww-restore-history): Use it.
      (eww-view-source): New command to view page source.
      Opportunistically uses `html-mode' to highlight the buffer.
      (eww-mode-map): Install it.
      ff69c18f
    • Michael Albinus's avatar
      Minor changes, detected by test suite. · b85eff45
      Michael Albinus authored
      * net/dbus.el (dbus-unregister-service)
      (dbus-escape-as-identifier, dbus-unescape-from-identifier):
      Fix docstring.
      (dbus-unregister-service): Skip :serial entries in
      `dbus-registered-objects-table'.
      (dbus-byte-array-to-string): New optional arg MULTIBYTE.
      b85eff45
  8. 04 Dec, 2013 6 commits
  9. 03 Dec, 2013 3 commits
  10. 02 Dec, 2013 1 commit
    • Dmitry Gutov's avatar
      Support the new log-edit behavior in vc-git-log-edit-toggle-amend · 0f457a37
      Dmitry Gutov authored
      * lisp/vc/log-edit.el (log-edit-set-header): Extract from
      `log-edit-toggle-header'.
      (log-edit-extract-headers): Separate the summary, when extracted
      from header, from the rest of the message with an empty line.
      
      * lisp/vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
      line, if present, to the Summary header.
      0f457a37