aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2013-05-14 20:52:07 -0400
committerStefan Monnier2013-05-14 20:52:07 -0400
commit5ac2eb344ff68720495d655bccd4c19ac92b04d9 (patch)
tree4e4030e53385f47ac8b324e95bd092d81c131282 /lisp
parent180ed218429ec9c0ce8e3ee186a47c9565459eff (diff)
downloademacs-5ac2eb344ff68720495d655bccd4c19ac92b04d9.tar.gz
emacs-5ac2eb344ff68720495d655bccd4c19ac92b04d9.zip
* lisp/progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
surrounding group. * src/regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart. Fixes: debbugs:14402
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/progmodes/f90.el12
2 files changed, 18 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b2c28d97a1..a93b2868933 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4 surrounding group (bug#14402).
5
12013-05-14 Juri Linkov <juri@jurta.org> 62013-05-14 Juri Linkov <juri@jurta.org>
2 7
3 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil. 8 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
@@ -10,8 +15,8 @@
10 15
112013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> 162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12 17
13 * progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove 18 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14 signals for which replies are never received. 19 Remove signals for which replies are never received.
15 20
162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> 212013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17 22
@@ -120,8 +125,8 @@
120 125
121 * progmodes/octave.el (octave-indent-comment): Improve. 126 * progmodes/octave.el (octave-indent-comment): Improve.
122 (octave-eldoc-message-style, octave-eldoc-cache): New variables. 127 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
123 (octave-eldoc-function-signatures, octave-eldoc-function): New 128 (octave-eldoc-function-signatures, octave-eldoc-function):
124 functions. 129 New functions.
125 (octave-mode, inferior-octave-mode): Add eldoc support. 130 (octave-mode, inferior-octave-mode): Add eldoc support.
126 131
1272013-05-11 Richard Stallman <rms@gnu.org> 1322013-05-11 Richard Stallman <rms@gnu.org>
@@ -166,8 +171,8 @@
166 171
1672013-05-10 Leo Liu <sdl.web@gmail.com> 1722013-05-10 Leo Liu <sdl.web@gmail.com>
168 173
169 * progmodes/octave.el (inferior-octave-completion-table): No 174 * progmodes/octave.el (inferior-octave-completion-table):
170 longer a function and all uses changed. Use cache to speed up 175 No longer a function and all uses changed. Use cache to speed up
171 completion due to bug#11906. 176 completion due to bug#11906.
172 (octave-beginning-of-defun): Re-write to be more general. 177 (octave-beginning-of-defun): Re-write to be more general.
173 178
@@ -357,7 +362,7 @@
357 * progmodes/octave.el (octave-syntax-propertize-function): Change 362 * progmodes/octave.el (octave-syntax-propertize-function): Change
358 \'s syntax to escape when inside double-quoted strings. (Bug#14332) 363 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
359 (octave-font-lock-keywords): Use octave-operator-regexp. 364 (octave-font-lock-keywords): Use octave-operator-regexp.
360 (octave-completion-at-point): Renamed from 365 (octave-completion-at-point): Rename from
361 octave-completion-at-point-function. 366 octave-completion-at-point-function.
362 (inferior-octave-directory-tracker): Robustify. 367 (inferior-octave-directory-tracker): Robustify.
363 (octave-text-functions): Remove and fix its uses. No such things 368 (octave-text-functions): Remove and fix its uses. No such things
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index a8f53d397d6..d7d0c109452 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -249,8 +249,8 @@
249 "Qualification of END statements according to the matching block start. 249 "Qualification of END statements according to the matching block start.
250For example, change the END that closes an IF block to END IF. 250For example, change the END that closes an IF block to END IF.
251If the block has a label, add it as well (unless `f90-smart-end-names' 251If the block has a label, add it as well (unless `f90-smart-end-names'
252says not to). Allowed values are 'blink, 'no-blink, and nil. If nil, 252says not to). Allowed values are `blink', `no-blink', and nil. If nil,
253nothing is done. The other two settings have the same effect, but 'blink 253nothing is done. The other two settings have the same effect, but `blink'
254additionally blinks the cursor to the start of the block." 254additionally blinks the cursor to the start of the block."
255 :type '(choice (const blink) (const no-blink) (const nil)) 255 :type '(choice (const blink) (const no-blink) (const nil))
256 :safe (lambda (value) (memq value '(blink no-blink nil))) 256 :safe (lambda (value) (memq value '(blink no-blink nil)))
@@ -842,14 +842,14 @@ Can be overridden by the value of `font-lock-maximum-decoration'.")
842 842
843;; Regexps for finding program structures. 843;; Regexps for finding program structures.
844(defconst f90-blocks-re 844(defconst f90-blocks-re
845 (concat "\\(block[ \t]*data\\|" 845 (concat "\\(\\(?:block[ \t]*data\\|"
846 (regexp-opt '("do" "if" "interface" "function" "module" "program" 846 (regexp-opt '("do" "if" "interface" "function" "module" "program"
847 "select" "subroutine" "type" "where" "forall" 847 "select" "subroutine" "type" "where" "forall"
848 ;; F2003. 848 ;; F2003.
849 "enum" "associate" 849 "enum" "associate"
850 ;; F2008. 850 ;; F2008.
851 "submodule" "block" "critical")) 851 "submodule" "block" "critical"))
852 "\\)\\_>") 852 "\\)\\_>\\)")
853 "Regexp potentially indicating a \"block\" of F90 code.") 853 "Regexp potentially indicating a \"block\" of F90 code.")
854 854
855(defconst f90-program-block-re 855(defconst f90-program-block-re
@@ -1138,8 +1138,8 @@ Variables controlling indentation style and extra features:
1138 Automatic insertion of \& at beginning of continuation lines (default t). 1138 Automatic insertion of \& at beginning of continuation lines (default t).
1139`f90-smart-end' 1139`f90-smart-end'
1140 From an END statement, check and fill the end using matching block start. 1140 From an END statement, check and fill the end using matching block start.
1141 Allowed values are 'blink, 'no-blink, and nil, which determine 1141 Allowed values are `blink', `no-blink', and nil, which determine
1142 whether to blink the matching beginning (default 'blink). 1142 whether to blink the matching beginning (default `blink').
1143`f90-auto-keyword-case' 1143`f90-auto-keyword-case'
1144 Automatic change of case of keywords (default nil). 1144 Automatic change of case of keywords (default nil).
1145 The possibilities are `downcase-word', `upcase-word', `capitalize-word'. 1145 The possibilities are `downcase-word', `upcase-word', `capitalize-word'.