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

1370 Commits

Author SHA1 Message Date
Richard M. Stallman
c722566c7c (command-line): Call frame-initialize explicitly.
Call face-initialize.
(normal-top-level): Call frame-notice-user-settings explicitly.
1993-05-13 03:14:39 +00:00
Richard M. Stallman
4f6e4ad6cd (Setting minor-mode-map-alist):
Put the map directly in the alist, not a variable name.
1993-05-13 03:14:07 +00:00
Richard M. Stallman
8693344e1f (kbd-macro-query): Fix prompt string. 1993-05-12 23:56:18 +00:00
Richard M. Stallman
8b86c9ebbf (default-menubar): Make initial value nil.
(kill-this-buffer, x-new-frame)
(sensitize-file-and-edit-menus-hook, format-buffers-menu-line)
(buffers-menu-max-size, complex-buffers-menu-p)
(buffers-menu-switch-to-buffer-function, buffer-menu-save-buffer)
(buffer-menu-write-file, build-buffers-menu-internal)
(build-buffers-menu-hook): Functions and variables deleted.
1993-05-12 21:41:56 +00:00
Richard M. Stallman
34291cd2f7 Improve doc strings and prompt strings.
(vc-cancel-version): Ask whether to revert buffer.
1993-05-12 21:30:35 +00:00
Richard M. Stallman
c64cc46775 (comint-filter): Increment opoint only if after insertion point. 1993-05-12 20:32:32 +00:00
Richard M. Stallman
d3f7c8c6e4 (te-pass-through): Handle meta chars and non-char events.
(terminal-map, etc.): Use default bindings, not fillarray.
Make the maps sparse.
(terminal-meta-map): New map; lets us make ESC a prefix key.
(terminal-map): Bind ESC to terminal-meta-map.
(te-more-break-unread): Handle non-char as last-input-char.
(te-filter): Delete code that worked with meta-flag.
(terminal-emulator): Don't look at meta-flag.
(terminal-mode): Don't make meta-flag local.
(te-stty-string): Quote the args that have ^.  Add pass8.

Changes that esr made in the previous version but didn't describe in detail:

