1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
Commit graph

1392 commits

Author SHA1 Message Date
Jim Blandy
7e6491d3b4 * callint.c (Fcall_interactively): Change handling of 'e' spec;
this_command_keys is now a vector.
1992-10-17 22:11:23 +00:00
Jim Blandy
22cb290f67 * make-dist: Include lib-src/makedoc.com and emacs.csh in the
distribution.

	* config.sub: New file, to help us recognize configuration names.
	* make-dist: Include it in the distribution.
1992-10-17 22:07:49 +00:00
Jim Blandy
20d9a863df Partially changed to use GCC-style configuration names. 1992-10-17 22:07:23 +00:00
Jim Blandy
03b600f722 *** empty log message *** 1992-10-17 22:05:04 +00:00
Jim Blandy
b0f3a26ba8 * mouse.el (mouse-tear-off-window): New function. 1992-10-17 21:57:45 +00:00
Richard M. Stallman
652ccd357d (mouse-set-region): New command. Bind drag-mouse-1 to it. 1992-10-17 07:07:39 +00:00
Jim Blandy
cb7b0c050f *** empty log message *** 1992-10-16 08:26:44 +00:00
Richard M. Stallman
628ed36619 (telnet): Do erase-buffer after the initial output. 1992-10-16 01:35:47 +00:00
Roland McGrath
134994aee8 (check_memory_limits): Declare __morecore.
Remove unused variable `result'.
1992-10-15 23:44:00 +00:00
Roland McGrath
fd0654667e (morecore_with_warning): Removed.
(check_memory_limits): New fn; most code from morecore_with_warning, but
only checks limits, doesn't do any work.
(memory_warnings): Set __after_morecore_hook to check_memory_limits;
don't set __morecore.
1992-10-15 23:29:28 +00:00
Mike Stump
4e7d5543d9 Add support for a new 64 bit CPU type. Elxsi. 1992-10-15 21:06:27 +00:00
Richard M. Stallman
2a01536358 (telnet): Wait for telnet output before sending `open'. 1992-10-15 07:18:11 +00:00
Richard M. Stallman
5bfe95c936 Comment fix. 1992-10-15 05:07:42 +00:00
Joseph Arceneaux
e0b634930e * intervals.c (traverse_intervals): New parameter `depth'.
Increment this when passing recursively.
1992-10-14 23:12:09 +00:00
Joseph Arceneaux
433c217556 * alloc.c (mark_interval_tree): Pass 0 as initial depth argument
to traverse_intervals().
1992-10-14 23:10:56 +00:00
Joseph Arceneaux
125f517a5f * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
`face_list' elements.  Do copy new `max_ascent' frame element.
1992-10-14 23:00:38 +00:00
Joseph Arceneaux
9f2279add7 * dispextern.h: New element of frame structure `max_ascent'.
Removed elements `nruns' and `face_list'.
	LINE_HEIGHT and LINE_WIDTH macros removed.
	New struct face with associated typedef FACE declared, along with
	accessing macros.
