1. 10 Dec, 2013 1 commit
  2. 09 Dec, 2013 7 commits
  3. 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
      (js--proper-indentation): Use them, to handle array comprehension
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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.
    • 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-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-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
  4. 07 Dec, 2013 3 commits
  5. 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)
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch · fa834a93
      Dmitry Gutov authored
      up the last change.
    • 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-find-definition-default-filename): Remove redundant backquotes.
    • 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.
    • 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
    • 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
      Fixes: debbugs:11906
  6. 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
    • 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
      (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.
    • 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-byte-array-to-string): New optional arg MULTIBYTE.
  7. 04 Dec, 2013 6 commits
  8. 03 Dec, 2013 3 commits
  9. 02 Dec, 2013 3 commits