1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 20:50:53 -08:00
emacs/lisp/progmodes
Alan Mackenzie 757e66afdc CC Mode. Fix fontification bug with unterminated quotes on adjacent lines
In particular, with these unterminated quotes on each of two adjacent lines,
the following text was spuriously fontified with string face.

* lisp/progmodes/cc-defs.el
(c-search-backward-char-property-with-value-on-char): New macro.

* lisp/progmodes/cc-mode.el (c-clear-string-fences): Check whether there is an
unmatched quote at a lower buffer position which should match the current
quote, rather than wrongly assuming the latter is unmatched and marking it
with a punctuation syntax.
(c-font-lock-fontify-region): Ensure all pertinent parts of the buffer have
string fence properties applied before performing any syntactic operations on
it; in particular, this applies to a quote at an earlier buffer position which
"matches" one inside the region about to be fontified.
2019-11-30 21:26:00 +00:00
..
antlr-mode.el
asm-mode.el * lisp/progmodes/asm-mode.el (asm-mode-map): Obey electric-indent-mode 2019-11-26 09:05:36 -05:00
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el CC-Mode: Remove unneeded backslashes from doc strings and regular expressions 2019-10-12 09:30:23 +00:00
cc-awk.el * lisp/progmodes/cc-awk.el (c-awk-var-num-ket-re): Remove /x80-/xff from it. 2019-07-25 18:48:19 +00:00
cc-bytecomp.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
cc-cmds.el CC Mode. Allow fontification of "wrong" style comments with warning face. 2019-11-09 12:09:30 +00:00
cc-defs.el CC Mode. Fix fontification bug with unterminated quotes on adjacent lines 2019-11-30 21:26:00 +00:00
cc-engine.el CC Mode: Fix two bugs in the "state cache". 2019-11-14 19:51:01 +00:00
cc-fonts.el CC Mode. Allow fontification of "wrong" style comments with warning face. 2019-11-09 12:09:30 +00:00
cc-guess.el
cc-langs.el CC-Mode: Remove unneeded backslashes from doc strings and regular expressions 2019-10-12 09:30:23 +00:00
cc-menus.el
cc-mode.el CC Mode. Fix fontification bug with unterminated quotes on adjacent lines 2019-11-30 21:26:00 +00:00
cc-styles.el
cc-vars.el * lisp/progmodes/cc-vars.el (c-mark-wrong-style-of-comment): 2019-11-09 11:17:20 -08:00
cfengine.el
cmacexp.el
compile.el Compilation Mode: Fix arrow handling when compilation-context-lines is t 2019-11-17 14:59:42 +00:00
cperl-mode.el lisp/*.el: Fix typos and improve some docstrings 2019-10-20 12:12:27 +02:00
cpp.el
cwarn.el
dcl-mode.el lisp/*.el: Fix typos and other trivial doc fixes 2019-09-21 00:27:53 +02:00
ebnf-abn.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
ebnf-bnf.el
ebnf-dtd.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
ebnf-ebx.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el
ebrowse.el lisp/*.el, src/*.c: Doc fixes related to returning t vs non-nil 2019-10-17 02:45:06 +02:00
elisp-mode.el Avoid false indications from Flymake in .dir-locals.el files 2019-10-21 14:29:13 +03:00
etags.el ; Improve a doc string in etags.el 2019-10-12 21:55:59 +03:00
executable.el * lisp/emacs-lisp/bytecomp.el (byte-compile-dynamic): Mark obsolete 2019-06-21 10:30:50 -04:00
f90.el
flymake-cc.el Correct some custom type typos 2019-10-01 10:50:47 +02:00
flymake-proc.el lisp/*.el, src/*.c: Doc fixes related to returning t vs non-nil 2019-10-17 02:45:06 +02:00
flymake.el Allow flymake diagnostic types to have shorter names 2019-11-02 16:38:53 +00:00
fortran.el Suppress relint errors in fortran.el 2019-08-08 12:10:36 +02:00
gdb-mi.el Send -enable-frame-filters to gdb 2019-10-30 22:25:23 +01:00
glasses.el
grep.el ; * lisp/progmodes/grep.el (lgrep, rgrep, zrgrep): Fix doc wording. 2019-10-12 09:52:03 +03:00
gud.el lisp/*.el: Fix typos and improve some docstrings 2019-10-20 12:12:27 +02:00
hideif.el Make hide-ifdef-mode-prefix-key customisable 2019-08-21 13:49:57 -07:00
hideshow.el Remove obsolete doc references to XEmacs (Bug#37899) 2019-10-28 15:55:10 +01:00
icon.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
idlw-toolbar.el
idlwave.el lisp/*.el: Force non-nil result to t, to match docstring 2019-10-17 02:08:43 +02:00
inf-lisp.el lisp/*.el: Fix typos and improve some docstrings 2019-10-20 12:12:27 +02:00
js.el Add a full set of CC Mode language variables to js.el. 2019-11-06 19:35:43 +00:00
ld-script.el
m4-mode.el Fix "dnl" highlights in m4-mode 2019-10-30 13:16:44 +01:00
make-mode.el Fix usage of remove-text-properties 2019-08-01 17:04:53 +03:00
meta-mode.el Remove XEmacs compat code from meta-mode.el 2019-10-20 22:52:02 +02:00
mixal-mode.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
modula2.el Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo" 2019-06-26 10:24:59 -04:00
octave.el Merge from origin/emacs-26 2019-08-10 08:44:31 -07:00
opascal.el * lisp/progmodes/opascal.el: Tweak code to ease edebugging 2019-07-22 15:41:17 -04:00
pascal.el Remove XEmacs compat code from pascal.el 2019-06-20 12:51:38 +02:00
perl-mode.el * lisp/progmodes/perl-mode.el (perl-calculate-indent): Indent qw(...) 2019-11-15 13:19:37 -05:00
prog-mode.el Prefer display-line-numbers over linum in docs and one defcustom 2019-08-27 02:41:51 +02:00
project.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
prolog.el Remove XEmacs compat code from prolog.el 2019-10-09 03:11:15 +02:00
ps-mode.el lisp/*.el: Fix typos and other trivial doc fixes 2019-09-21 00:27:53 +02:00
python.el font-lock special attributes in python-mode 2019-11-22 14:34:59 +01:00
ruby-mode.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
scheme.el
sh-script.el Further tweaks to sh-script \ #foo font locking 2019-10-31 13:07:37 +01:00
simula.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
sql.el Fix some quoting glitches in doc strings 2019-11-08 17:11:01 -08:00
subword.el
tcl.el Remove XEmacs compat code from tcl.el 2019-10-17 13:13:05 +02:00
vera-mode.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
verilog-mode.el When verilog-auto-ignore-concat is true, also ignore parenthesized signals. 2019-11-21 14:38:09 -05:00
vhdl-mode.el Fix some quoting glitches in doc strings 2019-11-11 10:32:53 -08:00
which-func.el
xref.el In xref-location-marker, handle deleted file or outdated xref location nicely 2019-10-20 06:39:02 -07:00
xscheme.el