1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00
emacs/lisp/progmodes
Richard M. Stallman e1c458ae08 (c-forward-syntactic-ws, c-backward-syntactic-ws):
Don't narrow, just make a simple check against the given limit.

(c-collect-line-comments): New function.

(c-literal-limits): New function that finds the start and end pos
of a comment or string surrounding point.

(c-literal-limits-fast): A faster variant of `c-literal-limits'
for newer Emacsen where the state returned from
`parse-partial-sexp' contains the starting pos of the last literal.

(c-parse-state): Use (c-point 'bod) instead of
beginning-of-defun directly.

(c-guess-basic-syntax): Fixed a few byte compiler warnings.

(c-backward-to-start-of-do): Break infloop for
invalid code, e.g. when someone types while (TRUE) { at the top of
a buffer, we shouldn't hang when the { is typed!

(c-backward-to-start-of-if): Ensure never
move forward, not even if point < lim.

(c-search-uplist-for-classkey): When searching up for a class key,
instead of hardcoding the extended search for "extern", use the new
variable c-extra-toplevel-key, which is language dependent.  For C++,
this variable includes the keyword "namespace" which will match C++
namespace introducing blocks.

(c-guess-basic-syntax): Support for recognizing C++ namespace
blocks, by elaborating on the mechanism used to find external
language blocks.  Searches which hardcoded "extern" now use
c-extra-toplevel-key, a language dependent variable.  Case clauses
that were modified: CASE 5A.1, CASE 5A.4, CASE 5F, CASE 5I, CASE
14A.

CASE 3: we can now determine whether we're at the beginning of a
 	cpp macro definition, or inside the middle of one. Set syntax to
 	'cpp-macro in the former case, 'cpp-macro-cont in the latter.  In
 	both cases, the relpos is the beginning of the macro.

(c-forward-syntactic-ws): Added code that skips forward over
multi-line cpp macros.

(c-beginning-of-macro): Moved, and made into a defsubst.  This
function can now actually find the beginning of a multi-line C
preprocessor macro.

(c-backward-syntactic-ws): Use c-beginning-of-macro to skip backwards
over multi-line macro definitions.

(c-in-literal, c-fast-in-literal): Use c-beginning-of-macro to
find out whether we're in a multi-line macro definition.

(c-fast-in-literal): Function which should be faster than
c-in-literal.  In XEmacs, this uses buffer-syntactic-context.
1998-02-17 07:08:44 +00:00
..
ada-mode.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
asm-mode.el Customized. 1998-01-26 11:29:46 +00:00
awk-mode.el
c-mode.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
cc-align.el (c-lineup-close-paren) 1998-02-17 07:02:18 +00:00
cc-cmds.el (c-beginning-of-statement) 1998-02-17 07:04:48 +00:00
cc-compat.el
cc-defs.el (c-point): In XEmacs, use scan-lists + buffer-syntactic-context-depth. 1998-02-17 07:06:17 +00:00
cc-engine.el (c-forward-syntactic-ws, c-backward-syntactic-ws): 1998-02-17 07:08:44 +00:00
cc-langs.el
cc-menus.el (cc-imenu-objc-function): Use bufsubst-fun as a variable, not as a function. 1997-12-22 07:10:19 +00:00
cc-mode.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
cc-styles.el (c-initialize-builtin-style): 1997-10-23 07:50:28 +00:00
cc-vars.el (c-progress-interval): Document new semantics 1997-10-23 07:48:50 +00:00
cmacexp.el
compile.el (compilation-scroll-output): New variable. 1998-02-09 19:40:38 +00:00
cperl-mode.el Initial revision 1997-11-23 02:10:07 +00:00
cplus-md.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
cpp.el
dcl-mode.el Customized. 1998-01-26 11:29:46 +00:00
etags.el (etags): Fix defgroup syntax. Why should it 1998-02-04 11:24:28 +00:00
executable.el
f90.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
fortran.el Various docstring and commentary fixes, including 1998-01-30 17:49:37 +00:00
hideif.el Customized. 1998-01-26 11:29:46 +00:00
hideshow.el (hs-special-modes-alist): Improved the regexp for java. 1998-02-02 07:29:59 +00:00
icon.el
inf-lisp.el
m4-mode.el Update author email address. 1997-11-25 03:40:58 +00:00
make-mode.el
mantemp.el
meta-mode.el Customized. 1998-01-26 11:29:46 +00:00
modula2.el
octave-hlp.el
octave-inf.el Customized. 1998-01-26 11:29:46 +00:00
octave-mod.el Customized. 1998-01-26 11:29:46 +00:00
pascal.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
perl-mode.el Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
prolog.el (prolog-mode-variables): 1997-12-04 04:28:41 +00:00
scheme.el (scheme-imenu-generic-expression): Simplify regexps. 1998-02-12 18:20:21 +00:00
sh-script.el (sh-font-lock-keywords): Fontify sh-style function names in declarations. 1998-02-15 00:30:24 +00:00
simula.el
tcl.el
vhdl-mode.el Initial revision 1998-01-18 03:39:09 +00:00