]> code.delx.au - gnu-emacs/log
gnu-emacs
31 years agoUpdate GNU_MALLOC and REL_ALLOC in config.h.
Richard M. Stallman [Tue, 27 Oct 1992 09:07:23 +0000 (09:07 +0000)]
Update GNU_MALLOC and REL_ALLOC in config.h.

31 years ago(shell-command-on-region):
Richard M. Stallman [Tue, 27 Oct 1992 08:48:02 +0000 (08:48 +0000)]
(shell-command-on-region):
Use region-beginning and region-end, in interactive spec.

31 years ago(isearch-edit-string):
Richard M. Stallman [Tue, 27 Oct 1992 04:11:46 +0000 (04:11 +0000)]
(isearch-edit-string):
Bind cursor-in-echo-area only around read-char/allocate-event.

31 years ago* make-dist: Copy config.sub, since it's a symbolic link to a file
Jim Blandy [Tue, 27 Oct 1992 00:55:32 +0000 (00:55 +0000)]
* make-dist: Copy config.sub, since it's a symbolic link to a file
on another file system.

31 years ago(vc-resynch-window): New arg NOQUERY. Pass it to vc-revert-buffer1.
Richard M. Stallman [Mon, 26 Oct 1992 05:33:20 +0000 (05:33 +0000)]
(vc-resynch-window): New arg NOQUERY.  Pass it to vc-revert-buffer1.
(vc-checkout, vc-finish-logentry, vc-revert-buffer, vc-finish-steal):
Supply t as NOQUERY arg for vc-resynch-window.
(vc-next-action): Don't revert workfile from master if buffer is modified.

31 years agoDox fix.
Christopher Zaborsky [Sun, 25 Oct 1992 21:14:16 +0000 (21:14 +0000)]
Dox fix.

31 years agoDoc fix.
Christopher Zaborsky [Sun, 25 Oct 1992 21:05:35 +0000 (21:05 +0000)]
Doc fix.

31 years agoDoc fix.
Christopher Zaborsky [Sun, 25 Oct 1992 19:44:06 +0000 (19:44 +0000)]
Doc fix.

31 years ago(vc-prefix-map): Put vc-diff on = and vc-directory on d.
Richard M. Stallman [Sat, 24 Oct 1992 20:07:08 +0000 (20:07 +0000)]
(vc-prefix-map): Put vc-diff on = and vc-directory on d.

31 years ago(relinquish): Adjust page_break_value by amount of memory actually given back.
Richard M. Stallman [Sat, 24 Oct 1992 04:39:49 +0000 (04:39 +0000)]
(relinquish): Adjust page_break_value by amount of memory actually given back.
(r_alloc_sbrk): Provide hysteresis in relocating the blocs.

(relinquish): Never free less than extra_bytes;
keep extra_bytes of empty space.
(obtain): Always get extra_bytes additional space.
(r_alloc_init): Set extra_bytes and page_size.
(ALIGNED, ROUNDUP, ROUND_TO_PAGE): Use page_size.

31 years ago* emacs.c (main): Correct spelling of HAVE_X_WINDOW to
Jim Blandy [Fri, 23 Oct 1992 20:40:04 +0000 (20:40 +0000)]
* emacs.c (main): Correct spelling of HAVE_X_WINDOW to
HAVE_X_WINDOWS in conditionals around the call to syms_of_xmenu.

31 years ago(set-visited-file-name): Change the auto save file name.
Richard M. Stallman [Fri, 23 Oct 1992 11:06:14 +0000 (11:06 +0000)]
(set-visited-file-name): Change the auto save file name.

31 years ago(insert-kbd-macros): If arg is empty, use last macro as default.
Richard M. Stallman [Fri, 23 Oct 1992 09:38:44 +0000 (09:38 +0000)]
(insert-kbd-macros): If arg is empty, use last macro as default.

31 years ago(insert-kbd-macro): Replace nonprinting chars with escapes.
Richard M. Stallman [Fri, 23 Oct 1992 09:31:22 +0000 (09:31 +0000)]
(insert-kbd-macro): Replace nonprinting chars with escapes.

31 years ago(mail-aliases): Doc fix.
Richard M. Stallman [Fri, 23 Oct 1992 09:20:44 +0000 (09:20 +0000)]
(mail-aliases): Doc fix.

31 years ago(describe-function): Print `an autoloaded', not `a ...'.
Richard M. Stallman [Fri, 23 Oct 1992 09:19:12 +0000 (09:19 +0000)]
(describe-function): Print `an autoloaded', not `a ...'.

31 years ago(goal-column): Don't put the defvar inside the make-variable-buffer-local.
Richard M. Stallman [Fri, 23 Oct 1992 08:54:08 +0000 (08:54 +0000)]
(goal-column): Don't put the defvar inside the make-variable-buffer-local.

31 years ago(dired-chown-program): Treat silicon-graphics-unix like usg-unix-v.
Richard M. Stallman [Wed, 21 Oct 1992 19:30:34 +0000 (19:30 +0000)]
(dired-chown-program): Treat silicon-graphics-unix like usg-unix-v.

31 years ago(rmail-mode-map): Delete binding of M-r (use global one).
Richard M. Stallman [Wed, 21 Oct 1992 06:59:39 +0000 (06:59 +0000)]
(rmail-mode-map): Delete binding of M-r (use global one).

31 years ago(lpr-command): Treat hpux and silicon-graphics-unix like usg-unix-v.
Richard M. Stallman [Wed, 21 Oct 1992 06:42:09 +0000 (06:42 +0000)]
(lpr-command): Treat hpux and silicon-graphics-unix like usg-unix-v.

31 years ago(backward-kill-sentence): Fix typo in last change.
Richard M. Stallman [Wed, 21 Oct 1992 04:54:45 +0000 (04:54 +0000)]
(backward-kill-sentence): Fix typo in last change.

31 years agoDoc fixes.
Richard M. Stallman [Wed, 21 Oct 1992 04:52:59 +0000 (04:52 +0000)]
Doc fixes.

31 years ago(rmail-output-to-rmail-file): Call abbreviate-file-name.
Richard M. Stallman [Wed, 21 Oct 1992 04:52:46 +0000 (04:52 +0000)]
(rmail-output-to-rmail-file): Call abbreviate-file-name.

31 years ago(comment-region): Do move to next line, in neg arg case.
Richard M. Stallman [Tue, 20 Oct 1992 21:22:44 +0000 (21:22 +0000)]
(comment-region): Do move to next line, in neg arg case.

31 years ago(isearch-mode-map): Make the top-level keymap dense.
Richard M. Stallman [Tue, 20 Oct 1992 21:21:47 +0000 (21:21 +0000)]
(isearch-mode-map): Make the top-level keymap dense.
Explicitly bind control characters at that level.

31 years ago(vc-registered): Look for handler only if file-name-handler-alist is bound.
Richard M. Stallman [Tue, 20 Oct 1992 18:43:33 +0000 (18:43 +0000)]
(vc-registered): Look for handler only if file-name-handler-alist is bound.

31 years ago(ange-ftp-add-vms-host, ange-ftp-add-dl-dir, ange-ftp-add-mts-host):
Richard M. Stallman [Tue, 20 Oct 1992 07:05:38 +0000 (07:05 +0000)]
(ange-ftp-add-vms-host, ange-ftp-add-dl-dir, ange-ftp-add-mts-host):
(ange-ftp-add-dumb-unix-host): Use default-directory, not dired-directory.

(ange-ftp-allow-child-lookup): Eliminate use of dired-local-variables-file.

31 years ago(vc-registered): Look for a vc-registered handler.
Richard M. Stallman [Tue, 20 Oct 1992 06:44:21 +0000 (06:44 +0000)]
(vc-registered): Look for a vc-registered handler.

31 years agoAdd dummy handlers for file-truename and vc-registered.
Richard M. Stallman [Tue, 20 Oct 1992 06:43:48 +0000 (06:43 +0000)]
Add dummy handlers for file-truename and vc-registered.

31 years ago(file-truename): Check for root by seeing if
Richard M. Stallman [Tue, 20 Oct 1992 06:39:24 +0000 (06:39 +0000)]
(file-truename): Check for root by seeing if
directory-file-name returns same as DIR.
Look for a file-truename handler for the file name.

31 years ago(grow_specpdl): Increase max_specpdl_size before Fsignal.
Richard M. Stallman [Tue, 20 Oct 1992 06:13:00 +0000 (06:13 +0000)]
(grow_specpdl): Increase max_specpdl_size before Fsignal.

31 years ago[emacs]: Define POINTER and SIZE.
Richard M. Stallman [Tue, 20 Oct 1992 06:12:43 +0000 (06:12 +0000)]
[emacs]: Define POINTER and SIZE.
[!emacs]: Delete definition of EXCEEDS_LISP_PTR.

31 years ago(get_lim_data): Make it static.
Richard M. Stallman [Tue, 20 Oct 1992 06:12:19 +0000 (06:12 +0000)]
(get_lim_data): Make it static.

31 years ago(syms_of_keyboard): Properly staticpro this_command_keys.
Richard M. Stallman [Tue, 20 Oct 1992 06:11:53 +0000 (06:11 +0000)]
(syms_of_keyboard): Properly staticpro this_command_keys.

31 years ago(mail-aliases): Add definition here.
Richard M. Stallman [Tue, 20 Oct 1992 04:35:17 +0000 (04:35 +0000)]
(mail-aliases): Add definition here.

31 years ago(add-log-current-defun): Add condition-case around
Richard M. Stallman [Mon, 19 Oct 1992 22:39:55 +0000 (22:39 +0000)]
(add-log-current-defun): Add condition-case around
the body, so at worst we return nil.

31 years ago* xdisp.c (message): If M is zero, clear echo_area_glyphs and
Jim Blandy [Mon, 19 Oct 1992 18:47:56 +0000 (18:47 +0000)]
* xdisp.c (message): If M is zero, clear echo_area_glyphs and
previous_echo_glyphs, so that the minibuffer shows through.

31 years ago* window.h (struct window): Doc fix.
Jim Blandy [Mon, 19 Oct 1992 18:47:21 +0000 (18:47 +0000)]
* window.h (struct window): Doc fix.

31 years ago* window.c: Try to deal coherently with deleted windows:
Jim Blandy [Mon, 19 Oct 1992 18:46:29 +0000 (18:46 +0000)]
* window.c: Try to deal coherently with deleted windows:
* (Flive_window_p): New function.
(Qlive_window_p): New variable, to name it in type errors.
(syms_of_window): Defsubr Slive_window_p, init and staticpro
Qlive_window_p.
(decode_window): Use CHECK_LIVE_WINDOW instead of
CHECK_WINDOW; the only thing a user should be able to do to a dead
window is check its type.
(Fcoordinates_in_window_p, Fnext_window, Fprevious_window,
Fdelete_other_windows, Fselect_window, Fsplit_window,
Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
CHECK_WINDOW.
(Fdelete_window): If WINDOW is a deleted window, do nothing;
there's no harm in allowing people to delete deleted windows.
Delete all of WINDOW's subwindows, too.
(delete_all_subwindows): Set the buffer, vchild, and hchild of the
windows we delete all to nil.

* window.c (Fwindow_minibuffer_p): Make the WINDOW argument
optional, like all the other window-querying functions.

* window.c (Fpos_visible_in_window_p): Use decode_window to handle
the WINDOW argument, instead of writing out that function's code.

* window.c (check_frame_size): Don't define this extern; that
doesn't mean anything.

* window.c (Fdelete_window): Choose an alternative when we delete
any frame's selected window, not just when we delete the selected
frame's selected window.

31 years ago* minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
Jim Blandy [Mon, 19 Oct 1992 18:44:46 +0000 (18:44 +0000)]
* minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
and previous_echo_glyphs; let message do that work.

31 years ago* lisp.h (CHECK_LIVE_WINDOW): New predicate.
Jim Blandy [Mon, 19 Oct 1992 18:41:37 +0000 (18:41 +0000)]
* lisp.h (CHECK_LIVE_WINDOW): New predicate.
(Qlive_window_p): Extern declaration for this.

31 years ago* keymap.c (store_in_keymap): Don't forget to QUIT in the
Jim Blandy [Mon, 19 Oct 1992 18:41:06 +0000 (18:41 +0000)]
* keymap.c (store_in_keymap): Don't forget to QUIT in the
keymap-scanning loop.  Don't treat vectors as binding tables if
they're the wrong length.

* keymap.c (store_in_keymap): Don't forget to QUIT in the
keymap-scanning loop.  Don't treat vectors as binding tables if
they're the wrong length.

31 years ago* keyboard.h (this_command_keys): Extern declaration changed. Doc fix.
Jim Blandy [Mon, 19 Oct 1992 18:39:37 +0000 (18:39 +0000)]
* keyboard.h (this_command_keys): Extern declaration changed.  Doc fix.

31 years ago* keyboard.c (this_command_keys): Make this a vector, instead of
Jim Blandy [Mon, 19 Oct 1992 18:38:58 +0000 (18:38 +0000)]
* keyboard.c (this_command_keys): Make this a vector, instead of
an array of Lisp_Objects.
(this_command_keys_size): Deleted.
(echo, add_command_key, Fthis_command_keys): Adjusted
appropriately.
(init_keyboard): Don't allocate it here.
(syms_of_keyboard): Allocate it here, and staticpro it.

* keyboard.c (read_char): Call ourselves with the appropriate
number of arguments.
(read_char_menu_prompt): If USED_MOUSE_MENU is zero, don't try to
store things in it.

* keyboard.c (modify_event_symbol): Arrange to set the
click_modifier bit on otherwise unmodified mouse clicks.

* 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.  Fix fencepost bug in fetching
events from keyboard buffer.

31 years agoSame.\f * xfns.c (x_set_face): Dyked out this function; it has no callers,
Jim Blandy [Mon, 19 Oct 1992 18:36:13 +0000 (18:36 +0000)]
Same.\f * xfns.c (x_set_face): Dyked out this function; it has no callers,
and refers to an obsolete version of struct face.

31 years ago* frame.c (make_frame_without_minibuffer, Fwindow_frame): Use
Jim Blandy [Mon, 19 Oct 1992 18:33:14 +0000 (18:33 +0000)]
* frame.c (make_frame_without_minibuffer, Fwindow_frame): Use
CHECK_LIVE_WINDOW instead of CHECK_WINDOW.
* sunfns.c (Fsun_menu_internal): Same.
* xmenu.c (Fx_popup_menu): Same.

31 years ago* xterm.c (compose_status): New variable.
Jim Blandy [Mon, 19 Oct 1992 18:31:34 +0000 (18:31 +0000)]
* xterm.c (compose_status): New variable.
(XTread_socket): Pass it by reference to XLookupString.

* xterm.c: Clean up some of the caps lock handling:
(x_shift_lock_mask): New variable.
(x_find_modifier_mappings): Set it, based on the modifier mappings.
(x_convert_modifiers): Use x_shift_lock_mask, instead of assuming
that the lock bit always means to shift the character.
(XTread_socket): When handling KeyPress events, don't pass an
XComposeStatus structure along to XLookupString.  When handling
MappingNotify events, call XRefreshKeyboardMapping for both
MappingModifier and MappingKeyboard events, not just the latter.

31 years ago(kill-sentence, backward-kill-sentence):
Richard M. Stallman [Sun, 18 Oct 1992 22:56:00 +0000 (22:56 +0000)]
(kill-sentence, backward-kill-sentence):
(kill-paragraph, backward-kill-paragraph):
Don't change point before calling kill-region.

31 years agoDoc fixes.
Richard M. Stallman [Sun, 18 Oct 1992 22:21:08 +0000 (22:21 +0000)]
Doc fixes.

31 years agoComment fix.
Richard M. Stallman [Sun, 18 Oct 1992 22:20:45 +0000 (22:20 +0000)]
Comment fix.

31 years agoDelete version 18 compatibility stuff.
Richard M. Stallman [Sun, 18 Oct 1992 22:20:07 +0000 (22:20 +0000)]
Delete version 18 compatibility stuff.
(mail-abbrevs, build-mail-abbrevs, rebuild-mail-abbrevs):
(merge-mail-abbrevs): Renamed `mail-aliases' to `mail-abbrevs'.
(mail-abbrev-end-of-buffer): Renamed from abbrev-hacking-end-of-buffer.
(mail-abbrev-next-line): Renamed from abbrev-hacking-next-line.

31 years ago(mail-setup): Call build-mail-aliases, not mail-abbrev-setup.
Richard M. Stallman [Sun, 18 Oct 1992 22:19:36 +0000 (22:19 +0000)]
(mail-setup): Call build-mail-aliases, not mail-abbrev-setup.
(sendmail-send-it): Call expand-mail-aliases.

31 years ago(rmail-sort-messages): Give up right away if not Rmail mode.
Richard M. Stallman [Sun, 18 Oct 1992 19:10:56 +0000 (19:10 +0000)]
(rmail-sort-messages): Give up right away if not Rmail mode.

31 years agoDox fixes.
Christopher Zaborsky [Sun, 18 Oct 1992 19:03:45 +0000 (19:03 +0000)]
Dox fixes.

31 years ago(BROKEN_FIONREAD): Defined.
Richard M. Stallman [Sun, 18 Oct 1992 08:09:23 +0000 (08:09 +0000)]
(BROKEN_FIONREAD): Defined.

31 years ago(occur): Always search entire buffer.
Richard M. Stallman [Sun, 18 Oct 1992 01:06:40 +0000 (01:06 +0000)]
(occur): Always search entire buffer.

31 years ago* * editfns.c (Fmessage): With no arguments, clear any active
Jim Blandy [Sat, 17 Oct 1992 22:11:56 +0000 (22:11 +0000)]
*       * editfns.c (Fmessage): With no arguments, clear any active
message; let the minibuffer contents show through.

31 years ago* callint.c (Fcall_interactively): Change handling of 'e' spec;
Jim Blandy [Sat, 17 Oct 1992 22:11:23 +0000 (22:11 +0000)]
* callint.c (Fcall_interactively): Change handling of 'e' spec;
this_command_keys is now a vector.

31 years ago* make-dist: Include lib-src/makedoc.com and emacs.csh in the
Jim Blandy [Sat, 17 Oct 1992 22:07:49 +0000 (22:07 +0000)]
* 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.

31 years agoPartially changed to use GCC-style configuration names.
Jim Blandy [Sat, 17 Oct 1992 22:07:23 +0000 (22:07 +0000)]
Partially changed to use GCC-style configuration names.

31 years ago*** empty log message ***
Jim Blandy [Sat, 17 Oct 1992 22:05:04 +0000 (22:05 +0000)]
*** empty log message ***

31 years ago* mouse.el (mouse-tear-off-window): New function.
Jim Blandy [Sat, 17 Oct 1992 21:57:45 +0000 (21:57 +0000)]
* mouse.el (mouse-tear-off-window): New function.

31 years ago(mouse-set-region): New command. Bind drag-mouse-1 to it.
Richard M. Stallman [Sat, 17 Oct 1992 07:07:39 +0000 (07:07 +0000)]
(mouse-set-region): New command.  Bind drag-mouse-1 to it.

31 years ago*** empty log message ***
Jim Blandy [Fri, 16 Oct 1992 08:26:44 +0000 (08:26 +0000)]
*** empty log message ***

31 years ago(telnet): Do erase-buffer after the initial output.
Richard M. Stallman [Fri, 16 Oct 1992 01:35:47 +0000 (01:35 +0000)]
(telnet): Do erase-buffer after the initial output.

31 years ago(check_memory_limits): Declare __morecore.
Roland McGrath [Thu, 15 Oct 1992 23:44:00 +0000 (23:44 +0000)]
(check_memory_limits): Declare __morecore.
Remove unused variable `result'.

31 years ago(morecore_with_warning): Removed.
Roland McGrath [Thu, 15 Oct 1992 23:29:28 +0000 (23:29 +0000)]
(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.

31 years agoAdd support for a new 64 bit CPU type. Elxsi.
Mike Stump [Thu, 15 Oct 1992 21:06:27 +0000 (21:06 +0000)]
Add support for a new 64 bit CPU type.  Elxsi.

31 years ago(telnet): Wait for telnet output before sending `open'.
Richard M. Stallman [Thu, 15 Oct 1992 07:18:11 +0000 (07:18 +0000)]
(telnet): Wait for telnet output before sending `open'.

31 years agoComment fix.
Richard M. Stallman [Thu, 15 Oct 1992 05:07:42 +0000 (05:07 +0000)]
Comment fix.

31 years ago* intervals.c (traverse_intervals): New parameter `depth'.
Joseph Arceneaux [Wed, 14 Oct 1992 23:12:09 +0000 (23:12 +0000)]
* intervals.c (traverse_intervals): New parameter `depth'.
Increment this when passing recursively.

31 years ago* alloc.c (mark_interval_tree): Pass 0 as initial depth argument
Joseph Arceneaux [Wed, 14 Oct 1992 23:10:56 +0000 (23:10 +0000)]
* alloc.c (mark_interval_tree): Pass 0 as initial depth argument
to traverse_intervals().

31 years ago* scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
Joseph Arceneaux [Wed, 14 Oct 1992 23:00:38 +0000 (23:00 +0000)]
* scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
`face_list' elements.  Do copy new `max_ascent' frame element.

31 years ago* dispextern.h: New element of frame structure `max_ascent'.
Joseph Arceneaux [Wed, 14 Oct 1992 23:00:18 +0000 (23:00 +0000)]
* 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.

31 years ago* xterm.h: Declaration of struct face removed.
Joseph Arceneaux [Wed, 14 Oct 1992 22:51:35 +0000 (22:51 +0000)]
* xterm.h: Declaration of struct face removed.

31 years ago* dispnew.c (scroll_frame_lines): All references to frame elements
Joseph Arceneaux [Wed, 14 Oct 1992 21:30:21 +0000 (21:30 +0000)]
* 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'.

31 years ago* files.el (file-truename): The variable ~ should be considered an
Jim Blandy [Wed, 14 Oct 1992 16:45:31 +0000 (16:45 +0000)]
* 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.

31 years agoInitial revision
Jim Blandy [Tue, 13 Oct 1992 17:55:42 +0000 (17:55 +0000)]
Initial revision

31 years ago* keyboard.c (kbd_buffer_get_event): Fix fencepost bug in
Jim Blandy [Mon, 12 Oct 1992 22:12:59 +0000 (22:12 +0000)]
* keyboard.c (kbd_buffer_get_event): Fix fencepost bug in
fetching events from kbd_buffer.

31 years agoRemoved #include "mem-limits.h".
Roland McGrath [Mon, 12 Oct 1992 21:40:50 +0000 (21:40 +0000)]
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.

31 years ago* keyboard.c (kbd_buffer_get_event): Remember that
Jim Blandy [Mon, 12 Oct 1992 21:25:28 +0000 (21:25 +0000)]
* 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.

31 years ago(sbrk): Removed decl.
Roland McGrath [Mon, 12 Oct 1992 21:07:25 +0000 (21:07 +0000)]
(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.

31 years ago(warnfunction): Renamed to warn_function (was used inconsistently).
Roland McGrath [Mon, 12 Oct 1992 19:59:52 +0000 (19:59 +0000)]
(warnfunction): Renamed to warn_function (was used inconsistently).
(morecore_with_warning, memory_warnings): Change callers (were inconsistent).

31 years ago(start_of_data): Removed extra defn.
Roland McGrath [Mon, 12 Oct 1992 19:10:02 +0000 (19:10 +0000)]
(start_of_data): Removed extra defn.
(get_lim_data): Define to return void.

31 years agomem_limits.h is now called mem-limits.h.
Roland McGrath [Mon, 12 Oct 1992 18:55:05 +0000 (18:55 +0000)]
mem_limits.h is now called mem-limits.h.

31 years ago(visit-tags-table-buffer): When trying to pick table, call
Roland McGrath [Mon, 12 Oct 1992 17:18:22 +0000 (17:18 +0000)]
(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.

31 years ago(edit-picture): Run picture-mode-hook.
Richard M. Stallman [Mon, 12 Oct 1992 04:53:11 +0000 (04:53 +0000)]
(edit-picture): Run picture-mode-hook.

31 years ago(buffer-file-number): New variable.
Richard M. Stallman [Mon, 12 Oct 1992 04:45:53 +0000 (04:45 +0000)]
(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.

31 years ago(find_defun_start): scan_buffer returns start of line;
Richard M. Stallman [Sun, 11 Oct 1992 20:41:13 +0000 (20:41 +0000)]
(find_defun_start): scan_buffer returns start of line;
no need to advance over newline.

31 years ago[!emacs]: Don't define POINTER, SIZE or NULL.
Richard M. Stallman [Sun, 11 Oct 1992 20:40:05 +0000 (20:40 +0000)]
[!emacs]: Don't define POINTER, SIZE or NULL.
(start_of_data): Define as macro, if !emacs.
(EXCEEDS_LISP_PTR): Renamed from EXCEEDS_ELISP_PTR.

31 years ago(morecore_with_warning): Reduce warnlevel when usage drops far enough.
Richard M. Stallman [Sun, 11 Oct 1992 20:39:15 +0000 (20:39 +0000)]
(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.

31 years ago(Fdump_emacs, main): Use memory_warnings.
Richard M. Stallman [Sun, 11 Oct 1992 20:38:00 +0000 (20:38 +0000)]
(Fdump_emacs, main): Use memory_warnings.

31 years ago(check_memory_limits): Reduce warnlevel when usage drops far enough.
Richard M. Stallman [Sun, 11 Oct 1992 20:37:32 +0000 (20:37 +0000)]
(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.

31 years ago* xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
Jim Blandy [Sun, 11 Oct 1992 06:44:42 +0000 (06:44 +0000)]
* xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
warnings about redefining NULL under GCC 2.2.2.

31 years ago* keymap.c (initial_define_lispy_key): New function, for defining
Jim Blandy [Sun, 11 Oct 1992 06:43:30 +0000 (06:43 +0000)]
* 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.

31 years ago* keyboard.h (Qswitch_frame): Declare this extern.
Jim Blandy [Sun, 11 Oct 1992 06:42:47 +0000 (06:42 +0000)]
* keyboard.h (Qswitch_frame): Declare this extern.

* keyboard.h (this_command_keys, this_command_key_count): Added
external declarations.

31 years ago* keyboard.c (Vlast_event_frame): Make this variable exist even
Jim Blandy [Sun, 11 Oct 1992 06:42:03 +0000 (06:42 +0000)]
* 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").

31 years ago* frame.c: #include "commands.h" and "keyboard.h".
Jim Blandy [Sun, 11 Oct 1992 06:40:57 +0000 (06:40 +0000)]
* 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.

31 years ago* emacs.c (main): Call keys_of_frame.
Jim Blandy [Sun, 11 Oct 1992 06:40:24 +0000 (06:40 +0000)]
* emacs.c (main): Call keys_of_frame.

31 years ago* callint.c (Fcall_interactively): Allow multiple 'e' specs.
Jim Blandy [Sun, 11 Oct 1992 06:39:13 +0000 (06:39 +0000)]
* callint.c (Fcall_interactively): Allow multiple 'e' specs.
(Finteractive): Doc fix.