Commit da1d68b2 authored by Juanma Barranquero's avatar Juanma Barranquero

*** empty log message ***

parent 745b9b1d
......@@ -168,7 +168,7 @@
1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
* s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
* s/sol2.h (SOLARIS_BROKEN_ACCESS): Don't define this.
* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
we're using GCC - that's an XLC switch.
......@@ -181,8 +181,8 @@
screws up AIX.
(struct emacs_tty): Test those symbols, instead of the ioctl
commands.
* sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars,
init_sys_modes): Same.
* sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars)
(init_sys_modes): Same.
* config.h.in (HAVE_RENAME): Include an #undef for this, so
configure will have something to edit.
......@@ -202,8 +202,8 @@
1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
* s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
* s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM)
(LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
search paths in these lists; they shouldn't do any harm if they
don't have X11R5.
......@@ -293,8 +293,8 @@
1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
* xfns.c: Clear out the old face stuff.
(x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font,
Fx_set_face, Fx_get_face): Removed.
(x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font)
(Fx_set_face, Fx_get_face): Removed.
(syms_of_xfns): Remove defsubr for Fx_set_face.
Arrange for font names to get fully resolved - no wildcards.
......@@ -312,9 +312,9 @@
* xterm.c (x_new_font): Don't call init_frame_faces.
* xterm.h: New section for declarations for xfaces.c.
(init_frame_faces, free_frame_faces, intern_face,
face_name_id_number, same_size_fonts, recompute_basic_faces,
compute_char_face, compute_glyph_face): Declare these here.
(init_frame_faces, free_frame_faces, intern_face)
(face_name_id_number, same_size_fonts, recompute_basic_faces)
(compute_char_face, compute_glyph_face): Declare these here.
* xfaces.c (same_size_fonts): We can now remove this extern
declaration.
* xfns.c (face_name_id_number): Likewise.
......@@ -511,7 +511,7 @@
already declares this elsewhere.
(PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
* m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
* s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
* config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
#defines to #undef's, so ../configure knows it should tweak them.
......@@ -522,7 +522,7 @@
* xfaces.c (Fset_face_attribute_internal): Don't free the frame's
normal_gc or reverse_gc.
* keyboard.c (make_lispy_movement): Deal properly with mouse
* keyboard.c (make_lispy_movement): Deal properly with mouse
motion outside of all windows.
* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
......@@ -536,7 +536,7 @@
1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
* Version 19.7 released.
* Version 19.7 released.
* Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list.
......@@ -588,7 +588,7 @@
* ymakefile (alloca.o): #define malloc and free to be xmalloc and
xfree on the command line of this compilation.
* s/sco4.h: (TIME_WITH_SYS_TIME): This is no longer needed.
* s/sco4.h (TIME_WITH_SYS_TIME): This is no longer needed.
* s/linux.h: Remove copyright notices by Michael K. Johnson and
Rik Faith. They have both sent in papers now which make their
......@@ -690,7 +690,7 @@
clear_waiting_for_input when we exit the loop because process
input has arrived.
Changes for Silicon Graphics Iris 5D.
Changes for Silicon Graphics Iris 5D.
* unexelfsgi.c: New file; like unexelf.c, but tolerates program
segments above BSS.
* m/iris5d.h: New file.
......@@ -793,7 +793,7 @@
then load it; we can just take advantage of the PATH_DUMPLOADSEARCH.
(crt0.o): Remember that crt0.c is in ${srcdir}.
Install David Mackenzie's patches to make ${srcdir} work.
Install David Mackenzie's patches to make ${srcdir} work.
* Makefile.in (srcdir, VPATH): Get this value from the top-level
Makefile.
(xmakefile): Use ${srcdir} to find the files from which we produce
......@@ -860,8 +860,8 @@
1993-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
* buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer,
Foverlay_properties): Functions moved here from subr.el.
* buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer)
(Foverlay_properties): Functions moved here from subr.el.
1993-05-13 Jim Blandy (jimb@totoro.cs.oberlin.edu)
......@@ -915,7 +915,7 @@
* buffer.c (Foverlay_get): Return Qnil if the requested property
is missing from the property list.
The text property routines can now modify buffers other
The text property routines can now modify buffers other
than the current one.
* insdel.c (modify_region): New argument BUFFER. Select that
buffer while we prepare for the modification, and switch back when
......@@ -946,7 +946,7 @@
1993-05-12 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
* ymakefile (xfaces.o): Add window.h to the dependencies.
* ymakefile (xfaces.o): Add window.h to the dependencies.
* xfaces.c (intern_frame_face): Exchange order of arguments, to
make callers correct.
......@@ -998,9 +998,9 @@
1993-05-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
filesystem being ro, since Solaris 2.1 doesn't.
(file-writable-p): Call ro_fsys.
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
filesystem being ro, since Solaris 2.1 doesn't.
(file-writable-p): Call ro_fsys.
* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
* systime.h: Use the strategy from getdate.y to include the proper
......@@ -1125,8 +1125,8 @@
* window.c (Vmouse_event): Var deleted.
(syms_of_window): Don't make it a Lisp var.
* keyboard.c (read_avail_input, Fset_input_mode): Make
meta_key a three-value variable to support 8-bit input.
* keyboard.c (read_avail_input, Fset_input_mode): Make
meta_key a three-value variable to support 8-bit input.
1993-05-07 Jim Blandy (jimb@totoro.cs.oberlin.edu)
......@@ -1191,8 +1191,8 @@
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers.
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL,
CHAR_META): Shift these all up one bit, back to where they were.
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL)
(CHAR_META): Shift these all up one bit, back to where they were.
1993-05-02 Jim Blandy (jimb@totoro.cs.oberlin.edu)
......@@ -1210,7 +1210,7 @@
1993-04-29 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Implement extra_keyboard_modifiers properly.
Implement extra_keyboard_modifiers properly.
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers; use the same modifier bits as we do for
characters.
......@@ -1229,8 +1229,8 @@
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
case we need them.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Define these in
* termhooks.h (alt_modifier, super_modifier, hyper_modifier)
(shift_modifier, ctrl_modifier, meta_modifier): Define these in
terms of the CHAR_mumble macros, to avoid having the same thing
defined in two places.
......@@ -1284,7 +1284,7 @@
1993-04-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
* m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
configure script.
* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
derived by configure script.
......@@ -1342,8 +1342,8 @@
Make the modifier manipulation functions more robust. The old way
caused a bug once, and probably would again.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Shift these all
* termhooks.h (alt_modifier, super_modifier, hyper_modifier)
(shift_modifier, ctrl_modifier, meta_modifier): Shift these all
down one bit in value, to avoid sign extension problems.
* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
......@@ -1370,7 +1370,7 @@
* lisp.h (LOADHIST_ATTACH): New macro.
(Vcurrent_load_list, Vload_history): Vars declared.
* eval.c: (defun, defmacro, defvar, defconst):
* eval.c (defun, defmacro, defvar, defconst):
Attach symbol argument to the list of globals for the input source.
(do_autoload): Save the old autoloads, in case we ever unload.
......@@ -1429,7 +1429,7 @@
that out now.
Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
* s/mach2.h: copied from the Emacs 18.59 distribution.
* s/mach2.h: Copied from the Emacs 18.59 distribution.
Don't define NO_REMAP, define START_FILES as
`pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
default `-lm -lc' (there is no libc on the NeXT).
......@@ -1452,8 +1452,8 @@
* ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to
link in a new version.
* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
Qoverflow_error, Qunderflow_error): Add extern to these declarations.
* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error)
(Qoverflow_error, Qunderflow_error): Add extern to these declarations.
1993-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
......@@ -1472,11 +1472,11 @@
* keyboard.c (command_loop_1): Rebuild menu bar if
update_mode_lines is set.
long_to_cons and cons_to_long are generally useful things; they're
long_to_cons and cons_to_long are generally useful things; they're
needed whether or not X is defined.
* xselect.c (long_to_cons, cons_to_long): Moved from here...
* data.c (long_to_cons, cons_to_long): ... to here.
* lisp.h (long_to_cons, cons_to_long): Add extern declaration.
* data.c (long_to_cons, cons_to_long): ... to here.
* lisp.h (long_to_cons, cons_to_long): Add extern declaration.
* xmenu.c (Qmenu_enable): Definition moved...
(syms_of_xmenu): ... along with initialization ...
......@@ -1500,11 +1500,11 @@
* alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
these extern, not static. (!)
* alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook,
old_realloc_hook): Declare that the functions these point to return
* alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook)
(old_realloc_hook): Declare that the functions these point to return
void *, not void.
Adjust for autoconf merger.
Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
and decides not to add Makefile-style comments to the top of the
files it generates which we are forced to lop off.
......@@ -1594,8 +1594,8 @@
This isn't specific to X, and it allows us to avoid #including
xterm.h in files that don't really have anything to do with X.
* blockinput.h: New file.
* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT)
(UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
(x_input_blocked, x_pending_input): Deleted; there are analogs
in blockinput.h called interrupt_input_blocked and
interrupt_input_pending.
......@@ -1615,8 +1615,7 @@
Block the processing of interrupt input while we're manipulating the
malloc heap.
* alloc.c: (xfree): New function, to make it easy to free things
safely.
* alloc.c (xfree): New function, to make it easy to free things safely.
(xmalloc, xrealloc): Block X input while doing the deed.
(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
instead of free.
......@@ -1624,8 +1623,8 @@
hooks into the GNU malloc routines.
* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
on startup.
* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
* alloc.c (make_interval, make_float, Fcons, Fmake_vector)
(Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
Use xmalloc instead of malloc; don't bother to check if out of
memory here.
(Fgarbage_collect): Call xrealloc instead of realloc.
......@@ -1638,7 +1637,7 @@
* xfaces.c (xfree): Don't #define this to be free; use the
definition in alloc.c.
* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
xmenu.c, xterm.c: Use xfree instead of free.
* xmenu.c, xterm.c: Use xfree instead of free.
* hftctl.c: Use xfree and xmalloc instead of free and malloc.
* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
and malloc.
......@@ -1648,8 +1647,8 @@
of free and malloc. BLOCK_INPUT around routines which we know
will call malloc.
ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
* ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o)
(xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
these depend on blockinput.h.
* keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
......@@ -1761,8 +1760,8 @@
* xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
* xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
* process.c [VMS] (DCL_PROMPT): Remove hack.
(WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG,
WCOREDUMP, WTERMSIG): New dummy definitions.
(WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG)
(WCOREDUMP, WTERMSIG): New dummy definitions.
(deactivate_process): Add missing semicolon.
* dispnew.c (init_display): Get display name from environment
properly on VMS as well as Unix.
......@@ -2004,7 +2003,7 @@
1993-03-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
* cmds.c (overwrite_binary_mode): Deleted; this implements the
* cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
(Qoverwrite_mode_binary): New variable.
(internal_self_insert): If current_buffer->overwrite_mode is
......@@ -2185,7 +2184,7 @@
1993-03-12 Eric S. Raymond (eric@mole.gnu.ai.mit.edu)
* term.c (CONDITIONAL_REASSIGN): fixed reference to tigetstr.
* term.c (CONDITIONAL_REASSIGN): Fixed reference to tigetstr.
This should have been tgetstr, but I typoed and tigetstr happens
to link and even do the right thing if you're on a System V box.
......@@ -2304,8 +2303,8 @@
* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
need to include `-lPW'; that has been merged with `-lc'.
* emacs.c (__do_global_ctors, __do_global_ctors_aux,
__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
* emacs.c (__do_global_ctors, __do_global_ctors_aux)
(__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
define these if ORDINARY_LINK is #defined; in that case, the
standard linking procedure will find definitions for these.
......@@ -2549,7 +2548,7 @@
* indent.c (current_column, Fmove_to_column, compute_motion):
Expect display table elts to be vectors.
* alloc.c: (Fmake_rope, Frope_elt): Fns deleted.
* alloc.c (Fmake_rope, Frope_elt): Fns deleted.
* lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.
......@@ -2616,10 +2615,10 @@
1993-03-02 Karl Berry (karl@cs.umb.edu)
* s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD):
Define.
(HAVE_TIMEVAL): Do not define.
(NO_ASM): Only define once.
* s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD):
Define.
(HAVE_TIMEVAL): Do not define.
(NO_ASM): Only define once.
1993-03-02 Jim Blandy (jimb@totoro.cs.oberlin.edu)
......@@ -2701,10 +2700,10 @@
Use the term `scroll bar', instead of `scrollbar'.
* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
xterm.c, xterm.h: Terminology changed.
* lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
* xterm.c, xterm.h: Terminology changed.
Don't generate switch-frame events by checking Vlast_event_frame;
Don't generate switch-frame events by checking Vlast_event_frame;
use a separate variable for that bookkeeping. In order to
generate them properly, we may need to fiddle with it.
* keyboard.c (internal_last_event_frame): New variable.
......@@ -3103,12 +3102,12 @@
1993-02-08 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding,
Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
* keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding)
(Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
argument ACCEPT_DEFAULT, to control whether this function sees
bindings for t.
(Fwhere_is_internal, describe_map_tree, describe_map_2,
describe_vector): Pass the proper arguments to Flookup_key.
(Fwhere_is_internal, describe_map_tree, describe_map_2)
(describe_vector): Pass the proper arguments to Flookup_key.
* fileio.c (Fexpand_file_name): Pass DEFALT through
Fexpand_file_name before using it.
......@@ -3161,7 +3160,7 @@
1993-01-25 Jim Blandy (jimb@totoro.cs.oberlin.edu)
`live-frame-p' has become `frame-live-p'.
`live-frame-p' has become `frame-live-p'.
* frame.c (Qlive_frame_p): Renamed to Qframe_live_p.
(Flive_frame_p): Renamed to Fframe_live_p.
(syms_of_frame): Defsubrs and initializations adjusted.
......@@ -3300,8 +3299,8 @@
* commands.h (unread_command_event): Change extern declaration.
* keyboard.c (unread_command_event): Change the definition.
(syms_of_keyboard): Change DEFVAR, and adjust the docstring.
(command_loop_1, read_char, Finput_pending, Fdiscard_input,
quit_throw_to_read_char, init_keyboard): Change to use
(command_loop_1, read_char, Finput_pending, Fdiscard_input)
(quit_throw_to_read_char, init_keyboard): Change to use
unread_command_events, with the new semantics.
* lread.c (read_char): Same.
* minibuf.c (temp_echo_area_glyphs): Same.
......@@ -3325,7 +3324,7 @@
* xterm.c (x_set_window_size): Always mark the frame garbaged.
* window.c (Vmouse_window): Variable removed; it can't be handled
* window.c (Vmouse_window): Variable removed; it can't be handled
properly without race conditions, and the events give you all the
information you need anyway.
(syms_of_window): Remove DEFVAR.
......@@ -3422,10 +3421,10 @@
* xterm.h (struct x_display): vertical_scrollbars and
judge_timestamp members deleted.
(struct scrollbar): Redesigned to be a template for a Lisp_Vector.
(SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK,
SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW,
VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE,
VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE):
(SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK)
(SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW)
(VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE)
(VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE):
New macros, to help deal with the lispy structures, and deal with
the graphics.
* frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted.
......@@ -3441,11 +3440,11 @@
* xterm.c (x_window_to_scrollbar): Scrollbars are chained on
frames' scrollbar field, not their x.display->vertical_scrollbars
field.
(x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move,
x_scrollbar_remove, XTset_vertical_scrollbar,
XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars,
x_scrollbar_expose, x_scrollbar_handle_click,
x_scrollbar_handle_motion): Substantially rewritten to correct
(x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move)
(x_scrollbar_remove, XTset_vertical_scrollbar)
(XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars)
(x_scrollbar_expose, x_scrollbar_handle_click)
(x_scrollbar_handle_motion): Substantially rewritten to correct
typos and brainos, and to accomodate the lispy structures.
* xterm.c (x_scrollbar_background_expose): Function deleted; we
......@@ -3479,10 +3478,10 @@
window_internal_width.
(pos_tab_offset, Fvertical_motion): Use window_internal_width
instead of writing it out.
* window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
Fscroll_right): Same.
* xdisp.c (redisplay, try_window, try_window_id,
display_text_line): Same.
* window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left)
(Fscroll_right): Same.
* xdisp.c (redisplay, try_window, try_window_id)
(display_text_line): Same.
* xdisp.c (display_string): Add new variable `f', to be W's
frame. Use it to set desired_glyphs, and to get the frame's width
......@@ -3502,17 +3501,17 @@
(x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars.
(x_frame_parms): Adjusted accordingly.
* xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT,
PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using:
(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW,
PIXEL_TO_CHAR_COL): New macros.
* xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT)
(PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using:
(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW)
(PIXEL_TO_CHAR_COL): New macros.
* xfns.c [not HAVE_X11] (Fx_create_frame): Use the
PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's
character size, and the CHAR_TO_PIXEL* macros for vice versa.
* xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines,
scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box,
clear_cursor, x_display_bar_cursor, x_draw_single_glyph,
x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros.
* xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines)
(scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box)
(clear_cursor, x_display_bar_cursor, x_draw_single_glyph)
(x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros.
* xterm.c (x_wm_set_size_hint): The max_width and max_height
members of the size_hints are expressed in pixels, not columns.
......@@ -3606,8 +3605,8 @@
input_event to use frame_or_window now.
* xterm.c (construct_mouse_click, XTread_socket): Same.
* xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
last_mouse_scroll_range_start, last_mouse_scroll_range_end):
* xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part)
(last_mouse_scroll_range_start, last_mouse_scroll_range_end):
Replaced with...
(last_mouse_scrollbar): New variable.
(note_mouse_movement): Clear last_mouse_scrollbar when we have
......@@ -3719,7 +3718,7 @@
1993-01-07 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* config.h.in: protect against multiple #inclusions.
* config.h.in: Protect against multiple #inclusions.
* config.h.in: Add a declaration for getenv.
......@@ -3757,7 +3756,7 @@
1992-12-21 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* keyboard.c: Protect all references to kbd_buffer_frames with
* keyboard.c: Protect all references to kbd_buffer_frames with
#ifdef MULTI_FRAME.
* frame.h (struct frame): New fields `can_have_scrollbars' and
......@@ -3771,11 +3770,11 @@
* xterm.h (struct x_display): vertical_scrollbars,
judge_timestamp, vertical_scrollbar_extra: New fields.
(struct scrollbar): New struct.
(VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT,
VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER,
VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER,
CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH,
PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
(VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT)
(VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER)
(VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER)
(CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH)
(PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
* frame.c (make_frame): Initialize the `can_have_scrollbars' and
`has_vertical_scrollbars' fields of the frame.
* term.c (term_init): Note that TERMCAP terminals don't support
......@@ -3797,17 +3796,17 @@
* xterm.c: #include <X11/cursorfont.h> and "window.h".
(x_vertical_scrollbar_cursor): New variable.
(x_term_init): Initialize it.
(last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
(last_mouse_bar, last_mouse_bar_frame, last_mouse_part)
(last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
variables.
(XTmouse_position): Use them to return scrollbar movement events.
Take new arguments, for that purpose.
(x_window_to_scrollbar, x_scrollbar_create,
x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move,
XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar,
XTjudge_scrollbars, x_scrollbar_expose,
x_scrollbar_background_expose, x_scrollbar_handle_click,
x_scrollbar_handle_motion): New functions to implement scrollbars.
(x_window_to_scrollbar, x_scrollbar_create)
(x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move)
(XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar)
(XTjudge_scrollbars, x_scrollbar_expose)
(x_scrollbar_background_expose, x_scrollbar_handle_click)
(x_scrollbar_handle_motion): New functions to implement scrollbars.
(x_term_init): Set the termhooks.h hooks to point to them.
(x_set_window_size): Use new macros to calculate frame size. Set
vertical_scrollbar_extra field.
......@@ -3842,9 +3841,9 @@
v_thumbdown, v_slider, h_scrollbar, h_thumbup,
h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height
fields.
* keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part,
Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part,
Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
* keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part)
(Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part)
(Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
interface.
(head_table): Removed from here as well.
(syms_of_keyboard): And here.
......@@ -4108,8 +4107,8 @@
* xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not
f->visible.
(x_do_pending_expose, x_raise_frame, x_lower_frame,
x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
(x_do_pending_expose, x_raise_frame, x_lower_frame)
(x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
Test and set f->async_visible and f->async_iconified, not
f->visible or f->async_iconified.
......@@ -4287,8 +4286,8 @@
`make-obsolete-variable' to warn people.
* command.h (unread_command_char): Change name in extern declaration.
* keyboard.c (unread_command_char): Rename.
(command_loop_1, read_char, Finput_pending, Fdiscard_input,
quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
(command_loop_1, read_char, Finput_pending, Fdiscard_input)
(quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
references.
* lread.c (Fread_char): Change reference.
* minibuf.c (temp_echo_area_glyphs): Change reference to
......@@ -4373,7 +4372,7 @@
calling getwd.
#include <sys/types.h> and <sys/stat.h>, for the call to stat.
Indicate whether an autoload form stands for a keymap or not.
Indicate whether an autoload form stands for a keymap or not.
* eval.c (Fautoload): Renamed fifth argument TYPE. Document the
fact that (eq TYPE 'keymap) means FUNCTION will become a keymap
when loaded.
......@@ -4441,15 +4440,15 @@
(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.h (get_keymap_1, Fkeymapp, reorder_modifiers,
Fmouse_click_p, read_char): Add external declarations for these.
* keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers)
(Fmouse_click_p, read_char): Add external declarations for these.
* keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
that Flength returns an integer.
* lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist,
Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
Fdirectory_file_name, Ffile_name_directory,
expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
Fundo_boundary, truncate_undo_list): Add extern declarations for
* lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist)
(Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p)
(Fdirectory_file_name, Ffile_name_directory)
(expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code)
(Fundo_boundary, truncate_undo_list): Add extern declarations for
these.
* lread.c (read_char): Add an extern declaration for this,
indicating that it returns a Lisp_Object.
......@@ -4458,7 +4457,7 @@
unread_command_char.
* print.c (print): Cast the frame's address to an integer before
passing it to sprintf to form the frame's printed form.
* process.c: (status_convert): Declare this to return a
* process.c (status_convert): Declare this to return a
Lisp_Object at the top of the file.
(decode_status): Don't untag XCONS (tem)->cdr before storing it in
tem; tem is a Lisp_Object, too.
......@@ -4508,9 +4507,9 @@
PART as Qnil, not zero.
(x_calc_absolute_position): Remember that x_screen_width and
x_screen_height are ints, not Lisp_Objects.
* xterm.h (x_screen_count, x_release, x_screen_height,
x_screen_height_mm, x_screen_width, x_screen_width_mm,
x_save_under, x_screen_planes): Declare this as ints, to match
* xterm.h (x_screen_count, x_release, x_screen_height)
(x_screen_height_mm, x_screen_width, x_screen_width_mm)
(x_save_under, x_screen_planes): Declare this as ints, to match
their definitions in xterm.c.
* ymakefile: Note the new dependencies caused by the new
#inclusions above.
......@@ -4566,7 +4565,7 @@
that nobody outside of this file uses it.
* keymap.c: Deal with autoloaded keymaps properly.
(get_keymap_1): Renamed to inner_get_keymap; made
(get_keymap_1): Renamed to inner_get_keymap; made
static. New argument AUTOLOAD says to pursue autoloads if
non-zero.
(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
......@@ -4595,9 +4594,9 @@
1992-10-27 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
* sysdep.c (get_system_name): Use gethostname for USG systems if
HAVE_GETHOSTNAME is defined.
* s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it.
* sysdep.c (get_system_name): Use gethostname for USG systems if
HAVE_GETHOSTNAME is defined.
* s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it.
1992-10-27 Jim Blandy (jimb@totoro.cs.oberlin.edu)
......@@ -4678,7 +4677,7 @@
* xdisp.c (message): If M is zero, clear echo_area_glyphs and
previous_echo_glyphs, so that the minibuffer shows through.
* * editfns.c (Fmessage): With no arguments, clear any active
* editfns.c (Fmessage): With no arguments, clear any active
message; let the minibuffer contents show through.
* minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
and previous_echo_glyphs; let message do that work.
......@@ -4691,7 +4690,7 @@
(init_keyboard): Don't allocate it here.
(syms_of_keyboard): Allocate it here, and staticpro it.
* keyboard.h (this_command_keys): Extern declaration changed. Doc fix.
* callint.c (Fcall_interactively): Change handling of 'e' spec;
* callint.c (Fcall_interactively): Change handling of 'e' spec;
this_command_keys is now a vector.
* keyboard.c (read_char): Call ourselves with the appropriate
......@@ -4700,7 +4699,7 @@
store things in it.
* window.c: Try to deal coherently with deleted windows:
* (Flive_window_p): New function.
(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.
......@@ -4709,9 +4708,9 @@
* window.c (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,