Mercurial > emacs
annotate lisp/auto-show.el @ 30408:e3e2c9051c5f
Got rid of all byte-compiler warnings on Emacs.
Add to the menu when the file is loaded, not in ada-mode-hook.
Add -toolbar to the default ddd command Switches moved from
ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
ada-prj-default-comp-opt
(ada-add-ada-menu): Remove the map and name parameters Add the Ada
Reference Manual to the menu
(ada-check-current): rewritten as a call to ada-compile-current
(ada-compile): Removed.
(ada-compile-application, ada-compile-current, ada-check-current):
Set the compilation-search-path so that compile.el automatically
finds the sources in src_dir. Automatic scrollong of the
compilation buffer. C-uC-cC-c asks for confirmation before
compiling
(ada-compile-current): New parameter, prj-field
(ada-complete-identifier): Load the .ali file before doing
processing
(ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
conform to gnatmake's behavior.
(ada-find-file-in-dir): New function
(ada-find-references): Set the environment variables for gnatfind
(ada-find-src-file-in-dir): New function.
(ada-first-non-nil): Removed
(ada-gdb-application): Add support for jdb, the java debugger.
(ada-get-ada-file-name): Load the original-file first if not done
yet.
(ada-get-all-references): Handles the new ali syntax (parent types
are found between <>).
(ada-initialize-runtime-library): New function
(ada-mode-hook): Always load a project file when a file is opened,
so that the casing exceptions are correctly read.
(ada-operator-re): Add all missing operators ("abs", "rem", "**").
(ada-parse-prj-file): Use find-file-noselect instead of find-file
to open the project file, since the latter does not work with
speedbar Get default values before loading the prj file, or the
default executable file name is wrong. Use the absolute value of
src_dir to initialize ada-search-directories and
compilation-search-path,... Add the standard runtime library to
the search path for find-file.
(ada-prj-default-debugger): Was missing an opening '{'
(ada-prj-default-bind-opt, ada-prj-default-link-opt): New
variables.
(ada-prj-default-gnatmake-opt): New variable
(ada-prj-find-prj-file): Handles non-file buffers For non-Ada
buffers, the project file is the default one Save the windows
configuration before displaying the menu.
(ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
(ada-read-identifier): Fix xrefs on operators (for "mod", "and",
...) regexp-quote identifiers names to support operators +,
-,... in regexps.
(ada-remote): New function.
(ada-run-application): Erase the output buffer before starting the
run Support remote execution of the application. Use
call-process, or the arguments are incorrectly parsed
(ada-set-default-project-file): Reread the content of the active
project file, not the one from the current buffer When a project
file is set as the default project, all directories are
automatically associated with it.
(ada-set-environment): New function
(ada-treat-cmd-string): New special variable ${current}
(ada-treat-cmd-string): Revised. The substitution is now done for
any ${...} substring
(ada-xref-current): If no body was found, compiles the spec
instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
compiler to get rid of command line length limitations.
(ada-xref-get-project-field): New function
(ada-xref-project-files): New variable
(ada-xref-runtime-library-specs-path)
(ada-xref-runtime-library-ali-path): New variables
(ada-xref-set-default-prj-values): Default run command now does a
cd to the build directory. New field: main_unit Provide a default
file name even if the current buffer has no prj file.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 24 Jul 2000 11:13:11 +0000 |
parents | 24c42492035e |
children |
rev | line source |
---|---|
13337 | 1 ;;; auto-show.el --- perform automatic horizontal scrolling as point moves |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
2 ;;; This file is in the public domain. |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
3 |
24812 | 4 ;;; Keywords: scroll display convenience |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
5 ;;; Author: Pete Ware <ware@cis.ohio-state.edu> |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
6 ;;; Maintainer: FSF |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
7 |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
8 ;;; Commentary: |
10973 | 9 |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
10 ;; This file contains dummy variables and functions only because Emacs |
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
11 ;; does hscrolling automatically, now. |
10973 | 12 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
13 ;;; Code: |
10973 | 14 |
20451 | 15 (defgroup auto-show nil |
27828 | 16 "This customization group is kept for compatibility only. |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
17 Emacs now does hscrolling automatically. Please remove references |
27828 | 18 to auto-show from your init file and code." |
20451 | 19 :group 'editing) |
20 | |
24812 | 21 ;;;###autoload |
22 (defcustom auto-show-mode nil | |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
23 "Obsolete." |
24812 | 24 :version "20.4" |
20451 | 25 :type 'boolean |
26 :group 'auto-show) | |
10973 | 27 |
20451 | 28 (defcustom auto-show-shift-amount 8 |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
29 "*Obsolete." |
20451 | 30 :type 'integer |
31 :group 'auto-show) | |
10973 | 32 |
20451 | 33 (defcustom auto-show-show-left-margin-threshold 50 |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
34 "*Obsolete." |
20451 | 35 :type 'integer |
36 :group 'auto-show) | |
10973 | 37 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
38 ;;;###autoload |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
39 (defun auto-show-mode (arg) |
25569 | 40 "This command is obsolete." |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
41 (interactive "P")) |
10973 | 42 |
43 (defun auto-show-make-point-visible (&optional ignore-arg) | |
25569 | 44 "This command is obsolete." |
25565
222e261cc577
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
25180
diff
changeset
|
45 (interactive)) |
10973 | 46 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
47 (provide 'auto-show) |
10973 | 48 |
10974
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
49 ;; auto-show.el ends here |
4ef3ef45089f
Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents:
10973
diff
changeset
|
50 |