mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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. * admin/unidata/unidata-gen.el (unidata-gen-table): * lisp/align.el (align-region): * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet): * lisp/bookmark.el (bookmark-default-annotation-text): * lisp/calc/calc-aent.el (math-read-if, math-read-factor): * lisp/calc/calc-lang.el (math-read-giac-subscr) (math-read-math-subscr): * lisp/calc/calc-misc.el (report-calc-bug): * lisp/calc/calc-prog.el (calc-fix-token-name) (calc-read-parse-table-part): * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules): * lisp/cedet/semantic/complete.el (semantic-displayor-show-request): * lisp/dabbrev.el (dabbrev-expand): * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * lisp/emacs-lisp/elint.el (elint-get-top-forms): * lisp/emacs-lisp/lisp-mnt.el (lm-verify): * lisp/emulation/viper-cmd.el (viper-toggle-search-style): * lisp/erc/erc-button.el (erc-nick-popup): * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login): * lisp/eshell/em-dirs.el (eshell/cd): * lisp/eshell/em-glob.el (eshell-glob-regexp): * lisp/eshell/em-pred.el (eshell-parse-modifiers): * lisp/eshell/esh-arg.el (eshell-parse-arguments): * lisp/eshell/esh-opt.el (eshell-show-usage): * lisp/files-x.el (modify-file-local-variable): * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer) (filesets-update-pre010505): * lisp/find-cmd.el (find-generic, find-to-string): * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries): * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer) (gnus-agent-fetch-headers): * lisp/gnus/gnus-int.el (gnus-start-news-server): * lisp/gnus/gnus-registry.el: (gnus-registry--split-fancy-with-parent-internal): * lisp/gnus/gnus-score.el (gnus-summary-increase-score): * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc): * lisp/gnus/gnus-topic.el (gnus-topic-rename): * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days): * lisp/gnus/nnmairix.el (nnmairix-widget-create-query): * lisp/gnus/spam.el (spam-check-blackholes): * lisp/mail/feedmail.el (feedmail-run-the-queue): * lisp/mpc.el (mpc-playlist-rename): * lisp/net/ange-ftp.el (ange-ftp-shell-command): * lisp/net/mairix.el (mairix-widget-create-query): * lisp/net/tramp-cache.el: * lisp/obsolete/otodo-mode.el (todo-more-important-p): * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region): * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region): * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region): * lisp/org/ob-core.el (org-babel-goto-named-src-block) (org-babel-goto-named-result): * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap): * lisp/org/ob-ref.el (org-babel-ref-resolve): * lisp/org/org-agenda.el (org-agenda-prepare): * lisp/org/org-bibtex.el (org-bibtex-fields): * lisp/org/org-clock.el (org-clock-notify-once-if-expired) (org-clock-resolve): * lisp/org/org-feed.el (org-feed-parse-atom-entry): * lisp/org/org-habit.el (org-habit-parse-todo): * lisp/org/org-mouse.el (org-mouse-popup-global-menu) (org-mouse-context-menu): * lisp/org/org-table.el (org-table-edit-formulas): * lisp/org/ox.el (org-export-async-start): * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question) (dun-rooms, dun-endgame-questions): * lisp/progmodes/ada-mode.el (ada-goto-matching-start): * lisp/progmodes/ada-xref.el (ada-find-executable): * lisp/progmodes/antlr-mode.el (antlr-options-alists): * lisp/progmodes/flymake.el (flymake-parse-err-lines) (flymake-start-syntax-check-process): * lisp/progmodes/python.el (python-define-auxiliary-skeleton): * lisp/progmodes/sql.el (sql-comint): * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point): * lisp/server.el (server-get-auth-key): * lisp/subr.el (version-to-list): * lisp/textmodes/reftex-ref.el (reftex-label): * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label): * lisp/vc/ediff-diff.el (ediff-same-contents): * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string): * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests): Use directed rather than neutral quotes in diagnostics.
This commit is contained in:
parent
68280c5ee9
commit
875a5d0ead
223 changed files with 961 additions and 940 deletions
|
|
@ -577,25 +577,25 @@ port keys.
|
|||
|
||||
Here's an example:
|
||||
|
||||
\(let ((auth-source-creation-defaults '((user . \"defaultUser\")
|
||||
\(let ((auth-source-creation-defaults \\='((user . \"defaultUser\")
|
||||
(A . \"default A\"))))
|
||||
(auth-source-search :host \"mine\" :type 'netrc :max 1
|
||||
(auth-source-search :host \"mine\" :type \\='netrc :max 1
|
||||
:P \"pppp\" :Q \"qqqq\"
|
||||
:create t))
|
||||
|
||||
which says:
|
||||
|
||||
\"Search for any entry matching host 'mine' in backends of type
|
||||
'netrc', maximum one result.
|
||||
\"Search for any entry matching host `mine' in backends of type
|
||||
`netrc', maximum one result.
|
||||
|
||||
Create a new entry if you found none. The netrc backend will
|
||||
automatically require host, user, and port. The host will be
|
||||
'mine'. We prompt for the user with default 'defaultUser' and
|
||||
`mine'. We prompt for the user with default `defaultUser' and
|
||||
for the port without a default. We will not prompt for A, Q,
|
||||
or P. The resulting token will only have keys user, host, and
|
||||
port.\"
|
||||
|
||||
:create '(A B C) also means to create a token if possible.
|
||||
:create \\='(A B C) also means to create a token if possible.
|
||||
|
||||
The behavior is like :create t but if the list contains any
|
||||
parameter, that parameter will be required in the resulting
|
||||
|
|
@ -604,32 +604,32 @@ search parameters or from user input. If any queries are needed,
|
|||
the alist `auth-source-creation-defaults' will be checked for the
|
||||
default value. If the user, host, or port are missing, the alist
|
||||
`auth-source-creation-prompts' will be used to look up the
|
||||
prompts IN THAT ORDER (so the 'user prompt will be queried first,
|
||||
then 'host, then 'port, and finally 'secret). Each prompt string
|
||||
prompts IN THAT ORDER (so the `user' prompt will be queried first,
|
||||
then `host', then `port', and finally `secret'). Each prompt string
|
||||
can use %u, %h, and %p to show the user, host, and port.
|
||||
|
||||
Here's an example:
|
||||
|
||||
\(let ((auth-source-creation-defaults '((user . \"defaultUser\")
|
||||
\(let ((auth-source-creation-defaults \\='((user . \"defaultUser\")
|
||||
(A . \"default A\")))
|
||||
(auth-source-creation-prompts
|
||||
'((password . \"Enter IMAP password for %h:%p: \"))))
|
||||
(auth-source-search :host '(\"nonesuch\" \"twosuch\") :type 'netrc :max 1
|
||||
\\='((password . \"Enter IMAP password for %h:%p: \"))))
|
||||
(auth-source-search :host \\='(\"nonesuch\" \"twosuch\") :type \\='netrc :max 1
|
||||
:P \"pppp\" :Q \"qqqq\"
|
||||
:create '(A B Q)))
|
||||
:create \\='(A B Q)))
|
||||
|
||||
which says:
|
||||
|
||||
\"Search for any entry matching host 'nonesuch'
|
||||
or 'twosuch' in backends of type 'netrc', maximum one result.
|
||||
\"Search for any entry matching host `nonesuch'
|
||||
or `twosuch' in backends of type `netrc', maximum one result.
|
||||
|
||||
Create a new entry if you found none. The netrc backend will
|
||||
automatically require host, user, and port. The host will be
|
||||
'nonesuch' and Q will be 'qqqq'. We prompt for the password
|
||||
`nonesuch' and Q will be `qqqq'. We prompt for the password
|
||||
with the shown prompt. We will not prompt for Q. The resulting
|
||||
token will have keys user, host, port, A, B, and Q. It will not
|
||||
have P with any value, even though P is used in the search to
|
||||
find only entries that have P set to 'pppp'.\"
|
||||
find only entries that have P set to `pppp'.\"
|
||||
|
||||
When multiple values are specified in the search parameter, the
|
||||
user is prompted for which one. So :host (X Y Z) would ask the
|
||||
|
|
@ -650,8 +650,8 @@ property.
|
|||
Use `auth-source-delete' in ELisp code instead of calling
|
||||
`auth-source-search' directly with this parameter.
|
||||
|
||||
:type (X Y Z) will check only those backend types. 'netrc and
|
||||
'secrets are the only ones supported right now.
|
||||
:type (X Y Z) will check only those backend types. `netrc' and
|
||||
`secrets' are the only ones supported right now.
|
||||
|
||||
:max N means to try to return at most N items (defaults to 1).
|
||||
More than N items may be returned, depending on the search and
|
||||
|
|
@ -1097,7 +1097,7 @@ Note that the MAX parameter is used so we can exit the parse early."
|
|||
(if (equal item2 "machine")
|
||||
(progn
|
||||
(gnus-error 1
|
||||
"%s: Unexpected 'machine' token at line %d"
|
||||
"%s: Unexpected ‘machine’ token at line %d"
|
||||
"auth-source-netrc-parse-entries"
|
||||
(auth-source-current-line))
|
||||
(forward-line 1))
|
||||
|
|
@ -1554,23 +1554,23 @@ matching, do a wider search and narrow it down yourself.
|
|||
|
||||
You'll get back all the properties of the token as a plist.
|
||||
|
||||
Here's an example that looks for the first item in the 'Login'
|
||||
Here's an example that looks for the first item in the `Login'
|
||||
Secrets collection:
|
||||
|
||||
\(let ((auth-sources '(\"secrets:Login\")))
|
||||
\(let ((auth-sources \\='(\"secrets:Login\")))
|
||||
(auth-source-search :max 1)
|
||||
|
||||
Here's another that looks for the first item in the 'Login'
|
||||
Secrets collection whose label contains 'gnus':
|
||||
Here's another that looks for the first item in the `Login'
|
||||
Secrets collection whose label contains `gnus':
|
||||
|
||||
\(let ((auth-sources '(\"secrets:Login\")))
|
||||
\(let ((auth-sources \\='(\"secrets:Login\")))
|
||||
(auth-source-search :max 1 :label \"gnus\")
|
||||
|
||||
And this one looks for the first item in the 'Login' Secrets
|
||||
And this one looks for the first item in the `Login' Secrets
|
||||
collection that's a Google Chrome entry for the git.gnus.org site
|
||||
authentication tokens:
|
||||
|
||||
\(let ((auth-sources '(\"secrets:Login\")))
|
||||
\(let ((auth-sources \\='(\"secrets:Login\")))
|
||||
(auth-source-search :max 1 :signon_realm \"https://git.gnus.org/Git\"))
|
||||
"
|
||||
|
||||
|
|
@ -1674,8 +1674,8 @@ matching, do a wider search and narrow it down yourself.
|
|||
|
||||
You'll get back all the properties of the token as a plist.
|
||||
|
||||
The :type key is either 'macos-keychain-internet or
|
||||
'macos-keychain-generic.
|
||||
The :type key is either `macos-keychain-internet' or
|
||||
`macos-keychain-generic'.
|
||||
|
||||
For the internet keychain type, the :label key searches the
|
||||
item's labels (\"-l LABEL\" passed to \"/usr/bin/security\").
|
||||
|
|
@ -1691,19 +1691,19 @@ field), :user maps to \"-a USER\", and :port maps to \"-s PORT\".
|
|||
Here's an example that looks for the first item in the default
|
||||
generic MacOS Keychain:
|
||||
|
||||
\(let ((auth-sources '(macos-keychain-generic)))
|
||||
\(let ((auth-sources \\='(macos-keychain-generic)))
|
||||
(auth-source-search :max 1)
|
||||
|
||||
Here's another that looks for the first item in the internet
|
||||
MacOS Keychain collection whose label is 'gnus':
|
||||
MacOS Keychain collection whose label is `gnus':
|
||||
|
||||
\(let ((auth-sources '(macos-keychain-internet)))
|
||||
\(let ((auth-sources \\='(macos-keychain-internet)))
|
||||
(auth-source-search :max 1 :label \"gnus\")
|
||||
|
||||
And this one looks for the first item in the internet keychain
|
||||
entries for git.gnus.org:
|
||||
|
||||
\(let ((auth-sources '(macos-keychain-internet\")))
|
||||
\(let ((auth-sources \\='(macos-keychain-internet\")))
|
||||
(auth-source-search :max 1 :host \"git.gnus.org\"))
|
||||
"
|
||||
;; TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue