bpt/emacs.git
31 years ago* keyboard.c: #include dispextern.h.
Jim Blandy [Sat, 31 Oct 1992 05:21:45 +0000 (05:21 +0000)]
* keyboard.c: #include dispextern.h.
(recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
these to return Lisp_Objects at the very top of the file, to avoid
having them implicitly declared as ints.
(echo_char): Use EQ to compare C to help_char.
(read_char): Remember to apply XFASTINT to the return value of
Flength before using it.  Apply XINT to c when clearing its high
bits and meta bits, and when writing it to the dribble file.
(read_char_menu_prompt): Use EQ to compare obj with
menu_prompt_more_char and its control-character analog.
(read_key_sequence): Declare PROMPT to be char *, not a
Lisp_Object.  Use the appropriate accessors on keybuf when looking
for ASCII function key sequences.

* keyboard.c (echobuf): Make this 300 characters, not 100.  This
isn't a real fix, but it's quick.

* keyboard.c (read_char): When returning an unread switch-frame
event, jump to reread_first to return it, rather than reread; this
makes sure the event gets echoed (if appropriate) and goes into
this_command_keys.

* keyboard.c (read_key_sequence): If the key sequence starts with
a mouse click, read the key sequence using the keymaps of the
buffer clicked on, not the current buffer.

* keyboard.c (unread_switch_frame): Make this static, to indicate
that nobody outside of this file uses it.

* keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
(read_key_sequence): When pursuing potential bindings in the
function key map, ask get_keymap_1 to perform autoloading.  This
is hardly important, but it's consistent.

31 years ago* frame.c: #include buffer.h.
Jim Blandy [Sat, 31 Oct 1992 05:20:51 +0000 (05:20 +0000)]
* frame.c: #include buffer.h.

31 years ago* fns.c: #include keyboard.h.
Jim Blandy [Sat, 31 Oct 1992 05:20:23 +0000 (05:20 +0000)]
* fns.c: #include keyboard.h.
(Fdelete): Check if Fequal returns Qnil, not zero.

31 years ago* floatfns.c (Flog): Don't forget to declare the BASE argument a
Jim Blandy [Sat, 31 Oct 1992 05:19:58 +0000 (05:19 +0000)]
* floatfns.c (Flog): Don't forget to declare the BASE argument a
Lisp_Object.

* floatfns.c (Fexpt): Don't return the value of the XSET function
call; that's not guaranteed to be the value assigned.

31 years ago* doc.c: #include keyboard.h.
Jim Blandy [Sat, 31 Oct 1992 05:18:48 +0000 (05:18 +0000)]
* doc.c: #include keyboard.h.

* doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
perform autoloads.  Autoloading might GC; we need to GCPRO our
local variables now.
(Fdocumentation, Fdocumentation_property): Autoloading in
Fsubstitute_command_keys might GC; we need to GCPRO our
local variables now.

31 years ago* dispextern.h (sit_for): Declare this extern.
Jim Blandy [Sat, 31 Oct 1992 05:18:16 +0000 (05:18 +0000)]
* dispextern.h (sit_for): Declare this extern.

31 years ago* dired.c (find_file_handler): Declare this extern.
Jim Blandy [Sat, 31 Oct 1992 05:17:46 +0000 (05:17 +0000)]
* dired.c (find_file_handler): Declare this extern.
(Ffile_attributes): Use NILP, not == Qnil.

* dired.c (Ffile_attributes): Doc fix.

31 years ago* data.c (Fset): See if current_alist_element points to itself
Jim Blandy [Sat, 31 Oct 1992 05:17:14 +0000 (05:17 +0000)]
* data.c (Fset): See if current_alist_element points to itself
using EQ, not ==.
(float_arith_driver): Declare this extern above arith_driver.

31 years ago* commands.h (unread_command_char): Declare this to be a
Jim Blandy [Sat, 31 Oct 1992 04:55:35 +0000 (04:55 +0000)]
* commands.h (unread_command_char): Declare this to be a
Lisp_Object, not an int.

31 years ago* casetab.c (set_case_table): Declare this to be static, and
Jim Blandy [Sat, 31 Oct 1992 04:55:02 +0000 (04:55 +0000)]
* casetab.c (set_case_table): Declare this to be static, and
return a Lisp_Object. Add static declaration for this
before Fset_case_table and Fset_standard_case_table.
(Fset_case_table, Fset_standard_case_table): Return the return
value of set_case_table, instead of returning garbage.

31 years ago* casefiddle.c (operate_on_word): Declare end to be an int, not a
Jim Blandy [Sat, 31 Oct 1992 04:54:35 +0000 (04:54 +0000)]
* casefiddle.c (operate_on_word): Declare end to be an int, not a
Lisp_Object.

31 years ago* callproc.c: Arrange for synchronous processes to get SIGINT the
Jim Blandy [Sat, 31 Oct 1992 04:53:11 +0000 (04:53 +0000)]
* callproc.c: Arrange for synchronous processes to get SIGINT the
first time the user quits, or SIGKILL if the user quits again.
#include "syssignal.h".
(call_process_kill): New function.
(call_process_cleanup): Send SIGINT to the subprocess, and then
arrange to call call_process_kill if the user quits while we wait
for it to terminate.
(Fcall_process, Fcall_process_region): Doc fix.

31 years ago* bytecode.c (Fbyte_code): Use EQ to compare string_saved with
Jim Blandy [Sat, 31 Oct 1992 04:52:24 +0000 (04:52 +0000)]
* bytecode.c (Fbyte_code): Use EQ to compare string_saved with
bytestr.

* bytecode.c (Fbyte_code): When metering the Bcall opcodes, make
sure the count on the symbol's `byte-code-meter' property does not
overflow.

* bytecode.c (syms_of_bytecode): Add a docstring for
byte-metering-on.

31 years ago* buffer.h (Fbuffer_name, Fget_file_buffer): Added external
Jim Blandy [Sat, 31 Oct 1992 04:51:36 +0000 (04:51 +0000)]
* buffer.h (Fbuffer_name, Fget_file_buffer): Added external
declarations.

* buffer.h (struct buffer_local_types): This declaration needed an
extern qualifier.

31 years ago* buffer.c (reset_buffer): Don't assign to b->save_length as if it
Jim Blandy [Sat, 31 Oct 1992 04:50:51 +0000 (04:50 +0000)]
* buffer.c (reset_buffer): Don't assign to b->save_length as if it
were an int; use XFASTINT.

31 years ago* alloc.c (Frope_elt): Declare arguments to be Lisp_Objects.
Jim Blandy [Sat, 31 Oct 1992 04:50:13 +0000 (04:50 +0000)]
* alloc.c (Frope_elt): Declare arguments to be Lisp_Objects.

31 years ago* abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
Jim Blandy [Sat, 31 Oct 1992 04:49:31 +0000 (04:49 +0000)]
* abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
to val; don't use XSET.  Make sure that the value of the
abbrev-symbol is a string.

31 years ago(preserved_fns): New var.
Richard M. Stallman [Fri, 30 Oct 1992 06:01:13 +0000 (06:01 +0000)]
(preserved_fns): New var.
(Fcall_interactively): Preserve fns listed in preserved_fns
when they appear in an interactive spec which is a call to `list'.
(syms_of_callint): Set preserved_fns and staticpro it.

31 years agoDoc fix.
Richard M. Stallman [Fri, 30 Oct 1992 05:38:03 +0000 (05:38 +0000)]
Doc fix.

31 years ago(get_system_name): Use gethostname for USG systems
Richard M. Stallman [Thu, 29 Oct 1992 10:44:50 +0000 (10:44 +0000)]
(get_system_name): Use gethostname for USG systems
if HAVE_GETHOSTNAME is defined.

31 years ago(count_blanks): Leave argument r constant, and increment p.
Richard M. Stallman [Thu, 29 Oct 1992 06:29:20 +0000 (06:29 +0000)]
(count_blanks): Leave argument r constant, and increment p.

31 years ago(vc-admin): Pass t as noquery arg to vc-resynch-window.
Richard M. Stallman [Wed, 28 Oct 1992 09:33:04 +0000 (09:33 +0000)]
(vc-admin): Pass t as noquery arg to vc-resynch-window.

31 years agoInitial revision
Richard M. Stallman [Wed, 28 Oct 1992 09:15:05 +0000 (09:15 +0000)]
Initial revision

31 years ago(HAVE_GETHOSTNAME): Define it.
Richard M. Stallman [Wed, 28 Oct 1992 09:14:23 +0000 (09:14 +0000)]
(HAVE_GETHOSTNAME): Define it.

31 years ago(HAVE_SETSID, IRIX): Defined.
Richard M. Stallman [Wed, 28 Oct 1992 09:06:29 +0000 (09:06 +0000)]
(HAVE_SETSID, IRIX): Defined.
(HAVE_GETHOSTNAME): Define it.

31 years ago*** empty log message ***
Jim Blandy [Wed, 28 Oct 1992 09:05:06 +0000 (09:05 +0000)]
*** empty log message ***

31 years ago(manual-program): Always use /usr/ucb/man if that exists.
Richard M. Stallman [Wed, 28 Oct 1992 06:04:10 +0000 (06:04 +0000)]
(manual-program): Always use /usr/ucb/man if that exists.

31 years ago(fortran-window-create): Use screen-width, not frame-width.
Richard M. Stallman [Tue, 27 Oct 1992 20:19:00 +0000 (20:19 +0000)]
(fortran-window-create): Use screen-width, not frame-width.

31 years ago(fortran-prepare-abbrev-list-buffer): Fix typo.
Richard M. Stallman [Tue, 27 Oct 1992 20:11:05 +0000 (20:11 +0000)]
(fortran-prepare-abbrev-list-buffer): Fix typo.

31 years ago[sony, IRIS_4D]: Include getpagesize.h and fcntl.h.
Richard M. Stallman [Tue, 27 Oct 1992 19:42:55 +0000 (19:42 +0000)]
[sony, IRIS_4D]: Include getpagesize.h and fcntl.h.
(unexec): #if 0 the error check of hdr.fhdr.f_nscns.
Clear text_section->s_scnptr.

31 years ago(fortran-tab-mode): Add defvar.
Richard M. Stallman [Tue, 27 Oct 1992 10:21:22 +0000 (10:21 +0000)]
(fortran-tab-mode): Add defvar.
(fortran-analyze-file-format): Bind i.
(fortran-tab-mode-string): Add defvar.
(fortran-tab-mode): Use `arg' as variable, not as function.
(fortran-prepare-abbrev-list-buffer): New function.
(fortran-abbrev-help): Call that.

31 years agoRename buffer-flush-undo to buffer-disable-undo.
Richard M. Stallman [Tue, 27 Oct 1992 10:14:08 +0000 (10:14 +0000)]
Rename buffer-flush-undo to buffer-disable-undo.
(Info-goto-emacs-key-command-node): Fix typo.
(Info-menu-item-sequence): Commented out.
(Info-follow-nearest-node): Use new event format.
Select the window clicked on.

31 years agoUpdate LISP_FLOAT_TYPE in config.h.
Richard M. Stallman [Tue, 27 Oct 1992 09:10:40 +0000 (09:10 +0000)]
Update LISP_FLOAT_TYPE in config.h.

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.