summaryrefslogtreecommitdiff
path: root/lisp/progmodes
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Dan Nicolaescu1998-04-203-3/+6
|
* *** empty log message ***Dan Nicolaescu1998-04-181-1/+2
|
* *** empty log message ***Dan Nicolaescu1998-04-181-1/+2
|
* (scheme-imenu-generic-expression,Dave Love1998-04-171-6/+6
| | | | dsssl-imenu-generic-expression): Remove leading space in submenus.
* Move eval-when-compile off top level.Dave Love1998-04-151-87/+89
|
* Don't eval-*and*-compile font-lock stuff.Dave Love1998-04-141-1/+1
|
* (vhdl-loop, vhdl-while-loop): Add backslash.Karl Heuer1998-04-101-2/+2
|
* CustomizeStephen Eglen1998-04-093-33/+90
|
* *** empty log message ***Dan Nicolaescu1998-04-091-1/+1
|
* (fortran-fill-paragraph): This is the oneDave Love1998-04-081-3/+3
| | | | | which must return t, not: (fortran-fill-statement):
* Use regexp-opt and eval-and-compile toDave Love1998-04-071-334/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build font-lock patterns. (fortran-mode): Define indent-region-function, indent-line-function. (fortran-tab-mode-string): Make buffer-local. (fortran-comment-indent-style): Custom tweak. (fortran-comment-region, fortran-electric-line-number, fortran-analyze-depth, fortran-break-before-delimiters, fortran-mode): Doc fix. (fortran-startup-message, bug-fortran-mode): Variables deleted. (fortran-font-lock-keywords-1): Add "select", "case"; allow double-quoted strings. (fortran-mode-map): Add fill-paragraph menu item. Don't define \t. (fortran-mode): Make `fill-column' buffer-local; set `fill-paragraph-function', `indent-region-function', `indent-line-function'. (calculate-fortran-indent): Renamed to: (fortran-calculate-indent): (fortran-split-line): Simplify. (fortran-remove-continuation): New function. (fortran-join-line): Use it. (fortran-end-prog-re1, fortran-end-prog-re): New variables. (beginning-of-fortran-subprogram, end-of-fortran-subprogram): Use them. (fortran-blink-matching-if, fortran-blink-matching-do, fortran-indent-new-line): Bind case-fold-search. (fortran-end-do, fortran-beginning-do, fortran-end-if, fortran-beginning-if): Bind case-fold-search. Allow labelled blocks. Use fortran-end-prog-re. (fortran-if-start-re): New variable. (fortran-calculate-indent): Allow labelled blocks. Simplify the conds. Make select case indentation work. (fortran-is-in-string-p): Ignore Emacs 18 bug kluge. (fortran-fill): Allow double quotes in check for string. (fortran-fill-paragraph): New function. (fortran-fill-statement): New function.
* (compilation-error-regexp-alist):Richard M. Stallman1998-03-201-1/+1
| | | | Handle f90 in DEC AXP OSF/1 cc pattern.
* (simula-match-string-or-comment): store-match-data => set-match-data.Richard M. Stallman1998-03-141-1/+1
|
* (fortran-match-!-comment): store-match-data => set-match-data.Richard M. Stallman1998-03-141-1/+1
|
* (scheme-mode-variables): Set font-lock-defaults locally.Dave Love1998-03-101-16/+76
| | | | | | (scheme-font-lock-keywords-1, scheme-font-lock-keywords-2, scheme-font-lock-keywords): Moved here from font-lock.el. (dsssl-mode): Move font-lock-defaults setting and running hooks.
* (c-emacs-features): Var moved to cc-vars.el.Richard M. Stallman1998-03-081-46/+1
|
* (c-emacs-features): Var moved from cc-defs.el.Richard M. Stallman1998-03-081-1/+1
|
* Don't require cc-defs.Richard M. Stallman1998-03-081-1/+0
|
* (c-initialize-cc-mode): Moved require's to top level.Richard M. Stallman1998-03-081-26/+12
| | | | (c-initialize-on-load): Variable removed.
* (c-Java-javadoc-paragraph-start): New variable for use in c-fill-paragraph.Richard M. Stallman1998-03-081-1/+4
|
* (c-fill-paragraph): Bind fill-paragraph-function toRichard M. Stallman1998-03-081-20/+125
| | | | | | | | | | | | | | | | | | nil when calling fill-paragraph, to avoid bogus recursion which will signal an error. (c-fill-paragraph): Always keep point in the same relative position. Fill comment before point if there's nothing else on the same line. Fill block comments after code a little better. Try harder to find a good fill-prefix when point is on a block comment ender line. Use c-Java-javadoc-paragraph-start in block comments in Java mode. Leave block comment ender alone when c-hanging-comment-ender-p is nil and point is on that line. Detect paragraph-separate in multiparagraph comments. Fix for bug that may strip the `*' off `*/' if fill-prefix ends with `*' and c-hanging-comment-ender-p is t. Added filling of multiline string literals. Always return t to disable filling in any unhandled area, i.e. actual code where fill-paragraph only mess things up.
* (c-inside-bracelist-p): Fix for enum test.Richard M. Stallman1998-03-081-48/+108
| | | | | | | | | | | | | (c-collect-line-comments): Require same comment start column. (c-guess-basic-syntax): Fixes for nesting of and repeated defun-open's inside extern and namespace clauses. This is done by passing a relpos to `inextern-lang' and `innamespace'. Also, the relpos in `defun-open' is no longer always bol. It's always bol when on the top level, however. Changed cases: 5A.5, 5I, 14A. (c-forward-token-1, c-backward-token-1): New functions to move by tokens. c-guess-basic-syntax): Fixes for Java 1.1 array initialization brace lists.
* (c-enable-xemacs-performance-kludge-p): New variable.Richard M. Stallman1998-03-081-0/+45
|
* (select-tags-table-quit): Use quit-window.Richard M. Stallman1998-03-081-3/+1
|
* (makefile-browser-quit): Use quit-window.Richard M. Stallman1998-03-081-1/+1
|
* (fortran-column-ruler-fixed,Dave Love1998-03-061-5/+3
| | | | | | fortran-column-ruler-tab): Doc fix. (fortran-mode-map): Bind fortran-narrow-to-subprogram. (bug-fortran-mode): Variable deleted.
* (make-mode): Provide make-mode, not makefile.Karl Heuer1998-02-271-1/+1
|
* (compilation-error-regexp-alist): Allow initialDave Love1998-02-241-2/+4
| | | | program name in first pattern.
* Commented out line 471 (miniperl entry in interpreter-mode-alist)Stephen Eglen1998-02-221-99/+188
| | | | | Removed stray =06 entry on line 4445. Customized.
* Customized.Stephen Eglen1998-02-223-52/+120
|
* Changed font-lock-reference-face to font-lock-constant-face.Simon Marshall1998-02-2014-40/+40
|
* (c-copy-tree): New function.Richard M. Stallman1998-02-171-15/+11
| | | | (c-initialize-builtin-style): Use c-copy-tree.
* (c-enable-xemacs-performance-kludge-p): New variable.Richard M. Stallman1998-02-171-9/+24
| | | | | | (c-default-style): Start doc string with *. (c-default-style): Renamed from c-site-default-style.
* (c-make-styles-buffer-local): Take an optional argument which switchesRichard M. Stallman1998-02-171-31/+58
| | | | | | | | | | | | | | | | | 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.
* (c-mode, c++-mode, objc-mode, java-mode): SetRichard M. Stallman1998-02-171-18/+37
| | | | | | | | | | | 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.
* Imenu support changed.Richard M. Stallman1998-02-171-34/+58
|
* (c-postprocess-file-styles): If a file style or file offsets are set,Richard M. Stallman1998-02-171-15/+17
| | | | | | | | | | | | | 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.
* (c-forward-syntactic-ws, c-backward-syntactic-ws):Richard M. Stallman1998-02-171-79/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (c-point): In XEmacs, use scan-lists + buffer-syntactic-context-depth.Richard M. Stallman1998-02-171-9/+47
| | | | (c-emacs-features): Added autoload cookie.
* (c-beginning-of-statement)Richard M. Stallman1998-02-171-74/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (c-end-of-statement): Do not move by sentence in strings. (c-beginning-of-statement): Major rewrite. (c-beginning-of-defun, c-indent-defun): Use (c-point 'bod) instead of beginning-of-defun directly. (c-beginning-of-defun, c-end-of-defun): New commands. (c-beginning-of-statement): When moving forward by sentences, because we're either inside or at the start of a comment, be sure to limit movement to only within the extent of the comment. (c-electric-colon): Don't insert newlines before or after scope operators, regardless of the value of c-hanging-colons. (c-electric-brace): namespace-open and namespace-close braces can hang. (c-comment-line-break-function): When breaking a line-oriented comment, copy the comment leader from the previous line instead of hardcoding it to "// ". This ensures that whitespace between the slashes and the text is preserved. (c-electric-pound, c-electric-brace) (c-electric-slash, c-electric-star, c-electric-semi&comma) (c-electric-colon, c-electric-lt-gt, c-scope-operator) (c-electric-backspace, c-electric-delete) (c-indent-command, c-indent-exp, c-indent-defun) (c-backslash-region, c-fill-paragraph): Add "*" to interactive spec. (c-fill-paragraph): regexp-quote the fill-prefix when search forward for the end of line oriented comments. (c-backslash-region): Do not preserve the zmacs region (XEmacs).
* (c-lineup-close-paren)Richard M. Stallman1998-02-171-3/+94
| | | | | | | | | | | (c-indent-one-line-block): New indentation functions. (c-semi&comma-no-newlines-before-nonblanks) (c-semi&comma-no-newlines-for-oneline-inliners): New functions. (c-lineup-dont-change): New lineup function that leaves the current line's indentation unchanged. Used for the new cpp-macro-cont syntactic symbol.
* (sh-font-lock-keywords): Fontify sh-style function names in declarations.Richard M. Stallman1998-02-151-1/+6
|
* (scheme-imenu-generic-expression): Simplify regexps.Dave Love1998-02-121-15/+15
| | | | | | | (dsssl-imenu-generic-expression): Likewise (scheme-mode-variables): Set imenu-syntax-alist. (dsssl-mode): Remove `!' from font-lock-defaults. Set imenu-syntax-alist.
* (sh-set-shell): Use standard-syntax-table if none other is specified.Richard M. Stallman1998-02-111-1/+2
|
* (compilation-scroll-output): New variable.Dave Love1998-02-091-2/+21
| | | | (compile-internal): Use it. Set lazy-lock-defer-on-scrolling.
* (etags): Fix defgroup syntax. Why should itKenichi Handa1998-02-041-1/+1
| | | | be done again and again?
* (hs-special-modes-alist): Improved the regexp for java.Dan Nicolaescu1998-02-021-2/+2
|
* (hs-special-modes-alist): Improved the regexp for java.Richard M. Stallman1998-02-021-6/+3
|
* Various docstring and commentary fixes, includingDave Love1998-01-301-63/+128
| | | | | | | | | | | | | | | | | | | note of current maintainer. (fortran-mode): Use imenu-syntax-alist. (fortran-imenu-generic-expression): Use fortran-continuation-string, not always `+'. (fortran-font-lock-keywords-1): Include symbol syntax as well as word, following syntax table changes. (fortran-imenu-generic-expression): Likewise. (fortran-mode-map): Add a menu. (fortran-mode-version, fortran-startup-message): Delete misleading variables. (fortran-mode): Don't use them. (fortran-column-ruler-fixed, fortran-column-ruler-tab): Fix leading \ which made `0' into null. (fortran-join-lines): New function and key binding. (fortran-narrow-to-subprogram): New function and key binding. (fortran-mode-syntax-table): Make ?., ?_, ?$ symbol, not word.
* (find-tag-marker-ring-length): New variable.Richard M. Stallman1998-01-291-16/+79
| | | | | | | | | | | | | | | | | (find-tag-marker-ring): New variable. (tags-location-ring): New variable replacing tags-location-ring. (tags-location-stack): Deleted. (tags-table-format-hooks): Doc fix. (initialize-new-tags-table): Init find-tag-marker-ring, tags-location-ring. (tags-reset-tags-tables): Doc fix. Set tags-location-ring, find-tag-marker-ring. (find-tag-noselect): Doc fix. Use tags-location-ring, find-tag-marker-ring. (find-tag, find-tag-other-window, find-tag-other-frame, find-tag-regexp): Doc fix. (pop-tag-mark): New function. (esc-map): Bind pop-tag-mark.