aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ada-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* Replace last-command-char with last-command-event.Glenn Morris2009-01-091-3/+3
|
* * progmodes/ada-mode.el (ada-mode): Simplify doc string.Juanma Barranquero2009-01-041-45/+4
| | | | | | (ada-get-indent-paramlist): Use ada-broken-indent instead of hard-coded 0. (ada-get-indent-loop): Fix list access bug.
* * progmodes/ada-mode.el (ada-get-indent-end, ada-goto-matching-start):Juanma Barranquero2008-10-121-6/+8
| | | | | | | Add support for extended return statement. * progmodes/ada-xref.el (ada-gnat-parse-gpr): Don't reverse src-dir and obj-dir; keep user order.
* Typo fixes for Ada mode.Juanma Barranquero2008-07-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | * progmodes/ada-mode.el (ada-batch-reformat): Doc fix. (ada-create-case-exception): Fix typo in docstring. (ada-no-auto-case): Return nil, not the docstring. (ada-indent-current): Reflow docstring. * progmodes/ada-prj.el (ada-prj-edit, ada-prj-initialize-values) (ada-prj-save-specific-option, ada-prj-field): Fix typos in docstrings. (ada-prj-load-from-file): Reflow docstring. (ada-prj-display-page): Fix typo in widget. * progmodes/ada-stmt.el (ada-case, ada-package-body, ada-private): Fix typos in docstrings. * progmodes/ada-xref.el (ada-find-executable, ada-gnat-parse-gpr) (ada-compile-current, ada-check-current, ada-run-application) (ada-get-ali-file-name): Fix typos in docstrings. (ada-xref-confirm-compile, ada-find-references) (ada-find-local-references, ada-find-any-references): Doc fixes. (ada-get-all-references): Fix typo in error message. (ada-xref-current-project): Use `let', not `let*'. (ada-do-file-completion, ada-xref-change-buffer): Reflow docstring.
* Fix bug #272, and update Ada mode to version 4.0.Juanma Barranquero2008-07-281-88/+88
|
* * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.Stefan Monnier2008-05-231-9/+19
| | | | | | | | | * textmodes/reftex.el (reftex-extra-bindings-map): New var. (reftex-extra-bindings): Use it. * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings away from the user-reserved keys. * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix): New vars. (ada-create-keymap): Use them.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Merge from emacs--rel--22Miles Bader2008-02-241-6/+3
|\ | | | | | | Revision: [email protected]/emacs--devo--0--patch-1074
| * (ada-font-lock-syntactic-keywords):Stefan Monnier2008-02-171-6/+3
| | | | | | | | Recognize ''' just like any other char-constant.
* | Merge from emacs--rel--22Miles Bader2008-01-221-2/+2
|\| | | | | | | Revision: [email protected]/emacs--devo--0--patch-1006
| * Fix typos in comments.Juanma Barranquero2008-01-161-2/+2
| |
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (ada-set-syntax-table-properties): BindMartin Rudalics2008-01-101-1/+2
| | | | | | | | buffer-file-name and buffer-file-truename.
* | * progmodes/ada-xref.el (ada-prj-find-prj-file):Stefan Monnier2008-01-041-4/+3
| | | | | | | | | | | | * progmodes/ada-mode.el (comment-region): * calendar/todo-mode.el (todo-insert-item): * bookmark.el (bookmark-buffer-name): Test major-mode rather than mode-name.
* | (ada-region-selected): Use `use-region-p'.Richard M. Stallman2007-12-251-6/+4
| |
* | (ada-save-exceptions-to-file): Use `mapc' rather than `mapcar'.Juanma Barranquero2007-09-261-8/+8
|/
* (ada-create-keymap): Paren typo.Stefan Monnier2007-08-211-1/+1
|
* Fix up comment style in header.Stefan Monnier2007-08-211-127/+107
| | | | | | | | (ada-check-emacs-version): Remove. (ada-mode): Set parse-sexp-* even if they don't exist: can't hurt. (ada-region-selected): Use (featurep 'xemacs) rather than contortions to try and quieten the byte-compiler. (ada-create-keymap): Use [(..)] keys, which work on both (X)Emacs.
* (ada-create-syntax-table): MoveMartin Rudalics2007-08-181-53/+60
| | | | | | | | | | | | | | | | | set-syntax-table from here to ... (ada-mode): ... here. Do not change global value of comment-multi-line. Call new function ada-initialize-syntax-table-properties and add new function ada-handle-syntax-table-properties to font-lock-mode-hook. (ada-deactivate-properties, ada-initialize-properties): Replace by new functions ... (ada-handle-syntax-table-properties) (ada-initialize-syntax-table-properties) (ada-set-syntax-table-properties): ... to set up syntax-table properties uniformly, independently from whether font-lock-mode is enabled or not. Handle read-only buffers and do not change undo-list when setting syntax-table properties. (ada-after-change-function): Use ada-set-syntax-table-properties.
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (ada-which-compiler): Fix typo in docstring.Juanma Barranquero2006-11-261-31/+22
| | | | | | (ada-compile-goto-error): Adapt to new argument profile of compilation-goto-locus in Emacs 22. Don't check if the various compile functions are defined; we already do "(require 'compile)".
* (ada-make-body): Fix typo.Juanma Barranquero2006-11-191-1/+1
|
* (ada-mode-version): Bump version.Juanma Barranquero2006-11-141-7/+8
| | | | | | (ada-create-keymap): Add \C-c\C-m 'ada-set-main-compile-application. (ada-create-menu): Add ada-set-main-compile-application, ada-show-current-main, ada-show-current-project.
* (ada-83-string-keywords, ada-95-string-keywords, ada-2005-string-keywords):Juanma Barranquero2006-11-121-17/+18
| | | | Restore `eval-when-compile'. It wasn't that unneeded after all.
* Replace conditional (require 'ispell) with defvar.Juanma Barranquero2006-11-121-154/+224
| | | | | | | | | | | | | | | | | | | (ada-language-version): Rename ada05 -> ada2005. (ada-83-string-keywords, ada-95-string-keywords, ada-2005-string-keywords): Delete unneeded `eval-when-compile'. (ada-align-region-separate): Add `eval-when-compile'. (ada-name-regexp): Remove unneeded escapes in regexp character alternative. (ada-compile-goto-error-file-linenr-re): New constant. (ada-matching-start-re): Handle additional cases `declare', `procedure', `function'. (ada-compile-goto-error): Handle "... at line nn". (ada-mode): Clearer syntax, comments for ff-special-constructs. Delete support for old versions of `align'. (ada-search-prev-end-stmt): Handle additional keyword `private'. (ada-check-defun-name): Simplify handling of `declare'. (ada-goto-matching-start): Handle nested `begin ... end'. Handle `declare', `protected', `procedure', `function'. (ada-create-menu): Presence of arm95 is not conditional on using GNAT compiler.
* Delete `eval-and-compile' around `require'.Juanma Barranquero2006-11-111-74/+95
| | | | | | | | | | | | | | | | Delete commented out code for old Emacs versions. Autoloading of "ada-xref", "ada-prj" is useful even if compiler is not GNAT. (ada-mode-version): Bump version number. (ada-95-string-keywords, ada-2005-string-keywords, ada-2005-keywords, ada-name-regexp): New constant. (ada-language-version, ada-procedure-start-regexp, ada-mode, ada-font-lock-keywords): Add support for Ada 2005 keywords. (ada-package-start-regexp): Support private packages, include package name (for ada-set-point-accordingly). (ada-next-procedure, ada-previous-procedure, ada-which-function-are-we-in): Match changes to ada-procedure-start-regexp. (ada-make-body): Make non-interactive; not a user function. (ada-make-subprogram-body): Improve doc string.
* Change maintainer, apply whitespace-clean, checkdoc. Minor improvements to manyJuanma Barranquero2006-10-291-1421/+1421
| | | | | | doc strings. (ada-mode-version): New function. (ada-create-menu): Menu operations are available for all supported compilers.
* (ada-in-string-p): Doc fix.Juanma Barranquero2006-10-191-10/+10
|
* (ada-83-string-keywords, ada-last-which-function-line ada-no-auto-case,Juanma Barranquero2006-10-181-19/+19
| | | | | | | | ada-indent-region, ada-which-compiler, ada-align-modes, ada-adjust-case-buffer, ada-looking-at-semi-private, ada-get-body-name): Fix typos in docstrings. (ada-create-case-exception, ada-create-case-exception-substring): Fix typos in error messages. (ada-goto-matching-end, ada-narrow-to-defun): Doc fixes.
* (ada-mode): Rewrite ff-special-constructs init.Thien-Thi Nguyen2006-07-161-53/+29
|
* (ada-which-compiler, ada-mode-menu, ada-compile-mouse-goto-error,Juanma Barranquero2006-06-301-10/+10
| | | | ada-deactivate-properties, ada-no-auto-case): Fix typos in docstrings.
* Update copyright for 2006.Nick Roberts2006-02-101-1/+1
|
* Add :link (custom-group-link font-lock-faces) to defgroup.Juri Linkov2005-11-171-0/+1
|
* Message format fixes, commit no. 3Deepak Goel2005-09-181-13/+13
|
* (compile-auto-highlight, skeleton-further-elements): Add defvars.Juanma Barranquero2005-08-301-0/+3
|
* (ada-mode): Use `make-local-variable', not `make-variable-buffer-local'.Juanma Barranquero2005-08-021-1/+1
|
* Update copyright for release of 22.1 for progmodes directory.Nick Roberts2005-08-011-2/+2
|
* (ada-make-body): Use `insert-buffer-substring' and `goto-char', not ↵Juanma Barranquero2005-07-181-1/+2
| | | | `insert-buffer'.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (ada-format-paramlist)Juanma Barranquero2005-06-171-140/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ada-get-indent-case, ada-check-matching-start) (ada-check-defun-name, ada-goto-matching-decl-start) (ada-goto-matching-start, ada-goto-matching-end, ada-tab) (ada-untab, ada-move-to-start, ada-fill-comment-paragraph) (ada-make-subprogram-body): Follow error conventions. (ada-case-exception-file, ada-indent-comment-as-code) (ada-indent-handle-comment-special, ada-indent-renames) (ada-indent-return, ada-search-directories-internal) (ada-tab-policy, ada-case-exception-substring) (ada-other-file-alist, ada-matching-start-re) (ada-matching-decl-start-re, ada-contextual-menu-last-point) (ada-imenu-generic-expression, ada-compile-goto-error) (ada-in-comment-p, ada-in-string-p, ada-in-string-or-comment-p) (ada-popup-menu, ada-add-extensions, ada-mode) (ada-region-selected, ada-create-case-exception) (ada-create-case-exception-substring, ada-after-keyword-p) (ada-activate-keys-for-case, ada-adjust-case-region) (ada-adjust-case-buffer, ada-format-paramlist) (ada-scan-paramlist, ada-insert-paramlist) (ada-indent-newline-indent) (ada-indent-newline-indent-conditional) (ada-justified-indent-current, ada-goto-previous-word) (ada-indent-current, ada-get-indent-open-paren) (ada-get-indent-paramlist, ada-get-indent-end) (ada-get-indent-case, ada-get-indent-when, ada-get-indent-if) (ada-get-indent-block-start, ada-get-indent-subprog) (ada-get-indent-noindent, ada-get-indent-label) (ada-get-indent-loop, ada-get-indent-type, ada-goto-stmt-start) (ada-search-prev-end-stmt, ada-goto-next-non-ws) (ada-goto-stmt-end, ada-goto-next-word) (ada-check-matching-start, ada-check-defun-name) (ada-goto-matching-decl-start, ada-goto-matching-start) (ada-goto-matching-end, ada-search-ignore-string-comment) (ada-in-decl-p, ada-looking-at-semi-or) (ada-looking-at-semi-private, ada-in-paramlist-p) (ada-in-open-paren-p, ada-tab, ada-indent-current-function) (ada-untab-hard, ada-move-to-start, ada-move-to-end) (ada-next-procedure, ada-previous-procedure, ada-next-package) (ada-previous-package, ada-create-menu) (ada-fill-comment-paragraph-justify) (ada-fill-comment-paragraph-postfix, ada-fill-comment-paragraph) (ada-other-file-name, ada-last-which-function-line) (ada-last-which-function-subprog, ada-which-function) (ada-get-body-name, ada-outline-level, ada-narrow-to-defun) (ada-gen-treat-proc, ada-check-emacs-version) (ada-continuation-indent, ada-align-region-separate): Fix typos in docstrings. (ada-adjust-case, ada-adjust-case-interactive): Doc fixes.
* (ada-create-case-exception, ada-create-case-exception-substring,Juanma Barranquero2005-06-141-3/+3
| | | | ada-make-subprogram-body): Follow error conventions.
* * 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.
* (ada-adjust-case-skeleton): Moved from ada-stmt.el.Richard M. Stallman2005-05-101-0/+12
| | | | (ada-mode): Add ada-adjust-case-skeleton to skeleton-end-hook.
* (ada-mode): Use mode-require-final-newline.Richard M. Stallman2004-12-311-1/+1
|
* Use assoc-string, not assoc-ignore-case.Richard M. Stallman2004-05-221-8/+8
|
* (ada-create-menu): Remove redundant call.Stefan Monnier2004-04-141-2/+1
|
* Revision: [email protected]/emacs--cvs-trunk--0--patch-196Miles Bader2004-04-101-1/+0
| | | | | | | | | | | | | | | | | | | Remove RCS keywords 2004-04-10 Miles Bader <[email protected]> RCS keyword removal (only non-comment changes are enumerated here): * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed. (byte-compile-insert-header): Don't use `byte-compile-version'. * lisp/url/url-vars.el (url-version): Use the constant string "Emacs" instead of calculating something from the RCS `State' keyword [the latter is almost entirely useless anyway]. * lisp/forms.el (forms-version): Variable removed. (forms-mode): Don't use `forms-version'. * lisp/recentf.el (recentf-version): Variable removed. * lisp/progmodes/delphi.el (delphi-version): Variable removed. * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
* (ada-mode): Don't use advice. Instead, set which-func-functions.Richard M. Stallman2003-09-301-17/+3
|
* Add arch taglinesMiles Bader2003-09-011-1/+2
|