1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00
Commit graph

1836 commits

Author SHA1 Message Date
Richard M. Stallman
0a08535e77 (scheme-mode-syntax-table): Use prefix syntax for ', `, comma, @ and #. 2003-04-24 01:41:45 +00:00
Glenn Morris
be35ca9f5e (dabbrev-case-fold-search): Add defvar for compiler.
(fortran-abbrev-start): Make XEmacs compatible.
2003-04-20 13:03:04 +00:00
Glenn Morris
7aee804746 (f90-font-lock-keywords-2): Use override for
font-lock-variable-name-face in declarations (so that strings in
declarations are over-ridden).  Highlight continuation characters.
(f90-indent-new-line): Remove direct call to f90-indent-line-no,
f90-update-line, since f90-indent-line calls these.
(f90-abbrev-start): Fix XEmacs compatibility.
2003-04-20 13:01:32 +00:00
Glenn Morris
0db701f029 (f90-looking-at-do, f90-find-breakpoint): Fix previous change. 2003-04-16 13:50:40 +00:00
Glenn Morris
0a39a75cc4 Comment changes.
(fortran-column-ruler): Minor doc change.
2003-04-16 11:10:03 +00:00
Glenn Morris
748dd5a8af (f90-indent-to, f90-indent-line-no)
(f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
(f90-comment-region, f90-indent-line, f90-indent-region)
(f90-find-breakpoint, f90-block-match): Trivial simplifications.
(f90-looking-at-do, f90-looking-at-select-case)
(f90-looking-at-if-then, f90-looking-at-where-or-forall): Drop
XEmacs 19 support and simplify.
(f90-indent-new-line): No need for case-fold-search.  Simplify.
(f90-fill-region): Make marker nil when done.  Simplify.
2003-04-16 11:08:58 +00:00
Dave Love
c5c3d778cc Moved from lisp. 2003-04-16 09:52:55 +00:00
Glenn Morris
a7113309ba (fortran-tab-mode-minor-mode-string): Delete this variable,
introduced in previous change.
(fortran-tab-mode-string): Change default value.
(fortran-mode): Use mode-line-process (rather than
minor-mode-alist) to indicate tab format code.
(fortran-analyze-file-format): Return fortran-tab-mode-default if
no match.
2003-04-15 20:44:19 +00:00
Glenn Morris
5b04210ced Whitespace changes, some re-ordering of code, trivial commentary change.
(fortran, fortran-indent, fortran-comment)
(fortran-tab-mode-default, fortran-continuation-indent)
(fortran-comment-indent-style, fortran-blink-matching-if)
(fortran-continuation-string, fortran-electric-line-number)
(fortran-break-before-delimiters, fortran-mode-hook)
(fortran-end-prog-re, fortran-imenu-generic-expression): Minor doc changes.
(fortran-tab-mode-minor-mode-string): New variable.
(fortran-tab-mode-string): Now customization is meaningful.
(fortran-column-ruler-fixed, fortran-column-ruler-tab)
(fortran-analyze-depth): Use defcustom.
(fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
(fortran-break-line, fortran-prepare-abbrev-list-buffer)
(fortran-auto-fill): Add doc string.
(fortran-type-types): New constant (was local to let binding).
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
(fortran-font-lock-syntactic-keywords): Initialize in defvar.
(fortran-font-lock-keywords-3): Initialize in defvar.  Use 1+ now
depth of fortran-type-types has changed.  Remove extra and.
(fortran-mode-menu): Minor re-organization.  Use lookup-key.
(fortran-mode): Doc changes.  Some re-organization.  Use
fortran-tab-mode-minor-mode-string.
(fortran-comment-indent): Add doc string.  Move save-excursion. Use 1+.
(fortran-indent-comment, fortran-fill-statement): Change interactive spec.
Use unless.
(fortran-comment-region): Doc change.  Reverse logic of arg test.  Use zerop.
(fortran-abbrev-start, fortran-split-line)
(fortran-electric-line-number, fortran-indent-subprogram)
(fortran-strip-sequence-nos): Change interactive spec.
(fortran-remove-continuation): Add doc string.  Use when.
(fortran-numerical-continuation-char): Doc change.  Use 1+.
(fortran-previous-statement, fortran-next-statement)
(fortran-beginning-do, fortran-calculate-indent)
(fortran-end-do, fortran-end-if, fortran-beginning-if): Use zerop, 1+, 1-.
(fortran-blink-match, fortran-check-for-matching-do): Use when.
(fortran-indent-line): Change interactive spec.  Remove un-needed if.
Use when.
(fortran-indent-to-column): Doc change.  Use when, unless.
(fortran-find-comment-start-skip): No longer interactive.
(fortran-analyze-file-format): Minor doc change.  Remove un-needed setq.
(minor-mode-alist): Use add-to-list.
(fortran-fill-paragraph): Change interactive spec, doc string.
2003-04-15 19:22:31 +00:00
Glenn Morris
a729409a96 Whitespace changes, trivial commentary changes.
(f90, f90-indent, f90-program-indent, f90-continuation-indent)
(f90-indented-comment-re, f90-imenu-generic-expression)
(f90-mark-subprogram, f90-join-lines): Minor doc changes.
(f90-menu): Shift definition to initialization of f90-mode-map.
Add customization section.
(f90-mode): Minor doc change.  Do not call easy-menu-add.
Set `beginning-of-defun-function' and `end-of-defun-function' to
appropriate F90 functions.
(f90-indent-line, f90-indent-line, f90-indent-subprogram)
(f90-break-line, f90-do-auto-fill, f90-insert-end)
(f90-upcase-keywords, f90-capitalize-keywords)
(f90-downcase-keywords): Change interactive spec.
2003-04-15 19:18:23 +00:00
Glenn Morris
98110b1f02 (fortran-previous-statement): Check for fortran-continuation-string.
(fortran-calculate-indent): Do not add extra whitespace to strings
broken over lines.  Remove superfluous progn.
(fortran-fill): Handle long strings that must be broken over lines.
2003-04-13 13:11:24 +00:00
Glenn Morris
a259425b58 (f90-join-lines): Make it behave more like the standard function
`join-line' - join with previous line, unless an argument supplied.
Join comments correctly. No longer has a meaningful return
value, no longer fills (seems contradictory to join AND fill).
(f90-fill-region, f90-menu): Adapt for new f90-join-lines.
2003-04-12 20:43:58 +00:00
Glenn Morris
be550ccc61 (f90-abbrev-start): Only offer help if abbrev-mode is active. 2003-04-12 15:45:59 +00:00
Glenn Morris
1d97a48dc2 (fortran-abbrev-start): Only offer help if abbrev-mode is active. 2003-04-12 15:44:59 +00:00
Masatake YAMATO
36278af32a 2003-04-11 Masatake YAMATO <jet@gyve.org>
* progmodes/etags.el (select-tags-table-mode-map):
	Don't create new keymap. Instead copy from button-buffer-map.
	Bind push-button to `t' instead of binding
	select-tags-table-select directly

	* (tags-select-tags-table): New button.

 	* progmodes/etags.el (select-tags-table): Put
	a button for each selections.
2003-04-11 09:08:29 +00:00
Martin Stjernholm
1f645835e9 (c-symbol-key): Use POSIX char classes to match symbols in Emacs 21.
This makes CC Mode cope with the full range of identifier characters
in e.g. Java.
2003-04-07 22:45:18 +00:00
Masatake YAMATO
844062627c * progmodes/etags.el (tag-find-file-of-tag): Renamed from
find-file-of-tag to avoid name space pollution.
(tag-find-file-of-tag-noselect): Likewise.
(etags-list-tags, etags-tags-apropos): Use
tag-find-file-of-tag instead of find-file-of-tag.
2003-04-05 18:19:30 +00:00
Juanma Barranquero
79e01623a7 (find-file-of-tag-noselect, find-file-of-tag): New helper functions.
(snarf-tag-function): Doc string is changed.  Explained about new optional
argument, `use-explicit'.
(etags-snarf-tag): Added one optional argument `use-explicit'.
(file-of-tag-function): Doc string is changed.  Explained about new optional
argument, `relative'.
(file-of-tag): Doc string is changed.  Explained about new optional argument,
`relative'.  Pass `relative' to `file-of-tag-function'.
(etags-file-of-tag): Added new argument `relative`.
(list-tags): Set `buffer-read-only' to t after making the major mode
apropos-mode.
(etags-list-tags): Used `make-text-button' instead of `add-text-properties'.
Used `snarf-tag-function', `goto-tag-location-function' and `find-file-of-tag'
instead of `find-tag-other-window' (it's too simple).
(find-tag-in-order): Used `find-file-of-tag-noselect' instead of `find-file'.
(etags-tags-apropos): Used `find-file-of-tag-noselect' instead of `find-file'.
Do not use `etags-goto-tag-location` directly; use `goto-tag-location-function'
instead.  Print relative file paths instead of complete ones in *Tags List*
buffer, so lines in the buffer become shorter.
(etags-tags-apropos-additional): Use `make-text-button' instead of
`add-text-properties'.
2003-04-04 20:02:58 +00:00
Juanma Barranquero
89228b6326 Require button.el.
(etags-tags-apropos): Use make-text-button instead of add-text-properties.  Use
snarf-tag-function and etags-goto-tag-location instead of find-tag-other-window
(it's too simple).
2003-04-03 15:57:45 +00:00
Stefan Monnier
dfc42f38c1 (asm-calculate-indentation, asm-indent-line): New functions.
(asm-mode): Use them in indent-line-function.
Set tab-always-indent to nil to stay closer to previous tab behavior.
Set comment-add.  Remove space at end of comment-add.
(asm-newline): Obsolete.  Use newline-and-indent instead.
(asm-mode-map): Remove TAB binding.
(asm-code-level-empty-comment-pattern)
(asm-flush-left-empty-comment-pattern)
(asm-inline-empty-comment-pattern): Remove.
(asm-comment): Use newcomment functions instead.
(asm-colon): Don't tab if colon is not after a label.
(asm-line-matches, asm-pop-comment-level): Remove.
2003-04-02 16:48:11 +00:00
Stefan Monnier
c7d565f4dc (asm-mode-syntax-table): Setup entries that do not depend on asm-comment-char.
(asm-mode-map): Declare and init at the same time.
(asm-code-level-empty-comment-pattern)
(asm-flush-left-empty-comment-pattern)
(asm-inline-empty-comment-pattern): Use \s< so they do not depend
on asm-comment-char.  Turn them into constants.
(asm-mode): Simplify.
(asm-line-matches): Remove unused arg.
2003-04-01 23:09:13 +00:00
Juanma Barranquero
3d29fd3365 (asm-mode): Support skipping C lang style comments. 2003-03-31 20:16:01 +00:00
Martin Stjernholm
e33c01bb57 (c-parse-state): Added kludge to avoid an infinite loop when Emacs'
open-paren-in-column-zero rule kicks in and causes the sexp functions
to misbehave.
2003-03-23 01:58:30 +00:00
Kim F. Storm
d6156ce844 (cperl-electric-backspace): Add delete-selection property. 2003-03-22 00:40:00 +00:00
Juanma Barranquero
0b51ba8a5a (makefile-font-lock-syntactic-keywords): New variable.
(makefile-mode): Use it for value of font-lock-syntactic-keywords.
2003-03-19 22:25:11 +00:00
Thien-Thi Nguyen
c676c4e507 (scheme-mode-syntax-table): Construct
w/o using `with-syntax-table'.
2003-03-10 11:35:43 +00:00
Thien-Thi Nguyen
334f206c56 (dcl-font-lock-keywords, dcl-font-lock-defaults): New vars.
(dcl-mode): Make and init local var `font-lock-defaults'.
2003-03-06 23:14:23 +00:00
Juanma Barranquero
3dcb36b717 Version 3.32.12 released. Major revision. 2003-03-05 07:51:51 +00:00
Francesco Potortì
e3c46ed647 (vhdl-comment-uncomment-region): Remove two comment characters at start
of line instead of one.
2003-03-04 14:43:03 +00:00
Stefan Monnier
8fc98fc491 Move abbrev loading to after the fun it uses.
(simula-install-standard-abbrevs): Use dolist.
Use system-flag when calling define-abbrev.
2003-02-25 01:45:55 +00:00
Andreas Schwab
33f8eee3ed (makefile-font-lock-keywords): Protect
shell variable references by requireing that $ is not preceded by
another $.
2003-02-24 23:49:27 +00:00
Stefan Monnier
f739b53bda Merge changes from CPerl-5.0.
(toplevel): Require man.
(condition-case): Don't autoload tmm-prompt (it's in loaddefs.el).
(cperl-electric-backspace-untabify): New var.
(cperl-electric-backspace): Use it.
(cperl-vc-header-alist): Extract numeric version from the Id.
(cperl-build-manpage): New fun.
(cperl-menu): Use it.  Add toggle-autohelp.
(cperl-mode) <defun-prompt_regexp>: Understand prototypes.
(cperl-electric-brace): Use `cperl-after-block-p' for detection.
(cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
'(' after keyword would insert a doubled paren.
(cperl-calculate-indent): Update syntaxification before checks.
Fix wrong indent of blocks starting with POD.
(cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
of buffer.  This enables recognition of end of HERE-doc "as one types".
Require "\n" after trailing tag of HERE-doc.
\( made non-quoting outside of string/comment (gdj-contributed).
Likewise for \$.  Remove `here-doc-group' text property at start
(makes this property reliable).
Text property `first-format-line' ==> t.
Do not recognize $opt_s and $opt::s as s///.
(cperl-after-block-p): Optional arg pre-block to check for a pre-block
Recognize `continue' blocks too.
(cperl-after-expr-p): Update syntaxification before checks.  Work after
here-docs, formats, and PODs too (affects many electric constructs).
(cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
(cperl-perldoc): Use case-sensitive search.
2003-02-23 02:19:02 +00:00
Stefan Monnier
83261a2f13 Merge changes from CPerl-4.35.
(cperl-xemacs-p): Move.
(cperl-can-font-lock): New var to replace window-system.
(cperl-enable-font-lock): Use it.
(cperl-use-major-mode): New var.
(cperl-mode): Use it.
(cperl-calculate-indent): Remove code whose removal was missed
in some earlier merge.
(cperl-tags-hier-init): Use display-popup-menus-p.
2003-02-23 01:42:24 +00:00
Juanma Barranquero
a1dbcb79d9 (ebrowse-show-file-name-at-point): Remove useless check. 2003-02-20 17:07:32 +00:00
Juanma Barranquero
3a0ab10669 Revert last change. 2003-02-18 16:27:04 +00:00
Juanma Barranquero
6c019d3b03 (defcustom-c-stylevar): Fix character constant. 2003-02-18 15:48:21 +00:00
Juanma Barranquero
0fe6068fef (cperl-electric-keyword, cperl-electric-pod, cperl-do-auto-fill): Fix character
constants.
2003-02-18 12:49:26 +00:00
Dave Love
6f4070e03d (ebrowse-output): Don't use gensym. 2003-02-17 23:16:52 +00:00
Juanma Barranquero
2d0dc708e3 (idlwave-show-begin): Fix use of character constant. 2003-02-14 09:59:13 +00:00
Juanma Barranquero
07cb2aa33c (cperl-next-bad-style): Fix use of character constant. 2003-02-14 09:58:50 +00:00
Glenn Morris
0ab47edc28 (fortran-fill): Fill lines that do not have comments. 2003-02-12 21:52:37 +00:00
Juanma Barranquero
d58ef8a6f3 (makefile-font-lock-keywords): Simplify last change. 2003-02-12 15:49:41 +00:00
Stefan Monnier
2bcfe15e42 (fortran-mode): Set comment-use-syntax.
(fortran-fill-paragraph): Use fill-comment-paragraph.
2003-02-12 15:23:21 +00:00
Andreas Schwab
817949efd8 (sh-mode-map): Don't remap
beginning-of-defun to the non-existing command
sh-beginning-of-compound-command.
2003-02-12 10:21:06 +00:00
Juanma Barranquero
61bc75ab6c (makefile-font-lock-keywords): Fontify single character variable references, but
protect shell variables references.
(makefile-mode): Make `$' be punctuation in font-lock-defaults.
2003-02-11 23:47:11 +00:00
Stefan Monnier
32fda8c952 Docstring typo. 2003-02-11 21:40:32 +00:00
Stefan Monnier
ebc6b37c47 (find-tag-tag): Move (default foo) to before `:' in the prompt.
(find-tag): Make sure we move point in the proper window.
2003-02-11 21:40:17 +00:00
Stefan Monnier
a8c9594b98 (meta-fill-paragraph): Remove.
(meta-common-initialization): Don't set fill-paragraph-function
now that fill-paragraph takes care of comments.
2003-02-11 21:24:35 +00:00
Stefan Monnier
9fce950d28 (scheme-mode-syntax-table): Don't switch the current buffer's syntax-table. 2003-02-11 21:23:00 +00:00
Stefan Monnier
e284737dc5 (simula-font-lock-syntactic-keywords): New var.
(simula-font-lock-keywords-1): Simplify.
(simula-font-lock-keywords-2): Use regexp-opt.
(simula-emacs-features): Remove.
(simula-mode-syntax-table): Setup %...\n as comment style b.
(simula-mode-map): Remove compatibility cruft.
(simula-keep-region-active): Remove.
(simula-popup-menu): Simplify.
(simula-mode): Move abbrev-table setup to top-level.
(simula-match-string-or-comment): Remove.
2003-02-11 21:19:36 +00:00