1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 05:52:32 -08:00
Commit graph

1820 commits

Author SHA1 Message Date
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
Stefan Monnier
a2c6faead5 (tcl-omit-ws-regexp): Correctly handle cases like `proc foo {a {b c} d} {'.
(tcl-mode): Make comment-start-skip more selective.
2003-02-11 21:04:50 +00:00
Juanma Barranquero
ab3256edb6 (ebnf2ps): Fix typo.
(ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
(ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char, ebnf-terminal-regexp)
(ebnf-case-fold-search, ebnf-iso-alternative-p, ebnf-iso-normalize-p)
(ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
"ebnf-syntatic".
(ebnf-optimize, ebnf-print-buffer, ebnf-print-region, ebnf-spool-buffer)
(ebnf-spool-region, ebnf-eps-buffer, ebnf-eps-region, ebnf-syntax-buffer)
(ebnf-syntax-region, ebnf-generate-region): Fix typo.
2003-02-10 09:59:35 +00:00
Juanma Barranquero
f504d5162f Fix typo in comment. 2003-02-10 09:56:14 +00:00
Juanma Barranquero
18ac078250 (ebnf-optimize, ebnf-optimize1): Fix typo. 2003-02-10 09:55:17 +00:00
Martin Stjernholm
ea7038228b (c-set-offset): Don't find a default syntactic element through
syntactic analysis if called outside a CC Mode buffer.
2003-02-10 00:51:25 +00:00
Martin Stjernholm
fd8771f59f (c-basic-common-init): Install `c-fill-paragraph' on
`fill-paragraph-function'.  Although it's not the normal way to call
it in a CC Mode buffer it makes a direct call to `fill-paragraph' work
better.
2003-02-09 01:46:04 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Andreas Schwab
769c4c6377 (asm-font-lock-keywords): Allow arbitrary
words separated by dots.  Match optional parenthesized word at
start of line.
2003-02-02 17:35:47 +00:00
Juanma Barranquero
4e7fbbc69b Version 2.2b 2003-01-31 20:43:22 +00:00
Juanma Barranquero
0c602a0f28 (cperl-beautify-level, cperl-beautify-regexp): Fix use of
`prefix-numeric-value'.
(cperl-calculate-indent): Fix typo.
2003-01-29 12:18:13 +00:00
Martin Stjernholm
e2c21e666f (c-require-final-newline): Made this variable an alist to specify a value
for each language.  The default value causes `require-final-newline' to be
set to t only in languages where the standard requires a final newline.
2003-01-28 00:41:35 +00:00
Juanma Barranquero
b2f6a2ab27 (ebrowse-draw-tree-fn): Fix typo. 2003-01-27 08:50:00 +00:00
Juanma Barranquero
82539cb7d2 (c-offsets-alist): Fix typo. 2003-01-27 08:48:02 +00:00
Juanma Barranquero
4793c36980 (c-make-styles-buffer-local): Fix typo. 2003-01-27 08:47:18 +00:00
Martin Stjernholm
980a8a00df (c-require-final-newline): Added a variable to make the initialization of
require-final-newline' more configurable.
2003-01-26 21:36:39 +00:00
Juanma Barranquero
1825567708 (asm-mode): Added syntax table entries for /* */ comments. 2003-01-23 09:12:03 +00:00