1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

4352 Commits

Author SHA1 Message Date
Richard M. Stallman
c825792e64 (c-mode-map): Use "C mode" for the menu bar item name. 1994-10-11 02:32:39 +00:00
Tom Tromey
513a650902 (tcl-mode): imenu-create-index-function made buffer local. 1994-10-11 02:01:27 +00:00
Richard M. Stallman
b769185330 (mouse-select): Pass an arg to mouse-extend. 1994-10-11 01:49:05 +00:00
Richard M. Stallman
0ea48932ec (mail-hist-put-headers-into-history)
(mail-hist-current-header-contents, mail-hist-forward-header)
(mail-hist-current-header-name):
Use regexp-quote on mail-header-separator.
1994-10-11 00:35:42 +00:00
Richard M. Stallman
22486a7f29 Fix typo in previous change. 1994-10-10 21:54:32 +00:00
Richard M. Stallman
c0df1d6180 (calculate-lisp-indent): Local var
last-sexp renamed to calculate-lisp-indent-last-sexp.
(lisp-indent-function): Use new name of var.
(calculate-lisp-indent-last-sexp): Var defined.
1994-10-10 21:53:52 +00:00
Richard M. Stallman
ca1a9692de (menu-bar-file-menu): Don't include the frame
commands in a non-frame version of Emacs.
1994-10-10 21:47:33 +00:00
Richard M. Stallman
33481b1aec (calendar-holiday-marker): Copy holiday-face from highlight face. 1994-10-10 03:26:28 +00:00
Richard M. Stallman
29aec36676 (ispell-highlight-spelling-error):
Have just one definition, which decides what to do.
(ispell-command-loop): New args START and END.  Do highlighting
and unhighlighting here.
(ispell-word, ispell-region, ispell-complete-word): Not here.
(ispell-highlight-spelling-error-generic): Bind buffer-undo-list to t.
1994-10-10 01:01:20 +00:00
Richard M. Stallman
88b82b3bb6 (emacs-lisp-mode-syntax-table): Don't set syntax of formfeed. 1994-10-09 19:20:02 +00:00
Richard M. Stallman
34791302d4 (byte-compile-insert-header): Use user-mail-address. 1994-10-09 17:23:09 +00:00
Richard M. Stallman
d5b22d8895 (appt-delete-window): Look on all frames for the window.
(appt-disp-window): If frame is unsplittable, use display-buffer.
1994-10-09 09:19:16 +00:00
Richard M. Stallman
3071ee28bb (add-log-current-defun): In texinfo-mode,
handle the case of no commas after @node.
1994-10-08 09:00:51 +00:00
Richard M. Stallman
4edaa169d9 (rmail-delete-forward): Use rmail-select-summary. 1994-10-08 04:12:07 +00:00
Richard M. Stallman
7fd741024b Re-delete code deleted in rms's Oct 5 change. 1994-10-07 17:38:03 +00:00
Richard M. Stallman
a1eb1cf1db (compilation-mode-font-lock-keywords,
rmail-summary-font-lock-keywords, dired-font-lock-keywords,
shell-font-lock-keywords, texi-font-lock-keywords,
perl-font-lock-keywords): Deleted.

(font-lock-mode): Doc fix; use add/remove-hook, not
setq; removed make-local-variable of font-lock-no-comments.
(font-lock-set-defaults): Do it there, and use:
(font-lock-defaults-alist): Use it to set font-lock-keywords,
font-lock-keywords-case-fold-search and font-lock-no-comments.
(turn-on-font-lock): New function.
(font-lock-fontify-buffer): Made interruptible; deleted messages.

(font-lock-fontify-region): Made syntax state reliable
by widening within new restriction; let cstart and cend for speed;
outputs message.
(font-lock-after-change-function): Remove spurious goto-char and use
forward-line, not 1+ end-of-line, for end of fontification region.
(font-lock-any-properties-p): Removed, use text-property-not-all.

