1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

15004 Commits

Author SHA1 Message Date
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