ChangeLog 328 KB
Newer Older
1 2 3 4 5
2001-01-05  Gerd Moellmann  <gerd@gnu.org>

	* sysdep.c: Don't prototype srandom; it takes an unsigned argument
	 on some systems, and an unsigned long on others, like FreeBSD 4.1.

Gerd Moellmann's avatar
Gerd Moellmann committed
6 7 8 9 10 11 12 13 14 15 16 17 18
2001-01-04  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (clear_mouse_face): Don't return if tip_frame is
	non-nil.

	* xfns.c (x_create_tip_frame): Preserve the value of
	face_change_count around the creation of the tip frame.
	
	* xfns.c (last_show_tip_args): New variable.
	(compute_tip_xy): New function.
	(Fx_show_tip): Reuse an existing tip frame, if possible.
	(syms_of_xfns): Initialize and staticpro last_show_tip_args.

Dave Love's avatar
Dave Love committed
19 20 21 22 23 24 25 26 27 28
2001-01-04  Dave Love  <fx@gnu.org>

	* systime.h (set_file_times): Prototype.

	* widget.h (EmacsFrameSetCharSize_): Prototype.

	* sysdep.c (random, srandom): Declare explicitly.

	* dispextern.h (move_it_vertically_backward): Declare.

29 30
2001-01-04  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
31 32 33
	* xfns.c (x_create_tip_frame): Call face-set-after-frame-default,
	like in Fx_create_frame.

34 35 36
	* xfaces.c (set_font_frame_param): Don't do anything for
	non-graphical frames.

37 38 39 40 41 42 43 44
	* window.c (Fdelete_other_windows): Set window's window_end_valid
	to nil when changing the window's start.  Don't change the
	window's start when its top position hasn't changed.  If we do,
	this will set the window's optional_new_start, which act's like a
	force_start during redisplay with C-x 1 M-> under particular
	circumstances (see report from Per Starback to emacs-pretest-bug
	from 2000-12-13.).

Gerd Moellmann's avatar
Gerd Moellmann committed
45 46
2001-01-03  Gerd Moellmann  <gerd@gnu.org>

47 48 49 50
	* xdisp.c (forward_to_next_line_start): Reset it->c if taking the
	short cut at the start of the function.  Add an assertion.
	(reseat_at_next_visible_line_start): Add an assertion.

51 52 53 54 55 56 57 58
	* window.c (Frecenter): When changing the window start, set the
	window's window_end_valid to nil.
	(Fwindow_end): Fix window-end computation when UPDATE is non-nil.

	* dispextern.h (move_it_past_eol): Add prototype.

	* xdisp.c (move_it_past_eol): New function.

Gerd Moellmann's avatar
Gerd Moellmann committed
59 60 61 62 63 64 65
	* window.c (Fwindow_end): Doc fix.

2001-01-03  Dave Love  <fx@gnu.org>

	* dired.c (Ffile_attributes): Fix last change, removing BSD4_3
	kluge.

66 67 68 69 70 71
2001-01-03  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (try_window_reusing_current_matrix): Fix bug setting
	the enabled_p flag of the glyph row at window_end_vpos to 0.
	(handle_single_display_prop): Fix last change.

72 73 74 75
2001-01-02  Richard M. Stallman  <rms@caffeine.ai.mit.edu>

	* window.c (Frecenter): Doc fix.

Andrew Innes's avatar
Andrew Innes committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
2001-01-02  Andrew Innes  <andrewi@gnu.org>

	* term.c (FRAME_TERMCAP_P) [WINDOWSNT]: Remove redefinition.

	* frame.h (output_method): Add output_w32_console method.
	(FRAME_W32_CONSOLE_P): New macro.

	* frame.c (make_terminal_frame) [WINDOWSNT]: Make terminal frames
	use output_w32_console method.
	(Qw32_console): New Lisp_Object.
	(Fframep): Return it.
	(syms_of_frame): Init it.
	(Fframe_parameters): Report w32console as font for w32_console
	frames.

	* xfaces.c (realize_default_face): Set face foreground and
	background to unspecified for w32_console frames.
	(realize_face): Realize face cache for w32_console frames.
	(realize_tty_face): Accept w32_console frames.

	* xdisp.c (handle_single_display_prop): Return if frame is
	w32_console.
	(init_iterator) [WINDOWSNT]: Initialize frame face cache if
	necessary, even if running interactively.

	* dispnew.c (Fredraw_frame): Call set_terminal_modes for
	w32_console frames.

	* w32term.c (x_update_begin): 
	(x_update_end): 
	(x_clear_frame): 
	(x_ins_del_lines): 
	(x_change_line_highlight): 
	(x_delete_glyphs): 
	(w32_ring_bell): 
	(x_update_begin): 
	(x_update_end): 
	(w32_reassert_line_highlight): 
	(w32_frame_rehighlight): 
	(w32_frame_raise_lower): Do nothing if not w32 frame.

	* w32xfns.c (get_frame_dc): Abort if called on a non-w32 frame.

	* w32fns.c (Fx_display_color_cells): Determine correct value, when
	system doesn't tell us directly.
	(Fx_display_visual_class): Implement properly.

Gerd Moellmann's avatar
Gerd Moellmann committed
123 124 125 126 127 128
2001-01-02  Gerd Moellmann  <gerd@gnu.org>

	* window.c (Frecenter): Handle centering in graphical frames
	specially.  Centering on the basis of line counts doesn't work
	reliably with variable-height lines.
	
Eli Zaretskii's avatar
Eli Zaretskii committed
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
2001-01-02  Eli Zaretskii  <eliz@is.elta.co.il>

	* widget.c (EmacsFrameSetCharSize): Remove unused variables `ac'
	and al[].

	* composite.c (run_composition_function): Remove unused variable
	`val'.
	(update_compositions): Remove unused variable `hook'.

	* intervals.c (get_local_map): Remove unused variable `tem'.

	* doprnt.c (doprnt1): Remove unused variable `size'.

	* fns.c (Flength): Remove unused variable `tail'.
	(Fdelete): Remove unused variable `size'.

	* editfns.c (Ftranspose_regions): Remove unused variables `gcpro1'
	and `gcpro2'.

	* doc.c (Fsnarf_documentation): Remove unused variables `fun' and
	`tem'.

	* data.c (find_symbol_value): Remove extra 3rd argument in the
	call to swap_in_symval_forwarding.

	* undo.c (Fprimitive_undo): Remove unused block-scope variable
	`end'.

	* search.c (shrink_regexp_cache): Remove unused variable `cpp'.
	(trivial_regexp_p): Remove unused variable `c'.
	(boyer_moore): Remove unused variable `k'.

	* indent.c (current_column): Remove unused variable `stopchar'.
	(Fcompute_motion): Remove unused variable `contin'.

	* casefiddle.c (casify_object): Remove unused variable `tolen'.

	* dired.c (directory_files_internal): Fix a typo in a comment.
	Remove an unused variable `handler'.
	(file_name_completion): Remove unused function-scope variable
	`dp'.
	(Ffile_attributes) <dirname, sdir>: Make declarations conditioned
	on BSD4_2.

	* fileio.c (e_write): Remove unused variable
	`require_encoding_p'.

	* marker.c (Fmarker_position): Remove unused variables `pos', `i',
	and `buf'.
	(Fmarker_insertion_type): Remove unused variable `buf'.

	* insdel.c (make_gap): Remove unused variable `result'.

	* keyboard.c (record_char): Remove unused function-scope variable
	`help'.
	(kbd_buffer_get_event): Remove unused block-scope variable `idx'.
	(menu_bar_items): Remove unused function-scope variable `tem'.

	* fontset.c (fontset_ref): Remove unused variable `i'.
	(fontset_set): Remove unused variables `j' and `tmp'.
	(make_fontset): Remove unused variables `i', `j', `elt' and
	`base_elt'.
	(make_fontset_for_ascii_face): Remove unused variable `name'.
	(fs_load_font): Remove unused variable `font_idx'.
	(fs_query_fontset): Remove unused function-local variable
	`fontset'.
	(list_fontsets): Remove unused variable `tail'.
	(Fnew_fontset): Remove unused variables `family' and `registry'.
	(accumulate_font_info): Remove unused variable `tmp'.
	(Ffontset_font): Remove unused variable `id'.
	(syms_of_fontset): Remove unused variable `i'.

	* xfns.c (x_display_info_for_name): Cast 0 to "char *" in the call
	to x_term_init.
	(lookup_image): Remove unused variable `file'.
	(xbm_load): Remove unused variables `bitmap_data', `height', and
	`width'.  Remove function-local variable `i', leave the
	block-local one.
	(gif_load): Remove unused variable `inc'.

	* xterm.c (XTread_socket): Remove unused variables `p' and
	`pend'.
	(XTread_socket) <LeaveNotify>: Remove unused variable `frame',
	leave only the one in the inner block.

	* xfaces.c (face_fontset, realize_default_face): Remove unused
	variable `fontset'.
	(face_at_buffer_position): Remove unused variable `multibyte_p'.

	* term.c (encode_terminal_code): Remove unused variable `c'.

	* ccl.c (Fccl_execute): Cast ccl_driver parameters to `unsigned
	char *' instead of `char *'.

	* category.c (Fcategory_docstring): Remove unused variable `doc'.
	(Fget_unused_category): Remove unused variable
	`docstring_vector'.
	(Fchar_category_set): Remove unused variables `val', `charset',
	`c1' and `c2'.

	* coding.c (detect_coding_iso2022, setup_coding_system): Remove
	unused variable `i'.
	(detect_coding_mask): Remove unused variable `idx'.
	(detect_coding): Remove unused variable `i'.
	(ccl_coding_driver): Remove unused variable `result'.
	(run_pre_post_conversion_on_str): Remove unused variable `prev'.
	(decode_coding_string): Remove unused variables `to' and
	`gcpro1'.
	(encode_coding_string): Remove unused variables `gcpro1' and
	`saved_coding_symbol'.
	(Ffind_coding_systems_region_internal): Remove function-local
	variable args[], leave only the block-local one.
	(code_convert_region1): Remove unused variable `len'.

	* charset.c (char_printable_p): Remove unused variable `chars'.
	(Fsplit_char, Fchar_bytes): Remove unused variable `val'.
	(str_to_multibyte): Remove unused variable `c'.

	* window.c (size_window): Remove block-local variable `min_size'.

	* xdisp.c (make_cursor_line_fully_visible): Remove unused variable
	`header_line_height'.
	(append_space, extend_face_to_end_of_line): Declare `saved_what'
	enum display_element_type.

