Gerd Moellmann [Wed, 29 Nov 2000 16:55:47 +0000 (16:55 +0000)]
New commands to run ANTLR from within Emacs and
to create Makefile rules.
(antlr-tool-command): New user option.
(antlr-ask-about-save): New user option.
(antlr-makefile-specification): New user option.
(antlr-file-formats-alist): New variable.
(antlr-special-file-formats): New variable.
(antlr-unknown-file-formats): New user option.
(antlr-help-unknown-file-text): New variable.
(antlr-help-rules-intro): New variable.
(antlr-mode-map): Add [C-c C-r] for `antlr-run-tool'.
(antlr-mode-menu): Add entries.
(antlr-file-dependencies): New function.
(antlr-directory-dependencies): New function.
(antlr-superclasses-glibs): New function.
(antlr-run-tool): New command.
(antlr-makefile-insert-variable): New function.
(antlr-insert-makefile-rules): New function.
(antlr-show-makefile-rules): New command.
More Emacs/XEmacs stuff.
(antlr-no-action-keywords): New constant with value nil.
(antlr-font-lock-keywords-alist): Use it. Old value would break
syntax highlighting in Emacs-21.0.
(antlr-default-directory): Emacs/XEmacs dependend function.
(antlr-read-shell-command): Ditto.
(antlr-with-displaying-help-buffer): Ditto.
imenu, parsing and highlighting changes.
(antlr-imenu-create-index-function): Don't create extra submenus
for definitions in different grammar classes. It is not necessary
for the menu and would make command `imenu' awkward to use.
(antlr-skip-file-prelude): With ANTLR-2.7+, you can specify named
header actions and more than one.
(antlr-font-lock-tokendef-face): Changed color.
(antlr-font-lock-tokenref-face): Changed color.
(antlr-font-lock-additional-keywords): Also highlight lowercase.
(antlr-mode-syntax-table): New variable.
(antlr-mode): Populate and use it instead `java-mode-syntax-table'.
(antlr-with-syntax-table): Don't copy syntax table.
Minor changes: language setting.
(antlr-language-alist): The value for file option "language" can
be both an identifier and a string.
Reported by Rajesh Radhakrishnan <radhakrs@email.uc.edu>.
(antlr-language-limit-n-regexp): Change accordingly.
Minor changes: tabs, hiding.
(antlr-tab-offset-alist): Set `indent-tabs-mode' to nil instead t.
(antlr-action-visibility): Also allow value nil to also hide the
braces. Renamed from `antlr-tiny-action-length'.
Suggested by Jay@aol.com.
(antlr-hide-actions): Change accordingly. Hide line if completely
hidden action is on a line of its own.
Gerd Moellmann [Tue, 28 Nov 2000 16:43:45 +0000 (16:43 +0000)]
(dired-do-create-files): Construct default file
name for dired-mark-read-file-name so that when the user enters
just RET, the target file will end up in the target directory.
Gerd Moellmann [Tue, 28 Nov 2000 13:45:21 +0000 (13:45 +0000)]
(coordinates_in_window): If on a mode or header line,
but sufficiently close to its start, return ``on vertical
border''. This gives us a way to drag windows horizontally when
using toolkit scroll bars.
Gerd Moellmann [Tue, 28 Nov 2000 11:49:05 +0000 (11:49 +0000)]
(text_read_only): New function.
(verify_interval_modification): Use it instead of signaling
`text-read-only'. This makes it easier to catch this error
with a breakpoint.:
Gerd Moellmann [Mon, 27 Nov 2000 12:13:06 +0000 (12:13 +0000)]
(try_window_id): Avoid starting to display in the moddle
of a character, a TAB for instance. This is easier than to set
up the iterator exactly, and it's not a frequent case, so the
additional effort wouldn't really pay off.
Miles Bader [Mon, 27 Nov 2000 09:49:29 +0000 (09:49 +0000)]
(widget-field-buffer, widget-field-start)
(widget-field-end): Handle widget field `pseudo-overlays'.
(widget-field-value-delete): Delete WIDGET from `widget-field-new'
if it's there instead of in `widget-field-list'.