aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
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/emulation
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/emulation')
-rw-r--r--lisp/emulation/viper-cmd.el28
-rw-r--r--lisp/emulation/viper-init.el2
2 files changed, 16 insertions, 14 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 14f424e9344..4fe948a2918 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -3639,24 +3639,26 @@ the Emacs binding of `/'."
3639 (let (msg) 3639 (let (msg)
3640 (cond ((or (eq arg 1) 3640 (cond ((or (eq arg 1)
3641 (and (null arg) 3641 (and (null arg)
3642 (y-or-n-p (format "Search style: '%s'. Want '%s'? " 3642 (y-or-n-p (format-message
3643 (if viper-case-fold-search 3643 "Search style: ‘%s’. Want ‘%s’? "
3644 "case-insensitive" "case-sensitive") 3644 (if viper-case-fold-search
3645 (if viper-case-fold-search 3645 "case-insensitive" "case-sensitive")
3646 "case-sensitive" 3646 (if viper-case-fold-search
3647 "case-insensitive"))))) 3647 "case-sensitive"
3648 "case-insensitive")))))
3648 (setq viper-case-fold-search (null viper-case-fold-search)) 3649 (setq viper-case-fold-search (null viper-case-fold-search))
3649 (if viper-case-fold-search 3650 (if viper-case-fold-search
3650 (setq msg "Search becomes case-insensitive") 3651 (setq msg "Search becomes case-insensitive")
3651 (setq msg "Search becomes case-sensitive"))) 3652 (setq msg "Search becomes case-sensitive")))
3652 ((or (eq arg 2) 3653 ((or (eq arg 2)
3653 (and (null arg) 3654 (and (null arg)
3654 (y-or-n-p (format "Search style: '%s'. Want '%s'? " 3655 (y-or-n-p (format-message
3655 (if viper-re-search 3656 "Search style: ‘%s’. Want ‘%s’? "
3656 "regexp-search" "vanilla-search") 3657 (if viper-re-search
3657 (if viper-re-search 3658 "regexp-search" "vanilla-search")
3658 "vanilla-search" 3659 (if viper-re-search
3659 "regexp-search"))))) 3660 "vanilla-search"
3661 "regexp-search")))))
3660 (setq viper-re-search (null viper-re-search)) 3662 (setq viper-re-search (null viper-re-search))
3661 (if viper-re-search 3663 (if viper-re-search
3662 (setq msg "Search becomes regexp-style") 3664 (setq msg "Search becomes regexp-style")
@@ -4400,7 +4402,7 @@ and regexp replace."
4400;; etc. 4402;; etc.
4401(defun viper-cycle-through-mark-ring () 4403(defun viper-cycle-through-mark-ring ()
4402 "Visit previous locations on the mark ring. 4404 "Visit previous locations on the mark ring.
4403One can use \\=`\\=` and '' to temporarily jump 1 step back." 4405One can use \\=`\\=` and \\='\\=' to temporarily jump 1 step back."
4404 (let* ((sv-pt (point))) 4406 (let* ((sv-pt (point)))
4405 ;; if repeated `m,' command, pop the previously saved mark. 4407 ;; if repeated `m,' command, pop the previously saved mark.
4406 ;; Prev saved mark is actually prev saved point. It is used if the 4408 ;; Prev saved mark is actually prev saved point. It is used if the
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index d03d703c1ed..e28c67a5315 100644
--- a/lisp/emulation/viper-init.el
+++ b/lisp/emulation/viper-init.el
@@ -583,7 +583,7 @@ the Insert state."
583 583
584(defcustom viper-keep-point-on-repeat t 584(defcustom viper-keep-point-on-repeat t
585 "If t, don't move point when repeating previous command. 585 "If t, don't move point when repeating previous command.
586This is useful for doing repeated changes with the '.' key. 586This is useful for doing repeated changes with the . key.
587The user can change this to nil, if she likes when the cursor moves 587The user can change this to nil, if she likes when the cursor moves
588to a new place after repeating previous Vi command." 588to a new place after repeating previous Vi command."
589 :type 'boolean 589 :type 'boolean