1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

15244 Commits

Author SHA1 Message Date
Gerd Moellmann
0c1a49d3cb (icon-indent-line)
(icon-is-continuation-line): Handle comments specially.
2000-08-18 06:29:14 +00:00
Gerd Moellmann
da7ddbedee (esc-map): Bind C-delete' and C-backspace' to
backward-kill-sexp, analogous to kill-sexp.
2000-08-18 06:28:47 +00:00
Gerd Moellmann
6ad96760ff (ispell-dictionary-alist-6): Add `portugues'. 2000-08-18 06:18:18 +00:00
Gerd Moellmann
fea6948a28 Set to standard author/maintainer/keyword fields.
Fine tuning to menu map appearance and operation, and added help.
Remove `start' and `end' error messages when compiling.
(ispell-choices-win-default-height): Fixed comment string.
(ispell-dictionary-alist-1): Fixed regexp in castellano and
castellano8 dictionaries.
(ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
(ispell-dictionary-alist-4): Fixed regexp in francais-tex
dictionary, added italiano dictionary.
(ispell-skip-region-alist): Removed regexp thrashing when `-' is a
word character
(ispell-tex-skip-alists): Added psfig support.
(ispell-skip-html): Renamed from ispell-skip-sgml.
(ispell-begin-skip-region-regexp, ispell-skip-region)
(ispell-minor-check): Improved html skipping support to skip across
code, and recognize `&' commands without propper `;' syntax;
(ispell-process-line): Fix alignment error when manually
correcting spelling.
(ispell): Fix comment string.
(ispell-add-per-file-word-list): Always put word list on new line.
2000-08-17 20:54:01 +00:00
Gerd Moellmann
a7b2852367 *** empty log message *** 2000-08-17 20:27:27 +00:00
Gerd Moellmann
10fa00732b (format-encode-run-method): Fix error message to say
`encode' instead of `decode'.  Use save-window-excursion around
shell-command-on-region as in format-decode-run-method because
shell-command-on-region can display a buffer with error output.
(format-decode): Don't record undo information for the decoding.
(format-annotate-function): Add parameter FORMAT-COUNT.  Make
that number part of the temporary buffer name so that more than
one decoding using a temporary buffer can happen safely.
2000-08-17 20:24:27 +00:00
Gerd Moellmann
1fb3862065 (enriched-annotation-regexp): Use `A-Z' instead
of `A-z' in the regexp.
2000-08-17 20:24:12 +00:00
Gerd Moellmann
72f7b3625f Fix typos in commentary. 2000-08-17 20:23:57 +00:00
Gerd Moellmann
3787e12e9d *** empty log message *** 2000-08-17 15:38:59 +00:00
Gerd Moellmann
aff3bff87b (command-line): Pop to *Messages* in case an error
is signaled while loading user-init-file.
2000-08-17 15:37:07 +00:00
Gerd Moellmann
f0753a5f45 (view-emacs-news): Rewritten for new naming scheme
for old NEWS files.
2000-08-17 15:36:54 +00:00
Andreas Schwab
d2473540a7 (insert-directory): Don't lose original file name,
undoing an undocumented change.
2000-08-17 12:08:26 +00:00
Gerd Moellmann
c0bbaf57af (sql-magic-go): Use comint-bol.
(sql-copy-column): Use comint-line-beginning-position.
(comint-line-beginning-position): Define a replacement for
comint-line-beginning-position if it is not fboundp.

(sql-mode-map): TAB is no longer defined in sql-mode-map;
it didn't have any effect anyway.

(sql-postgres): Jason Beegan's patch uses the parameters
--pset and pager=off instead of sending \\o|cat at the beginning
of the session.
2000-08-17 11:20:50 +00:00
Miles Bader
9d245da59e Add compatibility definition of comint-line-beginning-position. 2000-08-17 06:25:11 +00:00
Kenichi Handa
357438ebe0 (normal-top-level): Look in each dir in load-path for a leim-list.el
file too.  This assures of loading leim-list.el that is created at
Emacs installation time even if a user have his own leim-list.el.
2000-08-17 01:08:11 +00:00
Kenichi Handa
abfdbd2eb6 *** empty log message *** 2000-08-17 01:07:41 +00:00
Miles Bader
a0b8c9399c (hi-yellow, hi-pink, hi-green, hi-blue): Force the foreground color to
black if the default background is dark.
2000-08-17 00:51:39 +00:00
Dave Love
2b5198bb1a *** empty log message *** 2000-08-16 21:56:59 +00:00
Dave Love
a5b09d5a75 (bs-mode-font-lock-keywords): Avoid testing for XEmacs. 2000-08-16 21:42:10 +00:00
Dave Love
b705725947 (windmove) <defgroup>: Add :version. 2000-08-16 21:31:32 +00:00
Dave Love
f79538c951 Don't require browse-url. Require thingatpt.
(goto-address-fontify-p, goto-address-highlight-p)
(goto-address-url-face, goto-address-url-mouse-face)
(goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
(goto-address-url-regexp): Use thing-at-point-url-regexp.
(goto-address-fontify, goto-address-at-mouse): Simplify,
(goto-address-at-point): browse-url-url-at-point,
goto-address-find-address-at-point can return nil.
(goto-address-find-address-at-point): Return nil on failure.
2000-08-16 21:28:35 +00:00
Dave Love
165b3a9212 (align) <defgroup>: Add :version. 2000-08-16 21:26:01 +00:00
Dave Love
7def2f92b2 (calculator): Add :version.
(calculator): Use two lines for calculator window if `modeline'
face is boxed.
2000-08-16 21:24:00 +00:00
Stefan Monnier
c0df1972b2 Don't quote lambda. 2000-08-16 21:05:37 +00:00
Stefan Monnier
7382bcae29 *** empty log message *** 2000-08-16 21:03:36 +00:00
Stefan Monnier
7a3ec18a3c (Edit-options-{set,toggle,t,nil}): Don't quote lambda. 2000-08-16 20:54:44 +00:00
Stefan Monnier
057ab2946f (unload-feature): Typo. 2000-08-16 20:51:48 +00:00
Stefan Monnier
a313af117c (custom-make-dependencies): Quote open-paren in string. 2000-08-16 20:50:19 +00:00
Stefan Monnier
6a7ceddcab Add local-variable settings to the generated file. 2000-08-16 20:49:45 +00:00
Stefan Monnier
1e495fc764 (mh-make-local-vars):
Replace make-variable-buffer-local with make-local-variable.
2000-08-16 20:38:40 +00:00
Stefan Monnier
7e86942c8a (outline-minor-mode): Don't quote lambda. 2000-08-16 20:34:25 +00:00
Stefan Monnier
399ede1371 (bg-mouse-report): screen-height -> frame-height. 2000-08-16 20:29:14 +00:00
Stefan Monnier
44946a4c9e * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
(ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
Allow going past the last element.
* pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
(cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
(cvs-mouse-toggle-mark): Don't move point.
(cvs-revert-if-needed): Avoid re-eval of local variables and modes.
2000-08-16 20:27:39 +00:00
Stefan Monnier
ffb4b7a11d (grep): Provide a default set of files.
(next-error): Docstring fix.
(compilation-find-file): Avoid find-file (fails in a dedicated window).
2000-08-16 20:20:43 +00:00
Stefan Monnier
4d3a92281f Typo. 2000-08-16 20:17:39 +00:00
Stefan Monnier
cb5da1a31e (define-minor-mode): Use `symbol-value' to keep the byte-compiler quiet. 2000-08-16 20:16:33 +00:00
Stefan Monnier
027ac3f8db (diff-mode-map): Bind diff-apply-hunk.
(diff-find-source-location): New fun, extracted from diff-goto-source.
(diff-goto-source): Use it.
(diff-next-complex-hunk, diff-filter-lines): New function.
(diff-apply-hunk): New command.
2000-08-16 19:56:10 +00:00
Dave Love
4f00b8c106 *** empty log message *** 2000-08-16 19:53:17 +00:00
Stefan Monnier
394bd1cae1 (smerge-mode-menu): Doc fix. 2000-08-16 19:51:55 +00:00
Stefan Monnier
3bdb5fb8e0 (msb-mode): Define it in terms of define-minor-mode. 2000-08-16 19:40:41 +00:00
Dave Love
329d7667c8 (fortune) <defgroup>: Add :version.
(fortune-append): Fix error message.
(fortune-from-region): Doc fix.
2000-08-16 19:10:48 +00:00
Dave Love
e8951be0ff (pong): Doc fix. 2000-08-16 19:07:04 +00:00
Dave Love
0419a4af90 Add `extensions' to keywords, since it's internal. 2000-08-16 19:05:59 +00:00
Dave Love
9f56503b8e Fix commentary section. 2000-08-16 19:03:53 +00:00
Eli Zaretskii
69db7ee70f (desktop-save): Don't look at symbol-value of a
member of minor-mode-alist, unless it is boundp.
2000-08-16 18:19:47 +00:00
Sam Steingold
10e1dad961 * buff-menu.el (list-buffers-noselect): Use `dolist' instead of
`while'; use `with-current-buffer' instead of `save-excursion'.
Removed unnecessary kludges now that "*Buffer List*" is excluded.
2000-08-16 14:33:21 +00:00
Kenichi Handa
9d7bcb2ee8 *** empty log message *** 2000-08-16 11:17:37 +00:00
Kenichi Handa
07fd074eb8 (declare-ccl-program): Docstring modified.
(ccl-execute-with-args): Likewise.
2000-08-16 10:57:57 +00:00
Dave Love
c1e757e36b *** empty log message *** 2000-08-16 09:23:20 +00:00
Miles Bader
04231ab822 Add compatibility definition of comint-line-beginning-position. 2000-08-16 02:34:28 +00:00
Gerd Moellmann
dc28878c8b *** empty log message *** 2000-08-15 21:34:26 +00:00
Gerd Moellmann
601ed8a0b1 (list-buffers-noselect): Set `buffer' as well as
'buffer-menu' property.
(Buffer-menu-buffer): Use `buffer' property if `buffer-name'
fails.
(Buffer-menu-execute): When deleting, test `(and buf (buffer-name
buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
wasn't killed.
2000-08-15 21:28:08 +00:00
Gerd Moellmann
58ed0d3bb1 *** empty log message *** 2000-08-15 19:26:40 +00:00
Gerd Moellmann
7b9a51fd22 (list-buffers-noselect): Don't display the
*Buffer List* buffer.
2000-08-15 19:26:09 +00:00
Gerd Moellmann
32dc52f71a *** empty log message *** 2000-08-15 15:02:30 +00:00
Dave Love
a339f9097e Autoload widget-convert when compiling.
(mail-user-agent): Doc fix.
2000-08-15 14:29:03 +00:00
Dave Love
9a200f6832 (function-called-at-point, variable-at-point): Use
with-syntax-table.
(help-manyarg-func-alist): Add insert-and-inherit.
2000-08-15 14:25:50 +00:00
Dave Love
d18243f565 (thing-at-point-url-regexp): Prepend `\<'. 2000-08-15 14:22:21 +00:00
Dave Love
23652376ac (delsel-unload-hook): New function. 2000-08-15 14:20:14 +00:00
Dave Love
98d775e56e Doc fixes. Move provide to end.
(ff) <defgroup>: Add :link.
(ff-goto-click): Deleted.
(ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
Use mouse-set-point.
2000-08-15 14:18:18 +00:00
Gerd Moellmann
8e5b2bfe48 Require jit-lock to prevent a late message `Loading jit-lock' message. 2000-08-15 14:10:04 +00:00
Dave Love
c17c99adbd (glasses) <defgroup>: Add :version.
(glasses-custom-set): Use set-default, not set.
(minor-mode-alist): Propertize the lighter.
(glasses-mode): Provide optional arg.
2000-08-15 14:04:13 +00:00
Dave Love
5f84761220 *** empty log message *** 2000-08-15 13:55:45 +00:00
Dave Love
8251d10f50 Copyright up-date. 2000-08-15 13:45:51 +00:00
Dave Love
9a513aba1c (cwarn) <defgroup>: Add :version, :link.
(global-cwarn-mode): Don't make it a user option.  Unquote lambda.
(cwarn-font-lock-feature-keywords-alist): Don't make it a user
option.  Provide :type.
(cwarn-configuration): Provide :type.
(cwarn-mode): Doc fix.
2000-08-15 13:44:37 +00:00
Dave Love
918f4ac3cf (change-log-merge): Doc fix.
(change-log-redate): New command.
2000-08-15 13:26:16 +00:00
Gerd Moellmann
f68446efd3 *** empty log message *** 2000-08-15 13:22:09 +00:00
Gerd Moellmann
f367dfc1d6 Change authors' mail address. 2000-08-15 12:39:23 +00:00
Miles Bader
90ac90a248 *** empty log message *** 2000-08-15 12:16:01 +00:00
Miles Bader
fde143e86e (ispell-graphic-p): New constant.
(ispell-choices-win-default-height, ispell-help):
  Use `ispell-graphic-p' instead of `xemacsp'.
2000-08-15 12:06:42 +00:00
Dave Love
b0a0e26336 *** empty log message *** 2000-08-15 12:02:34 +00:00
Dave Love
a4a49c21ec (msb--few-menus, msb--very-many-menus): Use current Gnus
modes.
(msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
Fix previous change to mapcan.
(msb--init-file-alist, msb--add-separators)
(msb--make-keymap-menu): Simplify.
(msb--choose-file-menu): Use copy-sequence.
(msb-mode-map): Add title to keymap.
(msb-unload-hook): New function.
2000-08-15 11:19:13 +00:00
Dave Love
dc7904f533 Fix indentation.
(bs) <defgroup>: Add :links.
2000-08-15 11:18:38 +00:00
Dave Love
3abc9fa14b (browse-url-filename-alist): Add a clause for
Doze and Dog.
(browse-url): Use dolist, not mapcar.
(browse-url-at-point): Check for null url.
(browse-url-event-buffer, browse-url-event-point): Functions
deleted.
(browse-url-at-mouse, browse-url-netscape): Simplify.
2000-08-15 11:17:17 +00:00
Eli Zaretskii
70f1b78ece *** empty log message *** 2000-08-15 08:26:43 +00:00
Eli Zaretskii
e437b49194 (timeclock-file): Run .timelog through convert-standard-filename. 2000-08-15 08:25:50 +00:00
Sam Steingold
13f5a20e25 fixed sds e-mail 2000-08-14 21:45:06 +00:00
Gerd Moellmann
3215096cf6 *** empty log message *** 2000-08-14 21:33:50 +00:00
Gerd Moellmann
956777b3e6 *** empty log message *** 2000-08-14 19:47:29 +00:00
Gerd Moellmann
5780586ea0 (show-paren-priority): New user option.
(show-paren-function): Set overlay priorities to
show-paren-priority.
2000-08-14 19:46:18 +00:00
Miles Bader
0cde14243f *** empty log message *** 2000-08-14 13:18:04 +00:00
Miles Bader
1cc9bc49d8 (comint-bol): Use `forward-line 0' instead of calling beginning-of-line
with inhibit-field-text-motion bound.
2000-08-14 12:56:03 +00:00
Gerd Moellmann
90cbf47ef1 *** empty log message *** 2000-08-14 12:45:50 +00:00
Gerd Moellmann
6eb6c4c196 (xml-parse-tag, xml-parse-attlist): Do not downcase
identifiers, since XML is case sensitive
2000-08-14 12:43:55 +00:00
Gerd Moellmann
0c8f875908 (recent-dialog-mode-map): Bind down-mouse-1 to
`widget-button-click'. so that one can use left mouse button to
click on dialog buttons.
2000-08-14 12:43:13 +00:00
Eli Zaretskii
fab7aa637e Fix typo in comment. 2000-08-13 09:09:02 +00:00
Eli Zaretskii
51e066d294 Fix a typo in Eli Zaretskii's name. 2000-08-13 05:49:52 +00:00
Miles Bader
660394d1fb (comint-output-filter): Don't bother frobbing window-start, it doesn't
seem to be necessary.
2000-08-12 01:48:25 +00:00
Miles Bader
79e8dca7df (comint-send-string, comint-send-region): Make into real functions.
Snapshot the prompt before sending.
2000-08-11 19:17:18 +00:00
Sam Steingold
187bd11cd3 punctuation fixes in doc strings 2000-08-11 17:05:44 +00:00
Eli Zaretskii
218c2cc7ca (Info-find-emacs-command-nodes): Rewrite to use
technique similar to Info-index, instead of relying on specific
names of relevant Index nodes.
(Info-goto-emacs-command-node): Bind Info-history to nil when
going to the first node found by Info-find-emacs-command-nodes.
2000-08-11 13:10:55 +00:00
Eli Zaretskii
968280cc5f (menu-bar-help-menu): Add a :help string. 2000-08-11 07:49:47 +00:00
Miles Bader
867102f2b8 (comint-output-filter): Doc fixes & misc code cleanup. 2000-08-10 13:07:25 +00:00
Eli Zaretskii
af71853819 (Info-file-list-for-emacs): More elements for the
autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
and woman manuals.
2000-08-10 12:56:50 +00:00
Miles Bader
c51bacd6cd *** empty log message *** 2000-08-10 11:06:54 +00:00
Miles Bader
f09b5567e6 (gud-filter): Use `with-current-buffer' instead of save-excursion when
inserting the output, so that point gets updated correctly; the old
method relied on a rather dodgy side-effect of comint-output-filter to
avoid the effect of save-excursion.
2000-08-10 10:54:40 +00:00
Miles Bader
b59b731fa1 (comint-send-input): Make the newline boundary overlay rear-nonsticky.
Use `insert' instead of `insert-before-markers'.
(comint-output-filter): Use `insert' instead of `insert-before-markers'.
Extend comint-last-output-overlay when necessary since we can't rely on
insert-before-markers to do it.
2000-08-10 10:52:29 +00:00
Eli Zaretskii
98532b1215 (recover-file): Call insert-directory instead of
invoking `ls' directly.
2000-08-10 10:44:49 +00:00
Miles Bader
3db4b71989 (comint-highlight-prompt, comint-highlight-prompt-face)
(comint-last-prompt-overlay): New variables.
(comint-output-filter): Implement prompt highlighting.
(comint-snapshot-last-prompt): New function.
(comint-send-input): Snapshot the last prompt.
Use comint-highlight-input-face.
(comint-highlight-input-face): Renamed from `comint-highlight-face'.
Use defface instead of defcustom.
(send-invisible, comint-send-eof): Snapshot the last prompt.
(comint-delchar-or-maybe-eof): Use comint-send-eof.
(comint-mode): Make `comint-last-prompt-overlay' buffer-local.
2000-08-10 10:35:40 +00:00
Gerd Moellmann
bea56df720 *** empty log message *** 2000-08-10 09:21:43 +00:00
Stefan Monnier
5cda4b07fa (make-bool-vector): Remove.
(regexp-opt-group): Use a list of chars for `letters'.
(regexp-opt-charset): `chars' is now a list of chars.
Use a char-table rather than a vector so it works for multibyte chars.
2000-08-09 15:49:33 +00:00
Stefan Monnier
96190aa1cb (cvs-menu): Don't move point. Use popup-menu.
Set cvs-minor-current-files to the selected fileinfo.
(cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
(cvs-mode-insert): Manually macroexpand `ignore-errors'.
2000-08-09 15:28:06 +00:00
Eli Zaretskii
7d093d568b *** empty log message *** 2000-08-09 12:34:04 +00:00
Eli Zaretskii
17ab9c3980 (insert-directory): Don't call access-file on
directories on DOS and Windows.
2000-08-09 12:01:09 +00:00
Kenichi Handa
ab3b1799ad (ccl-embed-data): Make ccl-program-vector
longer if necessary.
(ccl-embed-code): Call ccl-embed-data to store CODE in
ccl-program-vector.
2000-08-09 09:02:46 +00:00
Kenichi Handa
b24c5811a6 *** empty log message *** 2000-08-09 08:59:00 +00:00
Miles Bader
0a6fd67e26 *** empty log message *** 2000-08-08 23:58:48 +00:00
Miles Bader
5ed65b55a5 (comint-output-filter): Properly handle the case where the text
surrounded by comint-last-output-overlay was deleted.
2000-08-08 22:55:38 +00:00
Gerd Moellmann
25ad137130 *** empty log message *** 2000-08-08 18:42:55 +00:00
Gerd Moellmann
9eebe3113a (mouse-sel-mode): Doc fix. 2000-08-08 18:32:38 +00:00
Gerd Moellmann
eca1e29e88 (indent-for-tab-command): Doc fix. 2000-08-08 18:32:20 +00:00
Gerd Moellmann
0720b68be2 (auto-mode-interpreter-regexp): New variable.
(set-auto-mode): Use it.
2000-08-08 18:32:10 +00:00
Gerd Moellmann
18aac618fa (compilation-setup): Make variable
compilation-error-screen-columns buffer-local, as some comment
in the code suggests it should be.
2000-08-08 18:30:47 +00:00
Gerd Moellmann
d4021fd9f9 (ffap-read-file-or-url-internal): Handle case the
DIR or STRING are nil.
2000-08-08 18:30:21 +00:00
Gerd Moellmann
dd31e4e8c3 (Info-insert-dir): Use Info-additional-directory-list if
non-nil.
(Info-file-list-for-emacs): Remove "info" from the list because
that leads to trying to use the documentation from file `info'
in various situations where it isn't appropriate, for instance
C-h C-k C-h i.
2000-08-08 18:29:49 +00:00
Gerd Moellmann
9f6d1a6cae *** empty log message *** 2000-08-08 12:41:40 +00:00
Gerd Moellmann
f3ad2fc8d0 (print-help-return-message): When
display-buffer-reuse-frames is set, let the help window been quit,
instead of deleting it, which might delete a reused frame.
2000-08-08 12:18:17 +00:00
Gerd Moellmann
07ca56eb35 (eval-last-sexp-1): Handle `#N=' labels. 2000-08-08 12:16:11 +00:00
Eli Zaretskii
3d819a7575 *** empty log message *** 2000-08-08 10:53:06 +00:00
Eli Zaretskii
325fec3c5a (dired-do-create-files): On DOS/Windows, allow to
rename a directory to a name that differs only by its letter case.
2000-08-08 10:51:51 +00:00
Kenichi Handa
bb63aae591 (quail-define-rules): Handle Quail decode
map correctly.  Add code for supporting annotations.
(quail-install-decode-map): New function.
(quail-defrule-internal): New optional arguments decode-map and
props.
(quail-advice): New function.
2000-08-08 01:39:26 +00:00
Kenichi Handa
c5a525299c *** empty log message *** 2000-08-08 01:38:47 +00:00
Sam Steingold
5e9e032a38 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
`defconst', `define-condition', `with-slots'.
* font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
2000-08-07 16:51:57 +00:00
Miles Bader
46645f4bb2 *** empty log message *** 2000-08-07 15:10:57 +00:00
Miles Bader
e379efd263 (idlwave-shell-send-command): When looking for a prompt, (forward-line 0)
instead of (beginning-of-line), to avoid getting caught by an input field.
2000-08-07 15:04:18 +00:00
Miles Bader
7749a263fa (inferior-lisp-prompt): Doc change. 2000-08-07 14:59:23 +00:00
Miles Bader
502166d288 (inferior-octave-complete): Use comint-line-beginning-position. 2000-08-07 14:58:44 +00:00
Miles Bader
69e773247b (try-expand-line, try-expand-line-all-buffers): Only use comint-prompt-regexp
if comint-use-prompt-regexp-instead-of-fields is non-nil.
2000-08-07 14:57:22 +00:00
Miles Bader
3250010dd7 (ielm-indent-line): Detect a "prompt" line by seeing if comint-bol
doesn't actually go to the beginning of the line.
2000-08-07 14:56:02 +00:00
Miles Bader
01d8967d66 (gud-gdb-complete-command): Use comint-line-beginning-position. 2000-08-07 14:54:35 +00:00
Miles Bader
3035b15651 (sql-magic-go): Use comint-bol instead of explicitly matching
comint-prompt-regexp.
(sql-copy-column): Use comint-line-beginning-position instead of
  explicitly matching comint-prompt-regexp.
2000-08-07 14:52:52 +00:00
Miles Bader
28bc09d6f8 (shell-prompt-pattern): Doc change.
(shell-backward-command): Use line-beginning-position.
2000-08-07 14:51:48 +00:00
Miles Bader
2953392320 (comint-use-prompt-regexp-instead-of-fields): New variable.
(comint-prompt-regexp, comint-get-old-input): Document dependence on
  comint-use-prompt-regexp-instead-of-fields.
(comint-send-input): Add `input' field property to stuff we send to
  the process, if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-output-filter): Add `output' field property to process
  output, if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-replace-by-expanded-history)
(comint-get-old-input-default, comint-show-output)
(comint-backward-matching-input, comint-forward-matching-input)
(comint-next-prompt, comint-previous-prompt):  Use field
  properties if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-line-beginning-position): New function.
(comint-bol): Use comint-line-beginning-position.  Make ARG optional.
(comint-replace-by-expanded-history-before-point): Use
  comint-line-beginning-position and line-end-position.
(comint-last-output-overlay): New variable.
(comint-mode): Make `comint-last-output-overlay' buffer-local.
2000-08-07 14:50:09 +00:00
Gerd Moellmann
ff3d95733d (ensure_echo_area_buffers): If a buffer was killed and a
new buffer is created, make sure make sure echo_area_buffer[]
references the new buffer.
2000-08-07 10:34:08 +00:00
Gerd Moellmann
9facfd265c (shell-quote-wildcard-pattern): Make sure to return
PATTERN, in the Unix case.
2000-08-07 10:06:54 +00:00
Eli Zaretskii
e0d8827bbe *** empty log message *** 2000-08-07 07:51:40 +00:00
Eli Zaretskii
f244674ca5 (zone): Discard any pending input before running
the randomly-chosen pgm.
2000-08-07 07:50:13 +00:00
Kenichi Handa
447a052b48 (byte-compile-fix-header): Fix the way of checking the existence of
any multibyte characters.
2000-08-07 01:47:27 +00:00
Kenichi Handa
24d55b8f96 *** empty log message *** 2000-08-07 01:46:03 +00:00
Gerd Moellmann
6c4a4368a3 *** empty log message *** 2000-08-06 12:17:06 +00:00
Gerd Moellmann
4675e266da (describe-mode): Test mini-mode symbol for being
bound before testing its value for being nil.
2000-08-06 12:09:31 +00:00
Eli Zaretskii
28146d2b8e Restore inadvertently-changed non-ASCII character. 2000-08-06 10:27:52 +00:00
Gerd Moellmann
3d05e1ee6a *** empty log message *** 2000-08-06 09:26:26 +00:00
Gerd Moellmann
dedffa6a6b Use nth' instead of first', second', and third'. 2000-08-06 09:18:02 +00:00
Gerd Moellmann
dc79c3ea3c (third...tenth): Undo change of 2000-08-05.
(second): Make it an alias for `cadr'.
2000-08-06 09:17:27 +00:00
Eli Zaretskii
6968a481f5 (bs-apply-sort-faces): Don't use window-system, since all
types of display support faces now.
2000-08-06 07:32:15 +00:00
Gerd Moellmann
e49aa397e8 *** empty log message *** 2000-08-05 20:10:32 +00:00
Gerd Moellmann
ed590ca87c (first, ..., tenth): Make them macros.
(toplevel): Remove `remq' and `remove' from autoloads.
(cl-fake-autoloads): New variable.  If set, arrange for an error
when CL functions etc. are autoloaded.
2000-08-05 20:09:44 +00:00
Gerd Moellmann
3db3a13fe3 (require): Require `cl' during compilation, only. 2000-08-05 20:08:49 +00:00
Eli Zaretskii
2e78d4abe0 (zone, zone-pgm-stress): Don't use window-system. 2000-08-04 12:21:12 +00:00
Eli Zaretskii
85628348e5 *** empty log message *** 2000-08-04 11:45:03 +00:00
Eli Zaretskii
cf667bc526 (hi-lock-unface-buffer): If a menu of regexps is
popped up, but the user clicks outside the menu, return an empty
regexp (that causes unhighlight-regexp to have no effect).
2000-08-04 11:39:24 +00:00
Eli Zaretskii
74f0e5522d *** empty log message *** 2000-08-04 08:52:04 +00:00
Eli Zaretskii
7bff37dc16 (menu-bar-games-menu): Add Zone. 2000-08-04 08:34:51 +00:00
Eli Zaretskii
588aca276b (toplevel): Require font-lock. 2000-08-04 08:30:16 +00:00
Gerd Moellmann
f4988be716 *** empty log message *** 2000-08-03 20:24:26 +00:00
Gerd Moellmann
5268b4422d Get around a bug on skip-chars-forward.
(ebnf-8-bit-chars): New var for bug fix.
(ebnf-string): Bug fix.
2000-08-03 20:11:01 +00:00
Sam Steingold
027b73ac1b * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
instead of `buffer-string'.
(require 'cl): Always, not just when compiling.
`ignore-errors' in `interactive', `list*', `defun*' &c make this necessary.
2000-08-03 18:11:47 +00:00
Eli Zaretskii
2f1fa038c8 (select-safe-coding-system): Make
the message text about selecting a safe coding system more clear.
2000-08-03 11:38:08 +00:00
Gerd Moellmann
abb2db1cf3 *** empty log message *** 2000-08-02 21:29:36 +00:00
Gerd Moellmann
ead534947f *** empty log message *** 2000-08-02 20:23:23 +00:00
Gerd Moellmann
754bd273b7 (ispell): New function, replacing an alias.
Spell-check active region if in transient-mark-mode and mark
is active; otherwise spell-check buffer.
2000-08-02 20:21:53 +00:00
Gerd Moellmann
d79dfd472e (occur): Set tab-width in the *Occur* buffer to the
value of tab-width in the original buffer.  Choose a line number
format that's a multiple of the original buffer's tab width, so
that lines appear right.
2000-08-02 20:21:24 +00:00
Gerd Moellmann
8fdd56afa4 Fix a customization problem on
ps-mule-font-info-database-default.
2000-08-02 20:20:55 +00:00
Eli Zaretskii
f4a2b0a4bf (ebrowse-tree-mode-map): Use display-mouse-p instead of window-system.
(ebrowse-member-mode-map): Ditto.
2000-08-02 07:38:53 +00:00
Gerd Moellmann
b685181ebb Update ps-print functions call. Indentation fix. Doc
fix.
(ebnf-version): New version number (3.2).
(ebnf-format-color, ebnf-begin-job): Code fix.
2000-08-01 19:58:35 +00:00
Eli Zaretskii
032ebb2999 (nslookup-font-lock-keywords): Don't condition font lock support
on window-system.
(ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
2000-08-01 10:12:00 +00:00
Eli Zaretskii
3b5fab8756 (ispell-highlight-spelling-error): Use
display-color-p, if fboundp, instead of window-system.
2000-08-01 06:25:13 +00:00
Eli Zaretskii
7e2605e79e (rmail-start-mail): Use display-multi-frame-p
instead of looking at window-system.
2000-07-31 15:41:39 +00:00
Eli Zaretskii
ef64957506 (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
(gomoku-plot-square, gomoku-init-display): Don't use window-system.
2000-07-31 15:38:35 +00:00
Eli Zaretskii
ec45b7bb0c (lm-font-lock-face-O, lm-font-lock-face-X)
(lm-plot-square, lm-init-display): Don't use window-system.
2000-07-31 15:37:49 +00:00
Eli Zaretskii
25ef2b06eb (toplevel): Support faces on tty's. 2000-07-31 15:36:50 +00:00
Eli Zaretskii
364ce449bc (strokes-file): Run the file name through
convert-standard-filename.
(strokes-mode): Call display-mouse-p instead of looking at
window-system.  Change the error message accordingly.
2000-07-31 15:35:51 +00:00
Eli Zaretskii
e2c00a4719 (widget-choose): Use display-mouse-p instead of window-system.
(widget-choice-mouse-down-action): Use display-popup-menus-p
instead of window-system.
2000-07-31 15:35:08 +00:00
Eli Zaretskii
fbebec273d (appt-disp-window): Use display-multi-frame-p
instead of window-system.
2000-07-31 15:34:07 +00:00
Eli Zaretskii
1418556591 Fix a typo in a comment. Reported by Michel de Ruiter <Michel@smr.nl>. 2000-07-31 10:27:45 +00:00
Gerd Moellmann
261196242e (iswitchb-entryfn-p): Test this-command instead
of testing if iswitchb-prepost-hooks is bound, because the
latter will always be true when invoking a recursive minibuffer
from an active Iswitchb buffer.
2000-07-30 14:03:38 +00:00
Eli Zaretskii
c90596f36f (shell-quote-wildcard-pattern): New function.
(insert-directory): Call it.  Only prepend "\" to command on Unix
and GNU/Linux systems.
2000-07-30 13:27:46 +00:00
Gerd Moellmann
18925e78bb *** empty log message *** 2000-07-30 11:50:38 +00:00
Gerd Moellmann
15cca6c4f6 (glasses-make-readable): Fix uncapitalization of
identifiers like `myXMLDocument'.
2000-07-30 11:49:57 +00:00
Gerd Moellmann
df5e6194c6 Fix bug 1: if ps-font-size-internal,
ps-header-font-size-internal and
ps-header-title-font-size-internal variables are not set,
ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
face text property is (foreground-color . COLOR) or
`(background-color . COLOR)', ps-print crashes.  Doc fix.
(ps-print-version): New version number (5.2.4).
(ps-plot-region): Code fix.
(ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
(ps-face-attribute-list, ps-face-attributes, ps-face-background):
Bug fix 2.
2000-07-30 11:49:38 +00:00
Gerd Moellmann
b4c017767f (dired-build-subdir-alist): Expand subdirectory names
correctly in recursive ange-ftp listings.
2000-07-30 11:49:11 +00:00
Gerd Moellmann
c0178a99f8 Change custom :link file names from eshell.info' to eshell'. 2000-07-30 11:48:43 +00:00
Karl Fogel
aeb4c63e0b (mail-hist-previous-input, mail-hist-next-input): do the obvious code
factorization.

(mail-hist-retrieve-and-insert): new func, contains common code of
above two.  If inserting a message body, leave point at top.
2000-07-28 18:22:57 +00:00
Sam Steingold
9d45313983 Ange-ftp handles the output of the w32-style clients 2000-07-28 16:27:41 +00:00
Gerd Moellmann
27848c0130 *** empty log message *** 2000-07-27 20:16:08 +00:00
Gerd Moellmann
13157efca3 (remove, remq): New functions. 2000-07-27 20:08:47 +00:00
Gerd Moellmann
96ce5c4f18 Add explanation of how to make cookie.el
compatible with strfile(1) to comment.
2000-07-27 20:07:12 +00:00
Gerd Moellmann
77d352a676 (sql-ms): Added autoload cookie.
(sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
(sql-oracle): Ditto.
(sql-help): Doc change.

(sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
types and exceptions.

(sql-placeholder-history): New variable.
(sql-query-placeholders-and-send): New function that will query
the user and replace placeholders with user input.
(sql-oracle): If running on NT, set comint-input-sender to
sql-query-placeholders-and-send.

(sql-stop): If in the SQLi buffer, insert stop notification, else
present it as a message.

(sql-input-ring-separator): Doc change.
(sql-input-ring-file-name): Doc change.
(sql-interactive-mode): Use `sql-input-ring-separator' and
`sql-input-ring-file-name' to set the comint-mode equivalents
without making them local variables.
(sql-stop): Don't bind `sql-input-ring-separator' and
`sql-input-ring-file-name' dynamically to their comint-mode
equivalents.
2000-07-27 20:06:37 +00:00
Gerd Moellmann
3ab82477c7 *** empty log message *** 2000-07-27 15:51:12 +00:00
Gerd Moellmann
b3275b4747 (clean-buffer-list-kill-never-regexps): Correctly
escape `*' in regexps.
(midnight-find): Reverse order of arguments in the funcall of
TEST.
2000-07-27 15:42:09 +00:00
Gerd Moellmann
f7e1a28d00 (completion-ignored-extensions): Add .la', .lo',
and `.class'.
2000-07-27 15:41:49 +00:00
Gerd Moellmann
b548072f27 *** empty log message *** 2000-07-27 13:28:26 +00:00
Gerd Moellmann
7d8b4c7c0e Add Commentary section. 2000-07-27 12:34:42 +00:00
Kenichi Handa
53a1db8067 (cyrillic-koi8): Use safe-chars' property instead of safe-charsets'.
(cyrillic-alternativnyj): Likewise.
(ccl-encode-alternativnyj): Don't check the charset
cyrillic-iso8859-5.
2000-07-27 06:22:42 +00:00
Kenichi Handa
5ddcadb8e3 (sendmail-send-it): Improve the way to avoid calling
select-message-coding-system twice.
2000-07-27 06:22:00 +00:00
Kenichi Handa
ba2a275302 (cp-coding-system-for-codepage-1): Give `safe-chars' property to
make-coding-system.
2000-07-27 06:15:33 +00:00
Kenichi Handa
b5edd1d103 (find-coding-systems-region-subset-p): This function deleted.
(sort-coding-systems-predicate): New variable.
(sort-coding-systems): New function.
(find-coding-systems-region): Use
find-coding-systems-region-internal.
(find-coding-systems-string): Use find-coding-systems-region.
(find-coding-systems-for-charsets): Check
char-coding-system-table.
(select-safe-coding-system-accept-default-p): New variable.
(select-safe-coding-system): Mostly rewritten.  New argument
ACCEPT-DEFAULT-P.
(select-message-coding-system): Call select-safe-coding-system
with ACCEPT-DEFAULT-P arg.
(reset-language-environment): Reset default-sendmail-coding-system
to the default value iso-latin-1.
(set-language-environment): Don't set the obsolete variable
charset-origin-alist.
2000-07-27 06:09:25 +00:00
Kenichi Handa
c11a8f7748 (register-char-codings): New function.
(make-coding-system): Handle `safe-chars' specification in the arg
PROPERTY.
2000-07-27 06:08:14 +00:00
Kenichi Handa
91ae875105 *** empty log message *** 2000-07-27 06:07:14 +00:00
Kenichi Handa
339cebdcbe (compose-chars-after): Preserve match data. 2000-07-27 05:37:42 +00:00
Kenichi Handa
90cf4474ca *** empty log message *** 2000-07-27 05:37:13 +00:00
Sam Steingold
a1f84f6d16 use float-time 2000-07-26 18:44:36 +00:00
Andreas Schwab
e092928efc . 2000-07-26 16:58:42 +00:00
Andreas Schwab
f1bba07d31 (normal-backup-enable-predicate): Correct
interpretation of the return value of compare-strings.
2000-07-26 16:56:22 +00:00
Gerd Moellmann
3353ef5a44 *** empty log message *** 2000-07-26 14:48:48 +00:00
Gerd Moellmann
c40a4de1df (isearch-resume): New function.
(isearch-done): Add something to command-history to resume
the search.
(isearch-yank-line, isearch-yank-word): Use
buffer-substring-no-properties instead of buffer-substring.
2000-07-26 14:48:00 +00:00
Gerd Moellmann
a95cb10ae3 *** empty log message *** 2000-07-26 13:10:16 +00:00
Gerd Moellmann
7465ebefa2 (flyspell-mouse-map): Use `map' instead
of flyspell-mouse-map.
2000-07-26 13:05:03 +00:00
Gerd Moellmann
dfdbf5b691 (m4-mode-abbrev-table): New variable.
(m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
2000-07-26 13:03:26 +00:00
Gerd Moellmann
dd717ef272 (makefile-mode-abbrev-table): Remove
duplicate definition.
(makefile-mode): Remove duplicate setting of local-abbrev-table.
2000-07-26 13:02:53 +00:00
Sam Steingold
25759a92ce Get modtime over the net 2000-07-25 23:26:01 +00:00
Sam Steingold
5044b74a7b midnight-buffer-display-time: use with-current-buffer 2000-07-25 21:38:34 +00:00
Gerd Moellmann
5dcfb3f41c (enriched-face-ans): For a `foreground-color'
property, return '(("x-color" COLOR))' so that COLOR will be
output as a parameter of the x-color annotation.  Likewise for the
`background-color' property.  In the case of normal face
properties, don't return annotations for unspecified foreground
and background face attributes.
2000-07-25 16:07:46 +00:00
Gerd Moellmann
8ad5033be1 Update copyright notice.
(find-dired): Offer to kill a running `find'.
2000-07-25 16:05:09 +00:00
Kenichi Handa
fbc7bbf778 (japanese-katakana-region): Fix handling HANKAKU argument. 2000-07-25 12:22:01 +00:00
Kenichi Handa
8c6621660c *** empty log message *** 2000-07-25 12:21:28 +00:00
Miles Bader
59b19d324b (line-move):
Pass INHIBIT-CAPTURE-PROPERTY argument to constrain-to-field.
  Pass nil ESCAPE-FROM-EDGE argument to constrain-to-field.
2000-07-24 23:48:53 +00:00
Miles Bader
c28da48936 *** empty log message *** 2000-07-24 23:34:44 +00:00
Andrew Innes
ad3497195c *** empty log message *** 2000-07-24 22:11:35 +00:00
Andrew Innes
7fe165d7c7 (timer-activate-when-idle): Add optional parameter
DONT-WAIT.  Update docstring.
(run-with-idle-timer): Specify extra parameter to
timer-activate-when-idle, so that timer will be activated
immediately if Emacs is already idle.
2000-07-24 22:05:31 +00:00
Andrew Innes
9be978bae4 (w32-using-nt): Fix docstring. 2000-07-24 22:03:34 +00:00
Dave Love
c95162f558 *** empty log message *** 2000-07-24 21:46:38 +00:00
Gerd Moellmann
e3c31fd56b *** empty log message *** 2000-07-24 18:44:52 +00:00
Gerd Moellmann
19b4af8286 Set maintainer to FSF, since author cannot
be reached.
2000-07-24 18:37:11 +00:00
Gerd Moellmann
35a11dcb21 Update copyright notice. 2000-07-24 18:36:43 +00:00
Gerd Moellmann
3215afc493 Update to author's version 1.5d. 2000-07-24 18:36:17 +00:00
Dave Love
bcd010a058 (popup-menu): Set last-command-event.
(mouse-major-mode-menu-prefix): Declare.
2000-07-24 17:58:32 +00:00
Eli Zaretskii
fbe0a9585f *** empty log message *** 2000-07-24 15:30:58 +00:00
Eli Zaretskii
ea33749b79 (Info-goto-emacs-key-command-node): Leave a space after
the prompt.
2000-07-24 15:20:37 +00:00
Eli Zaretskii
7636d2a369 (popup-menu): Run the keymap through indirect-function,
in case it was defined with define-prefix-key.  If the menu is a
list of keymaps, look up the binding of user's choice in each one
of the keymaps.
(mouse-popup-menubar): If the global and local menu-bar keymaps
don't have a prompt string, create one and insert it into the
keymap.  Don't barf if current-local-map returns nil.
2000-07-24 15:19:02 +00:00
Dave Love
bc66a9a99a Fix CRLF eols. 2000-07-24 13:39:05 +00:00
Gerd Moellmann
e024b10125 *** empty log message *** 2000-07-24 12:28:55 +00:00
Gerd Moellmann
e17dba1ffd (dired-sort-R-check): Added to allow recursive listing
to be undone.
(dired-sort-other): Use it.
2000-07-24 12:27:26 +00:00
Gerd Moellmann
7972fcfca4 *** empty log message *** 2000-07-24 11:17:36 +00:00
Gerd Moellmann
4cc7e49821 Got rid of all byte-compiler warnings on Emacs Load
ada-xref.el before ada-prj.el, so that the Project menu is created
when ada-prj tries to add to it.
(ada-activate-keys-for-case): Suppress the characters that are not
part of the Ada syntax. Better compatibility with else-mode
(ada-adjust-case-interactive): When auto-casing is not active,
correctly insert newlines (used to insert only ^M).  Prevent the
syntax table from being changed in case of an error
(or '_' becomes part of a word and some commands are confused).
Do nothing if ada-auto-case is nil.
(ada-after-keyword-p): Ignore keywords that are also attributes
(ada-batch-reformat): Update usage comment
(ada-call-from-contextual-menu): New function
(ada-case-read-exceptions): Reinitialize the casing exception list
first to nil first, so that the casing exception file can be
shared.
(ada-check-defun-name): Handles "configure" keyword for gnatdist
files.
(ada-compile-goto-error): Fix regexp used to detect a file:line
anywhere in the error message
(ada-contextual-menu-last-point): New variable
(ada-create-keymap): If the variable delete-key-deletes-forward is
t on XEmacs, it means that DEL should delete one character
forward.
(ada-create-menu): Use :included instead of :visible for XEmacs.
New submenu "Options".
(ada-end-stmt-re): Correctly indent "select ... then abort"
statements.
(ada-fill-comment-paragraph): Correctly delete all leading '--'
even if they don't match ada-fill-comment-prefix Fix handling of
paragraphs on the first or last line of a file.
(ada-format-paramlist): Fix handling of default parameter values.
(ada-get-body-name): New function.
(ada-get-current-indent): Optimized by searchling directly for an
existing generic part or a statement outside of it.  Handle
ada-indent-align-comments when indenting comments Replaced some
regexps by testing directly the next character. This results in a
huge speedup on some files.  New indentation scheme for renames
statements.  Stop looking for the 'while' or 'for' associated with
a 'loop' at the first semicolon encountered.  A "return" can also
match an anonymous access subprogram declaration.
(ada-get-indent-noindent): Ignore strings and comments when
looking for the keywords "record" and "private".
(ada-goto-matching-decl-start): When matching "if", make sure we
are not in fact seeing "end if".  Ignore "when" statements except
when initial keyword was "begin".  Fix handling of nested
procedures.  Add a recursive call to this function to skip over
other 'end' statmts.  Fix indentation for "when .. => begin"
(ada-in-open-paren-p): Fix indentation for complex boolean
expressions, where 'and then', 'or else' and parenthesis
statements are mixed up.
(ada-in-paramlist-p): Skip comments while searching for the
beginning Fix handling of operator declarations.
(ada-indent-align-comments): New variable
(ada-indent-current): Change the syntax table only in the
protected section, so that we are sure it is restored correctly.
(ada-indent-on-previous-lines): Use ada-use-indent and
ada-with-indent Correctly indent "select ... then"
(ada-indent-region): Slight speedup.
(ada-indent-renames): New variable.
(ada-last-which-function-subprog, ada-last-which-function-line):
New variables
(ada-looking-at-semi-private): Correctly indent the 'private'
keyword when it is the first word in a package declaration.
(ada-loose-case-word): Stop searching if at the end of the buffer.
(ada-loose-case-word, ada-capitalize-word): Recase the whole word
even if point is not initially at the end of the word.
(ada-matching-decl-start-re): Add "when".
(ada-mode): Add support for abbrev-mode, outline-mode and
which-func-mode Override the old find-file.el entry in
ff-special-constructs since it is using the obsolete
ada-spec-suffix variable
(ada-no-auto-case): New function
(ada-scan-paramlist): When parsing the argument type, accept
spaces (as in "X 'Class", generated by Rational Rose).
(ada-other-file-name): No longer loads the other file.
(ada-popup-menu): Save and restore the current buffer and cursor
position before and after displaying the menu.
(ada-search-ignore-complex-boolean): New function.
(ada-uncomment-region): Emacs21 already knows how to delete
comments not starting in the first column.
(ada-use-indent): New variable
(ada-which-function): New function.
(ada-with-indent): New variable
(ada-xemacs): evaluate it at compile time too, so that ada-mode.el
can be batch-compiled from the command line.
2000-07-24 11:14:26 +00:00
Gerd Moellmann
c6fa13e327 Rewritten to show a tabbed-dialog.
(ada-prj-add-ada-menu): Remove the map and name parameters.
(ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
New function
(ada-prj-load-directory, ada-prj-subdirs-of): New functions
(ada-prj-load-from-file): New function
(ada-prj-save): Always save fields that depend on the current buffer
(ada-prj-show-value): New function
2000-07-24 11:14:01 +00:00
Gerd Moellmann
cf543c1c14 (ada-stmt-add-to-ada-menu): Hide the menu if not in
Ada mode. This will allow us to display the Ada menu in any buffer
we want (for project items).
(ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
number of spaces in the header.
2000-07-24 11:13:40 +00:00
Gerd Moellmann
15ea3b67a7 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.
2000-07-24 11:13:11 +00:00
Gerd Moellmann
c4052e8213 (c-lineup-multi-inher): Handle lines with
leading comma nicely. Extended to handle member initializers
too.
(c-gnu-impose-minimum): Don't impose minimum
indentation on cpp-macro lines.
2000-07-24 11:12:40 +00:00
Gerd Moellmann
b8ded7944c (c-indent-new-comment-line): Added a kludge
similar to the one in c-fill-paragraph to check the fill
prefix from the adaptive fill function for sanity.
(c-electric-brace): Fixed some bugs in the state
handling that caused class open lines to be recognized as
statement-conts in some cases.
(c-indent-new-comment-line): Keep the fill prefix
guessed by the adaptive fill function unless point is on the
first line of a block comment.
(c-indent-command): Obey c-syntactic-indentation.
(c-electric-brace, c-electric-slash,
c-electric-star, c-electric-semi&comma, c-electric-colon,
c-electric-lt-gt, c-electric-paren): Don't reindent old lines
when c-syntactic-indentation is nil.
(c-fill-paragraph): Keep one or two spaces
between the text and the block comment ender when it hangs,
depending on how many there are before the fill.
(c-indent-new-comment-line): Always break
multiline comments in multiline mode, regardless of
comment-multi-line.
2000-07-24 11:12:07 +00:00
Gerd Moellmann
6862d61353 Update copyright notice. 2000-07-24 11:11:51 +00:00
Gerd Moellmann
bbfbe5ec33 (c-end-of-defun-1): Fixed forward scanning into
defun block.

(c-auto-newline): Removed this macro since it's
not used anymore.

(c-forward-comment): Removed the workaround
introduced in 5.38 since it had worse side-effects.  If a line
contains the string "//\"", it regarded the // as a comment
start since the \ temporarily doesn't have escape syntax.
2000-07-24 11:11:36 +00:00
Gerd Moellmann
ce8c7486aa (c-looking-at-inexpr-block): Replaced a call to
c-beginning-of-statement-1 that caused a bad case of recursion
which could consume a lot of CPU in large classes in languages
that have in-expression classes (i.e. Java and Pike).

(c-guess-basic-syntax): Check for in-expression
statements before top level constructs (i.e. case 6 is moved
before case 5 and is now case 4) to catch in-expression
classes in top level expressions correctly.

(c-guess-basic-syntax): Less naive handling of
objc-method-intro. Case 4 removed and case 5I added.

(c-beginning-of-inheritance-list,
c-guess-basic-syntax): Fixed recognition of inheritance lists
when the lines begins with a comma.

(c-forward-syntactic-ws): Fixed an infloop bug
when the buffer ends with a macro continuation char.

(c-guess-basic-syntax): Added support for
function definitions as statements in Pike.  The first
statement in a lambda block is now labeled defun-block-intro
instead of statement-block-intro.

(c-narrow-out-enclosing-class): Whack the state
so that the class surrounding point is selected, not the one
innermost in the state.

(c-guess-basic-syntax): Fixed bug in
recognition of switch labels having hanging multiline
statements.

(c-beginning-of-member-init-list): Broke out
some code in c-guess-basic-syntax to a separate function.
(c-just-after-func-arglist-p): Fixed
recognition of member inits with multiple line arglists.
(c-guess-basic-syntax): New case 5B.3 to detect
member-init-cont when the commas are in funny places.

(c-looking-at-bos): New helper function.
(c-looking-at-inexpr-block): More tests to tell
inexpr and toplevel classes apart in Pike.

(c-guess-basic-syntax): Fixed bogus recognition
of case 9A.

(c-guess-basic-syntax): Made the cpp-macro
a syntax modifier like comment-intro, to make it possible to
get syntactic indentation for preprocessor directives.  It's
incompatible wrt to lineup functions on cpp-macro, but it has
no observable effect in the 99.9% common case where cpp-macro
is set to -1000.

(c-guess-basic-syntax): Fixed bug with missed
member-init-cont when the preceding arglist is several lines.

(c-beginning-of-statement-1): Fixed bug where
we were left at comments preceding the first statement when
reaching the beginning of the buffer.

(c-beginning-of-closest-statement): New helper
function to go back to the closest preceding statement start,
which could be inside a conditional statement.
(c-guess-basic-syntax): Use
c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.

(c-guess-basic-syntax): Better handling of
arglist-intro, arglist-cont-nonempty and arglist-close when
the arglist is nested inside parens.  Cases 7A, 7C and 7F
changed.

(c-beginning-of-statement-1): Fixed handling of
multiline Pike type decls.

(c-guess-basic-syntax): Fixed bug with
fully::qualified::names in C++ member init lists.  Preamble in
case 5D changed.
2000-07-24 11:11:20 +00:00
Gerd Moellmann
e29cacf2d1 (c-append-paragraph-start): New variable used by
c-common-init to get paragraph-start correct.
(c-common-init): Use c-append-paragraph-start to
initialize paragraph-start to make it correct both with and
without the javadoc special case.

(c-Pike-inexpr-class-key): New
constant, since "class" can introduce an in-expression class
in Pike nowadays.

(c-Java-javadoc-paragraph-start): Brought
up-to-date with javadoc 1.2.

(c-common-init): Handling of obsolete variables
moved to c-initialize-cc-mode.  More compatible style override
when using global style variables.
2000-07-24 11:11:01 +00:00
Gerd Moellmann
91b807c9ff (c-initialize-cc-mode): Handling of obsolete
variables moved here.
(java-mode): Use c-append-paragraph-start to
initialize paragraph-start for javadoc markup.
2000-07-24 11:10:33 +00:00
Gerd Moellmann
6cfd56b338 (c-style-alist): The basic offset for the BSD
style corrected to 8.

(c-style-alist): Adjusted the indentation of
brace list openers in the gnu style.

(c-make-styles-buffer-local): Flag style
variable localness in c-style-variables-are-local-p to make
the compatibility measure in c-common-init work well.

(c-set-style-1): c-special-indent-hook can no
longer contain set-from-style.
(c-initialize-builtin-style): Don't check for
set-from-style on c-special-indent-hook.
(c-copy-tree): Obsolete.  The standard function
copy-alist is sufficient now.

(c-set-style, c-set-style-1,
c-get-style-variables): Fixes to variable initialization so
that duplicate entries in styles have the same effect
regardless of DONT-OVERRIDE.

(c-set-style-2): Fixed bug where the
initialization of inheriting styles failed when the
dont-override flag is set.
2000-07-24 11:10:15 +00:00
Gerd Moellmann
e96f5cb747 (c-style-variables-are-local-p): Incompatible
change by defaulting this to t.  It's motivated by the
confusing behavior that otherwise arise from the style system
when editing both java and non-java files at the same time
(see the comments about style setting in c-common-init).

(c-offsets-alist): Changed default for
member-init-cont to c-lineup-multi-inher since it now handles
member initializers and indents better for leading commas.

(c-syntactic-indentation): New variable to turn
off all syntactic indentation.

(c-special-indent-hook): Don't use set-from-style
on this.
2000-07-24 11:09:35 +00:00
Dave Love
8730a8da61 *** empty log message *** 2000-07-24 09:45:16 +00:00
Dave Love
a21f0bd5b4 (ediff-region-help-echo): Bind face-help. 2000-07-24 09:44:02 +00:00