1. 20 Feb, 1998 28 commits
  2. 18 Feb, 1998 3 commits
  3. 17 Feb, 1998 9 commits
    • Dave Love's avatar
      (sgml-mode-common): Downcase key for · aa7a8f0e
      Dave Love authored
      assoc so upper-case markup works.
      (sgml-attributes, sgml-tag-help): Likewise.
      aa7a8f0e
    • Richard M. Stallman's avatar
      (read_minibuf): Do use DEFALT in place of empty input · c923ccc9
      Richard M. Stallman authored
      when when expflag is nonzero.
      (Fread_no_blanks_input): Arg INIT renamed to INITIAL.
      c923ccc9
    • Richard M. Stallman's avatar
      (c-copy-tree): New function. · f014d22e
      Richard M. Stallman authored
      (c-initialize-builtin-style): Use c-copy-tree.
      f014d22e
    • Richard M. Stallman's avatar
      (c-enable-xemacs-performance-kludge-p): New variable. · 87f235fb
      Richard M. Stallman authored
      (c-default-style): Start doc string with *.
      
      (c-default-style): Renamed from c-site-default-style.
      87f235fb
    • Richard M. Stallman's avatar
      (c-make-styles-buffer-local): Take an optional argument which switches · 0bacd8d0
      Richard M. Stallman authored
      between make-variable-buffer-local and make-local-variable.  Generalize.
      
      (c-offsets-alist): Three new syntactic symbols: innamespace,
      namespace-open, namespace-close.  These support C++ namespace blocks.
      Also, new syntactic symbol cpp-macro-cont, by default bound to
      c-lineup-dont-change.  This symbol is assigned to subsequent lines of
      a multi-line C preprocess macro definition.
      
      (c-style-alist): "jdk" style for conformance with Sun's JDK style.
      
      (c-set-style-2, c-initialize-builtin-style): Don't special case
      "cc-mode", it's a derived style.  Fix setup of derived style
      "cc-mode".  Introduce the new default style "user" which contains all
      user customizations.
      0bacd8d0
    • Richard M. Stallman's avatar
      (c-mode, c++-mode, objc-mode, java-mode): Set · 77e31a8d
      Richard M. Stallman authored
      imenu-case-fold-search to nil.
      
      (java-mode): Set c-method-key to nil.  I don't think this is necessary
      for Java, and besides, the old value was inherited from Objective-C
      which was clearly not right.
      
      (c++-mode): Set c-extra-toplevel-key to c-C++-extra-toplevel-key.
      (c-initialize-on-load): New variable, *not* customized.
      77e31a8d
    • Richard M. Stallman's avatar
      Imenu support changed. · f1063b2f
      Richard M. Stallman authored
      f1063b2f
    • Richard M. Stallman's avatar
      (c-postprocess-file-styles): If a file style or file offsets are set, · bb7830ef
      Richard M. Stallman authored
      make the variables local to the buffer (via make-local-variable).
      
      (c-java-method-key): Variable deleted.
      
      (c-C-extra-toplevel-key)
      (c-C++-extra-toplevel-key, c-extra-toplevel-key): New variables
      which parameterize the search for additional top-level enclosing
      constructs.
      
      (c-mode-base-map): c-mark-function moved back to M-C-h.
      bb7830ef
    • Richard M. Stallman's avatar
      (c-forward-syntactic-ws, c-backward-syntactic-ws): · e1c458ae
      Richard M. Stallman authored
      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.
      e1c458ae