1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 15:10:50 -08:00
emacs/lisp/progmodes
Alan Mackenzie 8040d99b62 Amend a cache so that typing into C++ raw strings has no undue delay.
Also amend the code so that low-level searches to the end of literals are done
only when these positions get used.

* lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use the new
c-literal-start instead of c-literal-limit.
(c-state-semi-nonlit-pos-cache): Change the structure of this cache, such that
it stores details of the literal at a point, rather than merely points outside
of literals.
(c-state-semi-pp-to-literal, c-state-full-pp-to-literal)
(c-cache-to-parse-ps-state, c-parse-ps-state-to-cache, c-ps-state-cache-pos)
(c-parse-ps-state-below, c-literal-start): New functions.
(c-state-semi-safe-place): Removed.
(c-in-literal): Use c-state-semi-pp-to-literal, so as not to scan to its end.
(c-literal-limits, c-determine-limit-get-base): consequential amendments.
(c-find-decl-spots, c-before-change-check-<>-operators, c-raw-string-pos)
(c-guess-basic-syntax (CASE 2)): Avoid needless scans to end of literals.

* lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): Avoid needless scans
to end of literals.

* lisp/progmodes/cc-mode.el (c-fl-decl-start): Avoid needless scans to end of
literals.

* lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun)
(c-defun-name, c-declaration-limits): Avoid needless scans to end of literals.
2016-06-27 11:34:02 +00:00
..
ada-mode.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
ada-prj.el
ada-stmt.el
ada-xref.el Prefer grep -E/-F to egrep/fgrep 2016-05-07 18:40:55 -07:00
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
cc-awk.el
cc-bytecomp.el
cc-cmds.el Amend a cache so that typing into C++ raw strings has no undue delay. 2016-06-27 11:34:02 +00:00
cc-defs.el Merge from origin/emacs-25 2016-04-03 13:39:52 -07:00
cc-engine.el Amend a cache so that typing into C++ raw strings has no undue delay. 2016-06-27 11:34:02 +00:00
cc-fonts.el Amend a cache so that typing into C++ raw strings has no undue delay. 2016-06-27 11:34:02 +00:00
cc-guess.el
cc-langs.el Implement ' separators in C++ integer literals. 2016-06-24 13:26:34 +00:00
cc-menus.el
cc-mode.el Amend a cache so that typing into C++ raw strings has no undue delay. 2016-06-27 11:34:02 +00:00
cc-styles.el
cc-vars.el Leading "*" in the doc of defvars is long obsolete. 2016-06-10 00:23:33 -04:00
cfengine.el
cmacexp.el
compile.el Merge from origin/emacs-25 2016-05-01 18:09:29 -07:00
cperl-mode.el Remove obsolete leading * from defcustom, defface doc strings. 2016-06-09 20:13:12 -04:00
cpp.el
cwarn.el
dcl-mode.el
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el
ebrowse.el
elisp-mode.el Merge from origin/emacs-25 2016-05-31 08:07:41 -07:00
etags.el Use save-excursion in xref-location-marker more 2016-05-05 04:28:14 +03:00
executable.el
f90.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
flymake.el
fortran.el
gdb-mi.el Show returned value after gdb-mi "finish" command 2016-06-10 11:57:17 +03:00
glasses.el
grep.el Merge from origin/emacs-25 2016-04-24 12:48:34 -07:00
gud.el Remove support for IRIX 2016-03-07 08:26:36 -08:00
hideif.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
hideshow.el Add hideshow bindings analogous to outline mode 2016-02-24 15:13:41 +11:00
icon.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el
idlw-toolbar.el Avoid stray As next to IDLW icons 2016-03-24 16:53:24 -07:00
idlwave.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
inf-lisp.el
js.el Pacify 'make check-declare' 2016-05-26 13:39:41 -07:00
ld-script.el
m4-mode.el
make-mode.el Remove some face aliases obsoleted in 22.1 2016-06-23 17:13:11 -04:00
mantemp.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
meta-mode.el
mixal-mode.el
modula2.el
octave.el Remove compatibility with Emacs 24.3 in octave-mode 2016-06-25 09:49:16 +08:00
opascal.el
pascal.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
perl-mode.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
prog-mode.el Remove prog-indentation-context 2016-03-28 03:59:05 +03:00
project.el shell-quote-argument DIR when appropriate 2016-05-05 04:15:23 +03:00
prolog.el Use use-region-p in prolog.el 2016-06-25 09:49:16 +08:00
ps-mode.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
python.el Merge from origin/emacs-25 2016-06-19 00:47:00 +02:00
ruby-mode.el Also handle escaping when string begins with a quote 2016-06-27 07:31:52 +03:00
scheme.el scheme.el: Turn literal tabs into \t 2016-05-07 12:24:27 +02:00
sh-script.el Remove some more face aliases obsoleted in 22.1 2016-06-23 18:48:12 -04:00
simula.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
sql.el Allow _ characters in SQL prompts 2016-04-24 13:44:52 +02:00
subword.el
tcl.el
vera-mode.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
verilog-mode.el Sync with verilog-mode development tree. 2016-03-22 20:46:40 -04:00
vhdl-mode.el Fix doc string quoting 2016-06-06 09:30:22 -07:00
which-func.el
xref.el Say 'All results processed' at the end 2016-05-08 00:29:44 +03:00
xscheme.el