1. 19 Jun, 2015 1 commit
    • Paul Eggert's avatar
      Improve the optional translation of quotes · c4151ebe
      Paul Eggert authored
      Fix several problems with the recently-added custom variable
      help-quote-translation where the code would quote inconsistently
      in help buffers.  Add support for quoting 'like this', which
      is common in other GNU programs in ASCII environments.  Change
      help-quote-translation to use more mnemonic values: values are now the
      initial quoting char, e.g., (setq help-quote-translation ?`) gets the
      traditional Emacs help-buffer quoting style `like this'.  Change the
      default behavior of substitute-command-keys to match what's done in
      set-locale-environment, i.e., quote ‘like this’ if displayable,
      'like this' otherwise.
      * doc/lispref/help.texi (Keys in Documentation): Document
      new behavior of substitute-command-keys, and document
      * doc/lispref/tips.texi (Documentation Tips):
      Mention the effect of help-quote-translation.
      * etc/NEWS: Mention new behavior of substitute-command-keys,
      and merge help-quote-translation news into it.
      When talking about doc strings, mention new ways to type quotes.
      * lisp/cedet/mode-local.el (overload-docstring-extension):
      Revert my recent change to this function, which shouldn't be
      needed as the result is a doc string.
      * lisp/cedet/mode-local.el (mode-local-print-binding)
      * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
      * lisp/cus-theme.el (describe-theme-1):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
      * lisp/emacs-lisp/package.el (describe-package-1):
      * lisp/faces.el (describe-face):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--parent-mode)
      (help-fns--obsolete, help-fns--interactive-only)
      (describe-function-1, describe-variable):
      * lisp/help.el (describe-mode):
      Use substitute-command-keys to ensure a more-consistent quoting
      style in help buffers.
      * lisp/cus-start.el (standard):
      Document new help-quote-translation behavior.
      * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
      * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
      * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
      * lisp/wid-edit.el (widget-documentation-link-regexp):
      Also match 'foo', in case we're in a help buffer generated when
      help-quote-translation is ?'.
      * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
      (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
      (Fsubstitute_command_keys): Document and implement new behavior.
      (Vhelp_quote_translation): Document new behavior.
  2. 18 Jun, 2015 2 commits
  3. 17 Jun, 2015 3 commits
  4. 14 Jun, 2015 1 commit
  5. 08 Jun, 2015 1 commit
  6. 29 May, 2015 1 commit
  7. 28 May, 2015 1 commit
    • Paul Eggert's avatar
      Support curved quotes in doc strings · 0fd5e659
      Paul Eggert authored
      Emacs's traditional doc string style has been to quote symbols
      `like this'.  This worked well on now-obsolete terminals where
      ` and ' were symmetric quotes, but nowadays curved quotes
      ‘like this’ look better.  Support quoting the new way too.
      * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
      ‘like-this’ as well as `like-this'.
      * etc/NEWS: Mention this.
      * lisp/cedet/mode-local.el (overload-docstring-extension)
      (mode-local-print-binding, mode-local-describe-bindings-2):
      * lisp/cus-theme.el (describe-theme-1):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
      * lisp/emacs-lisp/package.el (describe-package-1):
      * lisp/faces.el (describe-face):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
      (help-fns--interactive-only, describe-function-1):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (describe-input-method)
      * lisp/international/mule-diag.el (describe-character-set)
      (print-coding-system-briefly, list-input-methods)
      Insert curved quotes rather than grave accent and apostrophe.
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
      * lisp/finder.el (finder-font-lock-keywords):
      * lisp/gnus/gnus-art.el (gnus-button-alist):
      * lisp/help-fns.el (help-do-arg-highlight)
      (describe-function-1, describe-variable):
      * lisp/help-mode.el (help-xref-symbol-regexp)
      (help-xref-info-regexp, help-xref-url-regexp):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
      * lisp/wid-edit.el (widget-documentation-link-regexp):
      Parse symbols quoted ‘like-this’ as well as `like-this'.
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
      Add "‘" and "’" to electric-pair-text-pairs.
      (elisp--form-quoted-p): Also allow "‘" as a quoting char.
      (elisp-completion-at-point, elisp--preceding-sexp):
      Also treat "‘" and "’" as quoting chars.
  8. 27 May, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Don't erase tags on refresh · 1f7abd04
      Artur Malabarba authored
      (package-menu--post-refresh): Call `tabulated-list-print' with the
      UPDATE argument.  This only affects the refresh action, the revert
      action still erases tags.
      (package-menu-get-status): Change `assq' to `assoc'.
      (package-menu--mark-upgrades-1): New function.
      (package-menu--mark-upgrades-pending): New variable.
      (package-menu-mark-upgrades): Use them to delay marking until
      after refresh is done.
      (package-menu--post-refresh): Call mark-upgrades-1 if
      mark-upgrades-pending is non-nil.
  9. 23 May, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Always update selected-packages · 7ac84a25
      Artur Malabarba authored
      (package--update-selected-packages): New function.
      (package-menu-execute): Use it before starting the transaction,
      this way the list of selected packages is updated even when the
      transaction fails.
      (package-menu--perform-transaction): Don't edit selected-packages.
  10. 22 May, 2015 1 commit
  11. 21 May, 2015 5 commits
  12. 20 May, 2015 2 commits
  13. 15 May, 2015 2 commits
  14. 07 May, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: New "external" package status · 14bb519f
      Artur Malabarba authored
      An external package is any installed package that's not built-in
      and not from `package-user-dir', which usually means it's from an
      entry in `package-directory-list'.  They are treated much like
      built-in packages, in that they cannot be through the Package Menu
      deleted and are not considered for upgrades.
      (package-desc-status): Identify if a package is installed outside
      (package-menu--status-predicate): Add support for it.
      * etc/NEWS: Document it.
  15. 05 May, 2015 1 commit
  16. 04 May, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Remove `package--silence' variable · 5d3940a3
      Artur Malabarba authored
      (package-import-keyring, package-refresh-contents)
      (package-compute-transaction, package--save-selected-packages)
      (package-install-from-archive, package-delete)
      (package-menu--perform-transaction): Use `inhibit-message'
      (package--compile): Set `warning-minimum-level' to :error.
  17. 01 May, 2015 1 commit
    • Glenn Morris's avatar
      Function declaration updates prompted by 'make check-declare' · ce7ff436
      Glenn Morris authored
      * lisp/emacs-lisp/package.el (lm-homepage):
      * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
      * lisp/gnus/mm-decode.el (libxml-parse-html-region):
      * lisp/gnus/mml.el (libxml-parse-html-region):
      * lisp/gnus/nnrss.el (libxml-parse-html-region):
      * lisp/net/eww.el (libxml-parse-html-region):
      * lisp/net/shr.el (libxml-parse-html-region):
      * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
      * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
      * lisp/vc/vc-git.el (vc-annotate-convert-time):
      * lisp/vc/vc-hg.el (vc-annotate-convert-time):
      * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
      * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
      Update declaration.
  18. 30 Apr, 2015 2 commits
  19. 29 Apr, 2015 1 commit
  20. 28 Apr, 2015 2 commits
  21. 27 Apr, 2015 1 commit
  22. 26 Apr, 2015 1 commit
  23. 25 Apr, 2015 2 commits
  24. 22 Apr, 2015 2 commits
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu · 8991937a
      Artur Malabarba authored
      (package-menu-hide-low-priority): New variable, see its doc.
      (package-archive-priorities): Update doc.
      (package-desc-priority): New function.
      (package-desc-priority-version): Use it.
      (package--remove-hidden): New function.
      (package-menu--refresh): Use it.
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Implement displaying obsolete packages · c3b41c64
      Artur Malabarba authored
      (package-menu--hide-obsolete): New variable.
      (package--remove-hidden): Use it.
      (package-menu-hide-obsolete): New interactive function to toggle
      the variable.
      (package--quick-help-keys): Document it.
      (package-menu-async): Add :version tag.
      (package-menu-mode-map): Bind package-menu-hide-obsolete.
      (package-desc-status): Indicate non-installed obsolete packages as
      (package-menu-mark-install): Allow installation of avail-obso.
      (package-menu--status-predicate): Sort avail-obso with available.
  25. 20 Apr, 2015 2 commits
  26. 19 Apr, 2015 1 commit