1. 25 Dec, 2013 4 commits
    • Lars Ingebrigtsen's avatar
      Further shr quotation mark fill fixes · c6c20584
      Lars Ingebrigtsen authored
      (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
      (shr-find-fill-point): Remove the special checks for the quotation
      mark, since `shr-char-kinsoku-bol-p' should now return the right
    • Fabián Ezequiel Gallina's avatar
      * lisp/progmodes/python.el: · 01379221
      Fabián Ezequiel Gallina authored
      (python-nav--lisp-forward-sexp): New function.
      (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
      (python-nav--forward-sexp): New argument SAFE allows switching
      forward sexp movement behavior for parens.
      (python-nav-forward-sexp): Throw errors on unterminated parens.
      (python-nav-backward-sexp, python-nav-forward-sexp-safe)
      (python-nav-backward-sexp-safe): New functions.
      (python-shell-buffer-substring): Use
      * test/automated/python-tests.el
      (python-nav-lisp-forward-sexp-safe-1): Remove test.
      (python-nav-forward-sexp-safe-1): New test.
      Fixes: debbugs:16191
    • Lars Ingebrigtsen's avatar
      Fold shr text with single quotation marks better · 99e4926f
      Lars Ingebrigtsen authored
      * net/shr.el (shr-find-fill-point): Don't break lines before a
      quotation mark.
    • Kenjiro NAKAYAMA's avatar
      eww textarea fixups · fec0e828
      Kenjiro NAKAYAMA authored
      * net/eww.el (eww-form-textarea): Use a different face for
      textareas than text input since they have different keymaps.
      Fixes: debbugs:16142
  2. 24 Dec, 2013 7 commits
  3. 23 Dec, 2013 4 commits
  4. 22 Dec, 2013 6 commits
  5. 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.
    • 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'.
    • 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.
    • 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.
    • 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'.
    • 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.
    • 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.
    • 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.
    • 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
    • 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-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.
  6. 20 Dec, 2013 9 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.
    • 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
      (save-place-find-file-hook): Check integer positions with
      (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-position): Rename `dired-initial-point-hook' to
      (dired-file-name-at-point): Doc fix.
      Fixes: debbugs:15329
    • 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
      * 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
      Fixes: debbugs:14405
    • 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
    • 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-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.
    • 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
      (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-mode, todo-archive-mode, todo-filtered-items-mode)
      (auto-mode-alist): Add autoload cookie.
      Fixes: debbugs:15225
    • Bozhidar Batsov's avatar
      * lisp/emacs-lisp/subr-x.el: (string-remove-prefix): New function. · 3cbfb935
      Bozhidar Batsov authored
      (string-remove-suffix): New function.
    • Bozhidar Batsov's avatar