1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

1857 Commits

Author SHA1 Message Date
Stefan Monnier
6612afc0d2 (tcl-indent-exp): Remove dead code.
(tcl-tab-always-indent): Default to tab-always-indent.
2003-05-17 22:43:51 +00:00
Stefan Monnier
bbce4eb45b (perl-tab-always-indent): Default to tab-always-indent.
(perl-end-of-function): Remove unsed var `npos'.
2003-05-17 22:38:13 +00:00
Stefan Monnier
2d045c916b (cpp-make-overlay-hidden): Don't make intangible. 2003-05-13 21:43:08 +00:00
Stefan Monnier
812fade808 (compile-internal): Use with-current-buffer.
(compilation-set-window-height): Use save-selected-window.
2003-05-13 21:37:28 +00:00
Stefan Monnier
96a483d954 (ada-xref-update-project-menu): Use easymenu.
(ada-goto-declaration-other-frame): Remove unused arg other-frame.
(ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
and gud-gdb-massage-args.
2003-05-13 21:15:44 +00:00
Stefan Monnier
c3d50a3048 (c-lang-defvar-init-form-tail): This is actually not a constant. 2003-05-13 21:03:53 +00:00
Stefan Monnier
f4103aec45 (autoconf-current-defun-function): Copy the syntax table before modifying it. 2003-05-13 20:59:15 +00:00
Stefan Monnier
f7a2f2c654 (ada-in-comment-p, ada-in-string-p)
(ada-in-string-or-comment-p): Use line-beginning-position.
2003-05-13 20:48:15 +00:00
Juanma Barranquero
8df8710233 (c-lineup-argcont, c-lineup-gcc-asm-reg): Don't quote nil and t in docstrings. 2003-05-06 17:44:11 +00:00
Juanma Barranquero
15ca56993e (cperl-lineup): Don't quote nil and t in docstrings. 2003-05-06 17:43:22 +00:00
Juanma Barranquero
d7e170b3d2 (cpp-edit-list): Don't quote nil and t in docstrings. 2003-05-06 17:41:48 +00:00
Juanma Barranquero
33b522e057 (idlwave-complete-special): Don't quote nil and t in docstrings. 2003-05-06 17:40:52 +00:00
Juanma Barranquero
dccab430bb (tcl-explain-indentation): Don't quote nil and t in docstrings. 2003-05-06 17:39:21 +00:00
Juanma Barranquero
08815e25e5 (compile-internal): Don't quote nil and t in docstrings. 2003-05-06 17:35:37 +00:00
Juanma Barranquero
6f9a2614e7 (ada-xemacs): Variable removed, since it's better to use (featurep 'xemacs).
Removed warnings generated with Emacs 21.3.x (mostly by adding needed `require'
statements).
2003-05-04 19:55:38 +00:00
Juanma Barranquero
7abe197c30 (uniquify-buffer-name-style, uniquify-after-kill-buffer-p)
(uniquify-ask-about-buffer-names-p, uniquify-ignore-buffers-re)
(uniquify-min-dir-content, uniquify-separator, uniquify-trailing-separator-p):
Remove redundant group specification.
(uniquify-file-name-nondirectory): Delete.
(uniquify-rationalize-file-buffer-names): Simplify.
Use directory names as `filename' component of uniquify-item.
(uniquify-get-proposed-name): Adjust now that `filename' does not
include `base'.
2003-05-04 19:54:00 +00:00
Richard M. Stallman
c73fce9a2c (cperl-nonoverridable-face): Doc fix. 2003-05-03 13:53:41 +00:00
Juanma Barranquero
85a2313482 (ada-stmt-add-to-ada-menu): Moved to ada-mode.el.
(ada-template-map): Merged with the keymap handling in ada-mode.el.
2003-04-29 23:44:43 +00:00
Juanma Barranquero
ce20e709a2 (ada-prj-add-keymap): Moved to ada-mode.el directly. Add dependency on
ada-xref.el to avoid compilation warnings.
(ada-prj-get-prj-dir): Removed, no longer needed.
2003-04-29 23:43:00 +00:00
Juanma Barranquero
c94ca9e0b3 (ada-gnatls-args): New variable. Add support for specifying arguments to
gnatls.
(ada-initialize-runtime-library): Properly parse "." in the output of gnatls.
(ada-add-keymap): Removed, since this is now done in ada-mode.el itself.
(ada-add-ada-menu): Likewise.
(ada-set-default-project-file): New parameter KEEP-EXISTING.
(ada-prj-find-prj-file): New parameter FILE.
(ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
ADA_OBJECTS_PATH environment variables.  Minor reorganization of the code
(ada-get-all-references): Add support for GNAT 3.16 cross-references.
2003-04-29 23:40:08 +00:00
Juanma Barranquero
f7a8090935 (ada-search-directories): Take into account ADA_INCLUDE_PATH for better
compatibility with GNAT.
(ada-contextual-menu): Menu defined through `easy-menu-define' instead.  Various
adjustments to the indentation engine (handling of subtypes, begin blocks,
etc.).
(ada-create-menu): Major rewrite of the handling of menus to use
`easy-menu-define' for cleaner code and better compatibility with XEmacs.  All
menus that were previously in ada-xref.el and ada-prj.el are now defined in this
package, which makes it easier to edit menus.
(ada-narrow-to-defun): Add support for `narrow-to-region'.  No longer
explicitely load ada-xref.el and ada-prj.el.  Use autoload statements instead.
2003-04-29 23:35:40 +00:00
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