Gerd Moellmann's avatar
Gerd Moellmann committed
254 255
2001-01-02  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
256 257 258 259
	* xterm.c (x_connection_closed): Catch X errors around all
	statements that call X.  Save away the error message in a local
	copy.
	
Gerd Moellmann's avatar
Gerd Moellmann committed
260 261 262
	* xterm.c (x_connection_closed): Set handling_signal to 0 at
	the start.

263 264 265
	* xdisp.c (pos_visible_p): Take into account that CHARPOS maybe
	in or at the start of invisible text.

Gerd Moellmann's avatar
Gerd Moellmann committed
266 267
	* dispnew.c (update_window): Don't check_current_matrix_flags.

Jason Rumney's avatar
Jason Rumney committed
268 269 270 271 272
2001-01-01  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (x_figure_window_size): Do not allow new_height and
	new_width of frame to override specified values.

Kenichi Handa's avatar
Kenichi Handa committed
273 274
2000-12-30  Kenichi Handa  <handa@etl.go.jp>

275 276
	* composite.c (find_composition): Fix a code for searching
	backward.
Kenichi Handa's avatar
Kenichi Handa committed
277

Gerd Moellmann's avatar
Gerd Moellmann committed
278 279
2000-12-29  Gerd Moellmann  <gerd@gnu.org>

280 281 282 283 284 285 286 287 288 289
	* dispnew.c (check_current_matrix_flags) [GLYPH_DEBUG]: New
	function.
	(update_window) [GLYPH_DEBUG]: Call it.
	(scrolling_window): Prevent including current rows which are below
	what's displayed in the window.

	* xdisp.c (try_window_reusing_current_matrix)
	<new start <= old start>:  Disable rows in the current matrix
	which are below the window after scrolling.
	
Gerd Moellmann's avatar
Gerd Moellmann committed
290 291 292 293
	* xdisp.c (move_it_by_lines): Don't do optimizations if NEED_Y_P
	is zero.  It's not worth the complexity.
	(invisible_text_between_p): Put in #if 0 because unused.

294 295
2000-12-28  Gerd Moellmann  <gerd@gnu.org>

296 297 298
	* xfns.c (Fx_backspace_delete_keys_p): Check library and server
	XKB versions.  Call XkbFreeKeyboard with 2nd arg 0.

299 300 301 302 303 304 305 306 307 308 309 310
	* keyboard.c (echo_char): If C is an integer, always call
	push_key_description.  Former code could signal an invalid
	character error.

	* keymap.c (push_key_description): Add parameter FORCE_MULTIBYTE.
	If set, print multibyte text.
	(Fsingle_key_description): Call push_key_description with
	FORCE_MULTIBYTE set.
	(describe_buffer_bindings): Likewise.

	* lisp.h (push_key_description): Add prototype.

311 312 313
	* xdisp.c (echo_area_display): Bind redisplay-dont-pause to t
	around the call to redisplay_internal.

314 315
	* xfns.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.

316 317
	* dispnew.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.

Kenichi Handa's avatar
Kenichi Handa committed
318 319 320 321 322 323 324 325 326 327 328
2000-12-28  Kenichi Handa  <handa@etl.go.jp>

	* ccl.c (CCL_WRITE_CHAR): Check variable `extra_bytes'.
	(ccl_driver): New local variable `extra_bytes'.

	* ccl.h (struct ccl_spec): New member eight_bit_carryover.

	* coding.c (setup_coding_system): Initialize
	coding->spec.ccl.eight_bit_carryover.
	(ccl_coding_driver): Pay attention to carried over 8-bit bytes.

Kenichi Handa's avatar
Kenichi Handa committed
329 330 331 332 333 334 335 336 337 338
2000-12-28  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (SAFE_ONE_MORE_BYTE): New macro.
	(DECODE_EMACS_MULE_COMPOSITION_CHAR): New macro.
	(DECODE_EMACS_MULE_COMPOSITION_RULE): New macro.
	(decode_composition_emacs_mule): New function.
	(decode_coding_emacs_mule): Decode composition sequence by calling
	decode_composition_emacs_mule.
	(ENCODE_COMPOSITION_EMACS_MULE): New macro.
	(encode_coding_emacs_mule): Changed from macro to function.  If
339
	a text contains compositions, encode them correctly.
Kenichi Handa's avatar
Kenichi Handa committed
340 341 342
	(setup_coding_system): Set coding->commong_flags for emacs-mule so
	that decoding and encoding are required.

Gerd Moellmann's avatar
Gerd Moellmann committed
343 344
2000-12-27  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
345 346 347 348 349
	* xfaces.c (PT_PER_INCH): New macro.
	(xlfd_point_size): Compute real point size from font's pixel size.
	(pixel_point_size, build_scalable_font_name): Use PT_PER_INCH
	instead of 72.

350 351 352
	* .gdbinit: Comment out the line pointing to the Lesstif source
	directory.

353 354 355
	* window.c (Frecenter): Use displayed_window_lines instead
	of window_internal_height.