(font-lock-*-face): facename values are themselves.
(font-lock-variable-name-face, font-lock-reference-face): New vars.
(font-lock-doc-string-face): Removed.
(font-lock-keywords): Extended value syntax.
(font-lock-hack-keywords): Cope with it; outputs initial message.

Merged in face-lock.el:
(font-lock-display-type, font-lock-background-mode)
(font-lock-face-attributes): New variables, use it.
(font-lock-make-face): New function, use them.
1994-10-07 10:23:26 +00:00
Richard M. Stallman
1a4086d274 (comint-check-proc): Recognise `open'.
(comint-exec): Use open-network-stream if command is a cons pair.
1994-10-07 10:20:37 +00:00
Richard M. Stallman
210cf16d31 (pascal-font-lock-keywords): New variable.
(pascal-mode): Set comment-start-skip and comment-end.
Set font-lock-keywords locally.
1994-10-07 10:10:07 +00:00
Richard M. Stallman
9e55147771 (perl-font-lock-keywords): New variable.
(perl-mode): Set font-lock-keywords locally.
1994-10-07 10:08:48 +00:00
Richard M. Stallman
a4d8ed20e2 (asm-font-lock-keywords): New variable.
(asm-mode): Set font-lock-keywords locally.
1994-10-07 10:07:02 +00:00
Richard M. Stallman
0ece5f43e3 (texinfo-font-lock-keywords): New variable.
(texinfo-mode): Set font-lock-keywords locally.
1994-10-07 10:05:49 +00:00
Richard M. Stallman
5945a1f78f (shell-font-lock-keywords): New variable.
(shell-mode): Set font-lock-keywords locally.
1994-10-07 10:04:06 +00:00
Richard M. Stallman
a1f6b0c60b (dired-font-lock-keywords): New variable.
(dired-mode): Set font-lock-keywords locally.
1994-10-07 10:02:04 +00:00
Richard M. Stallman
8b1f1a0c15 (mail-font-lock-keywords): New variable.
(mail-mode): Set font-lock-keywords locally.
1994-10-07 10:00:00 +00:00
Richard M. Stallman
a95caeed52 (rmail-font-lock-keywords): New variable.
(rmail-variables): Set font-lock-keywords locally.
1994-10-07 09:59:00 +00:00
Richard M. Stallman
1a6bc985cf (rmail-summary-font-lock-keywords): New variable.
(rmail-summary-mode): Set font-lock-keywords locally.
1994-10-07 09:56:40 +00:00
Richard M. Stallman
b9998c334d (outline-font-lock-keywords): New variable.
(outline-mode): Set font-lock-keywords locally.
1994-10-07 09:54:58 +00:00
Richard M. Stallman
5f56271901 (change-log-mode): Set font-lock-keywords locally.
(change-log-font-lock-keywords): New variable.
1994-10-07 09:53:28 +00:00
Richard M. Stallman
9af0d3093f (compilation-mode-font-lock-keywords): New variable.
(compilation-mode): Use kill-all-local-variables.
Set font-lock-keywords locally.
1994-10-07 09:52:36 +00:00
Richard M. Stallman
36668a5dff (sh-font-lock-keywords): Default to nil. 1994-10-07 09:49:47 +00:00
Richard M. Stallman
3a841b0be2 (query-replace): Add missing quote. 1994-10-06 20:56:24 +00:00
Noah Friedman
99c0333bc4 Assign copyright to FSF, and change comments to reflect that type-break
is now part of GNU Emacs.
1994-10-06 19:12:46 +00:00
Francesco Potortì
d0aede3f50 * man.el (Man-notify, Man-current-page, Man-page-list,
Man-filter-list, Man-original-frame, Man-arguments,
	Man-fontify-manpage-flag, Man-sections-alist, Man-refpages-alist,
	Man-uses-untabify-flag, Man-page-mode-string, Man-sed-script):
	Added defvar's to keep the compiler quiet.
	(Man-getpage-in-background): Start buffer name with "*Man ".
	instead of "*man " to avoid conflict with "*mail*".
	(Man-match-substring): Defsubst moved before first call.
	(Man-build-page-list, Man-strip-page-headers, Man-unindent): Use
	defun instead of defsubst, for code clarity purpose.
1994-10-06 10:28:26 +00:00
Richard M. Stallman
132ad5641e (rmail-summary-goto-msg): Get rmail-total-messages from the rmail buffer. 1994-10-06 07:05:09 +00:00
Richard M. Stallman
050516df65 Delete the error when no window system. 1994-10-06 02:45:40 +00:00
Richard M. Stallman
8525241862 (sendnews, postnews): Use defalias. 1994-10-06 02:07:55 +00:00
Richard M. Stallman
62bb544097 (command-line): Load disp-table explicitly. 1994-10-05 20:35:40 +00:00
Richard M. Stallman
64bd2d5165 (add-log-current-defun): Handle Perl specially. 1994-10-05 20:28:54 +00:00
Richard M. Stallman
8b74000909 (read-envvar-name): Special meaning for MUSTMATCH
neither t nor nil.
(setenv): Use that new case, when clearing a var.
1994-10-05 06:29:50 +00:00
Richard M. Stallman
37248de29e (texinfo-format-scan): Accept @^, @", @?, @!, @-. 1994-10-05 00:47:30 +00:00
Richard M. Stallman
5f1a943cd2 (goto-line): Call prefix-numeric-value. 1994-10-04 22:57:42 +00:00
Richard M. Stallman
02a8d13736 (server-switch-buffer): Don't go to an invisible frame.
Move to a non-dedicated window if possible.
Otherwise, make the window non-dedicated.
1994-10-04 04:20:21 +00:00
Richard M. Stallman
cae111fa0d (set-auto-mode): Discard versions from file name before
testing inhibit-first-line-modes-regexps.
1994-10-04 02:56:49 +00:00
Richard M. Stallman
b79164c7c6 (rlogin): Doc fix. 1994-10-03 22:57:43 +00:00
Richard M. Stallman
80688f5c3b (vc-backend-checkin): When CVS checks in a file, it is
immediately checked out again, so set vc-checkout-time.

(vc-fetch-properties): CVS 1.4A1 says "Repository revision".

(vc-locking-user): Do something sensible when the backend
is CVS.  May return a numerical UID or a string when CVS is used.
(vc-dired-reformat-line): Handle numerical arguments.

(vc-backend-checkout): Don't extract CVS files twice.

(vc-next-action-on-file): Handle return value from
vc-backend-merge-news correctly.

(vc-rename-file): Fixed call to vc-backend-dispatch.
(vc-make-buffer-writable-hook): New hook, for CVS only.
(vc-header-alist): Added header for CVS.
(vc-next-action-on-file): Added support for CVS.
(vc-next-action, vc-checkin, vc-revert-buffer): Doc fixes.
(vc-rename-file): Disable if the backend is CVS.
(vc-log-info): New arguments: LAST and FLAGS, passed on to
vc-do-command.  All callers updated.
(vc-fetch-properties): Implement support for CVS files.

(vc-backend-checkin): Args REV and COMMENT no longer optional.
Implement support for CVS.
(vc-backend-revert): Implement support for CVS.
(vc-backend-diff): Treat files which are added, but not yet committed,
specially (diff them against /dev/null).
(vc-backend-merge-news): New function.
(vc-log-mode): Talk a little about CVS in the comment.

(vc-log-info): Simplify code.

(vc-do-command): New argument LAST.  All callers updated.
Legal values for LAST are 'MASTER and 'BASE.
(vc-backend-dispatch): New argument C, used by CVS.  All callers
updated, but many just passes an (error "NYI") form.
(vc-backend-admin): Issue a "cvs add" (but not a "cvs commit").
(vc-backend-checkout, vc-backend-logentry-check, vc-backend-print-log,
vc-backend-assign-name, vc-backend-diff, vc-check-headers): Handle CVS.
(vc-backend-steal, vc-backend-uncheck): Give error if using CVS.

(vc-backend-diff): Fixed typo in SCCS code.
1994-10-03 21:57:47 +00:00
Richard M. Stallman
174edc1393 (vc-status): Handle CVS.
(vc-find-cvs-master): New function.
(vc-master-templates): Add vc-find-cvs-master.
(vc-registered): Allow vc-master-templates to contain atoms, and
call them with dirname and basename as arguments.

(vc-mode-line): Use equal, not string-equal, to
compare the result of vc-locking-user.
1994-10-03 21:56:50 +00:00
Richard M. Stallman
efcec33fd0 (comint-strip-ctrl-m): Renamed from shell-strip-crtl-m and moved here.
(shell-strip-ctrl-m): Add defalias.
1994-10-03 01:11:15 +00:00
Richard M. Stallman
d87146724c (shell-strip-ctrl-m): Function moved to comint.el and renamed. 1994-10-03 01:10:57 +00:00
Richard M. Stallman
db03492ec0 (kill-rectangle): In read-only buffer, do record
the rectangle for later yanking.
1994-10-02 23:57:56 +00:00
Richard M. Stallman
3f9e315acf (shell-mode): Compare the truename with /dev/null. 1994-10-02 20:11:07 +00:00
Richard M. Stallman
fb145562db (file-truename): If name has no dir, use default-directory. 1994-10-02 20:10:39 +00:00
Richard M. Stallman
3f32dc86dc (Info-scroll-down, Info-scroll-up): Doc fixes. 1994-10-02 08:36:08 +00:00
Richard M. Stallman
9f803d0d12 (dired-do-print): Put spaces between lpr switches. 1994-10-02 08:35:34 +00:00
Richard M. Stallman
99ac138a9c (setenv-history): New history list.
(setenv): Use setenv-history.
Place the variable's current value at front of setenv-history
while reading the new value.

(setenv): Provide history, completion for envvar.
(read-envvar-name-history): New variable.
(read-envvar-name): New function.
1994-10-02 04:03:32 +00:00
Richard M. Stallman
a68ac8b57a (indent-c++-exp): For public/private/protected,
don't do the case/label adjustment.
1994-10-02 03:44:59 +00:00
Richard M. Stallman
481c029557 (fill-region, fill-region-as-paragraph): Fix previous change. 1994-10-02 02:23:21 +00:00
Richard M. Stallman
e837a82fd7 (vc-register): Verify an old master file really still exists
before giving error.  If it has disappeared, ask for confirmation.
1994-10-02 01:49:29 +00:00
Richard M. Stallman
75a768810d (apropos-print-matches): Add newline after
Function: or Variable: if line doesn't fit with it.
New arg no-header inhibits them entirely.
(apropos): New arg no-header.  Pass it to apropos-print-matches.
1994-10-01 21:10:38 +00:00
Richard M. Stallman
7a410cb5fb (save-buffers-kill-emacs): Fix previous change. 1994-10-01 21:07:33 +00:00
Francesco Potortì
6024daef5f * man.el (Man-init-defvars, Man-cleanup-manpage,
Man-fontify-manpage): fix previous fix.
1994-10-01 13:27:15 +00:00
Richard M. Stallman
fc35793099 (fill-region, fill-region-as-paragraph):
If specified region ends before a newline, include that newline.
1994-10-01 07:35:26 +00:00
Richard M. Stallman
a94c7fcc9c (mouse-secondary-click-count): New variable.
(mouse-secondary-save-then-kill, mouse-drag-secondary):
Use mouse-secondary-click-count, not mouse-selection-click-count.
1994-10-01 07:30:18 +00:00
Richard M. Stallman
f4e5bca556 (add-hook, remove-hook): If the hook was made local
in the old way, always modify the local value.
1994-10-01 04:36:28 +00:00
Richard M. Stallman
a8928dd22f (ispell-init-process): Add missing arg in error msg. 1994-10-01 04:30:14 +00:00
Richard M. Stallman
e141acb3f4 (finder-mode-map): Change key bindings:
RET or f to select, d to go back to directory.
(finder-summary): Fix the help summary.
1994-10-01 04:24:56 +00:00
Richard M. Stallman
7470b9b602 (edmacro-format-keys): Cope if local keymap is nil. 1994-10-01 03:53:40 +00:00
Richard M. Stallman
1c0a871059 (modify-face): New function. 1994-09-30 21:01:13 +00:00
Richard M. Stallman
a4f5efdcea (save-buffers-kill-emacs): Use run-hook-with-args-until-failure.
(find-file-noselect): Use run-hook-with-args-until-success.
(after-find-file): Use run-hooks for find-file-hooks.
(basic-save-buffer): Use run-hook-with-args-until-success.
1994-09-30 20:47:37 +00:00
Richard M. Stallman
0e4d378b32 (add-hook): Initialize default value and local value.
(run-hook-with-args-until-success): New function.
(run-hook-with-args-until-failure): New function.

(run-hooks): t as hook list element means run the global
value of the variable as well as the local value.
(run-hook-with-args): Likewise.
(make-local-hook): New function.
(add-hook, remove-hook): New arg LOCAL means modify local value.
Test default-boundp as well as boundp.
1994-09-30 20:47:13 +00:00
Richard M. Stallman
48be3850d4 (isearch-mode): Don't set deactivate-mark here.
(isearch-done): In Transient Mark mode, don't set mark if is active.
1994-09-30 09:16:06 +00:00
Richard M. Stallman
c75e51a325 Really delete gud-overload-functions. 1994-09-30 09:12:09 +00:00
Richard M. Stallman
ee97eac30f (gud-overload-functions): Function deleted.
(gud-massage-args, gud-marker-filter, gud-find-file): New vars.
Mark them as permanent locals.
(gud-massage-args, gud-marker-filter, gud-find-file):
In these functions, use those variables.
(gud-common-init): 3 new args give values for those variables.
(gdb, sdb, dbx, xdb, perldb): Pass new args to gud-common-init.
(gud-gdb-complete-command): Bind gud-marker-filter.
(gud-find-file): Condense multiple slashes to single slashes.
1994-09-30 09:11:36 +00:00
Richard M. Stallman
c820123b60 (print-region-1): Use them instead of just pr.
(lpr-page-header-program, lpr-page-header-switches): New variables.
1994-09-29 23:12:31 +00:00
Richard M. Stallman
a0f884641f (add-abbrev, inverse-add-abbrev):
Clear text properties from NAME.
1994-09-29 19:07:45 +00:00
Richard M. Stallman
2441d53d8a (scheme-mode-variables): Make parse-sexp-ignore-comments t. 1994-09-29 18:54:19 +00:00
Richard M. Stallman
214b69d9e9 (texinfo-format-region, texinfo-format-buffer-1):
Search back for the @include.
1994-09-29 18:51:54 +00:00
Francesco Potortì
d046c1832d * man.el
(Man-init-defvars, Man-cleanup-manpage, Man-fontify-manpage):
	added support for the big cross present in the ksh manpage.
1994-09-29 12:42:45 +00:00
Richard M. Stallman
7804cd2748 (imenu--cleanup): Changed 'mapc' to 'mapcar'. 1994-09-29 06:32:06 +00:00
Richard M. Stallman
924be53af1 (handle-delete-frame): New function. 1994-09-29 04:48:59 +00:00
Karl Heuer
a981e7fff1 (command-line): Fix bug in previous change. 1994-09-28 22:38:04 +00:00
Karl Heuer
096b7031fc (command-line): Recognize --longopt synonyms for all options handled here. 1994-09-28 22:15:38 +00:00
Richard M. Stallman
b0e1e38fa9 (backward-kill-sentence): Work in read-only buffers.
(kill-sentence): Work in read-only buffers.
1994-09-28 04:46:02 +00:00
Richard M. Stallman
6672c42bd1 (hack-one-local-variable): Support safe-local-variable property.
(compile-command): Add safe-local-variable property.
1994-09-27 22:59:50 +00:00
Richard M. Stallman
cba9a9dcb1 (command-apropos): Pass t for no-header to apropos. 1994-09-27 21:43:37 +00:00
Richard M. Stallman
dfdac213aa (mail): Doc fix. 1994-09-27 20:14:55 +00:00
Richard M. Stallman
1825bea106 (rmail-forward): Simplify insertion of forwarded msg.
Don't use exchange-point-and-mark.

(rmail-msg-number-after-expunge): New function.
(rmail-reply, rmail-forward): Use separate local variables
rmail-send-actions-rmail-msg-number, rmail-send-actions-rmail-buffer
to record which message to mark as answered or forwarded.
(rmail-only-expunge): Update msg numbers stored in those variables.
1994-09-27 19:32:35 +00:00
Roland McGrath
63af2693ce (etags-tags-completion-table): Allow ? and : in guessed tag names. 1994-09-27 05:41:20 +00:00
Richard M. Stallman
7434015f91 (rmail-summary-delete-forward): Regexp for recognizing deleted message
should not require a space at the beginning of the line.
1994-09-27 05:37:06 +00:00
Richard M. Stallman
e6cecd2bb3 (dired-re-perms): Accept various file type letters. 1994-09-26 23:18:19 +00:00
Richard M. Stallman
bb48cfe81f (enable-flow-control): Never make keyboard-translate-table shorter. 1994-09-25 18:28:22 +00:00
Richard M. Stallman
cff1bd9cff Comment change. 1994-09-25 07:48:55 +00:00
Richard M. Stallman
560db176e2 (rmail-construct-io-menu): Don't print a message about no matching files. 1994-09-25 01:21:49 +00:00
Richard M. Stallman
a8fe806efa (dired-re-perms): Accept directories and symbolic links
also, not only plain files.
1994-09-24 22:29:40 +00:00
Richard M. Stallman
deec9e7434 (ange-ftp-start-process): Add use-smart-ftp code.
(ange-ftp-get-process): Use ange-ftp-normal-login if
ange-ftp-gateway-host is nil.
1994-09-24 07:04:52 +00:00
Richard M. Stallman
b9952c2900 (auto-mode-alist): Handle ada-mode and icon-mode. 1994-09-24 05:02:49 +00:00
Richard M. Stallman
7df7d5b3fe (comint-input-chunk-size): Variable deleted.
(comint-send-string): Make it an alias for process-send-string.
(comint-send-region): Make it an alias for process-send-region.
1994-09-24 04:58:15 +00:00
Richard M. Stallman
7084ad0446 (nntp-send-region-to-server): Call process-send-region
just once, for the whole string.
1994-09-24 04:57:53 +00:00
Richard M. Stallman
a9594ce3b1 (shell-command, shell-command-on-region):
Make "*Shell Command Output*" non-read-only.
1994-09-24 04:52:10 +00:00
Richard M. Stallman
77a43e011b (Buffer-menu-delete): Handle prefix arg.
(Buffer-menu-delete-backwards): Handle prefix; use Buffer-menu-delete.
1994-09-24 04:32:08 +00:00
Richard M. Stallman
423c0dfa27 (rmail-reformat-message): Run mail-message-filter
before calling rmail-clear-headers.
1994-09-24 04:20:22 +00:00