1. 08 Dec, 2013 5 commits
    • 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
  2. 07 Dec, 2013 3 commits
  3. 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
  4. 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
  5. 04 Dec, 2013 6 commits
  6. 03 Dec, 2013 3 commits
  7. 02 Dec, 2013 7 commits
  8. 01 Dec, 2013 7 commits
    • Lars Magne Ingebrigtsen's avatar
    • Stefan Monnier's avatar
      * lisp/simple.el (newline): Mention `electric-indent-mode'. · fb651d15
      Stefan Monnier authored
      Fixes: debbugs:16015
      fb651d15
    • Rüdiger Sonderfeld's avatar
      Allow customizing the checkboxes in eww · 4570dd16
      Rüdiger Sonderfeld authored
      * net/shr.el (shr-tag-table): Fix comment typo.
      
      * net/eww.el (eww-text-input-types): : New const.
      (eww-process-text-input): Treat input types in
      `eww-text-input-types' as text.
      
      * net/shr.el (shr-tag-video): Display content for video if no
      poster is available.
      (shr-tag-audio): Add support for <audio> tag.
      
      * net/eww.el (eww-use-external-browser-for-content-type): New
      variable.
      (eww-render): Handle `eww-use-external-browser-for-content-type'.
      Use \\` to match beginning of string instead of ^.
      (eww-browse-with-external-browser): Provide optional URL parameter.
      (eww-render): Set `eww-current-title' back to "".
      
      * net/shr.el (shr-prefer-media-type-alist): : New customizable
      variable.
      (shr--get-media-pref): New function.
      (shr--extract-best-source): New function.
      (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
      no :src tag was specified.
      
      * net/eww.el (eww-form-checkbox-selected-symbol): New
      customizable variable.
      (eww-form-checkbox-symbol): New customizable variable.
      (eww-form-checkbox): Use `eww-form-checkbox-selected-symbol' and
      `eww-form-checkbox-symbol'.
      (eww-toggle-checkbox): Use `eww-form-checkbox-selected-symbol' and
      `eww-form-checkbox-symbol'.
      4570dd16
    • Rüdiger Sonderfeld's avatar
      Allow preferring some media types over others · ad9a773c
      Rüdiger Sonderfeld authored
      * net/shr.el (shr-prefer-media-type-alist): : New customizable
      variable.
      (shr--get-media-pref): New function.
      (shr--extract-best-source): New function.
      (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
      no :src tag was specified.
      ad9a773c
    • Rüdiger Sonderfeld's avatar
      450c7b35
    • Rüdiger Sonderfeld's avatar
      Option to always use external-browser for certain content. · b2afb3ea
      Rüdiger Sonderfeld authored
      * net/eww.el (eww-use-external-browser-for-content-type): New
      variable.
      (eww-render): Handle `eww-use-external-browser-for-content-type'.
      Use \\` to match beginning of string instead of ^.
      (eww-browse-with-external-browser): Provide optional URL parameter.
      b2afb3ea
    • Rüdiger Sonderfeld's avatar
      eb2dd24d