Gerd Moellmann's avatar
Gerd Moellmann committed
356 357 358 359 360 361 362 363
	* xterm.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars
	instead of x-toolkit-scroll-bars-p.
	(Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p.

	* w32term.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars
	instead of x-toolkit-scroll-bars-p.
	(Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p.
	
Gerd Moellmann's avatar
Gerd Moellmann committed
364 365 366 367 368 369 370 371 372 373 374 375 376
	* dispnew.c (struct redisplay_history) [GLYPH_DEBUG]: New.
	(REDISPLAY_HISTORY_SIZE) [GLYPH_DEBUG]: New macro.
	(redisplay_history, history_idx, history_tick) [GLYPH_DEBUG]: New
	variables.
	(add_window_display_history, add_frame_display_history) 
	(Fdump_redisplay_history) [GLYPH_DEBUG]: New functions.
	(build_frame_matrix_from_leaf_window): Remove unused code.
	(build_frame_matrix_from_leaf_window) [GLYPH_DEBUG]: Add to
	redisplay history.
	(update_frame) [GLYPH_DEBUG]: Add to redisplay history.
	(update_window) [GLYPH_DEBUG]: Likewise.
	(syms_of_display): Defsubr dump-redisplay-history.

377 378
2000-12-23  Gerd Moellmann  <gerd@gnu.org>

379 380 381 382
	* keyboard.c (echo_prompt): Always set current_kboard->echoptr to
	the end of the prompt.  Set echo_after_prompt to the offset
	of echoptr in echobuf.

383 384 385 386
	* xdisp.c (init_from_display_pos): Pop until the iterator's
	stack is empty; there may be frames for stretch or images
	on the stack.

387 388 389 390 391
	* dispnew.c (save_frame_matrix, restore_frame_matrix): Removed.
	(save_or_restore_current_matrix): New function for the same
	purpose, but more efficient.
	(adjust_frame_glyphs_for_frame_redisplay): Use it.

392 393 394 395
2000-12-23  Eli Zaretskii  <eliz@is.elta.co.il>

	* xdisp.c (syms_of_xdisp): Fix last change.

Gerd Moellmann's avatar
Gerd Moellmann committed
396 397 398 399 400 401 402 403 404
2000-12-23  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (syms_of_xdisp): Doc fix.

	* xdisp.c (redisplay_window): Remove label restore_buffers;
	use finish_scroll_bars instead to make sure that scroll bars
	are redeemed.  If we don't do this, flickering can result from
	scroll bars being destroyed and recreated.

405 406 407 408 409 410 411
2000-12-22  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (w32_draw_bitmap): Fix drawing so it does not appear
	in the wrong colors when the foreground is not black.
	(expose_window): Don't redraw the window that's currently being
	updated.

412 413
2000-12-22  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
414 415 416 417
	* window.c (size_window): When setting the window's too_small_ok
	flag, compare old size with minimum size depending on WIDTH_P,
	don't compare with window_min_width.
	
418 419 420 421 422 423
	* window.c (delete_window): Simplify somewhat.
	(Fset_window_configuration): Don't SET_FRAME_GARBAGED after
	freeing window matrices.  The flag windows_or_buffers_changed is
	set, so the next redisplay will consider all windows; this should
	suffice.

Kenichi Handa's avatar
Kenichi Handa committed
424 425 426 427 428 429 430 431 432 433
2000-12-22  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (ccl_coding_driver): Initialize ccl->cr_consumed.

	* ccl.h (struct ccl_program): New member cr_consumed.

	* ccl.c (CCL_WRITE_CHAR): Don't handle EOL conversion here.
	(CCL_READ_CHAR): Handle EOL conversion here.
	(ccl_driver) <CCL_ReadMultibyteChar2>: Likewise.

Gerd Moellmann's avatar
Gerd Moellmann committed
434 435
2000-12-21  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
436 437 438 439 440 441 442 443 444 445 446 447
	* xdisp.c (Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg
	GLYPHS.

	* dispextern.h (GLYPH_EQUAL_P): Also compare pixel widths,
	otherwise tabs of different size compare equal.

	* callint.c (Fcall_interactively): Prevent a compiler warning.

	* print.c (print_unwind): Return nil.
	(PRINTDECLARE): Initialize all local variables.
	(print_preprocess): Add a default case.

Gerd Moellmann's avatar
Gerd Moellmann committed
448 449 450 451
	* lisp.h (Qinhibit_point_motion_hooks): Declare extern.

	* undo.c (Fprimitive_undo): Bind `inhibit-point-motion-hooks' to t.

Gerd Moellmann's avatar
Gerd Moellmann committed
452 453 454 455 456 457 458 459 460 461 462 463
	* window.c (delete_window, Fsplit_window) 
	(Fset_window_configuration): Calls to ensure_frame_matrix removed.

	* dispextern.h (ensure_frame_matrix): Function declaration removed.

	* dispnew.c (ensure_frame_matrix): Removed.
	(save_frame_matrix, restore_frame_matrix): New functions.
	(adjust_frame_glyphs_for_frame_redisplay): Use them.

	* xdisp.c (dump_glyph_row, dump_glyph_matrix, Fdump_glyph_matrix)
	[GLYPH_DEBUG]: Extended to dump glyphs in short form.

464 465 466 467 468 469 470 471 472
2000-12-21  Andrew Innes  <andrewi@gnu.org>

	* w32term.c (x_update_begin): Regenerate the palette here, rather
	than for each window.

	* w32xfns.c (select_palette): Avoid calling SelectPalette if
	palette is NULL, since this corrupts memory!  Also get
	display_info reference from frame.

Jason Rumney's avatar
Jason Rumney committed
473 474 475 476 477 478
2000-12-21  Jason Rumney  <jasonr@gnu.org>

	* w32bdf.c (w32_init_bdf_font): Fix test for valid bmp heap.

	* w32term.c (x_draw_hollow_cursor): Delay obtaining the frame's DC
	to avoid returning without releasing it.
479

Kenichi Handa's avatar
Kenichi Handa committed
480 481
2000-12-21  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
482 483 484
	* keymap.c (push_key_description): Don't convert eight-bit-control
	and eight-bit-graphic to multibyte character.

Kenichi Handa's avatar
Kenichi Handa committed
485 486 487 488
	* charset.c (Fmake_char_internal): If CHARSET doesn't have a
	generic character and CODE1 is nil, return the smallest character
	in CHARSET.

Dave Love's avatar
Dave Love committed
489 490 491 492
2000-12-20  Dave Love  <fx@gnu.org>

	* s/osf5-0.h (NSIG): Don't redefine.

493 494 495 496 497 498 499 500
2000-12-20  Stefan Monnier  <monnier@cs.yale.edu>

	* keymap.c (where_is_internal): Check ascii_sequence_p rather than
	excluding menu-bar and tool-bar.
	(Fwhere_is_internal): Check ascii_sequence_p when looking up the cache.
	(menu_item_p): Remove.
	(where_is_internal_1): Don't ignore menu-items.

Gerd Moellmann's avatar
Gerd Moellmann committed
501 502
2000-12-20  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
	* xdisp.c (hscroll_window_tree): Take window's min_hscroll
	into account.

	* window.c (make_window): Initialize window's min_hscroll.
	(Fset_window_hscroll): Set window's hscroll and min_hscroll.
	(set_window_buffer, temp_output_buffer_show): Set min_hscroll
	to zero.
	(struct saved_window): New member min_hscroll.
	(SAVED_WINDOW_VECTOR_SIZE): Set to 17.
	(Fset_window_configuration): Set window's min_hscroll.
	(save_window_save): Save window's min_hscroll.
	(compare_window_configurations): Compare min_hscroll values.

	* window.h (struct window): New member min_hscroll.

	* keyboard.c (echo_prompt): Prevent a compiler warning.

520 521 522 523
	* xdisp.c (try_cursor_movement): Fix last change.  The real
	condition is that PT is at the end of the row, and should
	be displayed at the start of the next row.
	
524 525 526
	* xdisp.c (try_cursor_movement): If we end on a partially
	visible line, end we already decided to scroll, return -1.

Gerd Moellmann's avatar
Gerd Moellmann committed
527 528 529 530 531 532 533 534 535 536 537
	* dispextern.h (ensure_frame_matrix): Add prototype.

	* window.c (delete_window, Fsplit_window)
	(Fset_window_configuration): Call ensure_frame_matrix.

	* dispnew.c (fake_current_matrices, ensure_frame_matrix): New
	functions.
	(adjust_frame_glyphs_for_frame_redisplay): If display has been
	completed, call fake_current_matrices instead of marking frame
	garbaged.

538 539 540 541
2000-12-20  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (syms_of_w32fns): Initialize and staticpro tip_frame.

Eli Zaretskii's avatar
Eli Zaretskii committed
542 543 544 545
2000-12-19  Eli Zaretskii  <eliz@is.elta.co.il>

	* fns.c (Frequire): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
546 547
2000-12-19  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
548 549 550
	* window.c (window_scroll_pixel_based): Don't use
	move_it_vertically.

551 552 553
	* dispnew.c (direct_output_for_insert): Fix check for mini-window
	currently displaying a message.

Gerd Moellmann's avatar
Gerd Moellmann committed
554 555 556 557
	* bytecode.c (toplevel) [CHECK_FRAME_FONT]: Include frame.h and
	xterm.h.
	(Fbyte_code) [CHECK_FRAME_FONT]: Check the selected frame's font.

Andrew Innes's avatar
Andrew Innes committed
558 559 560 561 562 563 564 565
2000-12-18  Andrew Innes  <andrewi@gnu.org>

	* w32.c (w32_strerror): New function.

	* w32.h (w32_strerror): New extern.

	* w32fns.c (Fw32_shell_execute): Use it.

Gerd Moellmann's avatar
Gerd Moellmann committed
566 567 568 569
2000-12-18  Gerd Moellmann  <gerd@gnu.org>

	* s/hpux10.h (_FILE_OFFSET_BITS): Undef again.

Eli Zaretskii's avatar
Eli Zaretskii committed
570 571 572 573
2000-12-18  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (IT_set_face): Obey inverse_video.

Kenichi Handa's avatar
Kenichi Handa committed
574 575 576 577
2000-12-18  Kenichi Handa  <handa@etl.go.jp>

	* dired.c (directory_files_internal): Always return decoded filenames.

Gerd Moellmann's avatar
Gerd Moellmann committed
578 579
2000-12-18  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
580 581 582
	* xterm.c (x_connection_closed): Prevent being called recursively
	because of an error condition in XtCloseDisplay.
	
583 584 585
	* xdisp.c (init_iterator): If noninteractive, and the frame's
	face cache is null, make one.

586 587 588
	* xfns.c (show_busy_cursor): Check for live frames more
	thoroughly.

Gerd Moellmann's avatar
Gerd Moellmann committed
589 590 591
	* process.c (wait_reading_process_input): Check for pending
	input when running timers.

592 593 594 595 596
2000-12-18  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (IT_write_glyphs): Compute the glyph face from
	str->face_id.

Kenichi Handa's avatar
Kenichi Handa committed
597 598 599 600 601
2000-12-18  Kenichi Handa  <handa@etl.go.jp>

	* process.c (read_process_output): Don't run a filter if the code
	decoder produces nothing but carryover.

Andrew Innes's avatar
Andrew Innes committed
602 603 604 605 606 607 608 609 610 611
2000-12-17  Andrew Innes  <andrewi@gnu.org>

	* w32.c (sys_rename): Only check errno against EEXIST, and not
	EACCES, when determining whether rename failed because the target
	exists.  This was resulting in indefinite looping on Windows 9x if
	the source file was locked by another process.

	* w32fns.c (Ffile_system_info): New function.
	(syms_of_w32fns): Defsubr it.

Gerd Moellmann's avatar
Gerd Moellmann committed
612 613
2000-12-17  Gerd Moellmann  <gerd@gnu.org>

614 615 616
	* window.c (coordinates_in_window): Fix computation for
	position on vertical line between mode lines.

Gerd Moellmann's avatar
Gerd Moellmann committed
617 618 619 620 621
	* xfns.c (unwind_create_frame): Return t if frame was deleted.
	Don't alter tip_frame or tip_window.
	(unwind_create_tip_frame): Set tip_frame to nil only if frame
	was deleted.

622 623 624 625 626
	* w32fns.c (unwind_create_frame): Return t if frame was deleted.
	Don't alter tip_frame or tip_window.
	(unwind_create_tip_frame): Set tip_frame to nil only if frame
	was deleted.

Eli Zaretskii's avatar
Eli Zaretskii committed
627 628 629 630 631 632
2000-12-16  Eli Zaretskii  <eliz@is.elta.co.il>

	* fileio.c (Fcopy_file): Rename the last argument to keep_time, to
	be consistent with the doc string.  Reported by NAKAJIMA Mikio
	<minakaji@osaka.email.ne.jp>.

Kenichi Handa's avatar
Kenichi Handa committed
633 634 635 636 637 638
2000-12-16  Kenichi Handa  <handa@etl.go.jp>

	* xfaces.c (Vface_ignored_fonts): New variable.
	(x_face_list_fonts): Ignore fonts matching Vface_ignored_fonts.
	(syms_of_xfaces): Declare Vface_ignored_fonts as a Lisp variable.

Gerd Moellmann's avatar
Gerd Moellmann committed
639 640
2000-12-15  Gerd Moellmann  <gerd@gnu.org>

641 642 643 644 645 646 647
	* dispnew.c (update_window): Detect pending input every nth line
	updated, i.e. do it depending on real work done, and not on the
	vpos of the line.

	* xterm.c (expose_window): Don't redraw the window that's
	currently being updated.

Gerd Moellmann's avatar
Gerd Moellmann committed
648 649 650
	* window.c (Fset_window_point): Remove test for
	cursor_in_non_selected_windows.

Gerd Moellmann's avatar
Gerd Moellmann committed
651 652
	* lread.c (read1): Recognize end of file after `\\'.

Gerd Moellmann's avatar
Gerd Moellmann committed
653 654 655
	* xfns.c (x_create_tip_frame): Use unwind_create_tip_frame,
	not unwind_create_frame.

Gerd Moellmann's avatar
Gerd Moellmann committed
656 657 658 659 660 661 662
2000-12-15  Dave Love  <fx@gnu.org>

	* s/usg5-4.h (bcopy) [IRIX6]: Don't special-case definition of
	bcopy & al.

	* s/irix6-5.h: #undef bcopy & al here.  Include strings.h.

Kenichi Handa's avatar
Kenichi Handa committed
663 664
2000-12-15  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
665 666
	* coding.c (setup_coding_system): Clear all members of the struct
	coding_system at first.
Kenichi Handa's avatar
Kenichi Handa committed
667 668 669 670
	(detect_coding): Call detect_coding_mask with a correct MULTIBYTEP
	argument.
	(code_convert_region): Don't override coding->src_multibyte and
	coding->dst_multibyte.
Kenichi Handa's avatar
Kenichi Handa committed
671

Kenichi Handa's avatar
Kenichi Handa committed
672 673
	* fns.c (Fmd5): Docstring improved.

Miles Bader's avatar
Miles Bader committed
674 675 676 677 678 679
2000-12-15  Miles Bader  <miles@gnu.org>

	* xdisp.c (window_box_height): Only use mode-line glyph-rows that
	are actually marked as mode-lines; otherwise use
	estimate_mode_line_height.

Gerd Moellmann's avatar
Gerd Moellmann committed
680 681 682 683 684
2000-12-14  Gerd Moellmann  <gerd@gnu.org>

	* editfns.c (Fformat): Prevent a buffer overrun when the format
	specifies a precision.

Eli Zaretskii's avatar
Eli Zaretskii committed
685 686 687 688 689
2000-12-14  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (Fmsdos_set_mouse_buttons): Signal an error if the
	argument is outside the range [2..3].

Andrew Innes's avatar
Andrew Innes committed
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707
2000-12-14  Andrew Innes  <andrewi@gnu.org>

	* w32fns.c (Fx_hide_tip): Avoid unnecessary work when there's
	nothing to do.  Bind inhibit-quit.
	(tip_frame): Make it a Lisp_Object.
	(x_create_tip_frame): Set tip_frame after it has been added to
	Vframe_list.
	(Fx_show_tip): Don't set tip_frame here.
	(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New
	variables.
	(unwind_create_frame, unwind_create_tip_frame): New functions.
	(Fx_create_frame, x_create_tip_frame): Handle errors signaled
	while a frame is only partially constructed.

	* w32term.c (clear_mouse_face): Treat tip_frame as a Lisp_Object.
	(x_free_frame_resources): New function.
	(x_destroy_window): Use it.

Gerd Moellmann's avatar
Gerd Moellmann committed
708 709 710 711 712 713 714
2000-12-14  Gerd Moellmann  <gerd@gnu.org>

	* xfns.c (Fx_backspace_delete_keys_p): New function.
	(syms_of_xfns): Defsubr it.

	* config.in (HAVE_XKBGETKEYBOARD): Add.

Kenichi Handa's avatar
Kenichi Handa committed
715 716
2000-12-14  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
717 718 719 720 721 722 723
	* keyboard.c (echo_prompt): Argument type changed to Lisp_Object.
	Always store string in multibyte representation in echobuf.
	(echo_char): Always store string in multibyte representation in
	echobuf.
	(echo_now): Call message2_nolog with the arg MULTIBYTE 1.
	(read_key_sequence): Adjusted for the change of echo_prompt.

Kenichi Handa's avatar
Kenichi Handa committed
724 725
	* fns.c (Fmd5): Docstring improved.

Kenichi Handa's avatar
Kenichi Handa committed
726 727
	* lisp.h (detect_coding_system): Prototype adjusted.

Kenichi Handa's avatar
Kenichi Handa committed
728 729 730 731 732 733 734
	* coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro.
	(detect_coding_emacs_mule, detect_coding_iso2022,)
	(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
	(detect_coding_utf_16, detect_coding_ccl): Make them static.  New
	argument MULTIBYTEP.  Callers changed.
	(detect_coding_mask, detect_coding_system): New argument
	MULTIBYTEP.  Callers changed.
Kenichi Handa's avatar
Kenichi Handa committed
735 736 737 738
	(decode_coding_string): Set coding->src_multibyte and
	coding->dst_multibyte before calling detect_coding and detect_eol.
	Update them after some coding system is detected.
	
739 740 741 742 743 744 745
2000-12-13  Stefan Monnier  <monnier@cs.yale.edu>

	* keymap.c (get_keyelt): Only eval the filter if `autoload' is set.

	* keyboard.c (menu_bar_items, tool_bar_items):
	Set `autoload' when looking up `tool-bar' or `menu-bar' submap.

Gerd Moellmann's avatar
Gerd Moellmann committed
746 747
2000-12-13  Gerd Moellmann  <gerd@gnu.org>

748 749 750 751 752 753 754 755 756 757 758
	* xfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: 
	New variables.
	(unwind_create_frame, unwind_create_tip_frame): New functions.
	(Fx_create_frame, x_create_tip_frame): Handle errors signaled
	while a frame is only partially constructed.

	* xterm.h (x_free_frame_resources): Declare.

	* xterm.c (x_free_frame_resources): New function.
	(x_destroy_window): Use it.

759 760 761 762 763 764
	* dispnew.c (update_window): If do_mouse_tracking is non-nil,
	don't interrupt the update for pending input initially, i.e.
	update at least some lines.

	* keyboard.c (do_mouse_tracking): Make externally visible.
	
765
	* xterm.c (x_term_init): Declare gray_bitmap_bits as `extern char *'.
Gerd Moellmann's avatar
Gerd Moellmann committed
766 767 768

	* xfns.c (gray_bitmap_bits): Declare `char *'.

769 770 771 772 773
2000-12-12  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (display_tool_bar_line): Make sure that tool bar
	lines start with a relief line.

Dave Love's avatar
Dave Love committed
774 775 776 777 778 779 780 781 782
2000-12-12  Dave Love  <fx@gnu.org>

	* window.c (Fdisplay_buffer): Doc fix.
	(Fwindow_list): Remove unused var.

	* buffer.h (mmap_set_vars): Declare.

	* window.h (Fset_window_point): Declare.

Eli Zaretskii's avatar
Eli Zaretskii committed
783 784
2000-12-12  Eli Zaretskii  <eliz@is.elta.co.il>

Stefan Monnier's avatar
Stefan Monnier committed
785
	* msdos.c (fast_find_position): Don't overstep the last window row.
Eli Zaretskii's avatar
Eli Zaretskii committed
786 787 788 789
	(IT_note_mouse_highlight): Initialize portion to -1.  Remove
	unused variable `area'.  When looking for a row under (X,Y), give
	up if some of the previous rows is not enabled.

790 791
2000-12-12  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
792 793 794 795 796 797
	* window.c (Fset_window_point): If displaying cursors in windows
	other than the selected window, make sure redisplay updates
	other windows to show the new value of point in the window.

	* dispextern.h (cursor_in_non_selected_windows): Declare extern.

Gerd Moellmann's avatar
Gerd Moellmann committed
798 799 800
	* buffer.c (Fkill_buffer): Don't Fset_buffer when testing if
	the buffer is the sole visible buffer when in the mini-buffer.

Gerd Moellmann's avatar
Gerd Moellmann committed
801 802 803 804
	* xdisp.c (setup_echo_area_for_printing, with_echo_area_buffer): 
	Bind `inhibit-read-only' to t.
	(unwind_with_echo_area_buffer): Use AREF.

Gerd Moellmann's avatar
Gerd Moellmann committed
805 806
	* xfns.c (Fx_hide_tip): Simplified.

Gerd Moellmann's avatar
Gerd Moellmann committed
807 808 809
	* s/freebsd.h, s/netbsd.h (GC_MARK_STACK): Use
	GC_MAKE_GCPROS_NOOPS instead of `1'.

810 811
	* s/gnu-linux.h (GC_MARK_STACK): Define as GC_MAKE_GCPROS_NOOPS.

812 813
2000-12-11  Gerd Moellmann  <gerd@gnu.org>

814 815
	* xfns.c (Fx_hide_tip): Fix last change.
	
816 817 818 819 820 821 822 823 824 825 826 827 828 829
	* xfns.c (Fx_hide_tip): Avoid unnecessary work when there's
	nothing to do.  Bind inhibit-quit.
	(tip_frame): Make it a Lisp_Object.
	(x_create_tip_frame): Set tip_frame after it has been added to
	Vframe_list.
	(Fx_show_tip): Don't set tip_frame here.

	* xterm.c (clear_mouse_face): Treat tip_frame as a Lisp_Object.

	* xdisp.c (prepare_menu_bars): Changes for tip_frame being a
	Lisp_Object.

	* dispextern.h: Change external declaration of tip_frame.

Gerd Moellmann's avatar
Gerd Moellmann committed
830 831 832
	* keymap.c (Fkey_description): If KEYS is an empty key sequence,
	return an empty string.

833 834 835 836 837
	* xdisp.c (try_cursor_movement): Check update_mode_lines instead
	of the window's update_mode_line flag, since the former is set by
	force-mode-line-update, not the latter.  This makes
	column-number-mode slightly faster.
	
838 839 840
	* xdisp.c (try_window_id) <all changes above window start>:
	Set the cursor.

Gerd Moellmann's avatar
Gerd Moellmann committed
841 842 843 844 845 846 847 848 849 850
2000-12-11  Paul Eggert  <eggert@twinsun.com>

	* config.in (HAVE_FTELLO): Remove.
	(HAVE_FSEEKO): Add.
	(_XOPEN_SOURCE): Remove; the large-file code no longer needs it.
	* lread.c (file_offset, file_tell): Depend on HAVE_FSEEKO, not
	HAVE_FTELLO.
	* s/hpux10.h (_FILE_OFFSET_BITS): Do not undef.
	* s/isc3-0.h, s/osf5-0.h: Update comment about _XOPEN_SOURCE.
	
851 852 853 854
2000-12-11  Miles Bader  <miles@gnu.org>

	* window.c (displayed_window_lines): Don't round up when
	converting empty space at bottom to lines.
Miles Bader's avatar
Miles Bader committed
855 856 857
	Handle non-newline-terminated final lines properly.
	(Fwindow_text_height): New function (used to be in lisp).
	(syms_of_window): Initialize it.
858

859 860 861 862 863 864
2000-12-09  Stefan Monnier  <monnier@cs.yale.edu>

	* syntax.c (scan_lists): Check that the right quote char has the
	right Sstring syntax when jumping over strings.
	(init_syntax_once): Use Smax rather than 13.

865 866 867 868 869 870
2000-12-09  Miles Bader  <miles@gnu.org>

	* window.c (Fpos_visible_in_window_p): Replace FULLY parameter
	with PARTIALLY, inverting the sense.
	(window_scroll_pixel_based): Scroll partially visible lines into
	place if we hit the beginning or end of the buffer.
Miles Bader's avatar
Miles Bader committed
871 872
	(displayed_window_lines): Don't include partially visible lines.
	(Fmove_to_window_line): Skip past any partially visible first line.
873

Gerd Moellmann's avatar
Gerd Moellmann committed
874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892
2000-12-08  Gerd Moellmann  <gerd@gnu.org>

	* keymap.c (current_minor_maps): Use malloc.  Prevent a leak.

	* tparam.c (tparam1): Change the way buffers are reallocated to be
	portable and less obfuscated.

	* termcap.c (tgetent): Change the way buffers are reallocated to
	be portable and less obfuscated.

	* macros.c (store_kbd_macro_char): Change the way buffers are
	reallocated to be portable and less obfuscated.

	* lread.c (read1): Change the way buffers are reallocated to be
	portable and less obfuscated.

	* doc.c (Fsubstitute_command_keys): Change the way buffers
	are reallocated so that it is portable.

Eli Zaretskii's avatar
Eli Zaretskii committed
893 894 895 896 897
2000-12-07  Eli Zaretskii  <eliz@is.elta.co.il>

	* dosfns.c (Ffile_system_info): New function.
	(syms_of_dosfns): Defsubr it.

Stefan Monnier's avatar
Stefan Monnier committed
898 899 900 901
2000-12-07  Stefan Monnier  <monnier@cs.yale.edu>

	* alloc.c (gc_sweep): Add comment.

Gerd Moellmann's avatar
Gerd Moellmann committed
902 903
2000-12-07  Gerd Moellmann  <gerd@gnu.org>

904 905 906 907 908
	* sound.c (vox_configure): Change order of ioctls.  Don't
	set SNDCTL_DSP_SPEED from bps, don't set SNDCTL_DSP_SAMPLESIZE.
	Ignore errors when changing volume.
	(vox_close): Don't reset the device.

909 910 911 912
	* process.c (read_process_output): Make sure the process marker's
	position is valid when the process buffer is changed in
	after-change functions.  W3 does that.
	
Gerd Moellmann's avatar
Gerd Moellmann committed
913 914 915 916 917 918 919 920 921 922
	* xfns.c (x_free_gcs): New function.

	* xterm.h (x_free_gcs): Add prototype.

	* widget.c (EmacsFrameDestroy): Call x_free_gcs instead of
	freeing GCs here.

	* xterm.c (x_destroy_window): Call x_free_gcs so that
	resources of non-toolkit X windows will be freed.

923 924 925 926
2000-12-07  Andrew Innes  <andrewi@gnu.org>

	* w32fns.c (xlfd_charset_of_font): Fix last change.

Dave Love's avatar
Dave Love committed
927 928
2000-12-06  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
929 930
	* md5.h (__P): Don't define -- it comes from config.h.

Dave Love's avatar
Dave Love committed
931 932
	* strftime.c: Change some #if foo to #ifdef foo.

Andrew Innes's avatar
Andrew Innes committed
933 934 935 936 937 938 939 940 941 942
2000-12-06  Andrew Innes  <andrewi@gnu.org>

	* w32term.h (CP_INVALID): Rename to CP_UNKNOWN.

	* w32fns.c (xlfd_charset_of_font): Don't overwrite fontname
	argument.
	(w32_codepage_for_font): Rename CP_INVALID to CP_UNKNOWN.
	(w32_list_fonts): Don't choke if pattern doesn't specify a
	codepage.

943 944
2000-12-06  Gerd Moellmann  <gerd@gnu.org>

945 946 947
	* alloc.c (gc_sweep): Prevent symbols read during loadup
	from being freed.

Gerd Moellmann's avatar
Gerd Moellmann committed
948 949 950 951 952 953 954
	* xdisp.c (underlying_face_id): New function.
	(handle_face_prop, face_before_or_after_it_pos): Use it
	to determine the face ``under'' a string.  Let strings inherit
	the face of the buffer under them.

	* xfaces.c (face_at_string_position): Update function comment.
	
Gerd Moellmann's avatar
Gerd Moellmann committed
955 956 957 958 959 960
	* dispnew.c (adjust_glyph_matrix): Don't reuse a window's current
	matrix if the window's left position has changed; we need to
	redraw it in this case.

	* dispextern.h (struct glyph_matrix): Add member window_left_x.

961 962 963
	* window.c (coordinates_in_window): Check mouse on mode-line or
	header-line first.

Gerd Moellmann's avatar
Gerd Moellmann committed
964 965 966
	* alloc.c (Fgarbage_collect): Dox fix.  Return a list as
	advertized by the function documentation.

Gerd Moellmann's avatar
Gerd Moellmann committed
967 968
	* window.c (syms_of_window): Doc fix.

969 970 971
	* sound.c (vox_configure): Set volume for left and right channel.
	(sound_cleanup): Return nil.

972 973
	* xdisp.c (move_it_by_lines): Fix paren typo.

974 975 976 977 978
	* xterm.c (x_load_font): Don't use the font's max_bounds for
	computing the height of the font.  If max_bounds' ascent or
	descent are greater than the font's ascent or descent, this means
	glyphs overlap, which should be handled now by redisplay.

979 980 981 982 983
	* window.c (Veven_window_heights): New variable.
	(syms_of_window): DEFVAR_LISP it.
	(Fdisplay_buffer): Check Veven_window_heights before evening the
	window heights.
	
984 985 986 987 988
2000-12-06  Miles Bader  <miles@gnu.org>

	* xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is `t',
	update `default-frame-alist' instead of setting no frame parameters.

Kenichi Handa's avatar
Kenichi Handa committed
989 990 991 992 993
2000-12-06  Kenichi Handa  <handa@etl.go.jp>

	* composite.c (update_compositions): Fix typo (use the correct
	variable).

994 995 996 997 998 999 1000
2000-12-05  Jason Rumney  <jasonr@gnu.org>

	* md5.h: Remove underscores from function declarations.
	(__attribute__, __alignof__) [!__GNUC__]: Define.

	* md5.c: Delay include of md5.h until after namespace cleaning.

Jason Rumney's avatar
Jason Rumney committed
1001 1002 1003 1004 1005 1006
	* makefile.w32-in (fns.o): Depend on md5.h
	(md5.o): New target.
	(sunfns.o): Remove.

	* makefile.nt: Likewise.

Jason Rumney's avatar
Jason Rumney committed
1007 1008 1009 1010
2000-12-05  Jason Rumney  <jasonr@altavista.net>

	* w32term.c (expose_area): Complete last change.

1011 1012 1013 1014
2000-12-05  Ken Raeburn  <raeburn@gnu.org>

	* minibuf.c: Include intervals.h.

1015 1016 1017 1018 1019 1020 1021 1022
2000-12-05  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (x_produce_glyphs): If a font for a component of
	a composition is not found, use 1 pixel dot ascent and 0 dot
	descent value to avoid displaying terribly tall empty boxes.
	(expose_area): Pass x-coordinate relative to the exposed
	area to x_draw_glyphs instead of a window-relative coordinate.

Gerd Moellmann's avatar
Gerd Moellmann committed
1023 1024
2000-12-05  Gerd Moellmann  <gerd@gnu.org>

1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
	* xdisp.c (next_element_from_ellipsis): Save face before selective
	display in saved_face_id, and set face_before_selective_p.
	(reseat_1): Reset face_before_selective_p.
	(append_space, extend_face_to_end_of_line): If iterator's
	face_before_selective_p is set, use the face from saved_face_id.
	(extend_face_to_end_of_line): For tty frames, make sure to
	use the right face id when producing spaces at the end of
	the line.

	* dispextern.h (struct it): Add face_before_selective_p.

1036 1037 1038
	* keyboard.c (record_char): Don't record identical help-echo
	events in recent_keys.

Gerd Moellmann's avatar
Gerd Moellmann committed
1039 1040 1041
	* xterm.c [USE_X_TOOLKIT]: Close the display.
	(xim_close_dpy): Handle case that the display has been closed.

Gerd Moellmann's avatar
Gerd Moellmann committed
1042 1043 1044
	* xterm.c (x_destroy_window): Reset the frame's X window after
	destroying it.

Gerd Moellmann's avatar
Gerd Moellmann committed
1045 1046 1047 1048 1049 1050
	* dispnew.c (adjust_glyph_matrix): Make sure to initialize local
	variable window_width.
	(line_draw_cost): Fix code skipping over spaces at the end of the
	line when must_write_spaces is not set.
	(scrolling_window): Fix code inserting runs in list of all runs.

Kenichi Handa's avatar
Kenichi Handa committed
1051 1052 1053 1054 1055
2000-12-05  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (setup_coding_system): Be sure to initialize
	coding->category_idx.

Gerd Moellmann's avatar
Gerd Moellmann committed
1056 1057
2000-12-04  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1058 1059
	* xterm.c (PER_CHAR_METRIC): Removed because not used.
	
Gerd Moellmann's avatar
Gerd Moellmann committed
1060 1061 1062
	* xterm.c (expose_area): Pass x-coordinate relative to the exposed
	area to x_draw_glyphs instead of a window-relative coordinate.

1063 1064 1065
	* fileio.c (auto_save_error): Add parameter ERROR.  Show the
	error in the message.

1066 1067 1068 1069
	* keyboard.c (Fread_key_sequence): Don't start the busy cursor
	timer after having read a key.  It's not good for code reading
	several keys in a loop, like an input method.

Gerd Moellmann's avatar
Gerd Moellmann committed
1070 1071 1072 1073 1074 1075
	* fileio.c (Finsert_file_contents): When VISIT is t, don't
	record undo information for format-decode.

	* undo.c (Fprimitive_undo): Bind inhibit-read-only to t if
	current buffer is read-only, not if it isn't.

Gerd Moellmann's avatar
Gerd Moellmann committed
1076 1077 1078 1079
	* keyboard.c (record_char): Record `help-echo' input events
	in recent_keys only if they display some help.  Don't record
	`help-echo' events as macro char.

Gerd Moellmann's avatar
Gerd Moellmann committed
1080 1081 1082 1083 1084 1085
2000-12-04  Richard M. Stallman  <rms@caffeine.ai.mit.edu>

	* editfns.c (save_excursion_restore): Don't move point
	in another window if it is showing the wrong buffer.
	Avoid the call to Fwindow_live_p, for speed.

Kenichi Handa's avatar
Kenichi Handa committed
1086 1087
2000-12-04  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
1088 1089 1090 1091 1092 1093 1094 1095
	* xfaces.c (struct font_name): New member registry_priority.
	(split_font_name): Initialize the above member to zero.
	(concat_font_list): New function.
	(font_list): Include fonts of all alternative registries.
	(FONT_POINT_SIZE_QUANTUM): New macro.
	(better_font_p): Ignore point size difference less than
	FONT_POINT_SIZE_QUANTUM.  Use registry_prioprity as a last resort.

Kenichi Handa's avatar
Kenichi Handa committed
1096 1097 1098 1099
	* xterm.c (x_produce_glyphs): If a font for a component of
	a composition is not found, use 1 pixel dot ascent and 0 dot
	descent value to avoid displaying terribly tall empty boxes.

Kenichi Handa's avatar
Kenichi Handa committed
1100 1101
	* ccl.c (stack_idx_of_map_multiple): Don't use C initializier.

1102 1103 1104 1105 1106 1107 1108 1109 1110
2000-12-03  Ken Raeburn  <raeburn@gnu.org>

	* coding.h (code_convert_string1): Declare.

	* fns.c (Fmd5): Pass lisp objects, not integers, to call3.

	* lisp.h (Fmake_variable_buffer_local, Fbuffer_file_name):
	Declare.

Jason Rumney's avatar
Jason Rumney committed
1111 1112 1113 1114 1115 1116
2000-12-02  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (w32_bdf_per_char_metric): Dereference pointer
	correctly for single byte character case.
	(w32_per_char_metric): Do not try to make any assumptions about
	the metrics of BDF fonts.
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
	(x_estimate_mode_line_height): If `mode-line' face
	hasn't a font, use that of the frame, as drawing glyphs
	does.
	(note_mouse_highlight): Change the cursor shape	on the vertical
	border between windows [not enabled].

	* w32term.h (struct w32_output): Add member horizontal_drag_cursor.

	* w32fns.c (Fx_create_frame): Reintroduce the call to
	face-set-after-frame-defaults.
	(Vx_window_horizontal_drag_shape): New variable.
	(syms_of_xfns): DEFVAR_LISP it.
	(x_set_mouse_color): Create frame's horizontal_drag_cursor [not
	enabled].
Jason Rumney's avatar
Jason Rumney committed
1131

Gerd Moellmann's avatar
Gerd Moellmann committed
1132 1133 1134 1135 1136 1137 1138
2000-12-02  Simon Josefsson  <simon@josefsson.org>

	* fns.c (Fmd5): Use a different logic to decide the coding system
	to use.

	* coding.h (Qwrite_region, Qcoding_system_error): Declare extern.

Eli Zaretskii's avatar
Eli Zaretskii committed
1139 1140 1141 1142 1143
2000-12-02  Eli Zaretskii  <eliz@is.elta.co.il>

	* fileio.c (Fread_file_name) [DOS_NT]: Don't crash if homedir is
	NULL.

1144 1145
2000-12-01  Gerd Moellmann  <gerd@gnu.org>

1146 1147 1148 1149 1150
	* xterm.c (x_calc_absolute_position): Don't subtract menubar's
	height for YNegative.
	(x_calc_absolute_position) [USE_MOTIF]: Use the column widget's
	height; also see comment there.

1151 1152 1153 1154 1155 1156 1157
	* window.c (coordinates_in_window): Handle computations for
	positions on the vertical bar and fringes differently for
	window-system frames.  Consider some pixels near the vertical bar
	as on the bar if the frame doesn't have vertical scroll bars.
	Associate positions between mode or header lines with the
	right window, the left one.

1158 1159 1160 1161 1162 1163 1164
2000-12-01  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (w32_clear_window): Avoid clearing an invalid frame.

	* w32xfns.c (get_frame_dc): Avoid changing the palette on an
	invalid frame.

1165 1166 1167 1168 1169 1170 1171 1172
2000-12-01  Gerd Moellmann  <gerd@gnu.org>

	* window.c (struct saved_window): Add members orig_top and
	orig_height.
	(SAVED_WINDOW_VECTOR_SIZE): Increment to 16.
	(save_window_save, Fset_window_configuration): Save/restore
	window's orig_top and orig_height.

Jason Rumney's avatar
Jason Rumney committed
1173 1174
2000-12-01  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
1175
	* w32term.c (x_draw_vertical_border): Fix call to w32_fill_rect.
1176

Jason Rumney's avatar
Jason Rumney committed
1177 1178
	* w32fns.c (x_set_cursor_color): Fix last change.

1179 1180
2000-11-30  Gerd Moellmann  <gerd@gnu.org>

1181 1182 1183 1184
	* xdisp.c (echo_area_display): If cursor is in the echo area, make
	sure that the next redisplay displays the minibuffer, so that
	the cursor will be replaced with what the minibuffer wants.

1185 1186 1187 1188 1189
	* xterm.c: Test USE_TOOLKIT_SCROLL_BARS everywhere with #ifdef and
	#ifndef instead of using #if.
	(XTread_socket) [USE_MOTIF] <KeyPress>: Call XmIsScrollBar only if
	USE_TOOLKIT_SCROLL_BARS is defined.

Jason Rumney's avatar
Jason Rumney committed
1190 1191 1192 1193 1194
2000-11-30  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (x_set_cursor_color): Use x_update_cursor instead of
	x_display_cursor.

Gerd Moellmann's avatar
Gerd Moellmann committed
1195 1196 1197 1198
2000-11-30  Gerd Moellmann  <gerd@gnu.org>

	* fns.c (Fmd5): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
1199
2000-11-30  Simon Josefsson  <simon@josefsson.org>
Gerd Moellmann's avatar
Gerd Moellmann committed
1200 1201 1202 1203 1204 1205

	* fns.c (Fmd5): New function.
	(syms_of_fns): Defsubr md5.

	* Makefile.in (obj): Add md5.o

Gerd Moellmann's avatar
Gerd Moellmann committed
1206 1207
2000-11-30  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1208 1209
	* md5.h, md5.c: New files, taken from glibc.

Gerd Moellmann's avatar
Gerd Moellmann committed
1210 1211
	* xmenu.c (popup_get_selection): Use xmalloc instead of malloc.

Gerd Moellmann's avatar
Gerd Moellmann committed
1212 1213 1214 1215
	* xterm.c (x_estimate_mode_line_height): If `mode-line' face
	hasn't a font, use that of the frame, as drawing glyphs
	does.

Stefan Monnier's avatar
Stefan Monnier committed
1216 1217 1218 1219
2000-11-29  Stefan Monnier  <monnier@cs.yale.edu>

	* eval.c (Frun_hooks): Allow 0 arguments.

1220 1221
2000-11-29  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1222 1223 1224
	* xterm.c (XTmouse_position) [USE_X_TOOLKIT]: When the mouse
	is over the menu bar widget, say it's not on the frame.

1225 1226 1227
	* xfns.c (Fx_create_frame): Reintroduce the call to
	face-set-after-frame-defaults.

1228 1229
	* eval.c (Fsignal): Reset handling_signal.

1230 1231 1232 1233 1234
2000-11-28  Jason Rumney  <jasonr@gnu.org>

	* w32menu.c (add_menu_item): Reset menu item text when changing
	type to radio button.

Gerd Moellmann's avatar
Gerd Moellmann committed
1235 1236
2000-11-28  Gerd Moellmann  <gerd@gnu.org>

1237
	* xselect.c: Update copyright.
Gerd Moellmann's avatar
Gerd Moellmann committed
1238

Gerd Moellmann's avatar
Gerd Moellmann committed
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252
	* window.c (coordinates_in_window): If on a mode or header line,
	but sufficiently close to its start, return ``on vertical
	border''.  This gives us a way to drag windows horizontally when
	using toolkit scroll bars.

	* xterm.c (note_mouse_highlight): Change the cursor shape
	on the vertical border between windows.

	* xterm.h (struct x_output): Add member horizontal_drag_cursor.

	* xfns.c (Vx_window_horizontal_drag_shape): New variable.
	(syms_of_xfns): DEFVAR_LISP it.
	(x_set_mouse_color): Create frame's horizontal_drag_cursor.

Gerd Moellmann's avatar
Gerd Moellmann committed
1253 1254 1255 1256 1257
	* textprop.c (text_read_only): New function.
	(verify_interval_modification): Use it instead of signaling
	`text-read-only'.  This makes it easier to catch this error
	with a breakpoint.: 

Gerd Moellmann's avatar
Gerd Moellmann committed
1258 1259 1260
	* xdisp.c (forward_to_next_line_start): Check for newlines, 
	not end of line, which includes CR.

Kenichi Handa's avatar
Kenichi Handa committed
1261 1262 1263 1264 1265
2000-11-28  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (Ffind_coding_systems_region_internal): Be sure to
	include no-conversion.

Jason Rumney's avatar
Jason Rumney committed
1266 1267 1268 1269 1270
2000-11-27  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (w32_load_system_font): Always mark font as double byte
	if codepage is unicode.

1271 1272
2000-11-27  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1273 1274 1275 1276
	* xdisp.c (forward_to_next_line_start): If already on a newline,
	just consume it to avoid unintended skipping over invisible text
	below.

1277 1278 1279 1280
	* keyboard.c (lucid_event_type_list_p): Handle `help-echo',
	`vertical-line', `mode-line' and `header-line' events.

	* xdisp.c (try_window_id): Avoid starting to display in the middle
1281 1282 1283 1284
	 of a character, a TAB for instance.  This is easier than to set
	 up the iterator exactly, and it's not a frequent case, so the
	 additional effort wouldn't really pay off.

1285 1286
2000-11-26  Andrew Choi  <akochoi@i-cable.com>

1287
	* emacs.c (main) [macintosh]: Call syms_of_frame before calling
1288 1289
	init_window_once.

Jason Rumney's avatar
Jason Rumney committed
1290 1291
2000-11-25  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
1292 1293 1294
	* keyboard.c (make_lispy_event) [mouse_wheel, drag_n_drop]: Args
	to window_from_coordinates should be pixel coordinates.

Jason Rumney's avatar
Jason Rumney committed
1295 1296 1297
	* w32fns.c (x_to_w32_font): Do not filter out italic fonts, as new
	redisplay handles them properly.

Miles Bader's avatar
Miles Bader committed
1298 1299 1300 1301
2000-11-25  Miles Bader  <miles@gnu.org>

	* indent.c (compute_motion): Keep pos_byte in sync with pos.

Jason Rumney's avatar
Jason Rumney committed
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312
2000-11-24  Jason Rumney  <jasonr@gnu.org>

	* w32.c (init_environment): Set LANG environment variable based on
	locale settings, if not set.

	* w32fns.c (x_set_tool_bar_lines): Clear internal border when
	making tool bar smaller. When clearing the frame, also
	clear current matrices. Clear frame when tool bar disappears.
	Don't use more lines for the tool-bar than is available.
	(x_change_window_heights): New function.

Gerd Moellmann's avatar
Gerd Moellmann committed
1313 1314
2000-11-24  Gerd Moellmann  <gerd@gnu.org>

1315 1316 1317 1318 1319
	* xdisp.c (init_from_display_pos): If POS says we're already after
	 an overlay string ending at POS, make sure to pop the iterator
	 because it will be in front of that overlay string.  When POS is
	 ZV, we've thereby also ``processed'' overlay strings at ZV.

Gerd Moellmann's avatar
Gerd Moellmann committed
1320 1321
	* xfaces.c (lface_from_face_name): Function comment fix.

1322 1323 1324 1325 1326 1327 1328
2000-11-24  Miles Bader  <miles@gnu.org>

	* xdisp.c (display_menu_bar, display_mode_line): Change the way we
	apply `mode-line-inverse-video' -- zero means force display using
	the default face, non-zero means display using the specialized face.
	(syms_of_xdisp): `mode-line-inverse-video' defaults to true again.

Kenichi Handa's avatar
Kenichi Handa committed
1329 1330 1331 1332 1333
2000-11-23  Kenichi Handa  <handa@etl.go.jp>

	* alloc.c (Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of
	hard coded `4'.

1334 1335 1336 1337 1338
2000-11-23  Eli Zaretskii  <eliz@is.elta.co.il>

	* coding.c (decode_coding_emacs_mule): Fix the case of
	CODING_EOL_LF, which used uninitialized value of c.

Stefan Monnier's avatar
Stefan Monnier committed
1339 1340 1341 1342
2000-11-23  Stefan Monnier  <monnier@cs.yale.edu>

	* xdisp.c (syms_of_xdisp): Make fontification-functions buffer-local.

Gerd Moellmann's avatar
Gerd Moellmann committed
1343 1344
2000-11-22  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1345 1346 1347
	* buffer.c (Fmake_indirect_buffer): Don't treat nil as a
	buffer object.

Gerd Moellmann's avatar
Gerd Moellmann committed
1348 1349
	* frame.h (struct frame): Replace desired_tool_bar_items,
	current_tool_bar_items, n_desired_tool_bar_items,
Eli Zaretskii's avatar
Eli Zaretskii committed
1350
	n_current_tool_bar_items with tool_bar_items and n_tool_bar_items.
Gerd Moellmann's avatar
Gerd Moellmann committed
1351 1352 1353 1354 1355

	* frame.c (make_frame): Change initialization of tool bar
	items accordingly.

	* xterm.c (x_handle_tool_bar_click, note_tool_bar_highlight):
Eli Zaretskii's avatar
Eli Zaretskii committed
1356
	Change references to members deleted from struct frame to use the
Gerd Moellmann's avatar
Gerd Moellmann committed
1357 1358 1359
	new ones.

	* xdisp.c (update_tool_bar, build_desired_tool_bar_string): Change
Eli Zaretskii's avatar
Eli Zaretskii committed
1360
	references to members deleted from struct frame to use the new
Gerd Moellmann's avatar
Gerd Moellmann committed
1361 1362 1363 1364 1365 1366 1367 1368
	ones.

	* dispnew.c (update_frame): Do nothing with frame's tool bar
	items.

	* alloc.c (mark_object) <frame>: Mark tool bar items differently.

	* w32term.c (x_tool_bar_item, w32_handle_tool_bar_click)
Eli Zaretskii's avatar
Eli Zaretskii committed
1369
	(note_tool_bar_highlight): Change references to members deleted
Gerd Moellmann's avatar
Gerd Moellmann committed
1370 1371
	from struct frame to use the new ones.

Miles Bader's avatar
Miles Bader committed
1372 1373 1374 1375 1376
2000-11-23  Miles Bader  <miles@gnu.org>

	* xdisp.c (display_menu_bar): Or `mode-line-inverse-video' with
	the face's inverse-video attribute, rather than overriding it.

1377 1378 1379 1380 1381
2000-11-22  Gerd Moellmann  <gerd@gnu.org>

	* xfns.c (x_set_tool_bar_lines): Clear internal border when
	making tool bar smaller.

1382 1383 1384 1385
2000-11-22  Dave Love  <fx@gnu.org>

	* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): Don't define.

Miles Bader's avatar
Miles Bader committed
1386 1387
2000-11-22  Miles Bader  <miles@gnu.org>

Miles Bader's avatar
Miles Bader committed
1388 1389 1390 1391
	* keyboard.c (Vminibuffer_message_timeout): New variable.
	(command_loop_1): Use it to determine message timeout.
	(syms_of_keyboard): Initialize it.

1392
	* xdisp.c (syms_of_xdisp): `mode-line-inverse-video' defaults to nil.
Miles Bader's avatar
Miles Bader committed
1393

Kenichi Handa's avatar
Kenichi Handa committed
1394 1395 1396 1397 1398
2000-11-22  Kenichi Handa  <handa@etl.go.jp>

	* sysdep.c: Move the code for declaring h_errno after #include
	<netdb.h>.

1399 1400
2000-11-21  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1401 1402 1403
	* xfns.c (Fx_hide_tip) [USE_LUCID]: Add a hack to redisplay
	the menu bar when the tooltip is unmapped.

1404 1405 1406 1407
	* buffer.c (Fkill_buffer): Notice if the buffer to kill is the
	sole visible buffer when we're currently in the mini-buffer, and
	give up if so.
	
Jason Rumney's avatar
Jason Rumney committed
1408 1409 1410 1411 1412 1413 1414 1415 1416
2000-11-21  Jason Rumney  <jasonr@gnu.org>

	* w32select.c (Fw32_set_clipboard_data): Save a copy of what is
	put on the clipboard.
	(Fw32_get_clipboard_data): Compare data on clipboard with saved
	copy of what Emacs last put there. If they are the same, do not
	use the clipboard copy to avoid losing data due to coding
	conversions. 

Miles Bader's avatar
Miles Bader committed
1417 1418 1419 1420 1421 1422 1423
2000-11-22  Miles Bader  <miles@gnu.org>

	* minibuf.c (Vminibuffer_prompt_properties): New variable.
	(syms_of_minibuf): Initialize it.
	(read_minibuf): Add properties from Vminibuffer_prompt_properties
	to prompt, don't make read-only.

1424 1425
2000-11-21  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1426 1427 1428
	* bytecode.c (Fbyte_code) <Bvarbind, Bunwind_protect>: Add
	BEFORE/AFTER_POTENTIAL_GC.

Gerd Moellmann's avatar
Gerd Moellmann committed
1429 1430
	* s/hpux10.h (_FILE_OFFSET_BITS): Undef.

Gerd Moellmann's avatar
Gerd Moellmann committed
1431
	* buffer.c (mmap_free_1): Avoid a compiler warning.
1432

1433 1434
	* term.c, cm.c: Don't try to include termcap.h; see comment there.

Kenichi Handa's avatar
Kenichi Handa committed
1435 1436 1437 1438 1439
2000-11-21  Kenichi Handa  <handa@etl.go.jp>

	* s/sol2-5.h: Move #undef USE_MMAP_FOR_BUFFERS out of #if 0
	... #endif scope.

Gerd Moellmann's avatar
Gerd Moellmann committed
1440 1441
2000-11-20  Gerd Moellmann  <gerd@gnu.org>

1442 1443 1444
	* xfns.c (x_create_tip_frame): Use CWSaveUnder only if the 
	screen supports it.

Gerd Moellmann's avatar
Gerd Moellmann committed
1445 1446
	* s/gnu-linux.h: Don't use `#cpu'.

1447 1448 1449
	* buffer.c (MAP_FAILED): Define it as `((void *) -1)' if it's
	not defined in mman.h.

Gerd Moellmann's avatar
Gerd Moellmann committed
1450 1451 1452 1453 1454 1455 1456 1457 1458
	* xterm.c (scroll_bar_windows, scroll_bar_windows_size): New
	variables.
	(x_send_scroll_bar_event): Store the window in scroll_bar_windows
	and store an index in the XClientMessageEvent.  Storing a
	Lisp_Object or pointer can fail on a 64 bit system, since X only
	transfers 32 bits.
	(x_scroll_bar_to_input_event): Get the window from
	scroll_bar_windows.
	
1459 1460 1461 1462
2000-11-20  Dave Love  <fx@gnu.org>

	* Makefile.in (LIBX): Reorder for -lX11 after -lXpm.

Gerd Moellmann's avatar
Gerd Moellmann committed
1463 1464 1465 1466
2000-11-20  Gerd Moellmann  <gerd@gnu.org>

	* s/sol2-5.h (USE_MMAP_FOR_BUFFERS): Undefine.

1467 1468
2000-11-20  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
1469 1470 1471
	* charset.c (get_new_private_charset_id): Don't limit CHARSET_ID
	by WIDTH.