1992-10-14 23:00:18 +00:00
Joseph Arceneaux
9d46c2e6bb * xterm.h: Declaration of struct face removed. 1992-10-14 22:51:35 +00:00
Joseph Arceneaux
448fd7c056 * dispnew.c (scroll_frame_lines): All references to frame elements
`nruns' and 'face_list' removed.  Handle new element `max_ascent'.
	(free_frame_glyphs): Don't free nonexistent elements `nruns' and
	`face_list';  do free `max_ascent' element.
	(make_frame_glyphs): Don't allocate nonexistent elements `nruns'
	and `face_list';  do allocate `max_ascent' element.
	(update_frame): Replaced use of macro LINE_HEIGHT with element
	frame element `pix_height'.
1992-10-14 21:30:21 +00:00
Jim Blandy
6d1df4b2a4 * files.el (file-truename): The variable ~ should be considered an
absolute pathname; handle it correctly.  Concatenate the directory
	onto the filename in the correct order.
1992-10-14 16:45:31 +00:00
Jim Blandy
1e733c6f88 Initial revision 1992-10-13 17:55:42 +00:00
Jim Blandy
856bf26390 * keyboard.c (kbd_buffer_get_event): Fix fencepost bug in
fetching events from kbd_buffer.
1992-10-12 22:12:59 +00:00
Roland McGrath
aef4d57054 Removed #include "mem-limits.h".
[emacs]: Moved #undef NULL and #include "getpagesize.h" here.
[! emacs]: #include <unistd.h>, <malloc.h>, <string.h>.
(r_alloc_init): Use NIL, not NULL.
1992-10-12 21:40:50 +00:00
Jim Blandy
6f97c96a77 * keyboard.c (kbd_buffer_get_event): Remember that
*mouse_position_hook may set *FRAME to 0; don't generate
	switch-frame events in this case.
1992-10-12 21:25:28 +00:00
Roland McGrath
bbc60227be (sbrk): Removed decl.
(real_morecore): New static variable.
(warnlevel, warn_function, check_memory_limits): Removed.
(obtain): Don't call check_memory_limits.
(obtain, relinquish, r_alloc_sbrk): Use (*real_morecore) in place of sbrk;
it returns 0 for errors, not -1.
(r_alloc_init): Set real_morecore to old value of __morecore.
Don't initialize lim_data or warnlevel, and don't call get_lim_data.
(memory_warnings): Function removed.
1992-10-12 21:07:25 +00:00
Roland McGrath
da396c5e1f (warnfunction): Renamed to warn_function (was used inconsistently).
(morecore_with_warning, memory_warnings): Change callers (were inconsistent).
1992-10-12 19:59:52 +00:00
Roland McGrath
aa3e02cec0 (start_of_data): Removed extra defn.
(get_lim_data): Define to return void.
1992-10-12 19:10:02 +00:00
Roland McGrath
e231fd422e mem_limits.h is now called mem-limits.h. 1992-10-12 18:55:05 +00:00
Roland McGrath
a128c7a004 (visit-tags-table-buffer): When trying to pick table, call
tags-expand-table-name on alternatives that might be nil.
(tags-table-files): Don't call visit-tags-table-buffer; assume we are there.
1992-10-12 17:18:22 +00:00
Richard M. Stallman
e0dad66eef (edit-picture): Run picture-mode-hook. 1992-10-12 04:53:11 +00:00
Richard M. Stallman
f3e2360646 (buffer-file-number): New variable.
(find-file-noselect): Record the file's filenum and devnum.
Notify if any buffer has the same values.
(basic-save-buffer): Save new filenum and devnum.
For file-precious-flag, pass real name as VISIT arg of write-region.
(set-visited-file-name): Likewise.
Clear buffer-file-{number,truename} if now visiting no file.
1992-10-12 04:45:53 +00:00
Richard M. Stallman
f77ffc3d77 (find_defun_start): scan_buffer returns start of line;
no need to advance over newline.
1992-10-11 20:41:13 +00:00
Richard M. Stallman
6fb48933f7 [!emacs]: Don't define POINTER, SIZE or NULL.
(start_of_data): Define as macro, if !emacs.
(EXCEEDS_LISP_PTR): Renamed from EXCEEDS_ELISP_PTR.
1992-10-11 20:40:05 +00:00
Richard M. Stallman
3b672b8f44 (morecore_with_warning): Reduce warnlevel when usage drops far enough.
(memory_warnings): Renamed from malloc_init.
Don't set lim_data or warnlevel.  Use start_of_data if start is 0.

[!emacs]: Don't include config.h or lisp.h;
instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
(morecore_with_warning): Use EXCEEDS_LISP_PTR.
1992-10-11 20:39:15 +00:00
Richard M. Stallman
70eb2c3e2d (Fdump_emacs, main): Use memory_warnings. 1992-10-11 20:38:00 +00:00
Richard M. Stallman
2c46d29fbd (check_memory_limits): Reduce warnlevel when usage drops far enough.
(memory_warnings): New function; just set warning data.
Use start_of_data if start is 0.

[!emacs]: Don't include config.h or lisp.h;
instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.

[!emacs] (safe_bcopy): Define as macro using memmove.
(r_alloc_free): Clear *ptr.
(r_alloc_init): Renamed from malloc_init.  Take no args.
Make it static; declare at top of file.
(r_alloc): Call r_alloc_init, if not initialized yet.
(r_alloc_initialized): Renamed from malloc_initialized; moved to top.
(ROUNDUP): Subtract 1, in case arg is already aligned.

(check_memory_limits): EXCEEDS_LISP_PTR renamed from EXCEEDS_ELISP_PTR.
1992-10-11 20:37:32 +00:00
Jim Blandy
54c908b57c * xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
warnings about redefining NULL under GCC 2.2.2.
1992-10-11 06:44:42 +00:00
Jim Blandy
e25c4e44b8 * keymap.c (initial_define_lispy_key): New function, for defining
non-ascii keys.

	* keymap.c (access_keymap): Treat bindings for Qt as default
	bindings, when new argument T_OK is non-zero.
	(get_keyelt, Fdefine_key, Flookup_key): Call access_keymap with
	T_OK false.
1992-10-11 06:43:30 +00:00
Jim Blandy
6084b314a5 * keyboard.h (Qswitch_frame): Declare this extern.
* keyboard.h (this_command_keys, this_command_key_count): Added
	external declarations.
1992-10-11 06:42:47 +00:00
Jim Blandy
cd21b83986 * keyboard.c (Vlast_event_frame): Make this variable exist even
when MULTI_FRAME isn't #defined.  People might find it
	necessary for writing correct programs, even when the programs
	don't explicitly use multiple frames.
	(read_char, kbd_buffer_store_event, kbd_buffer_get_event): No need
	to test MULTI_FRAME before setting Vlast_event_frame.
	(syms_of_keyboard): DEFVAR Vlast_event_frame whether or not
	MULTI_FRAME is defined.

        * keyboard.c: Add switch-frame events.
	(Qswitch_frame): New event header symbol.
	(head_table): Include Qswitch_frame in the table of event heads.
	(kbd_buffer_get_event): Detect when a frame switch has occurred,
	and return a frame switch event before the enqueued event.
	(make_lispy_switch_frame): New function.
	(unread_switch_frame): New variable.
	(read_key_sequence): Don't throw away the key sequence if the user
	switches frames in the middle of the sequence.  Instead, when we
	receive a switch-frame event in the middle of a key sequence, save
	it, and stuff it into unread_switch_frame when the sequence
	is complete.
	(read_char): If unread_switch_frame is set, return that value.
	(command_loop_1): No need to check Vlast_event_frame and select
	new frames here; that's taken care of by switch-frame events now.
	(syms_of_keyboard): Initialize and staticpro unread_switch_frame.

	* keyboard.c (follow_key, read_key_sequence): Call access_keymap
	with T_OK true.

	* keyboard.c (apply_modifiers): Copy the value of BASE's
	Qevent_kind property to the new symbol.

	* keyboard.c (syms_of_keyboard): Qevent_kind should be initialized
	to intern ("event-kind"), not intern ("event-type").
1992-10-11 06:42:03 +00:00
Jim Blandy
2f0b07e06c * frame.c: #include "commands.h" and "keyboard.h".
(Fselect_frame): Make this interactive, and accept
	switch-frame events as arguments, so we can bind this function to
	switch-frame events.
	(keys_of_frame): New function; bind switch-frame to Fselect_frame.
1992-10-11 06:40:57 +00:00
Jim Blandy
5e67fbc2f0 * emacs.c (main): Call keys_of_frame. 1992-10-11 06:40:24 +00:00
Jim Blandy
bc78232cf6 * callint.c (Fcall_interactively): Allow multiple 'e' specs.
(Finteractive): Doc fix.
1992-10-11 06:39:13 +00:00
Jim Blandy
9712b0bd2e * rmail.el (rmail-mode): Make this autoload; we might find a file
whose first line local variables want to put it in RMAIL mode;
	that ought to work.
1992-10-11 06:35:04 +00:00
Jim Blandy
abe1443115 * dired-aux.el (dired-compress-file): Change references to
`from-file' to use `file'; the former only works because
	dired-compress-file is only called by dired-compress, which binds
	from-file.
1992-10-11 06:34:28 +00:00
Richard M. Stallman
49c1310557 (isearch-ring-advance-edit): Delete spurious `)'. 1992-10-11 05:25:11 +00:00
Richard M. Stallman
c395cc7b23 [__GNUC__ >= 2] (LIB_STANDARD): Don't define. 1992-10-10 11:46:11 +00:00
Jim Blandy
a328c9eff1 *** empty log message *** 1992-10-10 11:40:00 +00:00
Richard M. Stallman
3b7792ed33 (Fwrite_region): If VISIT is a file name,
use that as file name to visit, and print it in the message.
Use it for file locking too.
1992-10-10 08:34:51 +00:00
Richard M. Stallman
ae7a6b887e (comint-last-input-match): defvar moved up. 1992-10-10 07:33:59 +00:00