diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-24 23:39:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-24 23:57:25 -0700 |
commit | 875a5d0ead827d3da32ecbd30e739a29f07bbc87 (patch) | |
tree | edb42bf8ed4e7d975c6dcbdbe1f4ab0d44f86925 /lisp/filesets.el | |
parent | 68280c5ee9b87d874ffa7c111b3cac7e634cee22 (diff) | |
download | emacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.tar.gz |
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/filesets.el')
-rw-r--r-- | lisp/filesets.el | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/lisp/filesets.el b/lisp/filesets.el index a30c187676b..8e2b145d04c 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el @@ -416,7 +416,7 @@ Possible uses: If you don't want to save `filesets-data' in your normal configuration file, you can add a something like this \(lambda () - \(insert (format \"(setq-default filesets-data '%S)\" + \(insert (format \"(setq-default filesets-data \\='%S)\" filesets-data)) \(newline 2)) @@ -975,7 +975,7 @@ being an association list with the fields: :pattern DIR PATTERN ... a base directory and a regexp matching files in that directory. Usually, - PATTERN has the form '^REGEXP$'. Unlike + PATTERN has the form `^REGEXP$'. Unlike :tree, this form does not descend recursively into subdirectories. @@ -1799,7 +1799,7 @@ User will be queried, if no fileset name is provided." (current-buffer))) (name (or name (completing-read - (format "Add '%s' to fileset: " buffer) + (format-message "Add ‘%s’ to fileset: " buffer) filesets-data nil))) (entry (or (assoc name filesets-data) (when (y-or-n-p @@ -1819,13 +1819,13 @@ User will be queried, if no fileset name is provided." :test 'filesets-files-equalp))) (cond (inlist - (message "Filesets: '%s' is already in '%s'" this name)) + (message "Filesets: ‘%s’ is already in ‘%s’" this name)) ((and (equal (filesets-entry-mode entry) ':files) this) (filesets-entry-set-files entry (cons this files) t) (filesets-set-config name 'filesets-data filesets-data)) (t - (message "Filesets: Can't add '%s' to fileset '%s'" this name))))))) + (message "Filesets: Can't add ‘%s’ to fileset ‘%s’" this name))))))) (defun filesets-remove-buffer (&optional name buffer) "Remove BUFFER (or current buffer) to fileset NAME. @@ -1835,7 +1835,7 @@ User will be queried, if no fileset name is provided." (current-buffer))) (name (or name (completing-read - (format "Remove '%s' from fileset: " buffer) + (format-message "Remove ‘%s’ from fileset: " buffer) filesets-data nil t))) (entry (assoc name filesets-data))) (if entry @@ -1848,7 +1848,7 @@ User will be queried, if no fileset name is provided." (let ((new (list (cons ':files (delete (car inlist) files))))) (setcdr entry new) (filesets-set-config name 'filesets-data filesets-data)) - (message "Filesets: Can't remove '%s' from fileset '%s'" + (message "Filesets: Can't remove ‘%s’ from fileset ‘%s’" this name)))))) @@ -2437,38 +2437,38 @@ fileset thinks this is necessary or not." (filesets-menu-cache-file-load)) (defun filesets-update-pre010505 () - (let ((msg + (let ((msg (format-message "Filesets: manual editing of user data required! Filesets has detected that you were using an older version before, -which requires some manual updating. Type 'y' for editing the startup +which requires some manual updating. Type ‘y’ for editing the startup file now. -The layout of `filesets-data' has changed. Please delete your cache file +The layout of ‘filesets-data’ has changed. Please delete your cache file and edit your startup file as shown below: -1. `filesets-data': Edit all :pattern filesets in your startup file and +1. ‘filesets-data’: Edit all :pattern filesets in your startup file and transform all entries as shown in this example: \(\"Test\" (:pattern \"~/dir/^pattern$\")) --> \(\"Test\" (:pattern \"~/dir/\" \"^pattern$\")) -2. `filesets-data': Change all occurrences of \":document\" to \":ingroup\": +2. ‘filesets-data’: Change all occurrences of \":document\" to \":ingroup\": \(\(\"Test\" \(:document \"~/dir/file\")) --> \(\(\"Test\" \(:ingroup \"~/dir/file\")) -3. `filesets-subdocument-patterns': If you already modified the variable -previously called `filesets-subdocument-patterns', change its name to -`filesets-ingroup-patterns'. +3. ‘filesets-subdocument-patterns’: If you already modified the variable +previously called ‘filesets-subdocument-patterns’, change its name to +‘filesets-ingroup-patterns’. -4. `filesets-menu-cache-contents': If you already modified this -variable, change the entry `filesets-subdocument--cache' to -`filesets-ingroup-cache'. +4. ‘filesets-menu-cache-contents’: If you already modified this +variable, change the entry ‘filesets-subdocument--cache’ to +‘filesets-ingroup-cache’. 5. Type M-x filesets-update-cleanup and restart Emacs. -We apologize for the inconvenience.")) +We apologize for the inconvenience."))) (let* ((cf (or custom-file user-init-file))) (switch-to-buffer-other-frame "*Filesets update*") (insert msg) |