aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
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/mh-e
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/mh-e')
-rw-r--r--lisp/mh-e/mh-mime.el2
-rw-r--r--lisp/mh-e/mh-search.el2
-rw-r--r--lisp/mh-e/mh-seq.el4
-rw-r--r--lisp/mh-e/mh-utils.el12
4 files changed, 10 insertions, 10 deletions
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 31685e97f00..60b796b1fdb 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -1801,7 +1801,7 @@ initialized. Always use the command `mh-have-file-command'.")
1801 1801
1802;;;###mh-autoload 1802;;;###mh-autoload
1803(defun mh-have-file-command () 1803(defun mh-have-file-command ()
1804 "Return t if 'file' command is on the system. 1804 "Return t if `file' command is on the system.
1805'file -i' is used to get MIME type of composition insertion." 1805'file -i' is used to get MIME type of composition insertion."
1806 (when (eq mh-have-file-command 'undefined) 1806 (when (eq mh-have-file-command 'undefined)
1807 (setq mh-have-file-command 1807 (setq mh-have-file-command
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el
index f30e6a62b9a..7d066b0b8dd 100644
--- a/lisp/mh-e/mh-search.el
+++ b/lisp/mh-e/mh-search.el
@@ -1160,7 +1160,7 @@ the file \"/home/user/Mail/.namazu/mknmzrc\" with the following
1160contents: 1160contents:
1161 1161
1162 package conf; # Don't remove this line! 1162 package conf; # Don't remove this line!
1163 $ADDRESS = 'user@localhost'; 1163 $ADDRESS = \\='user@localhost\\=';
1164 $ALLOW_FILE = \"[0-9]*\"; 1164 $ALLOW_FILE = \"[0-9]*\";
1165 $EXCLUDE_PATH = \"^/home/user/Mail/(mhe-index|spam)\"; 1165 $EXCLUDE_PATH = \"^/home/user/Mail/(mhe-index|spam)\";
1166 1166
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el
index 8fd477c1439..2e73f62b6d0 100644
--- a/lisp/mh-e/mh-seq.el
+++ b/lisp/mh-e/mh-seq.el
@@ -390,7 +390,7 @@ then a non-empty sequence is read."
390 "Read and return a sequence name. 390 "Read and return a sequence name.
391Prompt with PROMPT, raise an error if the sequence is empty and 391Prompt with PROMPT, raise an error if the sequence is empty and
392the NOT-EMPTY flag is non-nil, and supply an optional DEFAULT 392the NOT-EMPTY flag is non-nil, and supply an optional DEFAULT
393sequence. A reply of '%' defaults to the first sequence 393sequence. A reply of % defaults to the first sequence
394containing the current message." 394containing the current message."
395 (let* ((input (completing-read (format "%s sequence%s: " prompt 395 (let* ((input (completing-read (format "%s sequence%s: " prompt
396 (if default 396 (if default
@@ -766,7 +766,7 @@ completion is over."
766 "Parse LINE to generate folder name, unseen messages and total messages. 766 "Parse LINE to generate folder name, unseen messages and total messages.
767If CURRENT-FOLDER is non-nil then it contains the current folder 767If CURRENT-FOLDER is non-nil then it contains the current folder
768name and it is used to avoid problems in corner cases involving 768name and it is used to avoid problems in corner cases involving
769folders whose names end with a '+' character." 769folders whose names end with a + character."
770 (with-temp-buffer 770 (with-temp-buffer
771 (insert line) 771 (insert line)
772 (goto-char (point-max)) 772 (goto-char (point-max))
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el
index a9e9847704f..060da464663 100644
--- a/lisp/mh-e/mh-utils.el
+++ b/lisp/mh-e/mh-utils.el
@@ -419,21 +419,21 @@ names and the function is called when OUTPUT is available."
419 return-nil-if-folder-empty) 419 return-nil-if-folder-empty)
420 "Normalizes FOLDER name. 420 "Normalizes FOLDER name.
421 421
422Makes sure that two '/' characters never occur next to each 422Makes sure that two / characters never occur next to each
423other. Also all occurrences of \"..\" and \".\" are suitably 423other. Also all occurrences of .. and . are suitably
424processed. So \"+inbox/../news\" will be normalized to \"+news\". 424processed. So \"+inbox/../news\" will be normalized to \"+news\".
425 425
426If optional argument EMPTY-STRING-OKAY is nil then a '+' is added 426If optional argument EMPTY-STRING-OKAY is nil then a + is added
427at the front if FOLDER lacks one. If non-nil and FOLDER is the 427at the front if FOLDER lacks one. If non-nil and FOLDER is the
428empty string then nothing is added. 428empty string then nothing is added.
429 429
430If optional argument DONT-REMOVE-TRAILING-SLASH is non-nil then a 430If optional argument DONT-REMOVE-TRAILING-SLASH is non-nil then a
431trailing '/' if present is retained (if present), otherwise it is 431trailing / if present is retained (if present), otherwise it is
432removed. 432removed.
433 433
434If optional argument RETURN-NIL-IF-FOLDER-EMPTY is non-nil, then 434If optional argument RETURN-NIL-IF-FOLDER-EMPTY is non-nil, then
435return nil if FOLDER is \"\" or \"+\". This is useful when 435return nil if FOLDER is \"\" or \"+\". This is useful when
436normalizing the folder for the \"folders\" command which displays 436normalizing the folder for the folders command which displays
437the directories in / if passed \"+\". This is usually not 437the directories in / if passed \"+\". This is usually not
438desired. If this argument is non-nil, then EMPTY-STRING-OKAY has 438desired. If this argument is non-nil, then EMPTY-STRING-OKAY has
439no effect." 439no effect."
@@ -653,7 +653,7 @@ with \"+\"."
653;;;###mh-autoload 653;;;###mh-autoload
654(defun mh-expand-file-name (filename &optional default) 654(defun mh-expand-file-name (filename &optional default)
655 "Expand FILENAME like `expand-file-name', but also handle MH folder names. 655 "Expand FILENAME like `expand-file-name', but also handle MH folder names.
656Any filename that starts with '+' is treated as a folder name. 656Any filename that starts with `+' is treated as a folder name.
657See `expand-file-name' for description of DEFAULT." 657See `expand-file-name' for description of DEFAULT."
658 (if (mh-folder-name-p filename) 658 (if (mh-folder-name-p filename)
659 (expand-file-name (substring filename 1) mh-user-path) 659 (expand-file-name (substring filename 1) mh-user-path)