Some defvars moved.
Defvars added for many variables.
(te-stty-string): Specify the characters explicitly--not `stty dec'.
1993-05-12 18:41:29 +00:00
Richard M. Stallman
7ef84cf98f (vc-diff): Report an error if the buffer isn't registered.
(vc-registration-error): New function.
(vc-next-action, vc-diff, vc-print-log, vc-backend-diff): Use it to
make VC's error messages more uniform.

(vc-directory, vc-revert-buffer1): Quote lambdas with (function ...)
for Emacs 18.
(compilation-old-error-list): Set if undefined, for Emacs 18.
1993-05-11 21:15:54 +00:00
Jim Blandy
bdda375433 Re-arranged stuff to put defsubst accessors at the top 1993-05-11 19:14:34 +00:00
Richard M. Stallman
3ed788ec2c (buffer-menu): Don't save a window config.
(Buffer-menu-select): Don't call Buffer-menu-execute.
Don't restore a window config.
1993-05-10 16:31:21 +00:00
Roland McGrath
0dea0bbe34 (byte-recompile-directory): If ARG is non-nil, set it to its prefix
numeric value.  Test for ARG being zero with eq, not zerop.
1993-05-10 00:49:06 +00:00
Jim Blandy
ffe1dd7ac1 * x-win.el: Since we require faces.el, there's no point in setting
frame-creation-function to x-create-frame - just set it directly
	to x-create-frame-with-faces.

	* x-win.el: (require 'faces), too.  Move (require 'select) to top,
	with the other requires.
1993-05-09 23:54:12 +00:00
Richard M. Stallman
4bf5153268 (rmail-output): Undo June 11 1992 change:
Don't try to use Date field in the From.
1993-05-09 23:53:56 +00:00
Jim Blandy
527da10641 * finder.el: Bind finder-exit to 'q', not 'x'; the former is the
conventional way to get out of such a package.
	(finder-summary): Use substitute-command-keys.
	(finder-mode): Use \\<...> to make sure we get the right keymap.
1993-05-09 23:52:39 +00:00
Jim Blandy
f0138172cd * faces.el: Call internal-set-face-1, not internat-set-face-1.
* faces.el: Don't set frame-creation-function here; x-win.el is
	the appropriate place to set it.

	* faces.el: Only apply x-initialize-frame-faces to X frames; pass
	over terminal frames.

	* faces.el: Provide 'faces.
1993-05-09 23:48:41 +00:00
Jim Blandy
bb9a81fcda * faces.el (read-face-name): Call face-list, not list-faces.
Fail more gracefully if we can't build bold, italic, etc,
	versions of the default font.
	* faces.el (make-face-bold, make-face-italic,
	make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Implement NOERROR argument.
	(x-initialize-frame-faces): Use the NOERROR argument to the
	font manipulation functions to avoid errors while starting up.
	Remove initialization of isearch font.
	* xfaces.c (internal-x-complain-about-font): Add new frame
	argument, so we can check the frame parameters to find the
	default font.  Callers changed.

	* faces.el (x-create-frame-with-faces): Fix typo.  Dyke out
	code to fully qualify the modeline font; we may not be able to
	do that correctly.
1993-05-09 23:38:29 +00:00
Richard M. Stallman
9b54f2680c (dabbrev-expand): Delete a search-forward call
after the second replace-match.
1993-05-09 23:18:30 +00:00
Roland McGrath
723472f14e (find-change-log): If there is a buffer-local value of
change-log-default-name, just return it with no searching.  Previously a if
it was set to a nonexistent file name, we would loop forever.
1993-05-09 23:16:19 +00:00
Richard M. Stallman
679f7f7eb7 (query-replace-map): Bind [escape] like "\e". 1993-05-09 18:03:20 +00:00
Richard M. Stallman
ba79087074 Doc fix. 1993-05-09 18:02:10 +00:00
Richard M. Stallman
af400c0042 (kbd-macro-query): Use query-replace-map to define answers. 1993-05-09 17:58:55 +00:00
Richard M. Stallman
4c2c1de1fd (vc-backend-diff): Handle either string or list. 1993-05-09 14:29:33 +00:00
Richard M. Stallman
2e810285eb (diff-switches): Define var here as well as in diff.el. 1993-05-09 14:27:02 +00:00
Richard M. Stallman
fa203a7cc3 Comment fix. 1993-05-09 14:26:40 +00:00
Richard M. Stallman
2d4130047f (mail-do-fcc): Don't output a newline before From... 1993-05-09 01:16:14 +00:00
Richard M. Stallman
8896f2df11 (rmail-convert-to-babyl-format): Delete 1 char
if we see a newline instead of what we expect.
1993-05-09 01:14:47 +00:00
Richard M. Stallman
22073ddadb (jump-to-register): Allow file name "in" a register. 1993-05-09 00:57:56 +00:00
Richard M. Stallman
e532b01661 (scroll-bar-drag, scroll-bar-drag-1): New functions.
Put scroll-bar-drag on down-mouse-2 in scroll bar.
Leave up-events on mouse-2 unbound.
1993-05-08 23:49:17 +00:00
Richard M. Stallman
b1fe930449 Require help-macro, not help-screen. 1993-05-08 22:38:37 +00:00
Richard M. Stallman
dd6a74ce66 Provide help-macro, not help-screen. 1993-05-08 22:38:25 +00:00
Richard M. Stallman
e5a10c8169 Don't add menu bar to minibuffer-only frames. 1993-05-08 16:45:38 +00:00
Richard M. Stallman
0ee7d6239a (vc-directory-18): cd to the directory in question before the file tree walk. 1993-05-08 16:17:01 +00:00
Richard M. Stallman
6ed5075cab (vc-directory-18): New function.
If Emacs 18, make vc-directory alias to this.
1993-05-08 16:14:11 +00:00
Richard M. Stallman
e9c78f076c (calendar-mode-map): Add arrow key bindings. 1993-05-07 17:40:01 +00:00
Richard M. Stallman
8159f4af7e (rmail-resend): Add `resent' attribute.
(rmail-forward): With prefix arg, run rmail-resend.
1993-05-07 17:34:34 +00:00
Richard M. Stallman
72f21cdfe3 (flush-lines, keep-lines, how-many):
Delete spurious `s' from prompt arg to read-from-minibuffer.
1993-05-06 22:21:12 +00:00
Richard M. Stallman
5511e41124 (comint-filter): New function.
(comint-exec): Install the filter.
1993-05-06 19:51:08 +00:00
Richard M. Stallman
c1172a195d (previous-matching-history-element): If minibuf is empty,
use the last regexp specified a the default.
(next-matching-history-element): Likewise.
1993-05-06 18:54:32 +00:00
Richard M. Stallman
080478d65a (comint-previous-matching-input): Use let* in the interactive. 1993-05-06 18:51:49 +00:00
Richard M. Stallman
0c5c1f3421 (comint-previous-matching-input): New command, on M-r.
(comint-next-matching-input): New command, on M-s.
(comint-previous-similar-input): Commented out.
(comint-next-similar-input): Likewise.
(comint-previous-input-matching): Deleted.
(comint-last-input-match): Var commented out.
(comint-mode): Don't make comint-last-input-match local.
1993-05-06 14:30:09 +00:00
Richard M. Stallman
a3666e4719 (auto-mode-alist): Delete the entries for makefile-mode. 1993-05-06 01:33:13 +00:00
Richard M. Stallman
74416836f8 Comment changes. 1993-05-06 01:30:26 +00:00
Richard M. Stallman
1d928d6939 Doc fix. 1993-05-05 22:47:54 +00:00
Richard M. Stallman
3731572535 (blink-matching-paren-distance): Change default to 12,000. 1993-05-05 18:12:04 +00:00
Richard M. Stallman
e8ee1ccf68 (vc-backend-diff): Use diff-switches, not vc-diff-options.
(vc-diff-options): Variable deleted.
1993-05-04 19:52:02 +00:00
Richard M. Stallman
cdd8203f4e Doc fix. 1993-05-04 19:33:17 +00:00
Richard M. Stallman
1434b7aabc (minor-mode-map-alist): Don't use it if it's void. 1993-05-04 16:42:57 +00:00
Richard M. Stallman
ee7e9c886a (vc-dired-prefix-map): New keymap.
Use it in minor-mode-map-alist for vc-dired-mode.
1993-05-04 16:40:24 +00:00
Jim Blandy
e4c61e50a6 * calendar.el: Update reference to the papers in S-P&E.
(calendar-print-astro-day-number): Correct spelling error in
         message string.
1993-05-03 22:56:42 +00:00
Richard M. Stallman
af6a9de97d (help-for-help): Use lower case letters for help options. 1993-05-03 15:34:46 +00:00
Richard M. Stallman
ccb629e40b (string-rectangle): Renamed from fill-rectangle.
(string-rectangle-line): Renamed from fill-rectangle-line.
1993-05-03 15:01:18 +00:00
Jim Blandy
d5ec09ce2e * sun-mouse.el (suspend-emacstool): Run suspend-hook, not
suspend-hooks.
1993-05-03 04:05:33 +00:00
Jim Blandy
b22795d3e8 * yow.el (yow): Fix interactive spec. 1993-05-03 03:41:07 +00:00
Jim Blandy
15e0fbfaff * subr.el (listify-key-sequence): Use a character constant to
decide which bits to flip, not an integer constant.
1993-05-03 03:40:40 +00:00
Jim Blandy
684602b92e * sendmail.el (mail-setup): Don't insert "--\n" before the
signature.  If they want it, they can put it in their .signature
	file.
1993-05-03 03:40:10 +00:00
Jim Blandy
1a786d291b * mouse.el (mouse-buffer-menu): Don't right-justify the buffer
name; this doesn't look nice if we use a proportional font.
1993-05-03 03:38:36 +00:00
Jim Blandy
e084483dea * lucid.el: Comment out fset of set-screen-width properly.
* lucid.el: (provide 'lucid).

	* lucid.el: (switch-to-other-buffer): Avoid buffers whose names
	start with a space.
1993-05-03 03:37:47 +00:00
Jim Blandy
28dbf5014a * files.el (insert-directory): Undo change of March 23;
dereferencing links is inappropriate for dired.

	* files.el (abbreviate-file-name): If abbreviated-home-dir ends
	with a slash, don't remove the corresponding slash from filename
	when we collapse the home directory to ~.
1993-05-03 03:37:22 +00:00
Jim Blandy
85dd3810c9 * edebug.el (edebug-display): Call the `mark' function with the
FORCE argument non-nil, so that we don't get an error if the mark
	isn't set yet.

	* edebug.el (global-edebug-prefix, global-edebug-map): Add
	autoload cookies for these, so they are present when Emacs starts
	up.

	* edebug.el (global-edebug-map): Bind `C-x X d' to edebug-defun in
	this map; we can't bind it to `C-x x', as the installation
	instructions suggest, because that conflicts with
	copy-to-register.
