summaryrefslogtreecommitdiff
path: root/lisp/progmodes/antlr-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | * mouse.el (mouse-popup-menubar): Fix typo.Dan Nicolaescu2008-01-041-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Move one more form inside with-current-buffer. * progmodes/antlr-mode.el (provide): Move to the end of file. (require): Don't require font-lock and compile. (outline-level, imenu-use-markers, imenu-create-index-function): Move declarations to top level. (cond-emacs-xemacs-macfn): Declare for compiler. * vc-bzr.el (vc-bzr-root): * vc-arch.el (vc-arch-root): Only set a property if the file is managed by this backend. * vc-hg.el (vc-hg-state): Support the new status code for up-to-date.
* | * erc-stamp.el (erc-echo-timestamp):David Kastrup2007-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * erc-lang.el (language): * erc-backend.el (erc-server-connect): Fix buggy call to `message'. * gnus-sum.el (gnus-summary-simplify-subject-query): * ecomplete.el (ecomplete-display-matches): Fix buggy call to `message'. * textmodes/reftex.el (reftex-select-with-char): * textmodes/reftex-toc.el (reftex-toc-do-promote) (reftex-toc-visit-location, reftex-toc-find-section): * textmodes/reftex-index.el (reftex-index-show-entry): * textmodes/org.el (org-cycle-hide-archived-subtrees) (org-table-rotate-recalc-marks, org-mark-ring-push) (org-follow-info-link, org-mhe-get-message-folder-from-index) (org-auto-repeat-maybe, org-store-log-note, org-delete-property) (org-evaluate-time-range, org-edit-agenda-file-list): * textmodes/artist.el (artist-select-next-op-in-list) (artist-select-prev-op-in-list): * term/mac-win.el (mac-service-insert-text): * startup.el (fancy-about-screen): * progmodes/vhdl-mode.el (vhdl-decision-query): * progmodes/idlwave.el (idlwave-template) (idlwave-scroll-completions, idlwave-display-completion-list): * progmodes/ebrowse.el (ebrowse-show-progress): * progmodes/cperl-mode.el (cperl-find-pods-heres): * progmodes/antlr-mode.el (antlr-insert-option-do): * play/mpuz.el (mpuz-close-game): * net/rcirc.el (rcirc-next-active-buffer): * mail/reporter.el (reporter-update-status): * kmacro.el (kmacro-display): * international/ja-dic-cnv.el (skkdic-set-okuri-nasi): * emulation/viper-util.el (viper-save-setting): * emacs-lisp/lisp-mnt.el (lm-verify): * emacs-lisp/edebug.el (edebug-set-mode): * emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun): * calendar/calendar.el (calendar-print-day-of-year): * calc/calcalg3.el (calc-curve-fit): * calc/calcalg2.el (math-integral): * calc/calc.el (calc-read-key-sequence, calc-version): * calc/calc-mode.el (calc-set-simplify-mode): * calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to `message'.
* | (antlr-keyword, antlr-syntax)Glenn Morris2007-12-061-7/+14
| | | | | | | | | | | | (antlr-ruledef, antlr-tokendef, antlr-ruleref-face) (antlr-tokenref, antlr-literal): Inherit from standard font-lock faces in non-light-background case.
* | * emulation/edt-mapper.el (function-key-map):Dan Nicolaescu2007-10-211-4/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (edt-map-key): Make it a function instead of using fset. Inline edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs. (edt-gnu-map-key, edt-lucid-map-key): Remove. (edt-x-emacs-p): Remove. (edt-emacs-variant, edt-window-system, edt-xserver): Use featurep 'xemacs. * net/eudc.el: Use (featurep 'xemacs) instead of the string test. Replace eudc-xemacs-p with its definition. (eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p) (eudc-emacs-mule-p): Remove. (eudc-install-menu, eudc-mode): Replace eudc-emacs-p and eudc-xemacs-p with feature tests. * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap) (eudc-bob-url-keymap, eudc-bob-sound-keymap) (eudc-bob-generic-keymap, eudc-bob-popup-menu) (eudc-bob-toggle-inline-display): * net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace eudc-emacs-p and eudc-xemacs-p with feature tests. * net/eudcb-ph.el (eudc-ph-open-session): Replace eudc-xemacs-mule-p with its former definition. * progmodes/octave-mod.el (octave-xemacs-p): Remove. (octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs). * progmodes/vera-mode.el (vera-xemacs): Remove. (vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs). * progmodes/vhdl-mode.el (vhdl-xemacs): Remove. (vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init) (vhdl-speedbar-initialize, vhdl-ps-print-init) (vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages) (vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs with (featurep 'xemacs). * progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx) (save-buffer-state-x): * obsolete/fast-lock.el (fast-lock-verbose): * emulation/viper-init.el (viper-xemacs-p) (viper-cond-compile-for-xemacs-or-emacs): * emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): * ps-print.el (case-fold-search): * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): * calculator.el (calculator-help): Use featurep 'xemacs.
* Replace `iff' in doc-strings and comments.Glenn Morris2007-08-081-3/+3
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (antlr-indent-at-bol-alist): Fix typo in docstring.Juanma Barranquero2007-01-141-5/+5
|
* (antlr-default): Avoid nil spec in defface.Luc Teirlinck2006-04-211-1/+1
|
* Update copyright for 2006.Nick Roberts2006-02-101-1/+1
|
* * progmodes/compile.el (compilation-start): Add autoload cookie.Romain Francoise2005-08-271-2/+0
| | | | | | * progmodes/antlr-mode.el: Don't autoload `compilation-start'. * textmodes/sgml-mode.el: Likewise. * progmodes/python.el: Likewise.
* * progmodes/antlr-mode.el (antlr-default): Fix defface form.Romain Francoise2005-08-261-5/+6
| | | | | | | (antlr-font-lock-additional-keywords): Fix reference to `antlr-font-lock-literal-regexp' erroneously changed during the mass face rename. (antlr-run-tool): Use `compilation-start'.
* Update copyright for release of 22.1 for progmodes directory.Nick Roberts2005-08-011-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-409Miles Bader2005-06-141-39/+55
| | | | | | | | | | | | | | | | | | | | | | Remove "-face" suffix from antlr-mode faces 2005-06-14 Miles Bader <miles@gnu.org> * lisp/progmodes/antlr-mode.el (antlr-default, antlr-keyword, antlr-syntax) (antlr-ruledef, antlr-tokendef, antlr-ruleref, antlr-tokenref) (antlr-literal): Remove "-face" suffix and "font-lock-" from face names. (antlr-font-lock-default-face, antlr-font-lock-keyword-face) (antlr-font-lock-syntax-face, antlr-font-lock-ruledef-face) (antlr-font-lock-tokendef-face, antlr-font-lock-ruleref-face) (antlr-font-lock-tokenref-face, antlr-font-lock-literal-face): New backward-compatibility aliases for renamed faces. (antlr-default-face, antlr-keyword-face, antlr-syntax-face) (antlr-ruledef-face, antlr-tokendef-face, antlr-ruleref-face) (antlr-tokenref-face, antlr-literal-face): Variables renamed to remove "font-lock-". Use renamed antlr-mode faces. (antlr-font-lock-additional-keywords): Use renamed faces. Replace literal face-names with face variable references.
* * progmodes/ada-mode.el (ada-mode):Lute Kamstra2005-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/antlr-mode.el (antlr-mode): * progmodes/autoconf.el (autoconf-mode): * progmodes/dcl-mode.el (dcl-mode): * progmodes/delphi.el (delphi-mode): * progmodes/ebrowse.el (ebrowse-tree-mode) (ebrowse-electric-list-mode, ebrowse-member-mode) (ebrowse-electric-position-mode): * progmodes/f90.el (f90-mode): * progmodes/fortran.el (fortran-mode): * progmodes/icon.el (icon-mode): * progmodes/idlw-help.el (idlwave-help-mode): * progmodes/idlw-shell.el (idlwave-shell-mode): * progmodes/idlwave.el (idlwave-mode): * progmodes/inf-lisp.el (inferior-lisp-mode): * progmodes/m4-mode.el (m4-mode): * progmodes/meta-mode.el (metafont-mode, metapost-mode): * progmodes/modula2.el (modula-2-mode): * progmodes/octave-inf.el (inferior-octave-mode): * progmodes/octave-mod.el (octave-mode): * progmodes/pascal.el (pascal-mode): * progmodes/sh-script.el (sh-mode): * progmodes/sql.el (sql-mode, sql-interactive-mode): * progmodes/vhdl-mode.el (vhdl-mode): * progmodes/xscheme.el (scheme-interaction-mode): Use run-mode-hooks.
* Specify missing group (and type, if simple) in defcustom.Juanma Barranquero2005-05-191-0/+1
|
* (antlr-mode): Use mode-require-final-newline.Richard M. Stallman2004-12-311-52/+2
| | | | | Delete old-Emacs compatibility code. (antlr-c-common-init): Function deleted.
* (save-buffer-state-x): Use with-no-warnings.Richard M. Stallman2003-12-291-1/+1
|
* Make major mode work with cc-mode-5.30+.Richard M. Stallman2003-10-201-66/+93
| | | | | | | | | | | | | | | | | (antlr-c-init-language-vars): New function. (antlr-mode): Use it with cc-mode before v5.29. (antlr-c-common-init): Don't set some local vars here. (antlr-mode): Set them here. (antlr-c-forward-sws): New function alias. (antlr-mode): Redefine with cc-mode before v5.30. (antlr-skip-sexps): Use it. (antlr-skip-exception-part): Ditto. (antlr-skip-file-prelude): Ditto. (antlr-outside-rule-p): Ditto. (antlr-end-of-body): Ditto. (antlr-option-kind): Ditto. (antlr-insert-option-area): Ditto. (antlr-file-dependencies): Ditto.
* Add arch taglinesMiles Bader2003-09-011-0/+2
|
* Trailing whitepace deleted.Juanma Barranquero2003-02-041-4/+4
|
* Version 2.2bJuanma Barranquero2003-01-311-320/+470
|
* (antlr): New URL.Pavel Janík2002-12-111-3/+3
|
* Comment change.Richard M. Stallman2001-12-311-1/+1
|
* (various face definitions): Use :weight, not :bold.Richard M. Stallman2001-12-311-5/+5
|
* More sophisticated indentation of cpp directive.Richard M. Stallman2001-12-211-221/+1199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (antlr-indent-at-bol-alist): New user option. (antlr-indent-line): Use it. (antlr-indent-style): New user option. (antlr-mode): Use it. (antlr-indent-item-regexp): Customize. Syntax highlighting changes. (antlr-font-lock-literal-regexp): New user option. (antlr-font-lock-syntax-face): New face used for :, |, .... (antlr-font-lock-default-face): New face. (antlr-font-lock-additional-keywords): Use them. New command to insert options -- variables. (antlr-mode-map): New binding [C-c C-o]. (antlr-mode-menu): New submenus. (antlr-options-use-submenus): New user option. (antlr-tool-version): New user option. (antlr-options-auto-colon): New user option. (antlr-options-style): New user option. (antlr-options-push-mark): New user option. (antlr-options-assign-string): New user option. (antlr-options-headings): New variable. New command to insert options -- specific. (antlr-options-alists): New variable. (antlr-read-value): New function. (antlr-read-boolean): New function. (antlr-language-option-extra): New function. (antlr-language-limit-n-regexp): Change default to higher LIMIT. (antlr-c++-mode-extra): New function. (antlr-grammar-tokens): New function. (antlr-imenu-create-index-function): New optional argument. New command to insert options -- functions. (antlr-insert-option): New command. (antlr-insert-option-interactive): New function. (antlr-options-menu-filter): New function. (antlr-option-kind): New function. (antlr-scan-lists): New alias. (antlr-scan-lists-internal): New function. (antlr-skip-file-prelude): Hack for special SKIP-COMMENT. (antlr-option-level): New function. (antlr-syntactic-grammar-depth): New function. (antlr-option-location): New function. (antlr-insert-option-do): New function. (antlr-option-spec): New function. (antlr-version-string): New function. (antlr-insert-option-existing): New function. (antlr-insert-option-space): New function. (antlr-insert-option-area): New function. New electric keys ":;|&(){}", TAB works better with narrowing. Menu change. Miscellaneous. (antlr-mode-menu): Include "Indent Region" and "Customize Antlr". (antlr-mode-map): New bindings for characters in ":;|&(){}". (antlr-electric-character): New command. (antlr-class-header-regexp): New variable. (antlr-font-lock-additional-keywords): Use it. (antlr-imenu-create-index-function): Use it. (antlr-file-dependencies): Use it. (antlr-indent-line): Also works with restrictions. (antlr-indent-command): Interactive spec - changes the buffer. (antlr-language-for-option): Deletia. (antlr-language-option): New function, defined instead. (antlr-mode): Use it.
* (antlr-c-common-init): Undo last change.Stefan Monnier2001-12-031-1/+5
|
* (antlr-c-common-init): Don't inhibit adaptive-fill-mode any more.Stefan Monnier2001-12-021-5/+1
|
* Add Keywords header. From Pavel Janik.Eli Zaretskii2001-08-261-0/+1
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-3/+3
|
* (antlr-mode): Check that `c-Java-access-key' isGerd Moellmann2001-06-181-2/+2
| | | | bound. Suggested by David B. Malkovsky <David.Malkovsky@sas.com>.
* New commands to run ANTLR from within Emacs andGerd Moellmann2000-11-291-102/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* New commands: hide/unhide actions,Gerd Moellmann2000-05-291-13/+108
| | | | | | | | | | | | | | | | | | | | | upcase/downcase literals. (antlr-tiny-action-length): New user option. (antlr-hide-actions): New command. Suggested by Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>. (antlr-mode-map): New binding [C-c C-v]. (antlr-mode-menu): New entries. (antlr-downcase-literals): New command. (antlr-upcase-literals): Ditto. Minor changes: indendation, mode-name. (antlr-indent-line): Indent cpp directive at column 0. (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/". XEmacs bug workaround, XEmacs hint. (antlr-font-lock-additional-keywords): Workaround for intentional bug in XEmacs version of font-lock. (antlr-mode): Set symbol property `mode-name' to "Antlr". Could be used by a smarter version of `buffers-menu-grouping-function'.
* Version 1.2 is released.Gerd Moellmann1999-12-211-9/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (antlr): This package has a web page. Menu/keymap additions for commenting/uncommenting regions. Suggested by Dale Davis <Dale_Davis@securify.com>. (antlr-mode-map): New binding [C-c C-c]. (antlr-mode-menu): New entries. Respect Emacs conventions. ((require 'cl)): Only use during compilation. (antlr-language-for-option): New function to avoid using `find'. (antlr-mode): Use it. (antlr-with-syntax-table): Define new instead using XEmacs' one. (antlr-imenu-create-index-function): Change accordingly. (antlr-inside-rule-p): Ditto. (antlr-end-of-rule): Ditto. (antlr-end-of-body): Ditto. (antlr-beginning-of-rule): Ditto. (antlr-indent-line): Ditto. Really use `antlr-tab-offset-alist'. (antlr-set-tabs): Don't use hard-coded values. Minor navigation changes. Not perfect, but this won't be possible without a huge time penalty. (antlr-skip-exception-part): Be more specific. (antlr-skip-file-prelude): Don't skip action prelude of next rule. Renamed from `antlr-skip-grammar-header'. (antlr-next-rule): Change accordingly. (antlr-end-of-body): Ditto. Better error message. (antlr-beginning-of-body): Better error message. (antlr-imenu-create-index-function): Skip rule action prelude. Minor syntax highlighting changes. (antlr-font-lock-default-face): Deletia. (antlr-font-lock-tokendef-face): Changed color. (antlr-font-lock-tokenref-face): Changed color. (antlr-font-lock-literal-face): Changed color. (antlr-font-lock-additional-keywords): Minor changes.
* Major mode for ANTLR grammar files.Gerd Moellmann1999-11-221-0/+994