Revert some stray curved quotes I missed earlier
Problem reported by David Kastrup in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html * lisp/international/mule-cmds.el (leim-list-header): Use format-message with an ASCII-only format.
This commit is contained in:
parent
a1cd8c96ca
commit
cdb0ae37ab
9 changed files with 22 additions and 21 deletions
|
@ -677,7 +677,7 @@ SYMBOL is a function that can be overridden."
|
||||||
result))
|
result))
|
||||||
|
|
||||||
(defun xref-mode-local-overload (symbol)
|
(defun xref-mode-local-overload (symbol)
|
||||||
"For ‘elisp-xref-find-def-functions’; add overloads for SYMBOL."
|
"For `elisp-xref-find-def-functions'; add overloads for SYMBOL."
|
||||||
;; Current buffer is the buffer where xref-find-definitions was invoked.
|
;; Current buffer is the buffer where xref-find-definitions was invoked.
|
||||||
(when (get symbol 'mode-local-overload)
|
(when (get symbol 'mode-local-overload)
|
||||||
(let* ((symbol-file (find-lisp-object-file-name symbol (symbol-function symbol)))
|
(let* ((symbol-file (find-lisp-object-file-name symbol (symbol-function symbol)))
|
||||||
|
@ -738,11 +738,11 @@ SYMBOL is a function that can be overridden."
|
||||||
|
|
||||||
(defconst xref-mode-local-find-overloadable-regexp
|
(defconst xref-mode-local-find-overloadable-regexp
|
||||||
"(\\(\\(define-overloadable-function\\)\\|\\(define-overload\\)\\) +%s"
|
"(\\(\\(define-overloadable-function\\)\\|\\(define-overload\\)\\) +%s"
|
||||||
"Regexp used by ‘xref-find-definitions’ when searching for a
|
"Regexp used by `xref-find-definitions' when searching for a
|
||||||
mode-local overloadable function definition.")
|
mode-local overloadable function definition.")
|
||||||
|
|
||||||
(defun xref-mode-local-find-override (meta-name)
|
(defun xref-mode-local-find-override (meta-name)
|
||||||
"Function used by ‘xref-find-definitions’ when searching for an
|
"Function used by `xref-find-definitions' when searching for an
|
||||||
override of a mode-local overloadable function.
|
override of a mode-local overloadable function.
|
||||||
META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)."
|
META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)."
|
||||||
(let* ((override (car meta-name))
|
(let* ((override (car meta-name))
|
||||||
|
|
|
@ -168,7 +168,8 @@
|
||||||
;; "Switch to non-existing buffers only upon confirmation."
|
;; "Switch to non-existing buffers only upon confirmation."
|
||||||
;; (interactive "BSwitch to buffer: ")
|
;; (interactive "BSwitch to buffer: ")
|
||||||
;; (if (or (get-buffer (ad-get-arg 0))
|
;; (if (or (get-buffer (ad-get-arg 0))
|
||||||
;; (y-or-n-p (format "‘%s’ does not exist, create? " (ad-get-arg 0))))
|
;; (y-or-n-p (format-message "`%s' does not exist, create? "
|
||||||
|
;; (ad-get-arg 0))))
|
||||||
;; ad-do-it))
|
;; ad-do-it))
|
||||||
;;
|
;;
|
||||||
;;(defadvice find-file (before existing-files-only activate)
|
;;(defadvice find-file (before existing-files-only activate)
|
||||||
|
|
|
@ -1814,7 +1814,7 @@ The value is non-nil if there were no errors, nil if errors."
|
||||||
;; compile this file.
|
;; compile this file.
|
||||||
(if (with-current-buffer input-buffer no-byte-compile)
|
(if (with-current-buffer input-buffer no-byte-compile)
|
||||||
(progn
|
(progn
|
||||||
;; (message "%s not compiled because of ‘no-byte-compile: %s’"
|
;; (message "%s not compiled because of `no-byte-compile: %s'"
|
||||||
;; (byte-compile-abbreviate-file filename)
|
;; (byte-compile-abbreviate-file filename)
|
||||||
;; (with-current-buffer input-buffer no-byte-compile))
|
;; (with-current-buffer input-buffer no-byte-compile))
|
||||||
(when (file-exists-p target-file)
|
(when (file-exists-p target-file)
|
||||||
|
@ -4196,7 +4196,7 @@ binding slots have been popped."
|
||||||
;; (consp (get condition
|
;; (consp (get condition
|
||||||
;; 'error-conditions)))))
|
;; 'error-conditions)))))
|
||||||
;; (byte-compile-warn
|
;; (byte-compile-warn
|
||||||
;; "‘%s’ is not a known condition name
|
;; "`%s' is not a known condition name
|
||||||
;; (in condition-case)"
|
;; (in condition-case)"
|
||||||
;; condition))
|
;; condition))
|
||||||
)
|
)
|
||||||
|
@ -4235,7 +4235,7 @@ binding slots have been popped."
|
||||||
;; for the argument to `signal', not to `condition-case'.
|
;; for the argument to `signal', not to `condition-case'.
|
||||||
;;(unless (consp (get c 'error-conditions))
|
;;(unless (consp (get c 'error-conditions))
|
||||||
;; (byte-compile-warn
|
;; (byte-compile-warn
|
||||||
;; "‘%s’ is not a known condition name (in condition-case)"
|
;; "`%s' is not a known condition name (in condition-case)"
|
||||||
;; c))
|
;; c))
|
||||||
)
|
)
|
||||||
(byte-compile-push-constant condition))
|
(byte-compile-push-constant condition))
|
||||||
|
|
|
@ -679,7 +679,7 @@ and updates the data stored in ENV."
|
||||||
|
|
||||||
;; ((and `(quote ,v . ,_) (guard (assq v env)))
|
;; ((and `(quote ,v . ,_) (guard (assq v env)))
|
||||||
;; (byte-compile-log-warning
|
;; (byte-compile-log-warning
|
||||||
;; (format-message "Possible confusion variable/symbol for ‘%S’" v)))
|
;; (format-message "Possible confusion variable/symbol for `%S'" v)))
|
||||||
|
|
||||||
(`(quote . ,_) nil) ; quote form
|
(`(quote . ,_) nil) ; quote form
|
||||||
(`(function . ,_) nil) ; same as quote
|
(`(function . ,_) nil) ; same as quote
|
||||||
|
|
|
@ -1663,7 +1663,7 @@ function,command,variable,option or symbol." ms1))))))
|
||||||
;; (concat "\\<" (regexp-quote (car fp)) "\\>")
|
;; (concat "\\<" (regexp-quote (car fp)) "\\>")
|
||||||
;; newname))
|
;; newname))
|
||||||
;; (checkdoc-create-error
|
;; (checkdoc-create-error
|
||||||
;; "Flag variable names should normally end in ‘-flag’" s
|
;; "Flag variable names should normally end in `-flag'" s
|
||||||
;; (marker-position e)))))
|
;; (marker-position e)))))
|
||||||
;; Done with variables
|
;; Done with variables
|
||||||
))
|
))
|
||||||
|
|
|
@ -850,7 +850,7 @@ Fills in the default value in CLASS' in SLOT with VALUE."
|
||||||
;; gnus/registry.el, so it might be used elsewhere as well, so let's
|
;; gnus/registry.el, so it might be used elsewhere as well, so let's
|
||||||
;; keep it for now.
|
;; keep it for now.
|
||||||
;; FIXME: Generate a compile-time warning for it!
|
;; FIXME: Generate a compile-time warning for it!
|
||||||
;; (error "Can't ‘oset-default’ an instance-allocated slot: %S of %S"
|
;; (error "Can't `oset-default' an instance-allocated slot: %S of %S"
|
||||||
;; slot class)
|
;; slot class)
|
||||||
(eieio--validate-slot-value class c value slot)
|
(eieio--validate-slot-value class c value slot)
|
||||||
;; Set this into the storage for defaults.
|
;; Set this into the storage for defaults.
|
||||||
|
|
|
@ -1272,7 +1272,7 @@ This file contains a list of libraries of Emacs input methods (LEIM)
|
||||||
in the format of Lisp expression for registering each input method.
|
in the format of Lisp expression for registering each input method.
|
||||||
Emacs loads this file at startup time.")
|
Emacs loads this file at startup time.")
|
||||||
|
|
||||||
(defconst leim-list-header (format
|
(defconst leim-list-header (format-message
|
||||||
";;; %s -- list of LEIM (Library of Emacs Input Method) -*-coding: utf-8;-*-
|
";;; %s -- list of LEIM (Library of Emacs Input Method) -*-coding: utf-8;-*-
|
||||||
;;
|
;;
|
||||||
;; This file is automatically generated.
|
;; This file is automatically generated.
|
||||||
|
@ -1286,9 +1286,9 @@ Emacs loads this file at startup time.")
|
||||||
;; INPUT-METHOD LANGUAGE-NAME ACTIVATE-FUNC
|
;; INPUT-METHOD LANGUAGE-NAME ACTIVATE-FUNC
|
||||||
;; TITLE DESCRIPTION
|
;; TITLE DESCRIPTION
|
||||||
;; ARG ...)
|
;; ARG ...)
|
||||||
;; See the function ‘register-input-method’ for the meanings of the arguments.
|
;; See the function `register-input-method' for the meanings of the arguments.
|
||||||
;;
|
;;
|
||||||
;; If this directory is included in ‘load-path’, Emacs automatically
|
;; If this directory is included in `load-path', Emacs automatically
|
||||||
;; loads this file at startup time.
|
;; loads this file at startup time.
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|
|
@ -632,11 +632,11 @@ otherwise build the summary from TYPE and SYMBOL."
|
||||||
(xref-make-elisp-location symbol type file)))
|
(xref-make-elisp-location symbol type file)))
|
||||||
|
|
||||||
(defvar elisp-xref-find-def-functions nil
|
(defvar elisp-xref-find-def-functions nil
|
||||||
"List of functions to be run from ‘elisp--xref-find-definitions’ to add additional xrefs.
|
"List of functions to be run from `elisp--xref-find-definitions' to add additional xrefs.
|
||||||
Called with one arg; the symbol whose definition is desired.
|
Called with one arg; the symbol whose definition is desired.
|
||||||
Each function should return a list of xrefs, or nil; the first
|
Each function should return a list of xrefs, or nil; the first
|
||||||
non-nil result supercedes the xrefs produced by
|
non-nil result supercedes the xrefs produced by
|
||||||
‘elisp--xref-find-definitions’.")
|
`elisp--xref-find-definitions'.")
|
||||||
|
|
||||||
;; FIXME: name should be singular; match xref-find-definition
|
;; FIXME: name should be singular; match xref-find-definition
|
||||||
(defun elisp--xref-find-definitions (symbol)
|
(defun elisp--xref-find-definitions (symbol)
|
||||||
|
|
|
@ -8666,7 +8666,7 @@ Return an array of [outputs inouts inputs wire reg assign const]."
|
||||||
|
|
||||||
(defun verilog-read-sub-decls-expr (submoddecls comment port expr)
|
(defun verilog-read-sub-decls-expr (submoddecls comment port expr)
|
||||||
"For `verilog-read-sub-decls-line', parse a subexpression and add signals."
|
"For `verilog-read-sub-decls-line', parse a subexpression and add signals."
|
||||||
;;(message "vrsde: ‘%s’" expr)
|
;;(message "vrsde: `%s'" expr)
|
||||||
;; Replace special /*[....]*/ comments inserted by verilog-auto-inst-port
|
;; Replace special /*[....]*/ comments inserted by verilog-auto-inst-port
|
||||||
(setq expr (verilog-string-replace-matches "/\\*\\(\\[[^*]+\\]\\)\\*/" "\\1" nil nil expr))
|
(setq expr (verilog-string-replace-matches "/\\*\\(\\[[^*]+\\]\\)\\*/" "\\1" nil nil expr))
|
||||||
;; Remove front operators
|
;; Remove front operators
|
||||||
|
@ -8685,25 +8685,25 @@ Return an array of [outputs inouts inputs wire reg assign const]."
|
||||||
(let (sig vec multidim)
|
(let (sig vec multidim)
|
||||||
;; Remove leading reduction operators, etc
|
;; Remove leading reduction operators, etc
|
||||||
(setq expr (verilog-string-replace-matches "^\\s-*[---+~!|&]+\\s-*" "" nil nil expr))
|
(setq expr (verilog-string-replace-matches "^\\s-*[---+~!|&]+\\s-*" "" nil nil expr))
|
||||||
;;(message "vrsde-ptop: ‘%s’" expr)
|
;;(message "vrsde-ptop: `%s'" expr)
|
||||||
(cond ; Find \signal. Final space is part of escaped signal name
|
(cond ; Find \signal. Final space is part of escaped signal name
|
||||||
((string-match "^\\s-*\\(\\\\[^ \t\n\f]+\\s-\\)" expr)
|
((string-match "^\\s-*\\(\\\\[^ \t\n\f]+\\s-\\)" expr)
|
||||||
;;(message "vrsde-s: ‘%s’" (match-string 1 expr))
|
;;(message "vrsde-s: `%s'" (match-string 1 expr))
|
||||||
(setq sig (match-string 1 expr)
|
(setq sig (match-string 1 expr)
|
||||||
expr (substring expr (match-end 0))))
|
expr (substring expr (match-end 0))))
|
||||||
;; Find signal
|
;; Find signal
|
||||||
((string-match "^\\s-*\\([a-zA-Z_][a-zA-Z_0-9]*\\)" expr)
|
((string-match "^\\s-*\\([a-zA-Z_][a-zA-Z_0-9]*\\)" expr)
|
||||||
;;(message "vrsde-s: ‘%s’" (match-string 1 expr))
|
;;(message "vrsde-s: `%s'" (match-string 1 expr))
|
||||||
(setq sig (verilog-string-remove-spaces (match-string 1 expr))
|
(setq sig (verilog-string-remove-spaces (match-string 1 expr))
|
||||||
expr (substring expr (match-end 0)))))
|
expr (substring expr (match-end 0)))))
|
||||||
;; Find [vector] or [multi][multi][multi][vector]
|
;; Find [vector] or [multi][multi][multi][vector]
|
||||||
(while (string-match "^\\s-*\\(\\[[^]]+\\]\\)" expr)
|
(while (string-match "^\\s-*\\(\\[[^]]+\\]\\)" expr)
|
||||||
;;(message "vrsde-v: ‘%s’" (match-string 1 expr))
|
;;(message "vrsde-v: `%s'" (match-string 1 expr))
|
||||||
(when vec (setq multidim (cons vec multidim)))
|
(when vec (setq multidim (cons vec multidim)))
|
||||||
(setq vec (match-string 1 expr)
|
(setq vec (match-string 1 expr)
|
||||||
expr (substring expr (match-end 0))))
|
expr (substring expr (match-end 0))))
|
||||||
;; If found signal, and nothing unrecognized, add the signal
|
;; If found signal, and nothing unrecognized, add the signal
|
||||||
;;(message "vrsde-rem: ‘%s’" expr)
|
;;(message "vrsde-rem: `%s'" expr)
|
||||||
(when (and sig (string-match "^\\s-*$" expr))
|
(when (and sig (string-match "^\\s-*$" expr))
|
||||||
(verilog-read-sub-decls-sig submoddecls comment port sig vec multidim))))))
|
(verilog-read-sub-decls-sig submoddecls comment port sig vec multidim))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue