aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorPaul Eggert2015-09-17 12:28:45 -0700
committerPaul Eggert2015-09-17 12:39:54 -0700
commit753fbfbef484272bcde5214f75fb0846ee3f33df (patch)
treec525c0d926a4a3f66d323079218ffebfa3a867df /lisp/progmodes
parentdc9e7022d5f259642a42535a4db87d2a1d05ae19 (diff)
downloademacs-753fbfbef484272bcde5214f75fb0846ee3f33df.tar.gz
emacs-753fbfbef484272bcde5214f75fb0846ee3f33df.zip
Fix several backslash typos in Elisp strings
* lisp/calendar/todo-mode.el (todo-files, todo-rename-file) (todo-find-filtered-items-file, todo-reset-nondiary-marker) (todo-reset-done-string, todo-reset-comment-string) (todo-reset-highlight-item): * lisp/erc/erc-networks.el (erc-networks-alist): * lisp/gnus/gnus-art.el (gnus-button-handle-library): * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url): * lisp/gnus/nntp.el (nntp-via-shell-prompt) (nntp-telnet-shell-prompt): * lisp/gnus/spam-report.el (spam-report-gmane-regex): * lisp/image-dired.el (image-dired-rotate-original): (image-dired-get-exif-file-name): * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx): * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict): * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p): * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions): * lisp/net/shr-color.el (shr-color->hexadecimal): * lisp/org/org-bibtex.el (org-bibtex-fields): * lisp/org/org-docview.el (org-docview-export): * lisp/org/org-entities.el (org-entities): * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string): * lisp/progmodes/cperl-mode.el (cperl-indent-exp): * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp) (ebnf-style-database): * lisp/progmodes/idlw-help.el (idlwave-do-context-help1): * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block): * lisp/progmodes/sql.el (sql-product-alist): * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist) (verilog-error-font-lock-keywords) (verilog-assignment-operator-re): * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): * lisp/textmodes/reftex-parse.el (reftex-parse-from-file): * lisp/vc/add-log.el (change-log-version-number-regexp-list): Fix typo by replacing ‘\’ with ‘\\’ in a string literal. For example, to get the regular expression ‘\.’ use the string literal "\\.", not "\." (which is equivalent to "."). * lisp/emulation/viper-util.el (viper-glob-unix-files): Remove stray ‘\j’ from string. * lisp/gnus/nntp.el (nntp-via-shell-prompt) (nntp-telnet-shell-prompt): Treat > like $ when matching a shell prompt. * lisp/progmodes/make-mode.el (makefile-browse): Properly quote a diagnostic.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cperl-mode.el2
-rw-r--r--lisp/progmodes/ebnf2ps.el4
-rw-r--r--lisp/progmodes/idlw-help.el4
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/progmodes/ruby-mode.el2
-rw-r--r--lisp/progmodes/sql.el4
-rw-r--r--lisp/progmodes/verilog-mode.el10
-rw-r--r--lisp/progmodes/vhdl-mode.el18
8 files changed, 23 insertions, 23 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 5da65084712..528bc44f8a8 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -5043,7 +5043,7 @@ conditional/loop constructs."
5043 (goto-char top)) 5043 (goto-char top))
5044 (if (looking-at ; Try Plan C: continuation block 5044 (if (looking-at ; Try Plan C: continuation block
5045 (concat cperl-maybe-white-and-comment-rex 5045 (concat cperl-maybe-white-and-comment-rex
5046 "\\<\\(else\\|elsif\|continue\\)\\>")) 5046 "\\<\\(else\\|elsif\\|continue\\)\\>"))
5047 (progn 5047 (progn
5048 (goto-char (match-end 0)) 5048 (goto-char (match-end 0))
5049 (setq tmp-end (point-at-eol))) 5049 (setq tmp-end (point-at-eol)))
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index c694bbd5832..6d8e90c2d6a 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -1899,7 +1899,7 @@ It's only used when `ebnf-syntax' is `iso-ebnf'."
1899 :group 'ebnf-syntactic) 1899 :group 'ebnf-syntactic)
1900 1900
1901 1901
1902(defcustom ebnf-file-suffix-regexp "\.[Bb][Nn][Ff]$" 1902(defcustom ebnf-file-suffix-regexp "\\.[Bb][Nn][Ff]$"
1903 "Specify file name suffix that contains EBNF. 1903 "Specify file name suffix that contains EBNF.
1904 1904
1905See `ebnf-eps-directory' command." 1905See `ebnf-eps-directory' command."
@@ -2731,7 +2731,7 @@ See also `ebnf-syntax-buffer'."
2731 (ebnf-syntax . 'ebnf) 2731 (ebnf-syntax . 'ebnf)
2732 (ebnf-iso-alternative-p . nil) 2732 (ebnf-iso-alternative-p . nil)
2733 (ebnf-iso-normalize-p . nil) 2733 (ebnf-iso-normalize-p . nil)
2734 (ebnf-file-suffix-regexp . "\.[Bb][Nn][Ff]$") 2734 (ebnf-file-suffix-regexp . "\\.[Bb][Nn][Ff]$")
2735 (ebnf-eps-prefix . "ebnf--") 2735 (ebnf-eps-prefix . "ebnf--")
2736 (ebnf-eps-header-font . '(11 Helvetica "Black" "White" bold)) 2736 (ebnf-eps-header-font . '(11 Helvetica "Black" "White" bold))
2737 (ebnf-eps-header . nil) 2737 (ebnf-eps-header . nil)
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el
index c4111398f54..4473409e344 100644
--- a/lisp/progmodes/idlw-help.el
+++ b/lisp/progmodes/idlw-help.el
@@ -434,7 +434,7 @@ It collects and prints the diagnostics messages."
434 434
435 ;; A system variable -- only system help 435 ;; A system variable -- only system help
436 ((string-match 436 ((string-match
437 "\\`!\\([a-zA-Z0-9_]+\\)\\(\.\\([A-Za-z0-9_]+\\)\\)?" 437 "\\`!\\([a-zA-Z0-9_]+\\)\\(\\.\\([A-Za-z0-9_]+\\)\\)?"
438 this-word) 438 this-word)
439 (let* ((word (match-string-no-properties 1 this-word)) 439 (let* ((word (match-string-no-properties 1 this-word))
440 (entry (assq (idlwave-sintern-sysvar word) 440 (entry (assq (idlwave-sintern-sysvar word)
@@ -1312,7 +1312,7 @@ IDL assistant.")
1312 (let ((help-loc (idlwave-html-help-location)) 1312 (let ((help-loc (idlwave-html-help-location))
1313 topic anchor file just-started exists full-link) 1313 topic anchor file just-started exists full-link)
1314 1314
1315 (if (string-match "\.html" link) 1315 (if (string-match "\\.html" link)
1316 (setq topic (substring link 0 (match-beginning 0)) 1316 (setq topic (substring link 0 (match-beginning 0))
1317 anchor (substring link (match-end 0))) 1317 anchor (substring link (match-end 0)))
1318 (error "Malformed help link")) 1318 (error "Malformed help link"))
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 4f46cbe6357..9736f0f207c 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1502,7 +1502,7 @@ Insertion takes place at point."
1502 (if (zerop (+ (length targets) (length macros))) 1502 (if (zerop (+ (length targets) (length macros)))
1503 (progn 1503 (progn
1504 (beep) 1504 (beep)
1505 (message "No macros or targets to browse! Consider running 'makefile-pickup-everything\'")) 1505 (message "No macros or targets to browse! Consider running `makefile-pickup-everything'"))
1506 (let ((browser-buffer (get-buffer-create makefile-browser-buffer-name))) 1506 (let ((browser-buffer (get-buffer-create makefile-browser-buffer-name)))
1507 (pop-to-buffer browser-buffer) 1507 (pop-to-buffer browser-buffer)
1508 (makefile-browser-fill targets macros) 1508 (makefile-browser-fill targets macros)
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 5d59a56e858..026616e68f4 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -709,7 +709,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
709 (if prefix 709 (if prefix
710 (setq name 710 (setq name
711 (cond 711 (cond
712 ((string-match "^self\." name) 712 ((string-match "^self\\." name)
713 (concat (substring prefix 0 -1) (substring name 4))) 713 (concat (substring prefix 0 -1) (substring name 4)))
714 (t (concat prefix name))))) 714 (t (concat prefix name)))))
715 (push (cons name pos) index-alist) 715 (push (cons name pos) index-alist)
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index cbf65c0a803..3b77ac088e3 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -360,7 +360,7 @@ file. Since that is a plaintext file, this could be dangerous."
360 :sqli-comint-func sql-comint-db2 360 :sqli-comint-func sql-comint-db2
361 :prompt-regexp "^db2 => " 361 :prompt-regexp "^db2 => "
362 :prompt-length 7 362 :prompt-length 7
363 :prompt-cont-regexp "^db2 (cont\.) => " 363 :prompt-cont-regexp "^db2 (cont\\.) => "
364 :input-filter sql-escape-newlines-filter) 364 :input-filter sql-escape-newlines-filter)
365 365
366 (informix 366 (informix
@@ -491,7 +491,7 @@ file. Since that is a plaintext file, this could be dangerous."
491 :completion-object sql-sqlite-completion-object 491 :completion-object sql-sqlite-completion-object
492 :prompt-regexp "^sqlite> " 492 :prompt-regexp "^sqlite> "
493 :prompt-length 8 493 :prompt-length 8
494 :prompt-cont-regexp "^ \.\.\.> " 494 :prompt-cont-regexp "^ \\.\\.\\.> "
495 :terminator ";") 495 :terminator ";")
496 496
497 (sybase 497 (sybase
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 5fcdba6fb27..ac9bdd8b254 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -841,7 +841,7 @@ first difference.")
841 (verilog-xl-2 841 (verilog-xl-2
842 "([WE][0-9A-Z]+)[ \t]+\\([^ \t\n,]+\\)[, \t]+\\(line[ \t]+\\)?\\([0-9]+\\):.*$" 1 3) 842 "([WE][0-9A-Z]+)[ \t]+\\([^ \t\n,]+\\)[, \t]+\\(line[ \t]+\\)?\\([0-9]+\\):.*$" 1 3)
843 (verilog-IES 843 (verilog-IES
844 ".*\\*[WE],[0-9A-Z]+\\(\[[0-9A-Z_,]+\]\\)? (\\([^ \t,]+\\),\\([0-9]+\\)" 2 3) 844 ".*\\*[WE],[0-9A-Z]+\\(\\[[0-9A-Z_,]+]\\)? (\\([^ \t,]+\\),\\([0-9]+\\)" 2 3)
845 (verilog-surefire-1 845 (verilog-surefire-1
846 "[^\n]*\\[\\([^:]+\\):\\([0-9]+\\)\\]" 1 2) 846 "[^\n]*\\[\\([^:]+\\):\\([0-9]+\\)\\]" 1 2)
847 (verilog-surefire-2 847 (verilog-surefire-2
@@ -885,8 +885,8 @@ See `compilation-error-regexp-alist-alist' for the formatting. For XEmacs.")
885 ("([WE][0-9A-Z]+)[ \t]+\\([^ \t\n,]+\\)[, \t]+\\(line[ \t]+\\)?\\([0-9]+\\):.*$" 1 bold t) 885 ("([WE][0-9A-Z]+)[ \t]+\\([^ \t\n,]+\\)[, \t]+\\(line[ \t]+\\)?\\([0-9]+\\):.*$" 1 bold t)
886 ("([WE][0-9A-Z]+)[ \t]+\\([^ \t\n,]+\\)[, \t]+\\(line[ \t]+\\)?\\([0-9]+\\):.*$" 3 bold t) 886 ("([WE][0-9A-Z]+)[ \t]+\\([^ \t\n,]+\\)[, \t]+\\(line[ \t]+\\)?\\([0-9]+\\):.*$" 3 bold t)
887 ;; verilog-IES (nc-verilog) 887 ;; verilog-IES (nc-verilog)
888 (".*\\*[WE],[0-9A-Z]+\\(\[[0-9A-Z_,]+\]\\)? (\\([^ \t,]+\\),\\([0-9]+\\)|" 2 bold t) 888 (".*\\*[WE],[0-9A-Z]+\\(\\[[0-9A-Z_,]+]\\)? (\\([^ \t,]+\\),\\([0-9]+\\)|" 2 bold t)
889 (".*\\*[WE],[0-9A-Z]+\\(\[[0-9A-Z_,]+\]\\)? (\\([^ \t,]+\\),\\([0-9]+\\)|" 3 bold t) 889 (".*\\*[WE],[0-9A-Z]+\\(\\[[0-9A-Z_,]+]\\)? (\\([^ \t,]+\\),\\([0-9]+\\)|" 3 bold t)
890 ;; verilog-surefire-1 890 ;; verilog-surefire-1
891 ("[^\n]*\\[\\([^:]+\\):\\([0-9]+\\)\\]" 1 bold t) 891 ("[^\n]*\\[\\([^:]+\\):\\([0-9]+\\)\\]" 1 bold t)
892 ("[^\n]*\\[\\([^:]+\\):\\([0-9]+\\)\\]" 2 bold t) 892 ("[^\n]*\\[\\([^:]+\\):\\([0-9]+\\)\\]" 2 bold t)
@@ -2303,7 +2303,7 @@ find the errors."
2303 ;; non blocking assignment operator 2303 ;; non blocking assignment operator
2304 "<=" 2304 "<="
2305 ;; comparison 2305 ;; comparison
2306 "==" "!=" "===" "!==" "<=" ">=" "==\?" "!=\?" "<->" 2306 "==" "!=" "===" "!==" "<=" ">=" "==\\?" "!=\\?" "<->"
2307 ;; event_trigger 2307 ;; event_trigger
2308 "->" "->>" 2308 "->" "->>"
2309 ;; property_expr 2309 ;; property_expr
@@ -9674,7 +9674,7 @@ If undefined, and WING-IT, return just SYMBOL without the tick, else nil."
9674 ;; something like a[b]. Sorry, it should be substituted into the parser 9674 ;; something like a[b]. Sorry, it should be substituted into the parser
9675 (setq symbol 9675 (setq symbol
9676 (verilog-string-replace-matches 9676 (verilog-string-replace-matches
9677 "\[[^0-9: \t]+\]" "" nil nil 9677 "\\[[^0-9: \t]+]" "" nil nil
9678 (or (verilog-symbol-detick symbol nil) 9678 (or (verilog-symbol-detick symbol nil)
9679 (if verilog-auto-sense-defines-constant 9679 (if verilog-auto-sense-defines-constant
9680 "0" 9680 "0"
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 19a7e970a60..6f486cf7582 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -268,7 +268,7 @@ Overrides local variable `indent-tabs-mode'."
268 ;; ** Error: adder.vhd(190): Unknown identifier: ctl_numb 268 ;; ** Error: adder.vhd(190): Unknown identifier: ctl_numb
269 ("ModelSim" "vcom" "-93 -work \\1" "make" "-f \\1" 269 ("ModelSim" "vcom" "-93 -work \\1" "make" "-f \\1"
270 nil "vlib \\1; vmap \\2 \\1" "./" "work/" "Makefile" "modelsim" 270 nil "vlib \\1; vmap \\2 \\1" "./" "work/" "Makefile" "modelsim"
271 ("^\\(ERROR\\|WARNING\\|\\*\\* Error\\|\\*\\* Warning\\)[^:]*:\\( *\[[0-9]+\]\\)? \\([^ \t\n]+\\)(\\([0-9]+\\)):" 3 4 nil) ("" 0) 271 ("^\\(ERROR\\|WARNING\\|\\*\\* Error\\|\\*\\* Warning\\)[^:]*:\\( *\\[[0-9]+]\\)? \\([^ \t\n]+\\)(\\([0-9]+\\)):" 3 4 nil) ("" 0)
272 ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat" 272 ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat"
273 "\\1/_primary.dat" "\\1/body.dat" downcase)) 273 "\\1/_primary.dat" "\\1/body.dat" downcase))
274 ;; ProVHDL, Synopsys LEDA: provhdl -w work -f test.vhd 274 ;; ProVHDL, Synopsys LEDA: provhdl -w work -f test.vhd
@@ -315,7 +315,7 @@ Overrides local variable `indent-tabs-mode'."
315 ;; ERROR[11]::File test.vhd Line 100: Use of undeclared identifier 315 ;; ERROR[11]::File test.vhd Line 100: Use of undeclared identifier
316 ("Speedwave" "analyze" "-libfile vsslib.ini -src" "make" "-f \\1" 316 ("Speedwave" "analyze" "-libfile vsslib.ini -src" "make" "-f \\1"
317 nil "mkdir \\1" "./" "work/" "Makefile" "speedwave" 317 nil "mkdir \\1" "./" "work/" "Makefile" "speedwave"
318 ("^ *ERROR\[[0-9]+\]::File \\([^ \t\n]+\\) Line \\([0-9]+\\):" 1 2 nil) ("" 0) 318 ("^ *ERROR\\[[0-9]+]::File \\([^ \t\n]+\\) Line \\([0-9]+\\):" 1 2 nil) ("" 0)
319 nil) 319 nil)
320 ;; Synopsys, VHDL Analyzer (sim): vhdlan -nc test.vhd 320 ;; Synopsys, VHDL Analyzer (sim): vhdlan -nc test.vhd
321 ;; **Error: vhdlan,703 test.vhd(22): OTHERS is not legal in this context. 321 ;; **Error: vhdlan,703 test.vhd(22): OTHERS is not legal in this context.
@@ -364,7 +364,7 @@ Overrides local variable `indent-tabs-mode'."
364 ;; ERROR:HDLParsers:164 - "test.vhd" Line 3. parse error 364 ;; ERROR:HDLParsers:164 - "test.vhd" Line 3. parse error
365 ("Xilinx XST" "xflow" "" "make" "-f \\1" 365 ("Xilinx XST" "xflow" "" "make" "-f \\1"
366 nil "mkdir \\1" "./" "work/" "Makefile" "xilinx" 366 nil "mkdir \\1" "./" "work/" "Makefile" "xilinx"
367 ("^ERROR:HDLParsers:[0-9]+ - \"\\([^ \t\n]+\\)\" Line \\([0-9]+\\)\." 1 2 nil) ("" 0) 367 ("^ERROR:HDLParsers:[0-9]+ - \"\\([^ \t\n]+\\)\" Line \\([0-9]+\\)\\." 1 2 nil) ("" 0)
368 nil) 368 nil)
369 ) 369 )
370 "List of available VHDL compilers and their properties. 370 "List of available VHDL compilers and their properties.
@@ -1678,8 +1678,8 @@ syntax (as regular expression) are highlighted in the corresponding color.
1678 1678
1679 Name : string of words and spaces 1679 Name : string of words and spaces
1680 Regexp : regular expression describing word syntax 1680 Regexp : regular expression describing word syntax
1681 (e.g. \"\\\\=\<\\\w+_c\\\\=\>\" matches word with suffix \"_c\") 1681 (e.g., `\\=\\<\\w+_c\\>' matches word with suffix `_c')
1682 expression must start with \"\\\\=\<\" and end with \"\\\\=\>\" 1682 expression must start with `\\=\\<' and end with `\\>'
1683 if only whole words should be matched (no substrings) 1683 if only whole words should be matched (no substrings)
1684 Color (light): foreground color for light background 1684 Color (light): foreground color for light background
1685 (matching color examples: Gold3, Grey50, LimeGreen, Tomato, 1685 (matching color examples: Gold3, Grey50, LimeGreen, Tomato,
@@ -1690,14 +1690,14 @@ syntax (as regular expression) are highlighted in the corresponding color.
1690 In comments : If non-nil, words are also highlighted inside comments 1690 In comments : If non-nil, words are also highlighted inside comments
1691 1691
1692Can be used for visual support of naming conventions, such as highlighting 1692Can be used for visual support of naming conventions, such as highlighting
1693different kinds of signals (e.g. \"Clk50\", \"Rst_n\") or objects (e.g. 1693different kinds of signals (e.g. `Clk50', `Rst_n') or objects (e.g.
1694\"Signal_s\", \"Variable_v\", \"Constant_c\") by distinguishing them using 1694`Signal_s', `Variable_v', `Constant_c') by distinguishing them using
1695common substrings or name suffices. 1695common substrings or name suffices.
1696For each entry, a new face is generated with the specified colors and name 1696For each entry, a new face is generated with the specified colors and name
1697\"vhdl-font-lock-\" + name + \"-face\". 1697`vhdl-font-lock-' + name + `-face'.
1698 1698
1699NOTE: Activate a changed regexp in a VHDL buffer by re-fontifying it (menu 1699NOTE: Activate a changed regexp in a VHDL buffer by re-fontifying it (menu
1700 entry \"Fontify Buffer\"). All other changes require restarting Emacs." 1700 entry `Fontify Buffer'). All other changes require restarting Emacs."
1701 :type '(repeat (list :tag "Face" :indent 2 1701 :type '(repeat (list :tag "Face" :indent 2
1702 (string :tag "Name ") 1702 (string :tag "Name ")
1703 (regexp :tag "Regexp " "\\w+_") 1703 (regexp :tag "Regexp " "\\w+_")