1. 16 Nov, 2015 1 commit
  2. 15 Nov, 2015 12 commits
  3. 14 Nov, 2015 7 commits
    • Artur Malabarba's avatar
      * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors · d24e7833
      Artur Malabarba authored
      Signal user-errors instead.
    • Eli Zaretskii's avatar
      Document 'describe-symbol' · 278d8c8e
      Eli Zaretskii authored
      * doc/emacs/help.texi (Help Summary): Mention "C-h o".
      (Name Help): Document "C-h o" and describe-symbol.
      * lisp/help-fns.el (describe-symbol): Doc fix.
    • Eli Zaretskii's avatar
      Avoid signaling an error in 'describe-symbol' · 7ad01cb6
      Eli Zaretskii authored
      * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
      exists as a function/variable/face/etc., but is undocumented.
      * test/automated/help-fns.el (help-fns-test-describe-symbol): New
    • Artur Malabarba's avatar
      Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async. · e7f2c91b
      Artur Malabarba authored
      (package--with-work-buffer-async): Reimplement as
      (package--with-work-buffer): Mark obsolete.
      (package--with-response-buffer): New macro. This is a more self
      contained and less contrived version of
      `package--with-work-buffer-async'.  It uses keyword arguments,
      doesn't have async on the name, doesn't fallback on
      `package--with-work-buffer', and has _much_ simpler error
      handling.  On master, this macro will soon be part of another
      library (either standalone or inside url.el), which is why this
      commit is not to be merged back.
      (package--check-signature, package--download-one-archive)
      (package-install-from-archive, describe-package-1): Use it.
      (package--download-and-read-archives): Let
      `package--download-one-archive' take care of calling
    • Dmitry Gutov's avatar
      ; Fix warnings · 138ad3d9
      Dmitry Gutov authored
      * lisp/vc/diff-mode.el (diff-kill-applied-hunks):
      Fix unused variable warnings.
    • Dmitry Gutov's avatar
    • Dmitry Gutov's avatar
      Use generic dispatch for xref backends · 246d6605
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-backend-functions):
      New variable.
      (xref-find-function): Remove.
      (xref--etags-backend): New functions.
      (xref-identifier-completion-table-function): Remove.
      (xref-backend-definitions, xref-backend-references)
      (xref-backend-apropos, xref-backend-identifier-at-point)
      New generic functions.
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add
      `elisp--xref-backend' to the beginning of
      `xref-backend-functions', locally.  Delete references to
      removed functions and vars.
      (elisp-xref-find): Remove.
      (elisp--xref-backend): New function.
      (elisp--xref-find-references, elisp--xref-find-apropos)
      Turn into appropriately named generic methods.
      * lisp/progmodes/etags.el (etags-xref-find): Remove.
      (xref-backend-references, xref-backend-definitions)
      (xref-backend-apropos): New generic methods.
  4. 13 Nov, 2015 16 commits
  5. 12 Nov, 2015 4 commits
    • Phillip Lord's avatar
      The heuristic that Emacs uses to add an `undo-boundary' has been · 44dfa86b
      Phillip Lord authored
      reworked, as it interacts poorly with functions on `post-command-hook'
      or `after-change-functions'.
      * lisp/simple.el: New section added.
      * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
      (self_insert_command): Calls simple.el to amalgamate.
      (delete_char): Calls simple.el to amalgamate.
      * src/keyboard.c (last_undo_boundary): Removed.
      * src/undo.c (run_undoable_change): New function.
    • Juri Linkov's avatar
      Bind [?\S-\ ] to previous line command in Dired-like modes. · d2f73db5
      Juri Linkov authored
      * lisp/arc-mode.el (archive-mode-map):
      * lisp/dired.el (dired-mode-map):
      * lisp/proced.el (proced-mode-map):
      * lisp/vc/vc-dir.el (vc-dir-mode-map):
      Bind [?\S-\ ] to previous line command.
    • Simen Heggestøyl's avatar
      Enable sorting of JSON object keys when encoding · 1e363a8e
      Simen Heggestøyl authored
      * lisp/json.el (json-encoding-object-sort-predicate): New variable for
      specifying a sorting predicate for JSON objects during encoding.
      (json--plist-to-alist): New utility function.
      (json-encode-hash-table): Re-use `json-encode-alist' when object keys
      are to be sorted.
      (json-encode-alist): Sort output by
      `json-encoding-object-sort-predicate, when set.
      (json-encode-plist): Re-use `json-encode-alist' when object keys are
      to be sorted.
      (json-pretty-print-buffer-ordered): New command to pretty print the
      buffer with object keys sorted alphabetically.
      (json-pretty-print-ordered): New command to pretty print the region with
      object keys sorted alphabetically.
      * test/automated/json-tests.el (test-json-plist-to-alist)
      (test-json-encode-plist, test-json-encode-hash-table)
      (test-json-encode-plist-with-sort-predicate): New tests.
      * etc/NEWS: Add an entry for the new commands.
    • Eli Barzilay's avatar
      Add "^" to the interactive specs of `dired-next/previous-line' · 851be0f6
      Eli Barzilay authored
      * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
      to bind these commands to the arrow keys, and that means that they work
      better with a "^" in the `interactive' declaration so selection works
      as expected.