Update copyright year to 2016
auth-source.el (auth-source-ensure-strings): Don't make a list out of 't' (Bug#22188) Synch with the emacs-25 branch. The changes having not been merged to the Emacs trunk are in: http://www.jpl.org/ftp/pub/tmp/MaGnus-to-Emacs-trunk-unfinished.patch * auth-source.el (auth-source-ensure-strings): Don't make a list out of 't'. (Bug#22188)
auth-source.el: Silence lexical-binding warnings * auth-source.el (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to just VAR. (auth-source-backend-parse): Use make-instance. (auth-source-search): Remove unused key args. Remove unused vars `accessor-key' and `backend'. Avoid `eval'. (auth-source-search-backends): Use slot names rather than their initarg. (auth-source-netrc-create): (auth-source-delete): (auth-source-secrets-create, auth-source-plstore-search) (auth-source-macos-keychain-create, auth-source-macos-keychain-search) (auth-source-plstore-create, auth-source-netrc-search) (auth-source-netrc-parse): Remove unused key args. (auth-source-forget+): Simplify the arglist. (auth-source-macos-keychain-search-items) (auth-source-token-passphrase-callback-function): Mark unused args. (auth-source-epa-extract-gpg-token): Remove unused var `plain'. (pp-escape-newlines): Declare. (auto-source--symbol-keyword): New function. (auth-source-plstore-create, auth-source-netrc-create) (auth-source-netrc-normalize): Use it. (auth-source-netrc-search): Don't pass :delete to auth-source-netrc-parse since it doesn't use it. (auth-source-plstore-create, auth-source-netrc-create): Use plist-get symbol-value to index in keyword args. (auth-source-macos-keychain-result-append): Avoid setq. (auth-source-netrc-create): Remove unused vars `file' and `add'. (auth-source-user-or-password): Remove unused var `cname'.
auth-source.el: Revert last change
Fix auth-source-epa-make-gpg-token compilation (bug#21724) cf. <http://thread.gmane.org/gmane.emacs.bugs/107802> * auth-source.el: Add eval-and-compile to autoloads for epg-context-set-passphrase-callback, epg-decrypt-string, epg-encrypt-string, and epg-context-set-armor.
auth-source.el (auth-source-epa-make-gpg-token): Revert
* auth-source.el (auth-source-epa-make-gpg-token): Replace an usage of `epg-context-set-armor' with `setf'.
auth-source.el: Use sharp-quoting with functions * auth-source.el (auth-source-do-debug, auth-source-do-trivia) (auth-source-read-char-choice, auth-source-search) (auth-source-pick-first-password, auth-source-netrc-parse) (auth-source-netrc-search, auth-source-secrets-search) (auth-source-macos-keychain-search) (auth-source-macos-keychain-search-items, auth-source-plstore-search) (auth-source-user-or-password): Use sharp-quoting with functions.
auth-source.el (auth-source-search): Clarify :create's meaning
Backslash cleanup in Elisp source files This patch should not change behavior. It typically omits backslashes where they are redundant (e.g., in the string literal "^\$"). In a few places, insert backslashes where they make regular expressions clearer: e.g., replace "^\*" (equivalent to "^*") with "^\\*", which has the same effect as a regular expression. Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs, and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with RCS IDs, as that makes it clearer that the backslash is intended. * auth-source.el (auth-source-secrets-search) (auth-source-macos-keychain-search): * gnus-art.el (gnus-mime-action-on-part) (gnus-mime-display-multipart-related-as-mixed) (gnus-button-mid-or-mail-heuristic-alist) (gnus-button-mid-or-mail-heuristic, gnus-article-extend-url-button): * gnus-bookmark.el (gnus-bookmark-bmenu-toggle-infos) (gnus-bookmark-bookmark-inline-details, gnus-bookmark-bookmark-details) (gnus-bookmark-alist, gnus-bookmark-name-from-full-record) (gnus-bookmark-bmenu-mode, gnus-bookmark-delete): * gnus-cus.el (gnus-group-customize): * gnus-group.el (gnus-group-line-format, gnus-group-mode-line-format) (gnus-group-jump-to-group-prompt, gnus-group-name-at-point): * gnus-mlspl.el (gnus-group-split-fancy): * gnus-registry.el (gnus-registry-prune-factor): * gnus-salt.el (gnus-summary-pick-line-format): * gnus-sieve.el (gnus-sieve-update, gnus-sieve-generate) (gnus-sieve-script): * gnus-util.el (gnus-directory-sep-char-regexp): * gnus.el (gnus-message-archive-group, gnus-user-agent): * message.el (message-archive-header, message-reply-headers) (message-send-method-alist): * mm-decode.el (mm-add-meta-html-tag): * nndoc.el (nndoc-generate-lanl-gov-head): * nnheader.el (nnheader-max-head-length): * registry.el (registry-db, registry-prune): * rfc1843.el (rfc1843-hzp-word-regexp) (rfc1843-hzp-word-regexp-strictly): * rfc2047.el (rfc2047-encoded-word-regexp) (rfc2047-encoded-word-regexp-loose):
Fix several backslash typos in Elisp strings * gnus-art.el (gnus-button-handle-library): * gnus-group.el (gnus-read-ephemeral-gmane-group-url): * nntp.el (nntp-via-shell-prompt, nntp-telnet-shell-prompt): * spam-report.el (spam-report-gmane-regex): Fix typo by replacing ‘\’ with ‘\\’ in a string literal. For example, to get the regular expression ‘\.’ use the string literal "\\.", not "\." (which is equivalent to "."). Doc fixes * auth-source.el (auth-source-read-char-choice): * nnmaildir.el (NOV example): * registry.el (registry-search):
Go back to grave quoting in Gnus * auth-source.el (auth-source-netrc-parse-entries): * gnus-agent.el (gnus-agent-check-overview-buffer) (gnus-agent-fetch-headers): * gnus-int.el (gnus-start-news-server): * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal) (gnus-registry-post-process-groups): * gnus-score.el (gnus-summary-increase-score): * gnus-start.el (gnus-convert-old-newsrc): * gnus-topic.el (gnus-topic-rename): * legacy-gnus-agent.el (gnus-agent-unlist-expire-days): * spam.el (spam-check-blackholes): Stick with grave quoting in diagnostics strings. This is more portable to older Emacs, desirable for Gnus.
Prefer directed to neutral quotes Prefer directed to neutral quotes in docstings and diagnostics. In docstrings, escape apostrophes that would otherwise be translated to curved quotes using the newer, simpler rules. * auth-source.el (auth-source-netrc-parse-entries): * gnus-agent.el (gnus-agent-check-overview-buffer) (gnus-agent-fetch-headers): * gnus-int.el (gnus-start-news-server): * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): * gnus-score.el (gnus-summary-increase-score): * gnus-start.el (gnus-convert-old-newsrc): * gnus-topic.el (gnus-topic-rename): * legacy-gnus-agent.el (gnus-agent-unlist-expire-days): * nnmairix.el (nnmairix-widget-create-query): * spam.el (spam-check-blackholes): Use directed rather than neutral quotes in diagnostics.
* auth-source.el (auth-sources): Prefer (substitute-command-keys "`\\[foo-command]'") to "`M-x foo-command'" in docstring. * time-date.el (format-seconds): Use curved quotes in diagnostic format strings.
Update copyright year to 2015
auth-source.el: Fix Mac OS X keychain lookups
auth-source-search: return boolean on :max 0 * auth-source.el (auth-source-search, auth-source-search-backends): Treat :max 0 as an indicator that a boolean return is wanted, as documented. Reported by Joe Bloggs.
auth-source.el (auth-source-secrets-listify-pattern): Spelling fixes
Do not use cl-lib functions since those are unavailable on older Emacsen. * auth-source.el (auth-source-netrc-saver): Do not depend on `cl-lib' to stay compatible with older Emacsen, so replace `cl-loop' with `loop'.
auth-source.el: Build correct secrets pattern from auth-source pattern