aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc/erc.el
diff options
context:
space:
mode:
authorPaul Eggert2015-08-24 23:39:33 -0700
committerPaul Eggert2015-08-24 23:57:25 -0700
commit875a5d0ead827d3da32ecbd30e739a29f07bbc87 (patch)
treeedb42bf8ed4e7d975c6dcbdbe1f4ab0d44f86925 /lisp/erc/erc.el
parent68280c5ee9b87d874ffa7c111b3cac7e634cee22 (diff)
downloademacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.tar.gz
emacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.zip
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.
Diffstat (limited to 'lisp/erc/erc.el')
-rw-r--r--lisp/erc/erc.el38
1 files changed, 19 insertions, 19 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 460accd3be3..f2821798103 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -230,7 +230,7 @@ prompt you for it.")
230(defcustom erc-hide-prompt nil 230(defcustom erc-hide-prompt nil
231 "If non-nil, do not display the prompt for commands. 231 "If non-nil, do not display the prompt for commands.
232 232
233\(A command is any input starting with a '/'). 233\(A command is any input starting with a /).
234 234
235See also the variables `erc-prompt' and `erc-command-indicator'." 235See also the variables `erc-prompt' and `erc-command-indicator'."
236 :group 'erc-display 236 :group 'erc-display
@@ -667,7 +667,7 @@ See also the variable `erc-prompt'."
667 "Indicator used by ERC for showing commands. 667 "Indicator used by ERC for showing commands.
668 668
669If non-nil, this will be used in the ERC buffer to indicate 669If non-nil, this will be used in the ERC buffer to indicate
670commands (i.e., input starting with a '/'). 670commands (i.e., input starting with a /).
671 671
672If nil, the prompt will be constructed from the variable `erc-prompt'." 672If nil, the prompt will be constructed from the variable `erc-prompt'."
673 :group 'erc-display 673 :group 'erc-display
@@ -696,8 +696,8 @@ See `erc-notice-prefix'.
696 696
697The following values are allowed: 697The following values are allowed:
698 698
699 'prefix - highlight notice prefix only 699 `prefix' - highlight notice prefix only
700 'all - highlight the entire notice 700 `all' - highlight the entire notice
701 701
702Any other value disables notice's highlighting altogether." 702Any other value disables notice's highlighting altogether."
703 :group 'erc-display 703 :group 'erc-display
@@ -1258,13 +1258,13 @@ erc-NAME-enable, and erc-NAME-disable.
1258 1258
1259Example: 1259Example:
1260 1260
1261 ;;;###autoload (autoload 'erc-replace-mode \"erc-replace\") 1261 ;;;###autoload (autoload \\='erc-replace-mode \"erc-replace\")
1262 (define-erc-module replace nil 1262 (define-erc-module replace nil
1263 \"This mode replaces incoming text according to `erc-replace-alist'.\" 1263 \"This mode replaces incoming text according to `erc-replace-alist'.\"
1264 ((add-hook 'erc-insert-modify-hook 1264 ((add-hook \\='erc-insert-modify-hook
1265 'erc-replace-insert)) 1265 \\='erc-replace-insert))
1266 ((remove-hook 'erc-insert-modify-hook 1266 ((remove-hook \\='erc-insert-modify-hook
1267 'erc-replace-insert)))" 1267 \\='erc-replace-insert)))"
1268 (declare (doc-string 3)) 1268 (declare (doc-string 3))
1269 (let* ((sn (symbol-name name)) 1269 (let* ((sn (symbol-name name))
1270 (mode (intern (format "erc-%s-mode" (downcase sn)))) 1270 (mode (intern (format "erc-%s-mode" (downcase sn))))
@@ -1476,11 +1476,11 @@ Defaults to the server buffer."
1476 1476
1477The available choices are: 1477The available choices are:
1478 1478
1479 'window - in another window, 1479 `window' - in another window,
1480 'window-noselect - in another window, but don't select that one, 1480 `window-noselect' - in another window, but don't select that one,
1481 'frame - in another frame, 1481 `frame' - in another frame,
1482 'bury - bury it in a new buffer, 1482 `bury' - bury it in a new buffer,
1483 'buffer - in place of the current buffer, 1483 `buffer' - in place of the current buffer,
1484 any other value - in place of the current buffer." 1484 any other value - in place of the current buffer."
1485 :group 'erc-buffers 1485 :group 'erc-buffers
1486 :type '(choice (const :tag "Split window and select" window) 1486 :type '(choice (const :tag "Split window and select" window)
@@ -2789,7 +2789,7 @@ this function from interpreting the line as a command."
2789(defun erc-cmd-SAY (line) 2789(defun erc-cmd-SAY (line)
2790 "Send LINE to the current query or channel as a message, not a command. 2790 "Send LINE to the current query or channel as a message, not a command.
2791 2791
2792Use this when you want to send a message with a leading '/'. Note 2792Use this when you want to send a message with a leading /. Note
2793that since multi-line messages are never a command, you don't 2793that since multi-line messages are never a command, you don't
2794need this when pasting multiple lines of text." 2794need this when pasting multiple lines of text."
2795 (if (string-match "^\\s-*$" line) 2795 (if (string-match "^\\s-*$" line)
@@ -3119,9 +3119,9 @@ a script after exceeding the flood threshold."
3119 (erc-display-message nil 'error (current-buffer) 3119 (erc-display-message nil 'error (current-buffer)
3120 'cannot-read-file ?f file)) 3120 'cannot-read-file ?f file))
3121 (t 3121 (t
3122 (message "Loading \'%s\'..." file) 3122 (message "Loading %s..." file)
3123 (erc-load-script file) 3123 (erc-load-script file)
3124 (message "Loading \'%s\'...done" file)))) 3124 (message "Loading %s...done" file))))
3125 t) 3125 t)
3126 (t nil))) 3126 (t nil)))
3127 3127
@@ -4466,7 +4466,7 @@ See also: `erc-echo-notice-in-user-buffers',
4466 "Handle the logging in process of connection." 4466 "Handle the logging in process of connection."
4467 (unless erc-logged-in 4467 (unless erc-logged-in
4468 (setq erc-logged-in t) 4468 (setq erc-logged-in t)
4469 (message "Logging in as \'%s\'... done" (erc-current-nick)) 4469 (message "Logging in as %s... done" (erc-current-nick))
4470 ;; execute a startup script 4470 ;; execute a startup script
4471 (let ((f (erc-select-startup-file))) 4471 (let ((f (erc-select-startup-file)))
4472 (when f 4472 (when f
@@ -6512,7 +6512,7 @@ All windows are opened in the current frame."
6512 . "\n\nConnection failed! Not re-establishing connection.\n") 6512 . "\n\nConnection failed! Not re-establishing connection.\n")
6513 (finished . "\n\n*** ERC finished ***\n") 6513 (finished . "\n\n*** ERC finished ***\n")
6514 (terminated . "\n\n*** ERC terminated: %e\n") 6514 (terminated . "\n\n*** ERC terminated: %e\n")
6515 (login . "Logging in as \'%n\'...") 6515 (login . "Logging in as %n...")
6516 (nick-in-use . "%n is in use. Choose new nickname: ") 6516 (nick-in-use . "%n is in use. Choose new nickname: ")
6517 (nick-too-long 6517 (nick-too-long
6518 . "WARNING: Nick length (%i) exceeds max NICKLEN(%l) defined by server") 6518 . "WARNING: Nick length (%i) exceeds max NICKLEN(%l) defined by server")