1. 11 Dec, 2013 7 commits
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * lisp/simple.el (normal-erase-is-backspace-mode): Map kp-delete identically · afdadaf7
      Stefan Monnier authored
      to `delete'.
      Fixes: debbugs:16109
    • Rüdiger Sonderfeld's avatar
      Import `octave-mode' manual from GNU Octave. · ed4bc201
      Rüdiger Sonderfeld authored
      The manual was written by Kurt Hornik.  He agreed to assign the
      copyright for it to the FSF.  I have updated and modified the manual.
      * doc/misc/octave-mode.texi: Imported from GNU Octave
      * doc/misc/Makefile.in: Add octave-mode.texi.
      * lisp/progmodes/octave.el (octave-mode, inferior-octave-mode): Link
        to info manual and show keybindings and set `:group' keyword.
    • Juri Linkov's avatar
      * lisp/delsel.el (delete-active-region): Let-bind `this-command' · bb8097b9
      Juri Linkov authored
      to prevent `kill-region' from changing its original value.
      (delete-selection-helper): Handle `overwrite-mode' for the type
      `kill' exactly the same way as for the type `t'.
      (insert-char, quoted-insert, reindent-then-newline-and-indent):
      Support more commands.
      Fixes: debbugs:13312
    • Juri Linkov's avatar
      * lisp/bindings.el: Map kp keys to non-kp keys systematically · c1916ff5
      Juri Linkov authored
      with basic modifiers control, meta and shift.
      Fixes: debbugs:14397
    • Kenjiro NAKAYAMA's avatar
      eww easy-menu fixes · b68cf43c
      Kenjiro NAKAYAMA authored
      * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
      "Close browser" menu items.  Fix wrong function of "List
    • 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
      * lisp/comint.el (comint-history-isearch-backward):
      Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
      Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
      Fixes: debbugs:16035
  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
      (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
  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)
    • 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
  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
    • 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.
  8. 04 Dec, 2013 4 commits