diff options
| author | Paul Eggert | 2015-09-07 08:41:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-07 16:09:27 -0700 |
| commit | 6afef3f6ca2f3009c722b84e249903b7f807b044 (patch) | |
| tree | 44bdc5bb1e8fb4d1fe66961490db57cbdf56d7a2 /lisp/progmodes | |
| parent | add49b65a0bb50de447a95c1912232c79f28fdf9 (diff) | |
| download | emacs-6afef3f6ca2f3009c722b84e249903b7f807b044.tar.gz emacs-6afef3f6ca2f3009c722b84e249903b7f807b044.zip | |
Go back to grave quoting in source-code docstrings etc.
This reverts almost all my recent changes to use curved quotes
in docstrings and/or strings used for error diagnostics.
There are a few exceptions, e.g., Bahá’í proper names.
* admin/unidata/unidata-gen.el (unidata-gen-table):
* lisp/abbrev.el (expand-region-abbrevs):
* lisp/align.el (align-region):
* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
(outlineify-sticky):
* lisp/apropos.el (apropos-library):
* lisp/bookmark.el (bookmark-default-annotation-text):
* lisp/button.el (button-category-symbol, button-put)
(make-text-button):
* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
* lisp/calc/calc-embed.el (calc-do-embedded):
* lisp/calc/calc-ext.el (calc-user-function-list):
* lisp/calc/calc-graph.el (calc-graph-show-dumb):
* lisp/calc/calc-help.el (calc-describe-key)
(calc-describe-thing, calc-full-help):
* lisp/calc/calc-lang.el (calc-c-language)
(math-parse-fortran-vector-end, math-parse-tex-sum)
(math-parse-eqn-matrix, math-parse-eqn-prime)
(calc-yacas-language, calc-maxima-language, calc-giac-language)
(math-read-giac-subscr, math-read-math-subscr)
(math-read-big-rec, math-read-big-balance):
* lisp/calc/calc-misc.el (calc-help, report-calc-bug):
* lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
(calc-auto-recompute):
* lisp/calc/calc-prog.el (calc-fix-token-name)
(calc-read-parse-table-part, calc-user-define-invocation)
(math-do-arg-check):
* lisp/calc/calc-store.el (calc-edit-variable):
* lisp/calc/calc-units.el (math-build-units-table-buffer):
* lisp/calc/calc-vec.el (math-read-brackets):
* lisp/calc/calc-yank.el (calc-edit-mode):
* lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
* lisp/calendar/appt.el (appt-display-message):
* lisp/calendar/diary-lib.el (diary-check-diary-file)
(diary-mail-entries, diary-from-outlook):
* lisp/calendar/icalendar.el (icalendar-export-region)
(icalendar--convert-float-to-ical)
(icalendar--convert-date-to-ical)
(icalendar--convert-ical-to-diary)
(icalendar--convert-recurring-to-diary)
(icalendar--add-diary-entry):
* lisp/calendar/time-date.el (format-seconds):
* lisp/calendar/timeclock.el (timeclock-mode-line-display)
(timeclock-make-hours-explicit, timeclock-log-data):
* lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
(todo-item-mark, todo-check-format)
(todo-insert-item--next-param, todo-edit-item--next-key)
(todo-mode):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/mode-local.el (describe-mode-local-overload)
(mode-local-print-binding, mode-local-describe-bindings-2):
* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/cus-start.el (standard):
* lisp/cus-theme.el (describe-theme-1):
* lisp/custom.el (custom-add-dependencies, custom-check-theme)
(custom--sort-vars-1, load-theme):
* lisp/descr-text.el (describe-text-properties-1, describe-char):
* lisp/dired-x.el (dired-do-run-mail):
* lisp/dired.el (dired-log):
* lisp/emacs-lisp/advice.el (ad-read-advised-function)
(ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
(ad-disable-advice, ad-remove-advice, ad-set-argument)
(ad-set-arguments, ad--defalias-fset, ad-activate)
(ad-deactivate):
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
(byte-compile-unfold-lambda, byte-optimize-form-code-walker)
(byte-optimize-while, byte-optimize-apply):
* lisp/emacs-lisp/byte-run.el (defun, defsubst):
* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
(byte-compile-log-file, byte-compile-format-warn)
(byte-compile-nogroup-warn, byte-compile-arglist-warn)
(byte-compile-cl-warn)
(byte-compile-warn-about-unresolved-functions)
(byte-compile-file, byte-compile--declare-var)
(byte-compile-file-form-defmumble, byte-compile-form)
(byte-compile-normal-call, byte-compile-check-variable)
(byte-compile-variable-ref, byte-compile-variable-set)
(byte-compile-subr-wrong-args, byte-compile-setq-default)
(byte-compile-negation-optimizer)
(byte-compile-condition-case--old)
(byte-compile-condition-case--new, byte-compile-save-excursion)
(byte-compile-defvar, byte-compile-autoload)
(byte-compile-lambda-form)
(byte-compile-make-variable-buffer-local, display-call-tree)
(batch-byte-compile):
* lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
* lisp/emacs-lisp/chart.el (chart-space-usage):
* lisp/emacs-lisp/check-declare.el (check-declare-scan)
(check-declare-warn, check-declare-file)
(check-declare-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
(checkdoc-message-text-engine):
* lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
(cl--describe-class):
* lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
(cl--generic-describe, cl-generic-generalizers):
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
(cl-symbol-macrolet):
* lisp/emacs-lisp/cl.el (cl-unload-function, flet):
* lisp/emacs-lisp/copyright.el (copyright)
(copyright-update-directory):
* lisp/emacs-lisp/edebug.el (edebug-read-list):
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
* lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
(eieio-oref):
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
* lisp/emacs-lisp/eieio-speedbar.el:
(eieio-speedbar-child-make-tag-lines)
(eieio-speedbar-child-description):
* lisp/emacs-lisp/eieio.el (defclass, change-class):
* lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
(elint-init-form, elint-check-defalias-form)
(elint-check-let-form):
* lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-should-forms-for-test-at-point)
(ert-describe-test):
* lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
(find-function-library):
* lisp/emacs-lisp/generator.el (iter-yield):
* lisp/emacs-lisp/gv.el (gv-define-simple-setter):
* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
* lisp/emacs-lisp/nadvice.el (advice--make-docstring)
(advice--make, define-advice):
* lisp/emacs-lisp/package-x.el (package-upload-file):
* lisp/emacs-lisp/package.el (package-version-join)
(package-disabled-p, package-activate-1, package-activate)
(package--download-one-archive)
(package--download-and-read-archives)
(package-compute-transaction, package-install-from-archive)
(package-install, package-install-selected-packages)
(package-delete, package-autoremove, describe-package-1)
(package-install-button-action, package-delete-button-action)
(package-menu-hide-package, package-menu--list-to-prompt)
(package-menu--perform-transaction)
(package-menu--find-and-notify-upgrades):
* lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
* lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
* lisp/emacs-lisp/ring.el (ring-previous, ring-next):
* lisp/emacs-lisp/rx.el (rx-check, rx-anything)
(rx-check-any-string, rx-check-any, rx-check-not, rx-=)
(rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
(rx-form):
* lisp/emacs-lisp/smie.el (smie-config-save):
* lisp/emacs-lisp/subr-x.el (internal--check-binding):
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
* lisp/emacs-lisp/testcover.el (testcover-1value):
* lisp/emacs-lisp/timer.el (timer-event-handler):
* lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
(viper-toggle-search-style, viper-kill-buffer)
(viper-brac-function):
* lisp/emulation/viper-macs.el (viper-record-kbd-macro):
* lisp/env.el (setenv):
* lisp/erc/erc-button.el (erc-nick-popup):
* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
* lisp/eshell/em-dirs.el (eshell/cd):
* lisp/eshell/em-glob.el (eshell-glob-regexp)
(eshell-glob-entries):
* lisp/eshell/em-pred.el (eshell-parse-modifiers):
* lisp/eshell/esh-opt.el (eshell-show-usage):
* lisp/facemenu.el (facemenu-add-new-face)
(facemenu-add-new-color):
* lisp/faces.el (read-face-name, read-face-font, describe-face)
(x-resolve-font-name):
* lisp/files-x.el (modify-file-local-variable):
* lisp/files.el (locate-user-emacs-file, find-alternate-file)
(set-auto-mode, hack-one-local-variable--obsolete)
(dir-locals-set-directory-class, write-file, basic-save-buffer)
(delete-directory, copy-directory, recover-session)
(recover-session-finish, insert-directory)
(file-modes-char-to-who, file-modes-symbolic-to-number)
(move-file-to-trash):
* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
* lisp/find-cmd.el (find-generic, find-to-string):
* lisp/finder.el (finder-commentary):
* lisp/font-lock.el (font-lock-fontify-buffer):
* lisp/format.el (format-write-file, format-find-file)
(format-insert-file):
* lisp/frame.el (get-device-terminal, select-frame-by-name):
* lisp/fringe.el (fringe--check-style):
* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
* lisp/help-fns.el (help-fns--key-bindings)
(help-fns--compiler-macro, help-fns--parent-mode)
(help-fns--obsolete, help-fns--interactive-only)
(describe-function-1, describe-variable):
* lisp/help.el (describe-mode)
(describe-minor-mode-from-indicator):
* lisp/image.el (image-type):
* lisp/international/ccl.el (ccl-dump):
* lisp/international/fontset.el (x-must-resolve-font-name):
* lisp/international/mule-cmds.el (prefer-coding-system)
(select-safe-coding-system-interactively)
(select-safe-coding-system, activate-input-method)
(toggle-input-method, describe-current-input-method)
(describe-language-environment):
* lisp/international/mule-conf.el (code-offset):
* lisp/international/mule-diag.el (describe-character-set)
(list-input-methods-1):
* lisp/mail/feedmail.el (feedmail-run-the-queue):
* lisp/mouse.el (minor-mode-menu-from-indicator):
* lisp/mpc.el (mpc-playlist-rename):
* lisp/msb.el (msb--choose-menu):
* lisp/net/ange-ftp.el (ange-ftp-shell-command):
* lisp/net/imap.el (imap-interactive-login):
* lisp/net/mairix.el (mairix-widget-create-query):
* lisp/net/newst-backend.el (newsticker--sentinel-work):
* lisp/net/newst-treeview.el (newsticker--treeview-load):
* lisp/net/rlogin.el (rlogin):
* lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
* 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-clock.el (org-clock-notify-once-if-expired)
(org-clock-resolve):
* lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
* 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/proced.el (proced-log):
* lisp/progmodes/ada-mode.el (ada-get-indent-case)
(ada-check-matching-start, ada-goto-matching-start):
* lisp/progmodes/ada-prj.el (ada-prj-display-page):
* lisp/progmodes/ada-xref.el (ada-find-executable):
* lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
* lisp/progmodes/etags.el (etags-tags-apropos-additional):
* lisp/progmodes/flymake.el (flymake-parse-err-lines)
(flymake-start-syntax-check-process):
* lisp/progmodes/python.el (python-shell-get-process-or-error)
(python-define-auxiliary-skeleton):
* lisp/progmodes/sql.el (sql-comint):
* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
* lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
* lisp/recentf.el (recentf-open-files):
* lisp/replace.el (query-replace-read-from)
(occur-after-change-function, occur-1):
* lisp/scroll-bar.el (scroll-bar-columns):
* lisp/server.el (server-get-auth-key):
* lisp/simple.el (execute-extended-command)
(undo-outer-limit-truncate, list-processes--refresh)
(compose-mail, set-variable, choose-completion-string)
(define-alternatives):
* lisp/startup.el (site-run-file, tty-handle-args, command-line)
(command-line-1):
* lisp/subr.el (noreturn, define-error, add-to-list)
(read-char-choice, version-to-list):
* lisp/term/common-win.el (x-handle-xrm-switch)
(x-handle-name-switch, x-handle-args):
* lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
* lisp/textmodes/reftex-ref.el (reftex-label):
* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
* lisp/textmodes/two-column.el (2C-split):
* lisp/tutorial.el (tutorial--describe-nonstandard-key)
(tutorial--find-changed-keys):
* lisp/type-break.el (type-break-noninteractive-query):
* lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
(wdired-do-perm-changes):
* lisp/whitespace.el (whitespace-report-region):
Prefer grave quoting in source-code strings used to generate help
and diagnostics.
* lisp/faces.el (face-documentation):
No need to convert quotes, since the result is a docstring.
* lisp/info.el (Info-virtual-index-find-node)
(Info-virtual-index, info-apropos):
Simplify by generating only curved quotes, since info files are
typically that ways nowadays anyway.
* lisp/international/mule-diag.el (list-input-methods):
Don’t assume text quoting style is curved.
* lisp/org/org-bibtex.el (org-bibtex-fields):
Revert my recent changes, going back to the old quoting style.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 28 | ||||
| -rw-r--r-- | lisp/progmodes/ada-prj.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/ada-xref.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ebrowse.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/etags.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/flymake.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-shell.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/sql.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/verilog-mode.el | 22 | ||||
| -rw-r--r-- | lisp/progmodes/vhdl-mode.el | 16 |
13 files changed, 48 insertions, 48 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 70af389519c..452f3b99742 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -286,11 +286,11 @@ type A is | |||
| 286 | :type 'boolean :group 'ada) | 286 | :type 'boolean :group 'ada) |
| 287 | 287 | ||
| 288 | (defcustom ada-indent-is-separate t | 288 | (defcustom ada-indent-is-separate t |
| 289 | "Non-nil means indent ‘is separate’ or ‘is abstract’ if on a single line." | 289 | "Non-nil means indent `is separate' or `is abstract' if on a single line." |
| 290 | :type 'boolean :group 'ada) | 290 | :type 'boolean :group 'ada) |
| 291 | 291 | ||
| 292 | (defcustom ada-indent-record-rel-type 3 | 292 | (defcustom ada-indent-record-rel-type 3 |
| 293 | "Indentation for ‘record’ relative to ‘type’ or ‘use’. | 293 | "Indentation for `record' relative to `type' or `use'. |
| 294 | 294 | ||
| 295 | An example is: | 295 | An example is: |
| 296 | type A is | 296 | type A is |
| @@ -397,7 +397,7 @@ Must be one of : | |||
| 397 | :group 'ada) | 397 | :group 'ada) |
| 398 | 398 | ||
| 399 | (defcustom ada-use-indent ada-broken-indent | 399 | (defcustom ada-use-indent ada-broken-indent |
| 400 | "Indentation for the lines in a ‘use’ statement. | 400 | "Indentation for the lines in a `use' statement. |
| 401 | 401 | ||
| 402 | An example is: | 402 | An example is: |
| 403 | use Ada.Text_IO, | 403 | use Ada.Text_IO, |
| @@ -405,7 +405,7 @@ An example is: | |||
| 405 | :type 'integer :group 'ada) | 405 | :type 'integer :group 'ada) |
| 406 | 406 | ||
| 407 | (defcustom ada-when-indent 3 | 407 | (defcustom ada-when-indent 3 |
| 408 | "Indentation for ‘when’ relative to ‘exception’ or ‘case’. | 408 | "Indentation for `when' relative to `exception' or `case'. |
| 409 | 409 | ||
| 410 | An example is: | 410 | An example is: |
| 411 | case A is | 411 | case A is |
| @@ -413,7 +413,7 @@ An example is: | |||
| 413 | :type 'integer :group 'ada) | 413 | :type 'integer :group 'ada) |
| 414 | 414 | ||
| 415 | (defcustom ada-with-indent ada-broken-indent | 415 | (defcustom ada-with-indent ada-broken-indent |
| 416 | "Indentation for the lines in a ‘with’ statement. | 416 | "Indentation for the lines in a `with' statement. |
| 417 | 417 | ||
| 418 | An example is: | 418 | An example is: |
| 419 | with Ada.Text_IO, | 419 | with Ada.Text_IO, |
| @@ -2834,7 +2834,7 @@ ORGPOINT is the limit position used in the calculation." | |||
| 2834 | (save-excursion | 2834 | (save-excursion |
| 2835 | (goto-char (car match-cons)) | 2835 | (goto-char (car match-cons)) |
| 2836 | (unless (ada-search-ignore-string-comment "when" t opos) | 2836 | (unless (ada-search-ignore-string-comment "when" t opos) |
| 2837 | (error "Missing ‘when’ between ‘case’ and ‘=>’")) | 2837 | (error "Missing `when' between `case' and `=>'")) |
| 2838 | (list (save-excursion (back-to-indentation) (point)) 'ada-indent))) | 2838 | (list (save-excursion (back-to-indentation) (point)) 'ada-indent))) |
| 2839 | ;; | 2839 | ;; |
| 2840 | ;; case..is..when | 2840 | ;; case..is..when |
| @@ -3003,7 +3003,7 @@ ORGPOINT is the limit position used in the calculation." | |||
| 3003 | (list cur-indent 'ada-broken-indent))))) | 3003 | (list cur-indent 'ada-broken-indent))))) |
| 3004 | 3004 | ||
| 3005 | (defun ada-get-indent-noindent (orgpoint) | 3005 | (defun ada-get-indent-noindent (orgpoint) |
| 3006 | "Calculate the indentation when point is just before a ‘noindent stmt’. | 3006 | "Calculate the indentation when point is just before a `noindent stmt'. |
| 3007 | ORGPOINT is the limit position used in the calculation." | 3007 | ORGPOINT is the limit position used in the calculation." |
| 3008 | (let ((label 0)) | 3008 | (let ((label 0)) |
| 3009 | (save-excursion | 3009 | (save-excursion |
| @@ -3429,7 +3429,7 @@ Return the new position of point or nil if not found." | |||
| 3429 | Moves point to the matching block start." | 3429 | Moves point to the matching block start." |
| 3430 | (ada-goto-matching-start 0) | 3430 | (ada-goto-matching-start 0) |
| 3431 | (unless (looking-at (concat "\\<" keyword "\\>")) | 3431 | (unless (looking-at (concat "\\<" keyword "\\>")) |
| 3432 | (error "Matching start is not ‘%s’" keyword))) | 3432 | (error "Matching start is not `%s'" keyword))) |
| 3433 | 3433 | ||
| 3434 | 3434 | ||
| 3435 | (defun ada-check-defun-name (defun-name) | 3435 | (defun ada-check-defun-name (defun-name) |
| @@ -3667,7 +3667,7 @@ otherwise throw error." | |||
| 3667 | "Move point to the beginning of a block-start. | 3667 | "Move point to the beginning of a block-start. |
| 3668 | Which block depends on the value of NEST-LEVEL, which defaults to zero. | 3668 | Which block depends on the value of NEST-LEVEL, which defaults to zero. |
| 3669 | If NOERROR is non-nil, it only returns nil if no matching start was found. | 3669 | If NOERROR is non-nil, it only returns nil if no matching start was found. |
| 3670 | If GOTOTHEN is non-nil, point moves to the ‘then’ following ‘if’." | 3670 | If GOTOTHEN is non-nil, point moves to the `then' following `if'." |
| 3671 | (let ((nest-count (if nest-level nest-level 0)) | 3671 | (let ((nest-count (if nest-level nest-level 0)) |
| 3672 | (found nil) | 3672 | (found nil) |
| 3673 | 3673 | ||
| @@ -3734,7 +3734,7 @@ If GOTOTHEN is non-nil, point moves to the ‘then’ following ‘if’." | |||
| 3734 | (if pos | 3734 | (if pos |
| 3735 | (goto-char (car pos)) | 3735 | (goto-char (car pos)) |
| 3736 | (error (concat | 3736 | (error (concat |
| 3737 | "No matching ‘is’ or ‘renames’ for ‘package’ at" | 3737 | "No matching `is' or `renames' for `package' at" |
| 3738 | " line " | 3738 | " line " |
| 3739 | (number-to-string (count-lines 1 (1+ current))))))) | 3739 | (number-to-string (count-lines 1 (1+ current))))))) |
| 3740 | (unless (looking-at "renames") | 3740 | (unless (looking-at "renames") |
| @@ -3862,7 +3862,7 @@ If GOTOTHEN is non-nil, point moves to the ‘then’ following ‘if’." | |||
| 3862 | ((looking-at "do") | 3862 | ((looking-at "do") |
| 3863 | (unless (ada-search-ignore-string-comment | 3863 | (unless (ada-search-ignore-string-comment |
| 3864 | "\\<accept\\|return\\>" t) | 3864 | "\\<accept\\|return\\>" t) |
| 3865 | (error "Missing ‘accept’ or ‘return’ in front of ‘do’")))) | 3865 | (error "Missing `accept' or `return' in front of `do'")))) |
| 3866 | (point)) | 3866 | (point)) |
| 3867 | 3867 | ||
| 3868 | (if noerror | 3868 | (if noerror |
| @@ -4073,7 +4073,7 @@ Assumes point to be at the end of a statement." | |||
| 4073 | 4073 | ||
| 4074 | 4074 | ||
| 4075 | (defun ada-looking-at-semi-or () | 4075 | (defun ada-looking-at-semi-or () |
| 4076 | "Return t if looking at an ‘or’ following a semicolon." | 4076 | "Return t if looking at an `or' following a semicolon." |
| 4077 | (save-excursion | 4077 | (save-excursion |
| 4078 | (and (looking-at "\\<or\\>") | 4078 | (and (looking-at "\\<or\\>") |
| 4079 | (progn | 4079 | (progn |
| @@ -4146,7 +4146,7 @@ Return nil if the private is part of the package name, as in | |||
| 4146 | "type\\)\\>")))))) | 4146 | "type\\)\\>")))))) |
| 4147 | 4147 | ||
| 4148 | (defun ada-search-ignore-complex-boolean (regexp backwardp) | 4148 | (defun ada-search-ignore-complex-boolean (regexp backwardp) |
| 4149 | "Search for REGEXP, ignoring comments, strings, ‘and then’, ‘or else’. | 4149 | "Search for REGEXP, ignoring comments, strings, `and then', `or else'. |
| 4150 | If BACKWARDP is non-nil, search backward; search forward otherwise." | 4150 | If BACKWARDP is non-nil, search backward; search forward otherwise." |
| 4151 | (let (result) | 4151 | (let (result) |
| 4152 | (while (and (setq result (ada-search-ignore-string-comment regexp backwardp)) | 4152 | (while (and (setq result (ada-search-ignore-string-comment regexp backwardp)) |
| @@ -4366,7 +4366,7 @@ of the region. Otherwise, operate only on the current line." | |||
| 4366 | 4366 | ||
| 4367 | (defun ada-move-to-end () | 4367 | (defun ada-move-to-end () |
| 4368 | "Move point to the end of the block around point. | 4368 | "Move point to the end of the block around point. |
| 4369 | Moves to ‘begin’ if in a declarative part." | 4369 | Moves to `begin' if in a declarative part." |
| 4370 | (interactive) | 4370 | (interactive) |
| 4371 | (let ((pos (point)) | 4371 | (let ((pos (point)) |
| 4372 | decl-start) | 4372 | decl-start) |
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el index 7e354bc2b0f..3b71c5987ed 100644 --- a/lisp/progmodes/ada-prj.el +++ b/lisp/progmodes/ada-prj.el | |||
| @@ -309,13 +309,13 @@ where the compilation is done.") | |||
| 309 | "If you want to remotely compile, debug and | 309 | "If you want to remotely compile, debug and |
| 310 | run your application, specify the name of a | 310 | run your application, specify the name of a |
| 311 | remote machine here. This capability requires | 311 | remote machine here. This capability requires |
| 312 | the ‘rsh’ protocol on the remote machine.") | 312 | the `rsh' protocol on the remote machine.") |
| 313 | (ada-prj-field 'cross_prefix "Prefix used in for the cross tool chain" | 313 | (ada-prj-field 'cross_prefix "Prefix used in for the cross tool chain" |
| 314 | "When working on multiple cross targets, it is | 314 | "When working on multiple cross targets, it is |
| 315 | most convenient to specify the prefix of the | 315 | most convenient to specify the prefix of the |
| 316 | tool chain here. For instance, on PowerPc | 316 | tool chain here. For instance, on PowerPc |
| 317 | vxworks, you would enter ‘powerpc-wrs-vxworks-’. | 317 | vxworks, you would enter `powerpc-wrs-vxworks-'. |
| 318 | To use JGNAT, enter ‘j’.") | 318 | To use JGNAT, enter `j'.") |
| 319 | ) | 319 | ) |
| 320 | 320 | ||
| 321 | 321 | ||
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index 6f2f78f7f19..816de12cbdb 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -286,7 +286,7 @@ On Windows systems, this will properly handle .exe extension as well." | |||
| 286 | (ada-find-file-in-dir (concat exec-name ".exe") exec-path)))) | 286 | (ada-find-file-in-dir (concat exec-name ".exe") exec-path)))) |
| 287 | (if result | 287 | (if result |
| 288 | result | 288 | result |
| 289 | (error "‘%s’ not found in path" exec-name)))) | 289 | (error "`%s' not found in path" exec-name)))) |
| 290 | 290 | ||
| 291 | (defun ada-initialize-runtime-library (cross-prefix) | 291 | (defun ada-initialize-runtime-library (cross-prefix) |
| 292 | "Initialize the variables for the runtime library location. | 292 | "Initialize the variables for the runtime library location. |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 2443d6f8ca9..80f9e2a7719 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -3471,7 +3471,7 @@ are not performed." | |||
| 3471 | (with-output-to-temp-buffer (concat "*Apropos Members*") | 3471 | (with-output-to-temp-buffer (concat "*Apropos Members*") |
| 3472 | (set-buffer standard-output) | 3472 | (set-buffer standard-output) |
| 3473 | (erase-buffer) | 3473 | (erase-buffer) |
| 3474 | (insert (format-message "Members matching ‘%s’\n\n" regexp)) | 3474 | (insert (format-message "Members matching `%s'\n\n" regexp)) |
| 3475 | (cl-loop for s in (ebrowse-list-of-matching-members members regexp) do | 3475 | (cl-loop for s in (ebrowse-list-of-matching-members members regexp) do |
| 3476 | (cl-loop for info in (gethash s members) do | 3476 | (cl-loop for info in (gethash s members) do |
| 3477 | (ebrowse-draw-file-member-info info)))))) | 3477 | (ebrowse-draw-file-member-info info)))))) |
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 83ee2a484f7..0d5fc3a3cd3 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1459,7 +1459,7 @@ hits the start of file." | |||
| 1459 | (when (symbolp symbs) | 1459 | (when (symbolp symbs) |
| 1460 | (if (boundp symbs) | 1460 | (if (boundp symbs) |
| 1461 | (setq symbs (symbol-value symbs)) | 1461 | (setq symbs (symbol-value symbs)) |
| 1462 | (insert (format-message "symbol ‘%s’ has no value\n" symbs)) | 1462 | (insert (format-message "symbol `%s' has no value\n" symbs)) |
| 1463 | (setq symbs nil))) | 1463 | (setq symbs nil))) |
| 1464 | (if (vectorp symbs) | 1464 | (if (vectorp symbs) |
| 1465 | (mapatoms ins-symb symbs) | 1465 | (mapatoms ins-symb symbs) |
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index f220633fefa..a9d47431e51 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -287,7 +287,7 @@ Return its file name if found, or nil if not found." | |||
| 287 | nil))))) | 287 | nil))))) |
| 288 | 288 | ||
| 289 | (defun flymake-fix-file-name (name) | 289 | (defun flymake-fix-file-name (name) |
| 290 | "Replace all occurrences of ‘\\’ with ‘/’." | 290 | "Replace all occurrences of `\\' with `/'." |
| 291 | (when name | 291 | (when name |
| 292 | (setq name (expand-file-name name)) | 292 | (setq name (expand-file-name name)) |
| 293 | (setq name (abbreviate-file-name name)) | 293 | (setq name (abbreviate-file-name name)) |
| @@ -785,7 +785,7 @@ Perhaps use text from LINE-ERR-INFO-LIST to enhance highlighting." | |||
| 785 | (when (flymake-same-files real-file-name source-file-name) | 785 | (when (flymake-same-files real-file-name source-file-name) |
| 786 | (setq line-err-info (flymake-ler-set-file line-err-info nil)) | 786 | (setq line-err-info (flymake-ler-set-file line-err-info nil)) |
| 787 | (setq err-info-list (flymake-add-err-info err-info-list line-err-info)))) | 787 | (setq err-info-list (flymake-add-err-info err-info-list line-err-info)))) |
| 788 | (flymake-log 3 "parsed ‘%s’, %s line-err-info" (nth idx lines) (if line-err-info "got" "no")) | 788 | (flymake-log 3 "parsed `%s', %s line-err-info" (nth idx lines) (if line-err-info "got" "no")) |
| 789 | (setq idx (1+ idx))) | 789 | (setq idx (1+ idx))) |
| 790 | err-info-list)) | 790 | err-info-list)) |
| 791 | 791 | ||
| @@ -1086,7 +1086,7 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'." | |||
| 1086 | (error | 1086 | (error |
| 1087 | (let* ((err-str | 1087 | (let* ((err-str |
| 1088 | (format-message | 1088 | (format-message |
| 1089 | "Failed to launch syntax check process ‘%s’ with args %s: %s" | 1089 | "Failed to launch syntax check process `%s' with args %s: %s" |
| 1090 | cmd args (error-message-string err))) | 1090 | cmd args (error-message-string err))) |
| 1091 | (source-file-name buffer-file-name) | 1091 | (source-file-name buffer-file-name) |
| 1092 | (cleanup-f (flymake-get-cleanup-function source-file-name))) | 1092 | (cleanup-f (flymake-get-cleanup-function source-file-name))) |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index ce2f830ec42..50ebadf733b 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -229,7 +229,7 @@ to set this option to nil." | |||
| 229 | 229 | ||
| 230 | (defcustom idlwave-shell-file-name-chars "~/A-Za-z0-9+:_.$#%={}\\- " | 230 | (defcustom idlwave-shell-file-name-chars "~/A-Za-z0-9+:_.$#%={}\\- " |
| 231 | "The characters allowed in file names, as a string. | 231 | "The characters allowed in file names, as a string. |
| 232 | Used for file name completion. Must not contain ‘'’, ‘,’ and ‘\"’ | 232 | Used for file name completion. Must not contain `\\='', `,' and `\"' |
| 233 | because these are used as separators by IDL." | 233 | because these are used as separators by IDL." |
| 234 | :group 'idlwave-shell-general-setup | 234 | :group 'idlwave-shell-general-setup |
| 235 | :type 'string) | 235 | :type 'string) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 9930d501d4d..b524b761b75 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -743,7 +743,7 @@ The actions that can be performed are listed in `idlwave-indent-action-table'." | |||
| 743 | (defcustom idlwave-abbrev-start-char "\\" | 743 | (defcustom idlwave-abbrev-start-char "\\" |
| 744 | "A single character string used to start abbreviations in abbrev mode. | 744 | "A single character string used to start abbreviations in abbrev mode. |
| 745 | Possible characters to choose from: ~\\=`\% | 745 | Possible characters to choose from: ~\\=`\% |
| 746 | or even ‘?’. ‘.’ is not a good choice because it can make structure | 746 | or even `?'. `.' is not a good choice because it can make structure |
| 747 | field names act like abbrevs in certain circumstances. | 747 | field names act like abbrevs in certain circumstances. |
| 748 | 748 | ||
| 749 | Changes to this in `idlwave-mode-hook' will have no effect. Instead a user | 749 | Changes to this in `idlwave-mode-hook' will have no effect. Instead a user |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 9abbf16ed5d..4f46cbe6357 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -1455,7 +1455,7 @@ Fill comments, backslashed lines, and variable definitions specially." | |||
| 1455 | 1455 | ||
| 1456 | (defun makefile-browser-insert-continuation () | 1456 | (defun makefile-browser-insert-continuation () |
| 1457 | "Insert a makefile continuation. | 1457 | "Insert a makefile continuation. |
| 1458 | In the makefile buffer, go to (end-of-line), insert a ‘\\’ | 1458 | In the makefile buffer, go to (end-of-line), insert a `\\' |
| 1459 | character, insert a new blank line, go to that line and indent by one TAB. | 1459 | character, insert a new blank line, go to that line and indent by one TAB. |
| 1460 | This is most useful in the process of creating continued lines when copying | 1460 | This is most useful in the process of creating continued lines when copying |
| 1461 | large dependencies from the browser to the client buffer. | 1461 | large dependencies from the browser to the client buffer. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a95206463b6..9528ffeebbc 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2819,7 +2819,7 @@ of `error' with a user-friendly message." | |||
| 2819 | (or (python-shell-get-process) | 2819 | (or (python-shell-get-process) |
| 2820 | (if interactivep | 2820 | (if interactivep |
| 2821 | (user-error | 2821 | (user-error |
| 2822 | "Start a Python process first with ‘%s’ or ‘%s’." | 2822 | "Start a Python process first with `%s' or `%s'." |
| 2823 | (substitute-command-keys "\\[run-python]") | 2823 | (substitute-command-keys "\\[run-python]") |
| 2824 | ;; Get the binding. | 2824 | ;; Get the binding. |
| 2825 | (key-description | 2825 | (key-description |
| @@ -4006,7 +4006,7 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 4006 | (let* ((name (symbol-name name)) | 4006 | (let* ((name (symbol-name name)) |
| 4007 | (function-name (intern (concat "python-skeleton--" name))) | 4007 | (function-name (intern (concat "python-skeleton--" name))) |
| 4008 | (msg (format-message | 4008 | (msg (format-message |
| 4009 | "Add ‘%s’ clause? " name))) | 4009 | "Add `%s' clause? " name))) |
| 4010 | (when (not skel) | 4010 | (when (not skel) |
| 4011 | (setq skel | 4011 | (setq skel |
| 4012 | `(< ,(format "%s:" name) \n \n | 4012 | `(< ,(format "%s:" name) \n \n |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index f46c8a99b67..cbf65c0a803 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -4276,7 +4276,7 @@ passed as command line arguments." | |||
| 4276 | ;; work for remote hosts; we suppress the check there. | 4276 | ;; work for remote hosts; we suppress the check there. |
| 4277 | (unless (or (file-remote-p default-directory) | 4277 | (unless (or (file-remote-p default-directory) |
| 4278 | (executable-find program)) | 4278 | (executable-find program)) |
| 4279 | (error "Unable to locate SQL program ‘%s’" program)) | 4279 | (error "Unable to locate SQL program `%s'" program)) |
| 4280 | ;; Make sure buffer name is unique. | 4280 | ;; Make sure buffer name is unique. |
| 4281 | (when (sql-buffer-live-p (format "*%s*" buf-name)) | 4281 | (when (sql-buffer-live-p (format "*%s*" buf-name)) |
| 4282 | (setq buf-name (format "SQL-%s" product)) | 4282 | (setq buf-name (format "SQL-%s" product)) |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index caae746779e..f83c676396d 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -4477,7 +4477,7 @@ More specifically, after a generate and before an endgenerate." | |||
| 4477 | (= nest 0) )) ; return nest | 4477 | (= nest 0) )) ; return nest |
| 4478 | 4478 | ||
| 4479 | (defun verilog-in-deferred-immediate-final-p () | 4479 | (defun verilog-in-deferred-immediate-final-p () |
| 4480 | "Return true if inside an ‘assert/assume/cover final’ statement." | 4480 | "Return true if inside an `assert/assume/cover final' statement." |
| 4481 | (interactive) | 4481 | (interactive) |
| 4482 | (and (looking-at "final") | 4482 | (and (looking-at "final") |
| 4483 | (verilog-looking-back "\\<\\(?:assert\\|assume\\|cover\\)\\>\\s-+" nil)) | 4483 | (verilog-looking-back "\\<\\(?:assert\\|assume\\|cover\\)\\>\\s-+" nil)) |
| @@ -7221,7 +7221,7 @@ will be completed at runtime and should not be added to this list.") | |||
| 7221 | 7221 | ||
| 7222 | (defun verilog-func-completion (type) | 7222 | (defun verilog-func-completion (type) |
| 7223 | "Build regular expression for module/task/function names. | 7223 | "Build regular expression for module/task/function names. |
| 7224 | TYPE is ‘module’, ‘tf’ for task or function, or t if unknown." | 7224 | TYPE is `module', `tf' for task or function, or t if unknown." |
| 7225 | (if (string= verilog-str "") | 7225 | (if (string= verilog-str "") |
| 7226 | (setq verilog-str "[a-zA-Z_]")) | 7226 | (setq verilog-str "[a-zA-Z_]")) |
| 7227 | (let ((verilog-str (concat (cond | 7227 | (let ((verilog-str (concat (cond |
| @@ -7294,7 +7294,7 @@ must be a function to be called for every match to check if this should | |||
| 7294 | really be a match. If VERILOG-FLAG is t, the function returns a list of | 7294 | really be a match. If VERILOG-FLAG is t, the function returns a list of |
| 7295 | all possible completions. If VERILOG-FLAG is nil it returns a string, | 7295 | all possible completions. If VERILOG-FLAG is nil it returns a string, |
| 7296 | the longest possible completion, or t if VERILOG-STR is an exact match. | 7296 | the longest possible completion, or t if VERILOG-STR is an exact match. |
| 7297 | If VERILOG-FLAG is ‘lambda’, the function returns t if VERILOG-STR is an | 7297 | If VERILOG-FLAG is `lambda', the function returns t if VERILOG-STR is an |
| 7298 | exact match, nil otherwise." | 7298 | exact match, nil otherwise." |
| 7299 | (save-excursion | 7299 | (save-excursion |
| 7300 | (let ((verilog-all nil)) | 7300 | (let ((verilog-all nil)) |
| @@ -7489,7 +7489,7 @@ VERILOG-PRED is non-nil, it must be a function to be called for every match | |||
| 7489 | to check if this should really be a match. If VERILOG-FLAG is t, the | 7489 | to check if this should really be a match. If VERILOG-FLAG is t, the |
| 7490 | function returns a list of all possible completions. If it is nil it | 7490 | function returns a list of all possible completions. If it is nil it |
| 7491 | returns a string, the longest possible completion, or t if VERILOG-STR is | 7491 | returns a string, the longest possible completion, or t if VERILOG-STR is |
| 7492 | an exact match. If VERILOG-FLAG is ‘lambda’, the function returns t if | 7492 | an exact match. If VERILOG-FLAG is `lambda', the function returns t if |
| 7493 | VERILOG-STR is an exact match, nil otherwise." | 7493 | VERILOG-STR is an exact match, nil otherwise." |
| 7494 | (save-excursion | 7494 | (save-excursion |
| 7495 | (let ((verilog-all nil) | 7495 | (let ((verilog-all nil) |
| @@ -10099,7 +10099,7 @@ if non-nil." | |||
| 10099 | 10099 | ||
| 10100 | ;; Combined | 10100 | ;; Combined |
| 10101 | (defun verilog-decls-get-signals (decls) | 10101 | (defun verilog-decls-get-signals (decls) |
| 10102 | "Return all declared signals in DECLS, excluding ‘assign’ statements." | 10102 | "Return all declared signals in DECLS, excluding `assign' statements." |
| 10103 | (append | 10103 | (append |
| 10104 | (verilog-decls-get-outputs decls) | 10104 | (verilog-decls-get-outputs decls) |
| 10105 | (verilog-decls-get-inouts decls) | 10105 | (verilog-decls-get-inouts decls) |
| @@ -11484,14 +11484,14 @@ Lisp Templates: | |||
| 11484 | Lisp functions: | 11484 | Lisp functions: |
| 11485 | 11485 | ||
| 11486 | vl-name Name portion of the input/output port. | 11486 | vl-name Name portion of the input/output port. |
| 11487 | vl-bits Bus bits portion of the input/output port (‘[2:0]’). | 11487 | vl-bits Bus bits portion of the input/output port (`[2:0]'). |
| 11488 | vl-mbits Multidimensional array bits for port (‘[2:0][3:0]’). | 11488 | vl-mbits Multidimensional array bits for port (`[2:0][3:0]'). |
| 11489 | vl-width Width of the input/output port (‘3’ for [2:0]). | 11489 | vl-width Width of the input/output port (`3' for [2:0]). |
| 11490 | May be a (...) expression if bits isn't a constant. | 11490 | May be a (...) expression if bits isn't a constant. |
| 11491 | vl-dir Direction of the pin input/output/inout/interface. | 11491 | vl-dir Direction of the pin input/output/inout/interface. |
| 11492 | vl-modport The modport, if an interface with a modport. | 11492 | vl-modport The modport, if an interface with a modport. |
| 11493 | vl-cell-type Module name/type of the cell (‘InstModule’). | 11493 | vl-cell-type Module name/type of the cell (`InstModule'). |
| 11494 | vl-cell-name Instance name of the cell (‘instName’). | 11494 | vl-cell-name Instance name of the cell (`instName'). |
| 11495 | 11495 | ||
| 11496 | Normal Lisp variables may be used in expressions. See | 11496 | Normal Lisp variables may be used in expressions. See |
| 11497 | `verilog-read-defines' which can set vh-{definename} variables for use | 11497 | `verilog-read-defines' which can set vh-{definename} variables for use |
| @@ -14177,7 +14177,7 @@ Files are checked based on `verilog-library-flags'." | |||
| 14177 | (match-string 1) (buffer-file-name)))) | 14177 | (match-string 1) (buffer-file-name)))) |
| 14178 | (when warn | 14178 | (when warn |
| 14179 | (message | 14179 | (message |
| 14180 | "File ‘%s’ isn't readable, use shift-mouse2 to paste in this field" | 14180 | "File `%s' isn't readable, use shift-mouse2 to paste in this field" |
| 14181 | (match-string 1)))))))) | 14181 | (match-string 1)))))))) |
| 14182 | 14182 | ||
| 14183 | 14183 | ||
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 34ac5995568..19a7e970a60 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -164,7 +164,7 @@ | |||
| 164 | '/' or is empty)." | 164 | '/' or is empty)." |
| 165 | (let ((val (widget-value widget))) | 165 | (let ((val (widget-value widget))) |
| 166 | (unless (string-match "^\\(\\|.*/\\)$" val) | 166 | (unless (string-match "^\\(\\|.*/\\)$" val) |
| 167 | (widget-put widget :error "Invalid directory entry: must end with ‘/’") | 167 | (widget-put widget :error "Invalid directory entry: must end with `/'") |
| 168 | widget))) | 168 | widget))) |
| 169 | 169 | ||
| 170 | ;; help string for user options | 170 | ;; help string for user options |
| @@ -5714,7 +5714,7 @@ the offset is simply returned." | |||
| 5714 | (t nil))))) | 5714 | (t nil))))) |
| 5715 | 5715 | ||
| 5716 | (defun vhdl-in-extended-identifier-p () | 5716 | (defun vhdl-in-extended-identifier-p () |
| 5717 | "Determine if point is inside extended identifier (delimited by ‘\\’)." | 5717 | "Determine if point is inside extended identifier (delimited by `\\')." |
| 5718 | (save-match-data | 5718 | (save-match-data |
| 5719 | (and (save-excursion (re-search-backward "\\\\" (vhdl-point 'bol) t)) | 5719 | (and (save-excursion (re-search-backward "\\\\" (vhdl-point 'bol) t)) |
| 5720 | (save-excursion (re-search-forward "\\\\" (vhdl-point 'eol) t))))) | 5720 | (save-excursion (re-search-forward "\\\\" (vhdl-point 'eol) t))))) |
| @@ -8743,7 +8743,7 @@ is omitted or nil." | |||
| 8743 | (vhdl-comment-insert))))) | 8743 | (vhdl-comment-insert))))) |
| 8744 | (self-insert-command count))) | 8744 | (self-insert-command count))) |
| 8745 | 8745 | ||
| 8746 | (defun vhdl-electric-open-bracket (count) "‘[’ --> ‘(’, ‘([’ --> ‘[’" | 8746 | (defun vhdl-electric-open-bracket (count) "`[' --> `(', `([' --> `['" |
| 8747 | (interactive "p") | 8747 | (interactive "p") |
| 8748 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8748 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8749 | (if (= (preceding-char) ?\() | 8749 | (if (= (preceding-char) ?\() |
| @@ -8751,7 +8751,7 @@ is omitted or nil." | |||
| 8751 | (insert-char ?\( 1)) | 8751 | (insert-char ?\( 1)) |
| 8752 | (self-insert-command count))) | 8752 | (self-insert-command count))) |
| 8753 | 8753 | ||
| 8754 | (defun vhdl-electric-close-bracket (count) "‘]’ --> ‘)’, ‘)]’ --> ‘]’" | 8754 | (defun vhdl-electric-close-bracket (count) "`]' --> `)', `)]' --> `]'" |
| 8755 | (interactive "p") | 8755 | (interactive "p") |
| 8756 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8756 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8757 | (progn | 8757 | (progn |
| @@ -8769,7 +8769,7 @@ is omitted or nil." | |||
| 8769 | (insert-char ?\' 1)) | 8769 | (insert-char ?\' 1)) |
| 8770 | (self-insert-command count))) | 8770 | (self-insert-command count))) |
| 8771 | 8771 | ||
| 8772 | (defun vhdl-electric-semicolon (count) "‘;;’ --> ‘ : ’, ‘: ;’ --> ‘ := ’" | 8772 | (defun vhdl-electric-semicolon (count) "`;;' --> ` : ', `: ;' --> ` := '" |
| 8773 | (interactive "p") | 8773 | (interactive "p") |
| 8774 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8774 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8775 | (cond ((= (preceding-char) vhdl-last-input-event) | 8775 | (cond ((= (preceding-char) vhdl-last-input-event) |
| @@ -8783,7 +8783,7 @@ is omitted or nil." | |||
| 8783 | (t (insert-char ?\; 1))) | 8783 | (t (insert-char ?\; 1))) |
| 8784 | (self-insert-command count))) | 8784 | (self-insert-command count))) |
| 8785 | 8785 | ||
| 8786 | (defun vhdl-electric-comma (count) "‘,,’ --> ‘ <= ’" | 8786 | (defun vhdl-electric-comma (count) "`,,' --> ` <= '" |
| 8787 | (interactive "p") | 8787 | (interactive "p") |
| 8788 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8788 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8789 | (cond ((= (preceding-char) vhdl-last-input-event) | 8789 | (cond ((= (preceding-char) vhdl-last-input-event) |
| @@ -8793,7 +8793,7 @@ is omitted or nil." | |||
| 8793 | (t (insert-char ?\, 1))) | 8793 | (t (insert-char ?\, 1))) |
| 8794 | (self-insert-command count))) | 8794 | (self-insert-command count))) |
| 8795 | 8795 | ||
| 8796 | (defun vhdl-electric-period (count) "‘..’ --> ‘ => ’" | 8796 | (defun vhdl-electric-period (count) "`..' --> ` => '" |
| 8797 | (interactive "p") | 8797 | (interactive "p") |
| 8798 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8798 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8799 | (cond ((= (preceding-char) vhdl-last-input-event) | 8799 | (cond ((= (preceding-char) vhdl-last-input-event) |
| @@ -8803,7 +8803,7 @@ is omitted or nil." | |||
| 8803 | (t (insert-char ?\. 1))) | 8803 | (t (insert-char ?\. 1))) |
| 8804 | (self-insert-command count))) | 8804 | (self-insert-command count))) |
| 8805 | 8805 | ||
| 8806 | (defun vhdl-electric-equal (count) "‘==’ --> ‘ == ’" | 8806 | (defun vhdl-electric-equal (count) "`==' --> ` == '" |
| 8807 | (interactive "p") | 8807 | (interactive "p") |
| 8808 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8808 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8809 | (cond ((= (preceding-char) vhdl-last-input-event) | 8809 | (cond ((= (preceding-char) vhdl-last-input-event) |