diff options
| author | Paul Eggert | 2015-08-24 23:39:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-24 23:57:25 -0700 |
| commit | 875a5d0ead827d3da32ecbd30e739a29f07bbc87 (patch) | |
| tree | edb42bf8ed4e7d975c6dcbdbe1f4ab0d44f86925 /lisp/play | |
| parent | 68280c5ee9b87d874ffa7c111b3cac7e634cee22 (diff) | |
| download | emacs-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/play')
| -rw-r--r-- | lisp/play/bubbles.el | 10 | ||||
| -rw-r--r-- | lisp/play/dunnet.el | 44 | ||||
| -rw-r--r-- | lisp/play/gomoku.el | 2 | ||||
| -rw-r--r-- | lisp/play/morse.el | 2 |
4 files changed, 29 insertions, 29 deletions
diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el index 2c4031056af..5ca792db310 100644 --- a/lisp/play/bubbles.el +++ b/lisp/play/bubbles.el | |||
| @@ -101,31 +101,31 @@ and a shift mode." | |||
| 101 | :group 'bubbles) | 101 | :group 'bubbles) |
| 102 | 102 | ||
| 103 | (defun bubbles-set-game-easy () | 103 | (defun bubbles-set-game-easy () |
| 104 | "Set game theme to 'easy'." | 104 | "Set game theme to ‘easy’." |
| 105 | (interactive) | 105 | (interactive) |
| 106 | (setq bubbles-game-theme 'easy) | 106 | (setq bubbles-game-theme 'easy) |
| 107 | (bubbles)) | 107 | (bubbles)) |
| 108 | 108 | ||
| 109 | (defun bubbles-set-game-medium () | 109 | (defun bubbles-set-game-medium () |
| 110 | "Set game theme to 'medium'." | 110 | "Set game theme to ‘medium’." |
| 111 | (interactive) | 111 | (interactive) |
| 112 | (setq bubbles-game-theme 'medium) | 112 | (setq bubbles-game-theme 'medium) |
| 113 | (bubbles)) | 113 | (bubbles)) |
| 114 | 114 | ||
| 115 | (defun bubbles-set-game-difficult () | 115 | (defun bubbles-set-game-difficult () |
| 116 | "Set game theme to 'difficult'." | 116 | "Set game theme to ‘difficult’." |
| 117 | (interactive) | 117 | (interactive) |
| 118 | (setq bubbles-game-theme 'difficult) | 118 | (setq bubbles-game-theme 'difficult) |
| 119 | (bubbles)) | 119 | (bubbles)) |
| 120 | 120 | ||
| 121 | (defun bubbles-set-game-hard () | 121 | (defun bubbles-set-game-hard () |
| 122 | "Set game theme to 'hard'." | 122 | "Set game theme to ‘hard’." |
| 123 | (interactive) | 123 | (interactive) |
| 124 | (setq bubbles-game-theme 'hard) | 124 | (setq bubbles-game-theme 'hard) |
| 125 | (bubbles)) | 125 | (bubbles)) |
| 126 | 126 | ||
| 127 | (defun bubbles-set-game-userdefined () | 127 | (defun bubbles-set-game-userdefined () |
| 128 | "Set game theme to 'user-defined'." | 128 | "Set game theme to ‘user-defined’." |
| 129 | (interactive) | 129 | (interactive) |
| 130 | (setq bubbles-game-theme 'user-defined) | 130 | (setq bubbles-game-theme 'user-defined) |
| 131 | (bubbles)) | 131 | (bubbles)) |
diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index 205189e8313..ba137f54d8c 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el | |||
| @@ -894,7 +894,7 @@ to swim.") | |||
| 894 | (dun-mprincl " endgame points out of a possible 110.") | 894 | (dun-mprincl " endgame points out of a possible 110.") |
| 895 | (if (= (dun-endgame-score) 110) | 895 | (if (= (dun-endgame-score) 110) |
| 896 | (dun-mprincl | 896 | (dun-mprincl |
| 897 | "\n\nCongratulations. You have won. The wizard password is 'moby'")))) | 897 | "\n\nCongratulations. You have won. The wizard password is ‘moby’")))) |
| 898 | 898 | ||
| 899 | (defun dun-help (args) | 899 | (defun dun-help (args) |
| 900 | (dun-mprincl | 900 | (dun-mprincl |
| @@ -902,7 +902,7 @@ to swim.") | |||
| 902 | Here is some useful information (read carefully because there are one | 902 | Here is some useful information (read carefully because there are one |
| 903 | or more clues in here): | 903 | or more clues in here): |
| 904 | - If you have a key that can open a door, you do not need to explicitly | 904 | - If you have a key that can open a door, you do not need to explicitly |
| 905 | open it. You may just use 'in' or walk in the direction of the door. | 905 | open it. You may just use ‘in’ or walk in the direction of the door. |
| 906 | 906 | ||
| 907 | - If you have a lamp, it is always lit. | 907 | - If you have a lamp, it is always lit. |
| 908 | 908 | ||
| @@ -916,8 +916,8 @@ or more clues in here): | |||
| 916 | If this happens, your score will decrease, and in many cases you can never | 916 | If this happens, your score will decrease, and in many cases you can never |
| 917 | get credit for it again. | 917 | get credit for it again. |
| 918 | 918 | ||
| 919 | - You can save your game with the 'save' command, and use restore it | 919 | - You can save your game with the ‘save’ command, and use restore it |
| 920 | with the 'restore' command. | 920 | with the ‘restore’ command. |
| 921 | 921 | ||
| 922 | - There are no limits on lengths of object names. | 922 | - There are no limits on lengths of object names. |
| 923 | 923 | ||
| @@ -1053,7 +1053,7 @@ for a moment, then straighten yourself up. | |||
| 1053 | (if (not dun-endgame-questions) | 1053 | (if (not dun-endgame-questions) |
| 1054 | (progn | 1054 | (progn |
| 1055 | (dun-mprincl "Your question is:") | 1055 | (dun-mprincl "Your question is:") |
| 1056 | (dun-mprincl "No more questions, just do 'answer foo'.") | 1056 | (dun-mprincl "No more questions, just do ‘answer foo’.") |
| 1057 | (setq dun-correct-answer '("foo"))) | 1057 | (setq dun-correct-answer '("foo"))) |
| 1058 | (let (which i newques) | 1058 | (let (which i newques) |
| 1059 | (setq i 0) | 1059 | (setq i 0) |
| @@ -1464,8 +1464,8 @@ kept. The exit is to the west." | |||
| 1464 | "You are in a computer room. It seems like most of the equipment has | 1464 | "You are in a computer room. It seems like most of the equipment has |
| 1465 | been removed. There is a VAX 11/780 in front of you, however, with | 1465 | been removed. There is a VAX 11/780 in front of you, however, with |
| 1466 | one of the cabinets wide open. A sign on the front of the machine | 1466 | one of the cabinets wide open. A sign on the front of the machine |
| 1467 | says: This VAX is named 'pokey'. To type on the console, use the | 1467 | says: This VAX is named ‘pokey’. To type on the console, use the |
| 1468 | 'type' command. The exit is to the east." | 1468 | ‘type’ command. The exit is to the east." |
| 1469 | "Computer room" | 1469 | "Computer room" |
| 1470 | ) | 1470 | ) |
| 1471 | ( | 1471 | ( |
| @@ -1475,7 +1475,7 @@ to the west, and a door leads to the south." | |||
| 1475 | ) | 1475 | ) |
| 1476 | ( | 1476 | ( |
| 1477 | "You are in a round, stone room with a door to the east. There | 1477 | "You are in a round, stone room with a door to the east. There |
| 1478 | is a sign on the wall that reads: 'receiving room'." | 1478 | is a sign on the wall that reads: ‘receiving room’." |
| 1479 | "Receiving room" | 1479 | "Receiving room" |
| 1480 | ) | 1480 | ) |
| 1481 | ( | 1481 | ( |
| @@ -1552,7 +1552,7 @@ northeast through the brush you can see the bear hangout." | |||
| 1552 | ( | 1552 | ( |
| 1553 | "The entrance to a cave is to the south. To the north, a road leads | 1553 | "The entrance to a cave is to the south. To the north, a road leads |
| 1554 | towards a deep lake. On the ground nearby there is a chute, with a sign | 1554 | towards a deep lake. On the ground nearby there is a chute, with a sign |
| 1555 | that says 'put treasures here for points'." | 1555 | that says ‘put treasures here for points’." |
| 1556 | "Cave Entrance" ;28 | 1556 | "Cave Entrance" ;28 |
| 1557 | ) | 1557 | ) |
| 1558 | ( | 1558 | ( |
| @@ -1831,13 +1831,13 @@ starvation. Doors lead out to the south and east." | |||
| 1831 | ) | 1831 | ) |
| 1832 | ( | 1832 | ( |
| 1833 | "You are in some sort of maintenance room for the museum. There is a | 1833 | "You are in some sort of maintenance room for the museum. There is a |
| 1834 | switch on the wall labeled 'BL'. There are doors to the west and north." | 1834 | switch on the wall labeled ‘BL’. There are doors to the west and north." |
| 1835 | "Maintenance room" ;87 | 1835 | "Maintenance room" ;87 |
| 1836 | ) | 1836 | ) |
| 1837 | ( | 1837 | ( |
| 1838 | "You are in a classroom where school children were taught about natural | 1838 | "You are in a classroom where school children were taught about natural |
| 1839 | history. On the blackboard is written, 'No children allowed downstairs.' | 1839 | history. On the blackboard is written, ‘No children allowed downstairs.’ |
| 1840 | There is a door to the east with an 'exit' sign on it. There is another | 1840 | There is a door to the east with an ‘exit’ sign on it. There is another |
| 1841 | door to the west." | 1841 | door to the west." |
| 1842 | "Classroom" ;88 | 1842 | "Classroom" ;88 |
| 1843 | ) | 1843 | ) |
| @@ -1871,7 +1871,7 @@ a room to the northeast." | |||
| 1871 | ( | 1871 | ( |
| 1872 | "You are in another computer room. There is a computer in here larger | 1872 | "You are in another computer room. There is a computer in here larger |
| 1873 | than you have ever seen. It has no manufacturers name on it, but it | 1873 | than you have ever seen. It has no manufacturers name on it, but it |
| 1874 | does have a sign that says: This machine's name is 'endgame'. The | 1874 | does have a sign that says: This machine's name is ‘endgame’. The |
| 1875 | exit is to the southwest. There is no console here on which you could | 1875 | exit is to the southwest. There is no console here on which you could |
| 1876 | type." | 1876 | type." |
| 1877 | "Endgame computer room" ;95 | 1877 | "Endgame computer room" ;95 |
| @@ -1882,7 +1882,7 @@ type." | |||
| 1882 | ) | 1882 | ) |
| 1883 | ( | 1883 | ( |
| 1884 | "You have reached a question room. You must answer a question correctly in | 1884 | "You have reached a question room. You must answer a question correctly in |
| 1885 | order to get by. Use the 'answer' command to answer the question." | 1885 | order to get by. Use the ‘answer’ command to answer the question." |
| 1886 | "Question room 1" ;97 | 1886 | "Question room 1" ;97 |
| 1887 | ) | 1887 | ) |
| 1888 | ( | 1888 | ( |
| @@ -1913,7 +1913,7 @@ a hallway leads to the south." | |||
| 1913 | ( | 1913 | ( |
| 1914 | "You have reached a dead end. There is a PC on the floor here. Above | 1914 | "You have reached a dead end. There is a PC on the floor here. Above |
| 1915 | it is a sign that reads: | 1915 | it is a sign that reads: |
| 1916 | Type the 'reset' command to type on the PC. | 1916 | Type the ‘reset’ command to type on the PC. |
| 1917 | A hole leads north." | 1917 | A hole leads north." |
| 1918 | "PC area" ;104 | 1918 | "PC area" ;104 |
| 1919 | ) | 1919 | ) |
| @@ -2357,8 +2357,8 @@ nil)) | |||
| 2357 | 2 Megabytes of RAM onboard." | 2357 | 2 Megabytes of RAM onboard." |
| 2358 | "It looks like some kind of meat. Smells pretty bad." | 2358 | "It looks like some kind of meat. Smells pretty bad." |
| 2359 | nil | 2359 | nil |
| 2360 | "The paper says: Don't forget to type 'help' for help. Also, remember | 2360 | "The paper says: Don't forget to type ‘help’ for help. Also, remember |
| 2361 | this word: 'worms'" | 2361 | this word: ‘worms’" |
| 2362 | "The statuette is of the likeness of Richard Stallman, the author of the | 2362 | "The statuette is of the likeness of Richard Stallman, the author of the |
| 2363 | famous EMACS editor. You notice that he is not wearing any shoes." | 2363 | famous EMACS editor. You notice that he is not wearing any shoes." |
| 2364 | nil | 2364 | nil |
| @@ -2414,10 +2414,10 @@ flush handle is so clean that you can see your reflection in it." | |||
| 2414 | nil | 2414 | nil |
| 2415 | nil | 2415 | nil |
| 2416 | "The box has a slit in the top of it, and on it, in sloppy handwriting, is | 2416 | "The box has a slit in the top of it, and on it, in sloppy handwriting, is |
| 2417 | written: 'For key upgrade, put key in here.'" | 2417 | written: ‘For key upgrade, put key in here.’" |
| 2418 | nil | 2418 | nil |
| 2419 | "It says 'express mail' on it." | 2419 | "It says ‘express mail’ on it." |
| 2420 | "It is a 35 passenger bus with the company name 'mobytours' on it." | 2420 | "It is a 35 passenger bus with the company name ‘mobytours’ on it." |
| 2421 | "It is a large metal gate that is too big to climb over." | 2421 | "It is a large metal gate that is too big to climb over." |
| 2422 | "It is a HIGH cliff." | 2422 | "It is a HIGH cliff." |
| 2423 | "Unfortunately you do not know enough about dinosaurs to tell very much about | 2423 | "Unfortunately you do not know enough about dinosaurs to tell very much about |
| @@ -2449,14 +2449,14 @@ nil | |||
| 2449 | 2449 | ||
| 2450 | (setq dun-endgame-questions '( | 2450 | (setq dun-endgame-questions '( |
| 2451 | ( | 2451 | ( |
| 2452 | "What is your password on the machine called 'pokey'?" "robert") | 2452 | "What is your password on the machine called ‘pokey’?" "robert") |
| 2453 | ( | 2453 | ( |
| 2454 | "What password did you use during anonymous ftp to gamma?" "foo") | 2454 | "What password did you use during anonymous ftp to gamma?" "foo") |
| 2455 | ( | 2455 | ( |
| 2456 | "Excluding the endgame, how many places are there where you can put | 2456 | "Excluding the endgame, how many places are there where you can put |
| 2457 | treasures for points?" "4" "four") | 2457 | treasures for points?" "4" "four") |
| 2458 | ( | 2458 | ( |
| 2459 | "What is your login name on the 'endgame' machine?" "toukmond" | 2459 | "What is your login name on the ‘endgame’ machine?" "toukmond" |
| 2460 | ) | 2460 | ) |
| 2461 | ( | 2461 | ( |
| 2462 | "What is the nearest whole dollar to the price of the shovel?" "20" "twenty") | 2462 | "What is the nearest whole dollar to the price of the shovel?" "20" "twenty") |
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 8e6165fa5e4..702376ce86e 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el | |||
| @@ -977,7 +977,7 @@ If the game is finished, this command requests for another game." | |||
| 977 | (move-to-column (+ gomoku-x-offset (* gomoku-square-width (1- x))))) | 977 | (move-to-column (+ gomoku-x-offset (* gomoku-square-width (1- x))))) |
| 978 | 978 | ||
| 979 | (defun gomoku-plot-square (square value) | 979 | (defun gomoku-plot-square (square value) |
| 980 | "Draw 'X', 'O' or '.' on SQUARE depending on VALUE, leave point there." | 980 | "Draw ‘X’, ‘O’ or ‘.’ on SQUARE depending on VALUE, leave point there." |
| 981 | (or (= value 1) | 981 | (or (= value 1) |
| 982 | (gomoku-goto-square square)) | 982 | (gomoku-goto-square square)) |
| 983 | (let ((inhibit-read-only t)) | 983 | (let ((inhibit-read-only t)) |
diff --git a/lisp/play/morse.el b/lisp/play/morse.el index 5352341ce73..bbd3e6bc970 100644 --- a/lisp/play/morse.el +++ b/lisp/play/morse.el | |||
| @@ -144,7 +144,7 @@ | |||
| 144 | (")" . "Close") | 144 | (")" . "Close") |
| 145 | ("@" . "At")) | 145 | ("@" . "At")) |
| 146 | "NATO phonetic alphabet. | 146 | "NATO phonetic alphabet. |
| 147 | See ''International Code of Signals'' (INTERCO), United States | 147 | See “International Code of Signals” (INTERCO), United States |
| 148 | Edition, 1969 Edition (Revised 2003) available from National | 148 | Edition, 1969 Edition (Revised 2003) available from National |
| 149 | Geospatial-Intelligence Agency at URL `http://www.nga.mil/'") | 149 | Geospatial-Intelligence Agency at URL `http://www.nga.mil/'") |
| 150 | 150 | ||