1. 28 May, 2015 4 commits
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 192fb202
      Glenn Morris authored
    • Paul Eggert's avatar
      A few more doc string fixes (Bug#20385) · 4643f6c2
      Paul Eggert authored
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · dfc2ef11
      Paul Eggert authored
      Most of these fixes involve escaping grave accents that are
      actually intended to be grave accents, not left quotes.
    • 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.
  2. 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.
  3. 26 May, 2015 1 commit
  4. 25 May, 2015 3 commits
  5. 24 May, 2015 2 commits
  6. 23 May, 2015 2 commits
    • Stefan Monnier's avatar
      Replace gui-method macros with cl-generic with &context · 919281dd
      Stefan Monnier authored
      * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
      (gui-method-declare, gui-call): Remove.
      (frame-creation-function): Use cl-defgeneric.
      (make-frame): Adjust callers.
      * lisp/menu-bar.el (menu-bar-edit-menu):
      Use gui-backend-selection-exists-p.
      * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
      (gui-backend-get-selection): New cl-generic to replace
      gui-get-selection method.
      (gui-backend-set-selection): New cl-generic to replace
      gui-set-selection method.
      (gui-selection-owner-p): New cl-generic to replace
      gui-selection-owner-p method.
      (gui-backend-selection-exists-p): New cl-generic to replace
      gui-selection-exists-p method.  Adjust all callers.
      * lisp/server.el (server-create-window-system-frame): Don't ignore
      window-system spec even when unsupported.
      * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
      * lisp/startup.el (handle-args-function, window-system-initialization):
      Use cl-defgeneric.
      (command-line): Adjust calls accordingly.
      * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
      a window-system-initialization method.
      (handle-args-function, frame-creation-function): Use cl-defmethod.
      (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
      (gui-get-selection): Use cl-defmethod on the new functions instead.
      * lisp/term/pc-win.el (w16-get-selection-value): Turn into
      a gui-backend-get-selection method.
      (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
      Use cl-defmethod on the new functions instead.
      (msdos-window-system-initialization): Turn into
      a window-system-initialization method.
      (frame-creation-function, handle-args-function): Use cl-defmethod.
      * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
      a window-system-initialization method.
      (handle-args-function, frame-creation-function): Use cl-defmethod.
      (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
      (gui-get-selection): Use cl-defmethod on the new functions instead.
      * lisp/term/x-win.el (x-window-system-initialization): Turn into
      a window-system-initialization method.
      (handle-args-function, frame-creation-function): Use cl-defmethod.
      (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
      (gui-get-selection): Use cl-defmethod on the new functions instead.
      * lisp/term/xterm.el (xterm--set-selection): Turn into
      a gui-backend-set-selection method.
      * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
      (Fns_selection_owner_p): Remove unused arg `terminal'.
      (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
    • 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.
  7. 22 May, 2015 2 commits
  8. 21 May, 2015 6 commits
  9. 20 May, 2015 6 commits
  10. 19 May, 2015 3 commits
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · 9d35bb8d
      Paul Eggert authored
      These were glitches regardless of how or whether we tackle the
      problem of grave accent in doc strings.
      * lisp/calc/calc-aent.el (math-restore-placeholders):
      * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
      * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
      * lisp/leim/quail/hebrew.el ("hebrew-new")
      * lisp/leim/quail/thai.el ("thai-kesmanee"):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
      Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
      * lisp/calendar/calendar.el (calendar-month-abbrev-array):
      * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-copy)
      * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
      * lisp/emacs-lisp/generator.el (iter-next):
      * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
      * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
      * lisp/net/soap-client.el (soap-wsdl-get):
      * lisp/net/telnet.el (telnet-mode):
      * lisp/org/org-compat.el (org-number-sequence):
      * lisp/org/org.el (org-remove-highlights-with-change)
      * lisp/org/ox-html.el (org-html-link-org-files-as-html):
      * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
      (handwrite-12pt, handwrite-13pt):
      * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
      * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
      * lisp/progmodes/verilog-mode.el (verilog-tool)
      (verilog-string-replace-matches, verilog-preprocess)
      (verilog-auto-insert-lisp, verilog-auto-insert-last):
      * lisp/textmodes/makeinfo.el (makeinfo-options):
      * src/font.c (Ffont_spec):
      Fix minor quoting problems in doc strings, e.g., missing quote,
      ``x'' where `x' was meant, etc.
      * lisp/erc/erc-backend.el (erc-process-sentinel-2):
      Fix minor quoting problem in other string.
      * lisp/leim/quail/ethiopic.el ("ethiopic"):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      Omit unnecessary quotes.
      * lisp/faces.el (set-face-attribute, set-face-underline)
      (set-face-inverse-video, x-create-frame-with-faces):
      * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
      * lisp/mail/supercite.el (sc-attribs-%@-addresses)
      (sc-attribs-!-addresses, sc-attribs-<>-addresses):
      * lisp/net/tramp.el (tramp-methods):
      * lisp/recentf.el (recentf-show-file-shortcuts-flag):
      * lisp/textmodes/artist.el (artist-ellipse-right-char)
      (artist-ellipse-left-char, artist-vaporize-fuzziness)
      (artist-spray-chars, artist-mode, artist-replace-string)
      (artist-put-pixel, artist-text-see-thru):
      * lisp/vc/ediff-util.el (ediff-submit-report):
      * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
      Use double-quotes rather than TeX markup in doc strings.
      * lisp/skeleton.el (skeleton-pair-insert-maybe):
      Reword to avoid the need for grave accent and apostrophe.
      * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
      Don't use grave and acute accents to quote.
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Further lisp-complete-symbol related cleanup. · f42ceab5
      Glenn Morris authored
      * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
      Unadvertise non-functional argument.  Replace obsolete alias.
  11. 18 May, 2015 1 commit
    • Oleh Krehel's avatar
      Allow checkdoc to be called in batch · d3d50a9c
      Oleh Krehel authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
        is non-nil, echo the error with `warn'.
      How it can be used in -batch:
      (with-current-buffer (find-file "checkdoc.el")
        (checkdoc-current-buffer t))
  12. 16 May, 2015 3 commits
  13. 15 May, 2015 2 commits
  14. 14 May, 2015 1 commit
    • Leo Liu's avatar
      Fix cps--gensym · fbda511a
      Leo Liu authored
      * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
  15. 13 May, 2015 2 commits
    • Glenn Morris's avatar
      Fix bootstrap (void function cl-member). · 912d4a49
      Glenn Morris authored
      * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
      * lisp/emacs-lisp/cl-seq.el: Provide a feature.
    • Stefan Monnier's avatar
      * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload · 37ab2245
      Stefan Monnier authored
      * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
      Avoid defalias for closures which are not immutable.
      (cl--generic-prefill-dispatchers): New macro.  Use it to prefill the
      dispatchers table with various entries.
      * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
      * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
  16. 12 May, 2015 1 commit