1993-05-03 03:36:19 +00:00
Jim Blandy
afb1e4b480 * disp-table.el (describe-display-table): Don't use the term
"rope"; we're using vectors of characters now.
	(standard-display-8bit, standard-display-ascii): Set the element
	of the display table to a vector, not an integer; the latter
	doesn't mean anything.
1993-05-03 03:35:53 +00:00
Jim Blandy
f4c0acdb93 * comint.el (comint-match-partial-pathname): Move "---" range in
character class in regular expressions to the end of the character
	class; this way, it meets the POSIX regexp specs.
1993-05-03 03:35:01 +00:00
Jim Blandy
f33419002e * bytecomp.el (meta-flag): Declare this an obsolete variable.
* bytecomp.el: The `suspend-hooks' variable is obsolete now, and
	`suspend-hook' is the right name.
1993-05-03 03:34:20 +00:00
Richard M. Stallman
1770543d43 (find-file-noselect): On VMS, maybe set buffer-file-name
to the truename.  Depends on find-file-not-true-dirname-list
1993-05-02 12:46:26 +00:00
Richard M. Stallman
c43e436c21 (vc-mode-line): Don't alter key bindings.
(vc-toggle-read-only): Put on C-x C-q unconditionally.
(vc-mode): Add permanent-local property.
1993-05-01 15:00:34 +00:00
Richard M. Stallman
a1bda481b9 (vc-revert-buffer1): Fix format of compilation-error-list. 1993-05-01 03:09:16 +00:00
Richard M. Stallman
1cc2fbeb29 (find-file-noselect): Do set buffer-file-name
to the truename, when find-file-visit-truename.

