1. 23 Dec, 2013 3 commits
    • Ted Zlatanov's avatar
      net/gnutls.el (gnutls-verify-error): Add version tag. · b90aa4f4
      Ted Zlatanov authored
      * net/gnutls.el (gnutls-verify-error): Add version tag.
      b90aa4f4
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Rename set-temporary-overlay-map -> set-transient-map · 8cd22a08
      Chong Yidong authored
      * lisp/subr.el (set-transient-map): Rename from
      set-temporary-overlay-map.  Doc fix.
      
      * lisp/face-remap.el (text-scale-adjust):
      * lisp/indent.el (indent-rigidly):
      * lisp/kmacro.el (kmacro-call-macro):
      * lisp/minibuffer.el (minibuffer-force-complete):
      * lisp/repeat.el (repeat):
      * lisp/simple.el (universal-argument--mode):
      * lisp/calendar/todo-mode.el (todo-insert-item--next-param):
      * lisp/progmodes/f90.el (f90-abbrev-start): Callers changed.
      
      * lisp/org/org.el (orgstruct-make-binding): Call set-transient-map
      instead of old name set-temporary-overlay-map.
      
      * doc/lispref/keymaps.texi (Controlling Active Maps): Renamed
      set-temporary-overlay-map to set-transient map.  Doc fixes.
      (Searching Keymaps): The transient keymap takes precedence.
      8cd22a08
  2. 22 Dec, 2013 6 commits
  3. 21 Dec, 2013 10 commits
    • Richard M. Stallman's avatar
      Document how to make RET not indent. · b51ad4cf
      Richard M. Stallman authored
      * simple.el (newline): Doc fix.
      b51ad4cf
    • Kenjiro NAKAYAMA's avatar
      eww: fix wrong key binding · dde4de31
      Kenjiro NAKAYAMA authored
      * net/eww.el (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
      dde4de31
    • Kenjiro NAKAYAMA's avatar
      eww: support disabled and readonly text · 5edcc2dc
      Kenjiro NAKAYAMA authored
      * net/eww.el (eww-form-text): Support text form with disabled and readonly attributes.
      5edcc2dc
    • Ted Zlatanov's avatar
      eww: machinery to list browser history · d49fbfd6
      Ted Zlatanov authored
      * net/eww.el (eww-list-histories, eww-list-histories)
      (eww-history-browse, eww-history-quit, eww-history-kill)
      (eww-history-mode-map, eww-history-mode): New command and
      functions to list browser histories.
      d49fbfd6
    • Rüdiger Sonderfeld's avatar
      eww: minor code fixes and toolbar support · 5e1901c1
      Rüdiger Sonderfeld authored
      * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
      (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
      (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
      (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
      Use `user-error'.
      (eww-bookmark-mode-map): Add menu.
      (eww-render, eww-mode): Use `setq-local'.
      (eww-tool-bar-map): New variable.
      (eww-mode): Set `tool-bar-map'.
      (eww-view-source): Check for `html-mode' with `fboundp'.
      5e1901c1
    • Lars Magne Ingebrigtsen's avatar
      * net/shr.el (shr--extract-best-source): Don't bug out on audio elements · 073d5cfd
      Lars Magne Ingebrigtsen authored
      That have text inside.  Also remove debugging.
      073d5cfd
    • Jan Djärv's avatar
      Customize ns-use-srgb-colorspace on OSX >= 10.7 to use sRGB. · 41cf3d11
      Jan Djärv authored
      * etc/NEWS: Mention ns-use-srgb-colorspace.
      
      * lisp/cus-start.el (all): Add ns-use-srgb-colorspace.
      
      * src/nsfns.m (Fxw_color_values): Use colorUsingDefaultColorSpace.
      
      * src/nsterm.h: Declare EmacsColor category.
      
      * src/nsterm.m (NSColor): Implement EmacsColor category.
      (ns_get_color): Use colorUsingDefaultColorSpace.
      (ns_get_color, ns_term_init): Use colorForEmacsRed.
      41cf3d11
    • Chong Yidong's avatar
      Don't make faces when loading Custom themes. · aac2b673
      Chong Yidong authored
      * custom.el (custom-theme-recalc-face): Do nothing if the face is
      undefined.  Thus, theme settings for undefined faces do not take
      effect until the faces are defined with defface, the same as with
      theme variables.
      
      * faces.el (face-spec-set): Use face-spec-recalc in all cases.
      (face-spec-reset-face): Don't assign extra properties in temacs.
      (face-spec-recalc): Apply X resources too.
      aac2b673
    • Chong Yidong's avatar
      Doc fixes for face functions. · bacb0e77
      Chong Yidong authored
      * faces.el (face-spec-set):
      * cus-face.el (custom-theme-set-faces, custom-set-faces):
      * custom.el (defface): Doc fixes.
      
      Fixes: debbugs:16203
      bacb0e77
    • Chong Yidong's avatar
      Tweak C-x TAB behavior changes, and update docs. · 77221051
      Chong Yidong authored
      * lisp/indent.el (indent-rigidly-map): Add docstring, and move commands
      into named functions.
      (indent-rigidly-left, indent-rigidly-right)
      (indent-rigidly-left-to-tab-stop)
      (indent-rigidly-right-to-tab-stop): New functions.  Decide on
      indentation direction based on bidi direction, and accumulate
      sequential commands in a single undo boundary.
      (indent-rigidly--pop-undo): New utility function.
      
      * doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes.
      
      * doc/lispref/text.texi (Region Indent): Note the new interactive
      behavior of indent-rigidly.
      77221051
  4. 20 Dec, 2013 18 commits
    • Juanma Barranquero's avatar
    • Daniel Colascione's avatar
      * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate · 3282bd2e
      Daniel Colascione authored
      so that we don't reflow comments into the shebang line.
      3282bd2e
    • Juri Linkov's avatar
      * lisp/saveplace.el (save-place-to-alist): Add `dired-filename' as · 1d42e5b6
      Juri Linkov authored
      a position when `dired-directory' is non-nil.  Check integer
      positions with `integerp'.
      (toggle-save-place, save-places-to-alist): Add check for
      `dired-directory'.
      (save-place-find-file-hook): Check integer positions with
      `integerp'.
      (save-place-dired-hook): Use `dired-goto-file' when
      `dired-filename' is found in the assoc list.  Check integer
      positions with `integerp'.
      (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
      
      * lisp/dired.el (dired-initial-position-hook): Rename back from
      `dired-initial-point-hook'.
      (dired-initial-position): Rename `dired-initial-point-hook' to
      `dired-initial-position-hook'.
      (dired-file-name-at-point): Doc fix.
      
      Fixes: debbugs:15329
      1d42e5b6
    • Juri Linkov's avatar
      * lisp/replace.el (read-regexp-defaults-function): New defcustom. · 24da7273
      Juri Linkov authored
      (read-regexp-suggestions): New function.
      (read-regexp): Use `read-regexp-defaults-function' to get default values.
      Use `read-regexp-suggestions'.  Add non-empty default to history
      for empty input.
      (occur-read-regexp-defaults-function): Remove function.
      (occur-read-primary-args): Use `regexp-history-last' instead of
      `occur-read-regexp-defaults-function'.
      
      * lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
      (hi-lock-line-face-buffer, hi-lock-face-buffer)
      (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
      `hi-lock-read-regexp-defaults-function'.  Doc fix.
      (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
      with `find-tag-default-as-symbol-regexp'.  Doc fix.
      (hi-lock-read-regexp-defaults): Remove function.
      (hi-lock-regexp-okay): Add check for null.
      
      * lisp/progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
      the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
      
      * lisp/subr.el (find-tag-default-as-symbol-regexp): New function.
      (find-tag-default-as-regexp): Move symbol regexp formatting to
      `find-tag-default-as-symbol-regexp'.
      
      Fixes: debbugs:14405
      24da7273
    • E Sabof's avatar
      * lisp/hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'. · 137f57c8
      E Sabof authored
      Fixes: debbugs:14179
      137f57c8
    • Stephen Berman's avatar
      New implementation of Todo item insertion commands and key bindings. · f3a66082
      Stephen Berman authored
      * calendar/todo-mode.el: New implementation of item insertion
      commands and key bindings.
      (todo-key-prompt): New face.
      (todo-insert-item): New command.
      (todo-insert-item--parameters): New defconst, replacing defvar
      todo-insertion-commands-args-genlist.
      (todo-insert-item--param-key-alist): New defconst, replacing
      defvar todo-insertion-commands-arg-key-list.
      (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
      (todo-insert-item--argsleft, todo-insert-item--apply-args)
      (todo-insert-item--next-param): New functions.
      (todo-insert-item--args, todo-insert-item--argleft)
      (todo-insert-item--argsleft, todo-insert-item--newargsleft):
      New variables.
      (todo-key-bindings-t): Change binding of "i" from
      todo-insertion-map to todo-insert-item.
      (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
      (todo-insertion-command-name, todo-insertion-commands-names)
      (todo-define-insertion-command, todo-insertion-commands)
      (todo-insertion-key-bindings, todo-insertion-map): Remove.
      f3a66082
    • Stephen Berman's avatar
      Todo mode bug fixes and new features. · 2f99433b
      Stephen Berman authored
      * calendar/todo-mode.el: Bug fixes and new features.
      (todo-toggle-item-highlighting): Use eval-and-compile instead of
      eval-when-compile.
      (todo-move-category): Allow choosing a non-existing todo file to
      move the category to, and create that file.
      (todo-default-priority): New user option.
      (todo-set-item-priority): Use it.
      (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
      (desktop-restore-file-buffer): Declare.
      (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
      (todo-modes-set-2): Locally set desktop-save-buffer to
      todo-desktop-save-buffer.
      (todo-mode, todo-archive-mode, todo-filtered-items-mode)
      (auto-mode-alist): Add autoload cookie.
      
      Fixes: debbugs:15225
      2f99433b
    • Bozhidar Batsov's avatar
      * lisp/emacs-lisp/subr-x.el: (string-remove-prefix): New function. · 3cbfb935
      Bozhidar Batsov authored
      (string-remove-suffix): New function.
      3cbfb935
    • Bozhidar Batsov's avatar
      131e4695
    • Martin Rudalics's avatar
      Some more fixes for pixelwise resizing. · c44de18d
      Martin Rudalics authored
      Remove scroll_bar_actual_width from frames.
      * frame.h (struct frame): Remove scroll_bar_actual_width slot.
      * frame.c (Fscroll_bar_width): Return scroll bar area width.
      (x_figure_window_size):
      * nsterm.m (x_set_window_size):
      * widget.c (set_frame_size):
      * w32term.c (x_set_window_size):
      * xterm.c (x_set_window_size, x_set_window_size_1): Don't set
      scroll_bar_actual_width.
      
      Convert scroll_bar members to integers on Windows.
      * w32term.h (struct scroll_bar): Convert top, left, width,
      height, start, end and dragging to integers.
      * w32fns.c (w32_createscrollbar): Remove XINT conversions for
      scroll_bar members.
      * w32term.c (w32_set_scroll_bar_thumb)
      (w32_scroll_bar_handle_click): Remove XINT conversions for
      scroll_bar members.  Treat bar->dragging as integer.
      (x_scroll_bar_create): Call ALLOCATE_PSEUDOVECTOR with "top" as
      first element.  Remove XINT conversions for scroll_bar members.
      (w32_set_vertical_scroll_bar, x_scroll_bar_report_motion):
      Remove XINT conversions for scroll_bar members.
      
      Fix assignment for new window total sizes.
      * window.c (Fwindow_resize_apply_total): Assign values for
      minibuffer window.
      * window.el (window--pixel-to-size): Remove function.
      (window--pixel-to-total-1, window--pixel-to-total): Fix
      calculation of new total sizes.
      c44de18d
    • Vitalie Spinu's avatar
      comint.el (comint-output-filter): Fix rear-nonsticky property placement. · ca65efcc
      Vitalie Spinu authored
      Fixes: debbugs:16010
      ca65efcc
    • Chong Yidong's avatar
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New · b520f210
      Dmitry Gutov authored
      option. 
      (ruby-smie--indent-to-stmt-p): Use it.
      (ruby-smie-rules): Revert the logic in the handling of `when'.
      Expand the `begin' clause to handle `ruby-align-to-stmt-keywords'.
      (ruby-deep-arglist, ruby-deep-indent-paren)
      (ruby-deep-indent-paren-style): Update docstrings to note that the
      vars don't have any effect with SMIE.
      
      * test/automated/ruby-mode-tests.el: Add tests for
      `ruby-align-to-stmt-keywords'.
      
      * test/indent/ruby.rb: Update examples to reflect the lack of change in
      default indentation of `begin' blocks.
      
      Fixes: debbugs:16182
      b520f210
    • Jay Belanger's avatar
      lisp/calc/calc.el (calc-enter, calc-pop): Use the variable · 26b75b45
      Jay Belanger authored
      `calc-context-sensitive-enter'.
      
      doc/misc/calc.texi (Stack Manipulation Commands): Mention using the variable
      `calc-context-sensitive-enter' for `calc-enter' and `calc-pop'.
      26b75b45
    • Lars Magne Ingebrigtsen's avatar
    • Rüdiger Sonderfeld's avatar
      octave-mode: Link to manual. · 51d971b4
      Rüdiger Sonderfeld authored
      * lisp/progmodes/octave.el (octave): Add link to manual and octave
        homepage.
        (octave-mode-menu): Link to octave-mode manual.
      51d971b4
    • Leo Liu's avatar
      * skeleton.el (skeleton-pair-insert-maybe): Disable newline · 8c2e462a
      Leo Liu authored
      insertion using skeleton-end-newline.
      
      Fixes: debbugs:16138
      8c2e462a
    • Juri Linkov's avatar
      * lisp/replace.el (occur-engine): Use `add-face-text-property' · 501158bc
      Juri Linkov authored
      to add the face property to matches and titles. 
      
      * lisp/hi-lock.el (hi-green): Use lighter color "light green" closer to
      the palette of other hi-lock colors.
      (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
      
      Fixes: debbugs:14645
      501158bc
  5. 19 Dec, 2013 3 commits
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'. · 50ab1da6
      Juri Linkov authored
      Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
      (minibuffer-history-symbol): Move variable declaration closer to
      its usage.
      
      * lisp/isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
      (Bug#14785)
      
      * lisp/gnus/gnus.el (gnus-suppress-keymap):
      * lisp/gnus/gnus-art.el (gnus-article-mode-map):
      * lisp/gnus/gnus-group.el (gnus-group-mode-map):
      * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-backend-map):
      Remove [backspace] key binding because it shadows DEL (bug#16035).
      
      * lisp/gnus/mm-decode.el (mm-viewer-completion-map): Remove duplicate definition.
      50ab1da6
    • Juri Linkov's avatar
      * lisp/vc/log-edit.el (log-edit-insert-filenames-without-changelog): New function. · 3d6e95e7
      Juri Linkov authored
      (log-edit-hook): Add it to :options.
      
      Fixes: debbugs:16170
      3d6e95e7
    • Juri Linkov's avatar
      * lisp/simple.el (eval-expression-print-format): Don't check for · b41594fd
      Juri Linkov authored
      command names and the last command.  Always display additional
      formats of the integer result in the echo area, and insert them
      to the current buffer only with a zero prefix arg.
      Display character when char-displayable-p is non-nil.
      (eval-expression): With a zero prefix arg, set `print-length' and
      `print-level' to nil, and insert the integer values from
      `eval-expression-print-format' at the end.  Doc fix. 
      
      * lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
      `eval-last-sexp-arg-internal'.  Doc fix.
      (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
      `eval-last-sexp-print-value'.  Doc fix.
      (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
      Set `print-length' and `print-level' to nil when arg is zero.
      (eval-last-sexp): Doc fix.
      (eval-defun-2): Print the integer values from
      `eval-expression-print-format' at the end.
      
      * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
      values from `eval-expression-print-format' at the end.
      
      * lisp/ielm.el (ielm-eval-input): Print the integer
      values from `eval-expression-print-format' at the end.
      
      Fixes: debbugs:12985
      b41594fd