(file-truename): Redo esr's change.
1993-04-30 11:54:04 +00:00
Richard M. Stallman
caf15d4f18 (vc-match-substring): Renamed from match-substring.
(vc-parse-buffer): Use new name.
1993-04-29 17:58:37 +00:00
Richard M. Stallman
24fdffaaa0 (shell-prompt-pattern): Undo last change. 1993-04-29 14:23:22 +00:00
Richard M. Stallman
dff7d67f26 (up-arrow, down-arrow, left-arrow, right-arrow): Deleted.
(kill-line, next-line-add-newlines): Doc fix.
(kill-whole-line): Doc fix.
(kill-forward-chars, kill-forward-chars): Reinsert as before.

Change defalias to define-function.
1993-04-29 13:57:52 +00:00
Roland McGrath
e9c8e24886 (vc-revert-buffer1): Ignore non-marker elts of compilation-error-list. 1993-04-28 22:48:52 +00:00
Roland McGrath
0b18a8f6e1 Add compilation-minor-mode to minor-mode-alist and minor-mode-map-alist.
(compilation-minor-mode): New defvar.
(compilation-minor-mode-map): New defvar; keymap with the bindings
from compilation-mode-map except SPC and DEL.
(compilation-mode-map): Construct this keymap to inherit from
compilation-minor-mode-map.
(compilation-setup): New function, code broken out of compilation-mode.
(compilation-mode): Call it.
(compilation-minor-mode): New function to toggle
compilation-minor-mode; if setting it, call compilation-setup.
1993-04-28 22:44:29 +00:00
Eric S. Raymond
9ae11a8907 Installed Aaron Larson's new bibtex.el. See the header comment for
details.
1993-04-28 21:19:21 +00:00
Roland McGrath
8b38db3389 (gnus-inews-organization): If ORGANIZATION is "", set it to nil. 1993-04-28 20:31:02 +00:00
Roland McGrath
59c6a78e58 (file-truename): Undo last change. 1993-04-28 17:33:42 +00:00
Eric S. Raymond
e4c8c838e9 Removed spurious comment (obsoleted by ;;;###autoload). 1993-04-28 17:08:14 +00:00
Eric S. Raymond
0d5bbbf750 (hscroll-step): New variable.
(hscroll-point-visible): New function.
(left-arrow, right-arrow): These use hscroll-point-visible for better auto-
scrolling behavior.
1993-04-27 22:01:32 +00:00
Eric S. Raymond
ca9c75792e Completed the package entry point's name change from edit-picture to
picture-mode.
(move-to-column-force, picture-end-of-line): When movement is completed,
scroll horizontally if necessary to make point visible.
(picture-beginning-of-line): New function.  Exists to force horizontal
scrolling if the buffer is wide.
(picture-mode-map): Instead of rebinding common keystrokes, use
substitute-key-definition to remap all keystrokes attached to the
corresponding commands.
1993-04-27 21:59:55 +00:00
Eric S. Raymond
f03e319c88 (gud-format-command): Fix %f expansuuin to send ondly the basename of
files to gdb.
1993-04-27 21:59:46 +00:00
Eric S. Raymond
8a5066940a (file-truename): Do the right thing when /home/gp2/eric = "". 1993-04-27 21:59:41 +00:00
Roland McGrath
d74e816f04 (find-tag-interactive): New function to read args for find-tag et al.
(find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame,
find-tag-regexp): Use it.
(find-tag, find-tag-other-window): Take new arg REGEXP-P, pass to
find-tag-noselect.
(find-tag-regexp): Call either find-tag-other-window or find-tag, rather
than find-tag-noselect and switch-to-buffer[-other-window].
(tags-location-stack): New defvar.
(find-tag-noselect): If NEXT-P is '-, pop location off tags-location-stack.
1993-04-26 19:21:01 +00:00
Eric S. Raymond
8241d7b92d Doc fixes. Also a few teaks to pacify the byte-compiler. 1993-04-26 05:15:08 +00:00
Eric S. Raymond
54f91c5b02 I started to clean this up and make it work under System V, until I hit a wall.
Discussion with Jim Blandy reveals that it can no longer be made to work
properly at all due to changes in Emacs's terminal-control interface.  So
it's getting deep-sixed, but these cleanups go in on the outside chance that
we want to revive it someday.
1993-04-26 05:15:04 +00:00
Eric S. Raymond
10d96c7d2c (global-map): Dyke out the last two event-to-function bindings. These belong
in loaddefs.el or the user's .emacs, not in a terminal support package.  Also
do the right thing and transplant all suspend-emacs bindings to iconify-frame,
rather than just C-z.
1993-04-26 05:15:01 +00:00
Eric S. Raymond
a91b2e223a (cd): Handle leading "~" like an absolute filename. 1993-04-26 05:01:41 +00:00
Eric S. Raymond
62f61df0e7 Changed fsets to defaliases. 1993-04-26 04:19:48 +00:00
Eric S. Raymond
7e0f6efc87 (comint-mod): Nuked. A call to ring-mod replaces it.
(comint-mem): Nuked.  A call to member replaces it.
1993-04-25 22:26:51 +00:00
Eric S. Raymond
d3af54acef Rewritten. A poor choice of representation made the old code excessively
complex.  The new version is smaller and faster.  The interface is
unchanged, except that ring-remove now accepts an optional numeric argument
specifying the element to remove.
1993-04-25 22:26:48 +00:00
Eric S. Raymond
5b08a462d2 Set no-byte-compile local variable t to work around a byte-compiler bug.
(gud-def, global-map): Move C-x C-a commands to global map.  Restore
original C-x SPC global binding.
1993-04-25 22:26:45 +00:00
Eric S. Raymond
8c0aaf4075 (vc-diff): Get proper error message when you run this with no prefix
arg on an empty buffer.

(vc-directory): Better directory format --- replace the user and group IDs
with locking-user (if any).

(vc-finish-logentry, vc-next-comment, vc-previous-comment):  Replace
*VC-comment-buffer* with a ring vector.
1993-04-25 22:26:40 +00:00
Eric S. Raymond
3ab1f5b5ef (down-arrow): New function. Uses next-line-add-newlines to suppress
addition of new lines at end of buffer.
(up-arrow): Alias of previous-line, added for consistency.
These changes complete terminal-type-independent support for arrow keys.
1993-04-25 06:14:13 +00:00
Eric S. Raymond
2f3067de92 (tex-compilation-parse-errors): Added. At the moment, this would have
to be applied manually.  It's not worth trying to integrate this with
the rest of the mode more tightly until we decide whether and how
compile's interface is going to change away from a closed subsystem.
1993-04-25 06:14:10 +00:00
Eric S. Raymond
231c4e102b (cd): Changed to use to resolve relative cd calls.
(cd-absolute): Added.  This is actually the old cd code with a changed
doc string.
(parse-colon-path): Added. Path-to-string exploder --- may be useful elsewhere.
1993-04-25 06:14:06 +00:00
Eric S. Raymond
41dc743ded Added and fixed documentation.
(ring-rotate):  Nuked.  It was (a) unused, and (b) totally broken (as in,
any attempt to use it died with a type error, and when I patched it to fix
that I found its algorithm was broken).
(ring-ref): Added doc string.
1993-04-25 06:14:03 +00:00
Noah Friedman
42d5c01e21 *** empty log message *** 1993-04-24 10:10:19 +00:00
Eric S. Raymond
b457cc3bab Replaced all fsets with defaliases. 1993-04-23 07:31:14 +00:00
Eric S. Raymond
31e1d9206b All fsets changed to defaliases. 1993-04-23 06:51:44 +00:00
Eric S. Raymond
f2a2c3d2e3 Some fsets changed to defaliases. 1993-04-23 06:50:51 +00:00
Eric S. Raymond
059184ddd5 All fsets changed to defaliases.
EOT

ci -u dired.el <<EOF
Some fsets changed to defaliases.
1993-04-23 06:50:48 +00:00
Eric S. Raymond
38ebcf290b All fsets changed to defaliases.
(kill-forward-chars, kill-backward-chars): Deleted.  These were
internal subroutines used by delete-char and delete-backward-char
before those functions were moved into the C kernel.  Now nothing uses
them.
(kill-line): Added kill-whole-line variable.  Defaults to nil; a
non-nil value causes a kill-line at the beginning of a line to kill
the newline as well as the line.  I find it very convenient.  Emulates
Unipress' &kill-lines-magic variable.
(next-line): Added next-line-add-newlines variable.  If nil, next-line will not
insert newlines when invoked at the end of a buffer.  This obviates three LCD
packages.
(left-arrow, right-arrow): New functions.  These do backward-char and
forward-char first. If line truncation is on, they then scroll left or
right as necessary to make sure point is visible.
1993-04-23 06:50:37 +00:00
Eric S. Raymond
cdccfc0d1c Initial revision 1993-04-23 03:54:38 +00:00