ChangeLog 639 KB
Newer Older
Gerd Moellmann's avatar
Gerd Moellmann committed
1 2
2000-07-19  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
3 4 5 6 7 8 9 10 11 12 13
	* xdisp.c (with_echo_area_buffer): Call FN with more arguments.
	Add some more prototypes.

	* xterm.c, xterm.h: Add some more prototypes.

	* lisp.h (Fnext_single_char_property_change): Add prototype.

	* dispnew.c (direct_output_for_insert): Remove confusing
	outer local variable mouse_face_overwritten_p.
	(glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG.

Gerd Moellmann's avatar
Gerd Moellmann committed
14 15
	* alloc.c (allocate_string_data): Don't copy old string contents.

Kenichi Handa's avatar
Kenichi Handa committed
16 17 18 19 20
2000-07-19  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (code_convert_region): Delete text properties before
	shrinking the conversion region.

21 22
2000-07-18  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
23 24 25
	* dispnew.c (update_text_area): Write the whole row if it
	has mouse-face in it.

Gerd Moellmann's avatar
Gerd Moellmann committed
26 27 28
	* xfaces.c (face-alternative-font-family-alist): Remove
	DEFVAR_LISP; staticpro instead.

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
	* xmenu.c (menu_help_callback): Call show_help_echo with 
	new arguments.

	* keyboard.c (show_help_echo): Add parameter WINDOW.
	(read_char): Call show_help_echo with window extracted from Lisp
	help event.
	(gen_help_event): Add parameter WINDOW.

	* keyboard.h (show_help_echo, gen_help_event): Change prototypes.

	* xterm.c (help_echo_window): New variable.
	(note_mouse_highlight, note_tool_bar_highlight): Set
	help_echo_window.
	(XTread_socket): Pass help_echo_window to gen_help_event.
	(syms_of_xterm): Initialize and staticpro help_echo_window.

Dave Love's avatar
Dave Love committed
45 46 47 48 49
2000-07-18  Dave Love  <fx@gnu.org>

	* Makefile.in: Fix dependencies of blockinput.h on atimer.h,
	systime.h.

Gerd Moellmann's avatar
Gerd Moellmann committed
50 51
2000-07-18  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
52 53 54 55 56 57
	* alloc.c (allocate_string_data): If string had already data
	assigned, copy old contents to new string data.

	* coding.c (syms_of_coding): Fix typo in spelling of variable
	`inhibit-iso-escape-detection'.

Gerd Moellmann's avatar
Gerd Moellmann committed
58 59 60 61 62 63
	* alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE.

	* Makefile.in: Add dependencies on dispextern.h.
	(alloca.o): Don't define malloc and define EMACS_FREE instead of
	`free'; both can conflict with system header files.

Kenichi Handa's avatar
Kenichi Handa committed
64 65 66 67 68
2000-07-18  Kenichi Handa  <handa@etl.go.jp>

	* charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is
	undefined.

69 70 71 72
2000-07-18  Dave Love  <fx@gnu.org>

	* window.c (Fwindow_list): Declare arg `window'.

Kenichi Handa's avatar
Kenichi Handa committed
73 74 75 76 77
2000-07-18  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (setup_coding_system): Don't override the explicitly
	specified designations.

Miles Bader's avatar
dummy  
Miles Bader committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
2000-07-15  Miles Bader  <miles@gnu.org>

	* editfns.c (char_property_eq, char_property_stickiness): Renamed
	from `text_property_eq' and `text_property_stickiness', respectively.
	(find_field, Fconstrain_to_field, char_property_eq)
	(char_property_stickiness): Changed to call char-property functions
	instead of text-property-only ones.

	* textprop.c (Fnext_single_char_property_change): Made a subr (was
	`next_single_char_property_change').  Do more error checking, and
	cleanup limit behavior.
	(Fprevious_single_char_property_change): New function.
	(syms_of_textprop): Initialize new subrs.

	* xdisp.c (display_prop_end, invisible_text_between_p):
	Call Fnext_single_char_property_change instead of
	next_single_char_property_change.

Jason Rumney's avatar
Jason Rumney committed
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 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
2000-07-15  Jason Rumney  <jasonr@gnu.org>

	* w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree
	after menu is finished with.
	(add_menu_item): Only consider wv->title as a menu title.
	(w32_menu_display_help): Add OBJECT and POS to show_help_echo.

	* w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a
	null title.
	(FONT_REGEXP): Remove unused macro, and its sub-components.
	(syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts.

	* w32term.c (help_echo_object, help_echo_pos): New variables.
	(note_mode_line_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.  Check both
	`local-map' and `keymap' properties for changing the cursor
	(note_mouse_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.
	(note_tool_bar_highlight): Set help_echo_object to nil and
	help_echo_pos to -1.
	(w32_read_socket): Use gen_help_event instead of filling
	input_events manually.
	(syms_of_w32term): Staticpro help_echo_object.
	(x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If
	set, arrange for a mouse-highlight redisplay in
	XTframe_up_to_date.
	(x_clear_mouse_face): New function.
	(w32_redisplay_interface): Add pointer to x_clear_mouse_face.
	(x_update_window_begin): No need to turn off the mouse
	highlight here.
	(show_mouse_face): Set the mouse_face_p flag of glyph rows
	depending on whether they contain glyphs highlighted in
	mouse-face.
	(x_fill_stretch_glyph_string): Consume runs of stretch
	glyphs instead of a single one.
	(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
	with new argument list.
	(x_set_glyph_string_gc): Make sure the face's GC is valid.
	(x_append_glyph, x_append_composite_glyph)
	(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
	changes in struct glyph starting 1999-12-27. See comments for
	xterm.c on 2000-07-05.

139 140 141 142 143
2000-07-14  Sam Steingold  <sds@gnu.org>

	* xfaces.c (realize_x_face): Fix the last patch:
	check `default_face' before dereferencing.

Dave Love's avatar
Dave Love committed
144 145
2000-07-14  Dave Love  <fx@gnu.org>

146
	* syntax.c (back_comment): Add null default in switch (for pcc).
Dave Love's avatar
Dave Love committed
147

Kenichi Handa's avatar
Kenichi Handa committed
148 149
2000-07-14  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
150
	* xfaces.c (realize_x_face): Make fontset using the base of the
151
	default_face's fontset, not using the default fontset.
Kenichi Handa's avatar
Kenichi Handa committed
152

Kenichi Handa's avatar
Kenichi Handa committed
153 154 155 156 157
	* coding.c (inhibit_iso_escape_detection): New variable.
	(syms_of_coding): Make it a Lisp variable.
	(detect_coding_iso2022): If inhibit_iso_escape_detection is
	nonzero, ignore ISO2022's escape sequence.

Gerd Moellmann's avatar
Gerd Moellmann committed
158 159
2000-07-14  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
160 161
	* alloca.c (malloc) [emacs]: Define as xmalloc.

Gerd Moellmann's avatar
Gerd Moellmann committed
162 163 164 165 166 167
	* xfns.c (Fx_show_tip): If frame parameters contain a position,
	use that instead of the mouse position.  Add parameters DX and DY.

	* dispextern.h (Fx_show_tip): Adjust number of parameters
	in prototype.

Gerd Moellmann's avatar
Gerd Moellmann committed
168 169 170 171 172 173 174
	* keyboard.c (show_help_echo): Add parameters OBJECT and POS.
	if HELP is a function, call it with OBJECT and POS as parameters
	to get the help to display.
	(gen_help_event, kbd_buffer_store_help_event): New functions.
	(kbd_buffer_get_event): Construct the Lisp help-event differently.
	(read_char): Call show_help_echo with new parameters.

175
	* keyboard.h (gen_help_event, kbd_buffer_store_help_event):
Gerd Moellmann's avatar
Gerd Moellmann committed
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
	Add prototypes.

	* xterm.c (help_echo_object, help_echo_pos): New variables.
	(note_mode_line_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.  Check both
	`local-map' and `keymap' properties for changing the cursor
	(note_mouse_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.
	(note_tool_bar_highlight): Set help_echo_object to nil and
	help_echo_pos to -1.
	(XTread_socket): Use gen_help_event instead of filling
	input_events manually.
	(syms_of_xterm): Staticpro help_echo_object.

	* xmenu.c (menu_highlight_callback): Use
	kbd_buffer_store_help_event instead of setting up and input_event
	structure manually.

	* xdisp.c (eval_form): GCPRO argument sexpr.
	(call_function): New function.
	(handle_single_display_prop): Use call_function and FUNCTIONP
	instead of checking whether if font_height is a symbol and
	using eval_form.

	* eval.c (internal_condition_case_2): New function.

	* lisp.h (FUNCTIONP): New macro.
	(internal_condition_case_2, call_function): Add prototypes.

Gerd Moellmann's avatar
Gerd Moellmann committed
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
	* xterm.c (construct_mouse_click, x_scroll_bar_to_input_event)
	(x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket):
	Always set `arg' member of input_events.
	(construct_menu_click): Unused function removed.

	* msdos.c (dos_rawgetc): Always set `arg' member of input_events.

	* w32term.c (construct_mouse_click, construct_mouse_wheel)
	(construct_drag_n_drop, x_scroll_bar_handle_click)
	(w32_read_socket): Always set `arg' member of input_events.

	* keyboard.c (show_help_echo): Use eval_form.  Add comment.

	* lisp.h (eval_form): Add prototype.

	* xdisp.c (eval_form): Make it externally visible.

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 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
2000-07-13  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (x_handle_tool_bar_click): Store the frame in the
	frame_or_window slot of TOOL_BAR_EVENT input events instead of
	consing.  For prefix events, store the frame in the `arg' slot of
	the event, otherwise store the key there.
	(XTread_socket): Instead of consing, use the frame_or_window slot
	of HELP_EVENTs for the frame, and the `arg' slot for the help
	string.

	* xmenu.c (menu_highlight_callback): Store help string in the
	`arg' member of the input event; don't cons.
	(menubar_selection_callback): Use the `arg' slot of input events
	to queue additional information, instead of consing.

	* msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs.

	* w32term.c (w32_handle_tool_bar_click): Adapt to changes in
	TOOL_BAR_EVENTs.
	(w32_read_socket): Adapt to changes in HELP_EVENTs.

	* w32menu.c (menubar_selection_callback): Use the `arg' slot of
	input events to queue additional information, instead of consing.

	* keyboard.c (kbd_buffer_gcpro): Renamed from
	kbd_buffer_frame_or_window.  Now used for all Lisp objects
	referenced from the input queue.
	(kbd_buffer_store_event): Always use structure assignment for
	copying input events.  Record all Lisp objects referenced from
	events in kbd_buffer_gcpro.
	(kbd_buffer_get_event): Construct Lisp `help-echo' events
	differently from input events.  Test for prefix menu_bar_events
	and TOOL_BAR_EVENTs differently.  Reset all slots used by an input
	event in kbd_buffer_gcpro to nil.
	(make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose
	frame_or_window is equal to its arg member as prefix events.
	(stuff_buffered_input): Reset all slots in kbd_buffer_gcpro
	used by an input event to nil.
	(init_keyboard): Use two times the size of the input queue
	for kbd_buffer_gcpro.
	(syms_of_keyboard): Likewise.

	* emacs.c (handle_USR2_signal, handle_USR1_signal): Use
	USER_SIGNAL_EVENT.

	* termhooks.h (struct input_event): Add member `arg'.
	(MENU_BAR_EVENT): Renamed from menu_bar_event.
	(USER_SIGNAL_EVENT): Renamed from user_signal.

	* xfaces.c (ASET): Remove definition.

	* lisp.h (AREF, ASET, ASIZE): New macros.

	* fontset.c (AREF, ASIZE): Remove definitions.

	* fns.c (AREF): Remove definition.
278

279 280
	* composite.c (AREF): Remove definition.

281 282
2000-07-12  Gerd Moellmann  <gerd@gnu.org>

283 284 285
	* dispnew.c (redraw_overlapped_rows): Add missing local.
	(scrolling_window): Remove debug code.

286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
	* xdisp.c (try_window_reusing_current_matrix, try_window_id):
	Before scrolling, turn off a mouse-highlight in the window
	being scrolled.

	* xterm.c (x_update_window_end): Add parameter
	MOUSE_FACE_OVERWRITTEN_P.  If set, arrange for a mouse-highlight
	redisplay in XTframe_up_to_date.
	(x_clear_mouse_face): New function.
	(x_redisplay_interface): Add pointer to x_clear_mouse_face.

	* dispnew.c (make_current): Preserve the mouse_face_p flag of the
	current glyph row.
	(update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P.  Set
	it when any row is written to that contains glyphs highlighted in
	mouse-face.
	(update_window): Call the window update end hook with new
	parameter MOUSE_FACE_OVERWRITTEN_P.
	(direct_output_for_insert): Give up if row contains mouse-face.

	* dispextern.h (struct redisplay_interface): Add parameter
	MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function.
	(clear_mouse_face): New function pointer member.

309 310 311 312 313 314 315 316 317 318
2000-07-11  Stefan Monnier  <monnier@cs.yale.edu>

	* syntax.c (back_comment): Use one switch rather than a few `if's.
	Obey open_paren_in_column_0_is_defun_start.
	When reverting to the `slow' method, try to nicely handle the case
	of nested comments by checking that the comment-starter we found
	does indeed match the comment-ender.
	(scan_sexps_forward, scan_sexps_forward):
	Ignore excessive opening parenthesis rather than throwing an error.

Gerd Moellmann's avatar
Gerd Moellmann committed
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
2000-07-11  Gerd Moellmann  <gerd@gnu.org>

	* doc.c (Fsubstitute_command_keys): Handle case that a GC
	in Fwhere_is_internal or get_keymap_1 relocates string contents.

	* dispnew.c (direct_output_forward_char): Give up if currently
	displaying a message instead of the minibuffer contents.

	* xterm.c (x_update_window_begin): No need to turn off the mouse
	highlight here.
	(show_mouse_face): Set the mouse_face_p flag of glyph rows
	depending on whether they contain glyphs highlighted in
	mouse-face.

	* dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P.  If set,
	compare the mouse_face_p flags of both rows.

	* dispextern.h (struct glyph_row): Add flag mouse_face_p.

Eli Zaretskii's avatar
Eli Zaretskii committed
338 339 340 341 342 343 344 345 346 347 348 349 350
2000-07-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* keyboard.c (show_help_echo): Accept additional parameter
	ok_to_overwrite_keystroke_echo.
	(read_char): Call show_help_echo with a zero
	ok_to_overwrite_keystroke_echo argument.
	* keyboard.h (show_help_echo): Update prototype of
	show_help_echo.
	* xmenu.c (menu_help_callback): Call show_help_echo with non-zero
	ok_to_overwrite_keystroke_echo argument.
	* w32menu.c (w32_menu_display_help): Call show_help_echo with
	non-zero ok_to_overwrite_keystroke_echo argument.

351 352
2000-07-10  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
353 354 355 356 357 358 359 360 361 362
	* xdisp.c (try_window_id): If changes are all below what is
	displayed in the window, and point is in the window, we still
	might have to find point on the display.

	* xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch
	glyphs instead of a single one.
	(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
	with new argument list.
	(x_set_glyph_string_gc): Make sure the face's GC is valid.

363 364 365 366 367
	* keymap.c (get_keymap_1): Add comment that this function can GC.
	(where_is_internal_2, where_is_internal_1): Add GCPROs, add
	comment that functions can GC.
	(Fset_keymap_parent): GCPRO arg KEYMAP.

368 369 370 371 372
2000-07-10  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (XMenuActivate): After exiting the menu, restore the
	echo area message and erase it.

Kenichi Handa's avatar
Kenichi Handa committed
373 374 375 376 377
2000-07-10  Kenichi Handa  <handa@etl.go.jp>

	* fontset.c (Ffontset_info): Make the return value more compatible
	with that of Emacs 20.

378 379 380 381
2000-07-07  Gerd Moellmann  <gerd@gnu.org>

	* eval.c (Fsignal): Handle case that backtrace_list is null.

Kenichi Handa's avatar
Kenichi Handa committed
382 383 384 385
2000-07-07  Kenichi Handa  <handa@etl.go.jp>

	* ccl.c (Fccl_execute): Typo fixed.

Gerd Moellmann's avatar
Gerd Moellmann committed
386 387
2000-07-06  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
388
	* window.c (window_loop): Add missing gcpro1 local variable.
389

Gerd Moellmann's avatar
Gerd Moellmann committed
390 391 392 393 394 395 396
	* window.c (Fwindow_list): Reverse list at the end.
	(candidate_window_p): Add parameter OWINDOW.  ALL_FRAMES nil
	means allow windows on OWINDOW's frame, only.
	(window_loop): Simplified; use Fwindow_list.

	* Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make.

Gerd Moellmann's avatar
Gerd Moellmann committed
397 398 399 400 401 402 403 404 405
2000-07-05  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (XTread_socket): Increment handling_signal at the start,
	decrement it at the end.

	* eval.c (handling_signal): New variable.
	(Fsignal): Abort if handling_signal is non-zero.

	* lisp.h (handling_signal): External declaration.
406

Gerd Moellmann's avatar
Gerd Moellmann committed
407 408
	* s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0.

409 410 411 412 413 414 415 416 417 418 419 420 421 422
2000-07-05  Ken Raeburn  <raeburn@gnu.org>

	Sound support for NetBSD through "Linux emulation" support:
	* config.in (HAVE_SOUNDCARD_H): Undef.
	(HAVE_SOUND): Define if HAVE_SOUNDCARD_H.
	* Makefile.in (LIBSOUND): New variable.
	(LIBES): Include it.
	* sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and
	<soundcard.h>.
	(DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined
	elsewhere.
	(vox_open): Use DEFAULT_SOUND_DEVICE.
	* s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.

Gerd Moellmann's avatar
Gerd Moellmann committed
423 424 425 426 427 428 429 430 431 432 433
2000-07-05  Gerd Moellmann  <gerd@gnu.org>

	* print.c (print_error_message): If Vsignaling_function is set,
	show it in *Messages*.

	* lisp.h (Vsignaling_function): External declaration.

	* eval.c (Vsignaling_function): New variable.
	(Fsignal): Compute it.
	(syms_of_eval): Staticpro it.

Dave Love's avatar
Dave Love committed
434 435 436 437 438
2000-07-05  Dave Love  <fx@gnu.org>

	* syswait.h: Use the autoconf recommended approach.  Old code
	#if'd out in case we need to revert.

439
	* config.in (HAVE_SYS_WAIT_H): Added.
Dave Love's avatar
Dave Love committed
440

Andrew Innes's avatar
Andrew Innes committed
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466
2000-07-05  Andrew Innes  <andrewi@gnu.org>

	* vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore
	when non-NULL instead of __morecore, to take account of buffer
	memory.  This also solves a problem with spurious memory warnings
	on Windows.

	* ralloc.c: Make real_morecore non-static.

	* eval.c (internal_condition_case): Comment out abort if
	interrupt_input_blocked is not zero.

	* makefile.nt: Add support for `bootstrap' and related targets.
	Include minimal debug info in emacs.exe in release build.
	Remove all dependencies on lisp.h, and fixup some others.

	* w32.c (init_environment): Install code from 20.7 for providing
	default values for environment variables, based on the
	executable's own location.
	(map_w32_filename): Handle filenames that are longer than
	MAX_PATH.
	(sys_socket): Install socket inheritance bug fix from 20.7.

	* alloca.c [emacs]: Include lisp.h (needed by atimer.h included
	here via blockinput.h).

Stefan Monnier's avatar
Stefan Monnier committed
467 468
2000-07-05  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
469 470
	* w32menu.c (w32_menu_display_help):
	* xmenu.c (menu_help_callback): Use show_help_echo.
Stefan Monnier's avatar
Stefan Monnier committed
471 472 473 474 475 476

	* keyboard.h (show_help_echo): Declare.

	* keyboard.c (show_help_echo): New function, extracted from read_char.
	Feval its `msg' argument if it's a cons cell.
	(read_char): Use it.
Stefan Monnier's avatar
Stefan Monnier committed
477
	(follow_key): Pass `autoload' to get_keyelt.
Stefan Monnier's avatar
Stefan Monnier committed
478

479
	* xterm.c (note_mode_line_highlight, note_mouse_highlight)
Stefan Monnier's avatar
Stefan Monnier committed
480
	(note_tool_bar_highlight, XTread_socket):
481
	* msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight)
Stefan Monnier's avatar
Stefan Monnier committed
482 483 484 485 486
	(dos_rawgetc):
	* w32term.c (note_mode_line_highlight, note_mouse_highlight)
	(note_tool_bar_highlight, w32_read_socket):
	Do not gratuitously ignore non-string `help-echo' properties.

487 488
2000-07-05  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
489 490
	* eval.c (Feval): Put check for interrupt_input_block in #if 0.

Gerd Moellmann's avatar
Gerd Moellmann committed
491 492
	* window.c (delete_all_subwindows): Reset Vwindow_list.

493 494 495 496 497 498 499 500 501 502 503 504
	* xterm.c (x_append_glyph, x_append_composite_glyph)
	(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
	changes in struct glyph starting 1999-12-27.  Some bit-fields of
	struct glyph were not set, which made glyphs unequal when compared
	with GLYPH_EQUAL_P.  Redisplay outputs such glyphs, and flickering
	effects were the result.  This also depended on the contents of
	memory returned by xmalloc.  If flickering happens again, activate
	the code in clear_glyph_row that's in #if 0.  If the flickering is
	gone with that, chances are that it is caused by something
	similar.

	* dispnew.c (clear_glyph_row): Add debug code in #if 0.
505

506 507 508 509 510 511 512 513
	* dispextern.h: Add some comments.

	* window.c (add_window_to_list): Add parameter LIST.
	(window_list): Order list so that, for each frame, windows are
	in canonical order, and so that frames appear in the list in
	the order given by Vframe_list.
	(next_window): Reverse the handling of NEXT_P.

514 515
2000-07-04  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537
	* window.c (Vwindow_list): New variable.
	(make_window, delete_window): Set Vwindow_list to nil.
	(check_window_containing): New function.
	(window_from_coordinates): Rewritten.
	(add_window_to_list, window_list, candidate_window_p)
	(decode_next_window_args, next_window): New functions.
	(Fnext_window, Fprevious_window): Rewritten in terms of
	next_window.
	(Fwindow_list): New function.
	(Fother_window): Cleaned up.
	(foreach_window): Add a longer "variable argument list".  Let
	callback function return 0 to indicate that cycling over windows
	should stop.
	(foreach_window_1): Likewise.
	(freeze_window_start): Return int.
	(init_window): New function.
	(syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list.

	* emacs.c (handle_USR1_signal, handle_USR2_signal) Clear
	input_event with bzero.
	(main): Call init_window.

538 539 540
	* keymap.c (get_keyelt): Temporarily inhibit GC while evaluating
	a menu filter.

541 542 543 544 545 546 547 548 549 550 551 552
2000-07-04  Kenichi Handa  <handa@etl.go.jp>

	* composite.h (make_composition_value_copy): Extern it.

	* composite.c (make_composition_value_copy): New function.

	* editfns.c (Fformat): While copying text properties, make each
	composition property value a copy.

	* fns.c (concat): While copying text properties, make each
	composition property value a copy.

Gerd Moellmann's avatar
Gerd Moellmann committed
553 554
2000-07-03  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
555 556
	* m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define.

557
	* fns.c (sweep_weak_table): Mark only objects that are not
558 559
	marked already.

Gerd Moellmann's avatar
Gerd Moellmann committed
560 561 562 563
	* frame.c (next_frame, prev_frame): If MINIBUF is a window,
	include those frames as candidates which have their focus
	redirected to the minibuffer frame.

564 565 566 567
2000-07-03  Stefan Monnier  <monnier@cs.yale.edu>

	* fns.c (Fputhash): Return `value' rather than nil.

568 569
2000-06-30  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
570 571
	* frame.c (next_frame): Don't check focus redirection in case
	MINIBUF is a window.  Doing so excludes frames using MINIBUF
572 573 574 575
	unless their focus is redirected, which contradicts the
	specification of next-frame, and leads to infinite loops in
	certain situations when cycling through windows with next-window.

Kenichi Handa's avatar
Kenichi Handa committed
576 577 578 579 580 581
2000-06-30  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (code_convert_region): Even if the length of text is
	zero, try to convert it if coding->type is coding_type_ccl.
	(decode_coding_string, encode_coding_string): Likewise.

Gerd Moellmann's avatar
Gerd Moellmann committed
582 583
2000-06-28  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
584
	* xdisp.c (try_window_reusing_current_matrix): Don't try to reuse
Gerd Moellmann's avatar
Gerd Moellmann committed
585
	the display if windows_or_buffers_changed.
Gerd Moellmann's avatar
Gerd Moellmann committed
586 587 588 589 590 591 592

	* dispnew.c (struct row_entry): New structure.
	(row_entry_pool, row_entry_pool_size, row_entry_idx, row_table)
	(row_table_size, old_lines, new_lines, old_lines_size)
	(new_lines_size, run_pool, runs_size, runs): New variables.
	(add_row_entry): New function.
	(scrolling_window): Use data structures allocated with xmalloc and
Gerd Moellmann's avatar
Gerd Moellmann committed
593
	held in global variables, instead of allocating them with alloca and
Gerd Moellmann's avatar
Gerd Moellmann committed
594 595 596 597 598 599 600 601
	holding them in local variables.  Use a larger hash table whose
	size depends on glyph matrix sizes.  Don't use bzero to clear the
	hash table; instead, clear used slots only.

	* fns.c (next_almost_prime): Make it externally visible.

	* lisp.h (next_almost_prime): Add prototype.

Gerd Moellmann's avatar
Gerd Moellmann committed
602 603 604 605
	* s/isc4-0.h (sigunblock): Define.

	* s/sco5.h (sigunblock): Define.

606 607 608 609 610 611 612 613 614
2000-06-27  Dave Love  <fx@gnu.org>

	* s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change
	(moved to osf5-0.h).
	[!NOT_C_CODE]: Protect string.h stuff.

	* s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
	(sys_siglist, NSIG): Definitions moved here from osf1.h.

615 616
2000-06-27  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
617
	* xdisp.c (resize_mini_window): Subtract the extra line spacing
618 619
	below the last line from the needed window height.

Stefan Monnier's avatar
Stefan Monnier committed
620 621 622 623 624 625
2000-06-26  Stefan Monnier  <monnier@cs.yale.edu>

	* fns.c (Fplist_member): Renamed from Fwidget_plist_member.
	(Fwidget_get): Use it.
	(syms_of_fns): Defsubr it.

Gerd Moellmann's avatar
Gerd Moellmann committed
626 627
2000-06-26  Gerd Moellmann  <gerd@gnu.org>

628
	* xterm.c (xim_initialize) [!USE_XIM]: Don't set up the
Gerd Moellmann's avatar
Gerd Moellmann committed
629 630 631 632 633 634 635 636
	display info for XIM.
	(xim_open_dpy): Likewise.
	(xim_close_dpy): Don't free the display info's XIM.

	* xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic.

	* config.in (USE_XIM): New define.

637 638 639 640 641 642
	* keymap.c (get_keyelt): For menu-items containing a `:filter
	FILTER', apply FILTER to the menu-item's definition to get the
	real definition to use.

	* lisp.h (QCfilter): External declaration.

Gerd Moellmann's avatar
Gerd Moellmann committed
643 644 645
	* xfns.c (Fimage_size): New function.
	(syms_of_xfns): Defsubr it.

Andreas Schwab's avatar
.  
Andreas Schwab committed
646 647 648 649 650
2000-06-26  Andreas Schwab  <schwab@suse.de>

	* coding.c (decode_coding_string): Re-fetch STRING_BYTES after
	Fstring_as_unibyte.

Dave Love's avatar
Dave Love committed
651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
2000-06-25  Dave Love  <fx@gnu.org>

	* term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag,
	tgetnum.

	* Makefile.in (blockinput.h): Depend on atimer.h.
	(atimer.h): Depend on systime.h.

	* blockinput.h: Protect against multiple inclusion.  Include
	atimer.h.

	* atimer.h: Protect against multiple inclusion.  Include
	systime.h.

	* lisp.h (swap_in_global_binding): Declare.

667 668 669 670 671
2000-06-24  Ken Raeburn  <raeburn@gnu.org>

	* process.c (Fopen_network_stream): Turn off atimers for duration
	of call to connect.  (Patch from Gerd.)

Dave Love's avatar
Dave Love committed
672 673
2000-06-23  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
674 675
	* ralloc.c: Maybe include unistd.h

Dave Love's avatar
Dave Love committed
676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696
	* emacs.c (setgrp): Undefine before defining.
	(malloc_warning, set_time_zone_rule, index): Prototype.

	* systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use
	HAVE_STRUCT_TIMEZONE.

	* s/osf1.h: Move string.h hack here from alpha.h and make it
	conditional.
	(C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with
	_XOPEN_SOURCE.
	(WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define.
	(SOCKLEN_TYPE): Don't define.

	* m/alpha.h: Remove string.h hack.

	* s/osf5-0.h: New file.

	* filelock.c: Use feature tests for fcntl.h, string.h.  Don't
	include time.h, done by systime.h.
	[__FreeBSD__]: Remove redundant includes.

697
	* callproc.c (setpgrp): Undefine before defining.
Dave Love's avatar
Dave Love committed
698 699 700 701 702 703 704 705 706 707 708 709 710 711
	(delete_temp_file): Return Qnil to avoid warning.

	* config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add.

	* xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not
	HAVE_X_WINDOWS.

	* fontset.h (free_face_fontset): Renamed from fs_free_face_fontset.

	* composite.h (compose_text): Declare.

	* xterm.c: Don't include sys/types.h unconditionally.  Don't
	protect its inclusion with !USG (following xmenu.c).

Gerd Moellmann's avatar
Gerd Moellmann committed
712 713 714 715 716
2000-06-23  Gerd Moellmann  <gerd@gnu.org>

	* xfns.c (x_create_tip_frame): Initialize frame's colors like
	in x_create_frame.

717 718 719 720 721
2000-06-23  Eli Zaretskii  <eliz@is.elta.co.il>

	* coding.c (decode_eol_post_ccl): Special handling for undecided
	and inconsistent EOL types.

722 723
2000-06-22  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
724 725 726
	* xrdb.c (x_load_resources): Add default resource for scroll bar's
	trough color and main window's background color.

727
	* xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events
Gerd Moellmann's avatar
Gerd Moellmann committed
728 729 730 731 732
	differently.

	* xterm.h (Xt_app_con): External declaration.

	* widget.c (EmacsFrameRealize): Fix typo.
733

734 735
	* widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask.

736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751
	* xdisp.c (handle_stop): Initialize it->add_overlay_start to zero.
	(handle_invisible_prop): Record the start of invisible text in
	it->add_overlay_start.
	(struct overlay_entry): Add member `overlay'.
	(handle_overlay_change): Simplify.
	(next_overlay_string): After having processed overlay strings at the
	end of the buffer, record that fact in
	it->overlay_strings_at_end_processed_p.
	(compare_overlay_entries): If before- and after-strings come
	from the same overlay, let before-strings come first.
	(RECORD_OVERLAY_STRING): Record the overlay that strings come from.
	(load_overlay_strings): Take it->add_overlay_start into account
	when adding overlay strings.

	* dispextern.h (struct it): Add member add_overlay_start.

752 753 754 755 756 757
2000-06-22  Dave Love  <fx@gnu.org>

	* s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.

	* s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here.

Kenichi Handa's avatar
Kenichi Handa committed
758 759 760 761 762
2000-06-22  Kenichi Handa  <handa@etl.go.jp>

	* ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it
	is greater than 0.

763 764
2000-06-21  Dave Love  <fx@gnu.org>

765
	* Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it.
766

767 768 769 770 771 772 773 774
2000-06-21  Stefan Monnier  <monnier@cs.yale.edu>

	* syntax.c (back_comment): Simplify string-parity counting (with
	the added benefit of handling multiple string-styles as long as
	they are not intertwined).
	Jump to the slow code as soon as a comment starter is found in
	a "string_lossage" position.  Fixes the case:  " /* " /* " */.

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

	* Makefile.in: Use GETLOADAVG_LIBS.

	* config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS,
	_LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE.

782 783 784 785 786 787 788
2000-06-20  Stefan Monnier  <monnier@cs.yale.edu>

	* syntax.c (describe_syntax): Recognize the `n'estable bit.
	(Fforward_comment, scan_lists):
	Check the comstyle of single-char comment-starters.
	(scan_sexps_forward): Don't try to recognize `half comment-enders' if
	we're just at the beginning of the comment (f.ex with (*) ... (*)).
Stefan Monnier's avatar
Stefan Monnier committed
789 790
	Check the comstyle of single-char comment-starters.
	Clarify control-flow around the Scomment case.
791

Dave Love's avatar
Dave Love committed
792 793
2000-06-20  Dave Love  <fx@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
794 795
	* fns.c (make_hash_table, maybe_resize_hash_table):
	Cast arg of next_almost_prime.
Dave Love's avatar
Dave Love committed
796

797
	* tparam.c [emacs]: Include lisp.h.
Dave Love's avatar
Dave Love committed
798 799 800 801

	* termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5.  Include lisp.h
	and unistd.h.

Gerd Moellmann's avatar
Gerd Moellmann committed
802 803
2000-06-20  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
804 805 806 807
	* keyboard.c (adjust_point_for_property): Check if display
	property should be treated as intangible by looking at its
	value.

808
	* xdisp.c (single_display_prop_intangible_p)
Gerd Moellmann's avatar
Gerd Moellmann committed
809 810 811 812 813
	(display_prop_intangible_p): New functions.

	* dispextern.h (display_prop_intangible_p): Add prototype.

	* xdisp.c (dump_glyph_row): Show type of glyph->object.
814

Gerd Moellmann's avatar
Gerd Moellmann committed
815 816 817 818 819 820 821 822 823 824 825 826 827 828
	* s/isc4-0.h (sigblock): Redefined to pass a pointer as second
	argument to sigprocmask.

	* s/sco5.h (sigblock): Redefined to pass a pointer as second
	argument to sigprocmask.

	* syssignal.h (sigblock, sigunblock) [USG5_4]: Set
	sigprocmask_set, and pass a pointer to it to sigprocmask.

	* sysdep.c (sigprocmask_set): New variable.

	* fileio.c (make_temp_name): Don't use `%s' in string passed to
	report_file_error.

829 830 831 832
2000-06-20  Sam Steingold  <sds@gnu.org>

	* xrdb.c: Don't declare xmalloc, xrealloc.

Stefan Monnier's avatar
Stefan Monnier committed
833 834 835 836 837 838
2000-06-20  Stefan Monnier  <monnier@cs.yale.edu>

	* regex.c (re_match, re_match_2): Protect calls to alloca (0).
	(re_comp): Cast gettext return value to avoid complaints when
	!HAVE_LIBINTL.

Dave Love's avatar
Dave Love committed
839 840
2000-06-20  Dave Love  <fx@gnu.org>

841 842 843
	* m/stride.h, m/mips.h: Don't define HAVE_GETWD,
	HAVE_GETTIMEOFDAY.

Dave Love's avatar
Dave Love committed
844
	* m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK.
845

Stefan Monnier's avatar
Stefan Monnier committed
846
	* m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD.
847 848 849

	* m/alpha.h: Don't declare xmalloc, xrealloc.

Dave Love's avatar
Dave Love committed
850 851 852 853 854 855 856 857 858
	* s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT.

	* s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE.

	* s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY.

	* s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare
	HAVE_GETWD.

Dave Love's avatar
Dave Love committed
859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876
	* keyboard.h (poll_for_input_1): Declare.

	* getloadavg.c: Don't define NLIST_STRUCT (handled by configure).

	* alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE.

	* doprnt.c: Don't declare xmalloc, xrealloc.

	* lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text)
	(getenv, ctime, getwd): Removed.
	(xmalloc, xrealloc, xfree): Declare using POINTER_TYPE.

	* xterm.h: Remove duplicate prototypes.  Declare free_frame_xic,
	x_set_tool_bar_lines.

	* config.in: Add HAVE_GETWD.  Move some definitions above
	machine/system includes.

Kenichi Handa's avatar
Kenichi Handa committed
877 878
2000-06-20  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
879 880
	* s/bsd386.h (HAVE_GETLOADAVG): Define it as 1.

Kenichi Handa's avatar
Kenichi Handa committed
881 882 883 884 885 886 887 888 889 890 891 892
	* xfaces.c (font_list): Handle the case that REGISTRY doesn't
	contain information about ENCODING.

	* fontset.c (FONTSET_ASCII): Use the first element of char table
	for an ASCII font, not defalt slot.
	(fontset_ref_via_base): If FONTSET doesn't contain information for
	C, try the default fontset.
	(make_fontset): Don't copy the default fontset.
	(fontset_font_pattern): Likewise.
	(accumulate_font_info): If ELT is nil, use the corresponding
	element in the default fontset.

Dave Love's avatar
Dave Love committed
893 894
2000-06-19  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
895 896 897 898
	* syntax.c (Fparse_partial_sexp): Doc fix.

	* regex.h: Test PROTOTYPES as well as __STDC__.

Dave Love's avatar
Dave Love committed
899 900 901 902 903 904 905 906
	* unexalpha.c: Include errno.h, string.h, unistd.h.  Don't declare
	errno, strerror.  Put text after #endif in comment.

	* xdisp.c (dump_glyph_matrix): Add `static' to declaration (for
	pcc).

	* xterm.c (x_frame_of_widget): Likewise.

Gerd Moellmann's avatar
Gerd Moellmann committed
907 908 909 910 911 912 913 914 915 916 917 918 919
2000-06-19  Gerd Moellmann  <gerd@gnu.org>

	* abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table
	to Vfundamental_mode_abbrev_table.

	* alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no
	bogus objects are marked.  This slows down GC by ~80 percent, but
	it might be worth trying when debugging GC-related problems.
	This feature requires conservative stack marking to be enabled.

	* xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString
	returns XLookupChars, reset `modifiers' to zero.

Dave Love's avatar
Dave Love committed
920 921 922 923
2000-06-19  Dave Love  <fx@gnu.org>

	* mktime.c: Unprotoized.

924
2000-06-19  Richard Stallman  <rms@gnu.org>
Gerd Moellmann's avatar
Gerd Moellmann committed
925 926 927 928

	* data.c (set_internal): If variable is frame-local,
	store the new value immediately into the frame parameter alist.

929 930
2000-06-19  Ken Raeburn  <raeburn@gnu.org>

Ken Raeburn's avatar
Ken Raeburn committed
931 932 933
	* xfns.c (jpeg_load): Fetch error-handling data first, then fill
	in the custom handler pointer.

934 935 936 937 938
	* keyboard.c (follow_key, read_key_sequence): Use XUINT on key
	value, or checks for CHAR_META can fail when Lisp_Object is a
	union type.
	* keymap.c (get_keyelt): Likewise.

Kenichi Handa's avatar
Kenichi Handa committed
939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957
2000-06-19  Kenichi Handa  <handa@etl.go.jp>

	* ccl.h (struct ccl_program): New member eol_type.
	(struct ccl_spec): New member cr_carryover.

	* ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type.
	(setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF.

	* coding.c (setup_coding_system) <4>: Reset member `cr_carryover'.
	(ccl_coding_driver): On encoding, initialize ccl->eol_type.
	(decode_eol_post_ccl): New function.
	(decode_coding): Don't detect EOL format here for CCL based coding
	systems.
	(decode_coding) <coding_type_ccl>: Handle carryovered CR.  Call
	decode_eol_post_ccl after running the CCL program.
	(code_convert_region): Don't detect EOL format here for CCL based
	coding systems.
	(decode_coding_string): Likewise.

958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979
2000-06-18  Ken Raeburn  <raeburn@gnu.org>

	* charset.c (update_charset_table): Use XINT on "iso_final_char"
	when treating it as an integer.

	* coding.h (encode_coding_string): Declare.

	* keyboard.c (read_key_sequence): Use XINT on "pos" when treating
	it as an integer.

	* keymap.c (Fwhere_is_internal): Rename argument "keymap" to
	"xkeymap" to avoid shadowing the "enum map_type" value that needs
	to be passed to get_local_map.

	* sound.c (Fplay_sound): Don't call make_number on
	Frun_hook_with_args count argument.

	* xterm.c (x_send_scroll_bar_event): Fudge lisp object/integer
	for lisp objects in X event structure data field, when lisp
	objects are represented with unions.
	(x_scroll_bar_to_input_event): Ditto.

980 981 982
2000-06-16  Ken Raeburn  <raeburn@gnu.org>

	* xdisp.c (decode_mode_spec): In "no_value" case, do NUL
983 984
	termination of string.  Fix sense of test whether
	Vline_number_display_limit is an integer.
985

986 987
2000-06-16  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
988 989 990
	* xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors
	only if HAVE_X_WINDOWS.

Gerd Moellmann's avatar
Gerd Moellmann committed
991 992 993
	* keymap.c (describe_buffer_bindings): Add `\f\n' in front
	of titles.

994
	* dispnew.c (update_frame_1): Handle case that cursor vpos is
995 996
	out of bounds.

Eli Zaretskii's avatar
Eli Zaretskii committed
997 998 999 1000 1001
2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>

	* unexec.c (toplevel): Fix last change, so as not to deprive MSDOS
	of its headers.

Kenichi Handa's avatar
Kenichi Handa committed
1002 1003 1004 1005 1006
2000-06-15  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (decode_coding_emacs_mule): Always set src_base at the
	start of the while loop.

1007 1008
2000-06-15  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1009 1010
	* atimer.c (alarm_signal_handler): Add forward declaration.

1011 1012
	* data.c (set_internal): Remove debug code.

Gerd Moellmann's avatar
Gerd Moellmann committed
1013 1014
2000-06-14  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1015 1016
	* Makefile.in (bootstrap-temacs): Add `-I../src'.

Gerd Moellmann's avatar
Gerd Moellmann committed
1017 1018 1019 1020 1021 1022 1023
	* unexec.c (toplevel) [COFF]: Include coff.h.

	* s/lynxos.h: New file.

	* keymap.c (Fsingle_key_description): Enclose function key and
	event symbol names in angle brackets.

1024 1025 1026 1027
	* xdisp.c (setup_echo_area_for_printing): Call
	message_log_maybe_newline if message_buf_print is not set.

	* print.c (printchar, strout): Don't check message_buf_print
1028
	before calling setup_echo_area_for_printing because that
1029 1030 1031
	function does something useful even when message_buf_print is
	already set.

Gerd Moellmann's avatar
Gerd Moellmann committed
1032 1033 1034 1035 1036 1037
	* xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New
	variables.
	(ensure_echo_area_buffers): Initialize echo buffer's
	truncate lines setting to nil.
	(with_echo_area_buffer): Don't set the echo buffer's truncate
	lines setting here.
1038
	(set_message_1): Set it here instead, based on the value
Gerd Moellmann's avatar
Gerd Moellmann committed
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048
	of message_truncate_lines.
	(resize_mini_window): Handle case that lines are truncated.
	(syms_of_xdisp): Initialize Qmessage_truncate_lines.  DEFVAR_BOOL
	message-truncate-lines.

	* keyboard.c (read_char): Bind message-truncate-lines to t
	while displaying a help-echo.

	* lisp.h (Qmessage_truncate_lines): External declaration.

1049 1050
2000-06-13  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1051 1052 1053 1054 1055 1056 1057 1058
	* xdisp.c (Vline_number_display_limit): Renamed from
	line_number_display_limit.
	(syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit.
	Extend documentation string.  Initialize
	Vline_number_display_limit to nil meaning no limit.
	(decode_mode_spec): Use Vline_number_display_limit with its new
	meaning.

1059 1060
	* xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype.

1061
2000-06-13  Richard Stallman  <rms@gnu.org>
1062 1063

	* frame.c (Fmodify_frame_parameters): Doc fix.
1064

1065 1066 1067 1068 1069 1070 1071
	* xfns.c (x_set_frame_parameters): Comment fix.

	* frame.c (store_frame_param): Call swap_in_global_binding if the
	variable's current binding was chosen based on this frame.

	* data.c (swap_in_global_binding): New function.

Eli Zaretskii's avatar
Eli Zaretskii committed
1072 1073 1074 1075 1076
2000-06-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING
	macro, instead AND with CODING_REQUIRE_ENCODING_MASK.

Eli Zaretskii's avatar
Eli Zaretskii committed
1077 1078 1079 1080
2000-06-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_.

Jason Rumney's avatar
Jason Rumney committed
1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
2000-06-12  Jason Rumney  <jasonr@gnu.org>

	* w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__

	* w32.h (EMACS_W32_H): Renamed from _NT_H_

	* w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__

	* w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__

Gerd Moellmann's avatar
Gerd Moellmann committed
1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104
2000-06-12  Gerd Moellmann  <gerd@gnu.org>

	* xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function.
	(syms_of_xfaces): Defsubr Sdump_colors.
	(x_free_colors): Don't treat b&w specially on default visual.
	(x_free_dpy_colors): New function.
	(free_face_colors): Don't check visual class; it's done
	in x_free_colors.

	* xterm.c (x_frame_of_widget): New function.
	(x_alloc_nearest_color_for_widget): Use it.
	(x_copy_dpy_color): New function.
	(x_destroy_window): Free various colors.

Kenichi Handa's avatar
Kenichi Handa committed
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116
2000-06-12  Kenichi Handa  <handa@etl.go.jp>

	* ccl.h (EMACS_CCL_H): Renamed from _CCL_H.

	* charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H.

	* coding.h (EMASC_CODING_H): Renamed from _CODING_H.

	* composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H.

	* fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H.

1117 1118 1119 1120
2000-06-11  Dave Love  <fx@gnu.org>

	* systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H.

1121 1122 1123 1124
2000-06-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead.

Gerd Moellmann's avatar
Gerd Moellmann committed
1125 1126
2000-06-11  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1127
	* xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu
Gerd Moellmann's avatar
Gerd Moellmann committed
1128 1129
	to `XEvent *'.

Kenichi Handa's avatar
Kenichi Handa committed
1130 1131
2000-06-10  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
1132 1133 1134 1135
	* regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env.
	(regex_compile): Fix the code for handling the case of single byte
	char and multibyte char being mixed in a range within [...].

Kenichi Handa's avatar
Kenichi Handa committed
1136 1137 1138
	* fileio.c (Finsert_file_contents): Be sure to setup src_multibyte
	and dst_multibyte members of coding.

Kenichi Handa's avatar
Kenichi Handa committed
1139 1140 1141 1142 1143 1144 1145 1146 1147
	* charset.c (update_charset_table): Update the table
	bytes_by_char_head.
	(init_charset_once): Initialize elements of bytes_by_char_head to
	1 except for leading codes for private charases.

	* charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80.
	(UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte
	sequence.

1148 1149 1150 1151 1152
2000-06-09  Ken Raeburn  <raeburn@gnu.org>

	* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
	access the data it doesn't point to.

Gerd Moellmann's avatar
Gerd Moellmann committed
1153 1154 1155
2000-06-08  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
Gerd Moellmann's avatar
Gerd Moellmann committed
1156
	will be translated to a switch-frame event when reading the
Gerd Moellmann's avatar
Gerd Moellmann committed
1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
	event queue.  This is necessary because Emacs otherwise won't
	perform a switch-frame to a new frame until some other event, for
	example a keystroke event, forces it to do so.  This has various
	effects, one visible being that the cursor of a frame created with
	C-x 5 2 or switched to with a window manager key binding like
	A-TAB stays hollow because selected_window isn't on the newly
	focused frame until the switch-frame is performed.

	* keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by
	generating a switch-frame event if necessary.

	* termhooks.h (enum event_kind): Add FOCUS_IN_EVENT.

	* xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos';
	it's an integer.

1173 1174 1175 1176 1177
2000-06-08  Kenichi Handa  <handa@etl.go.jp>

	* fontset.c (Fset_fontset_font): The arg CHARACTER may be a
	charset.

1178 1179
2000-06-07  Gerd Moellmann  <gerd@gnu.org>

1180 1181
	* window.c (displayed_window_lines): Take empty lines at
	the bottom of a window into account.
1182

1183 1184 1185 1186 1187 1188 1189 1190
	* window.c (displayed_window_lines): New function.
	(Fmove_to_window_line): Use displayed_window_lines to determine
	the number of lines to move, instead of using the window's height.

	* lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange
	to stop reading, even if the form read sets point to a different
	value when evaluated.

1191
	* xdisp.c (display_line): Fix code deciding in which line to
1192 1193
	put the cursor.

Kenichi Handa's avatar
Kenichi Handa committed
1194 1195 1196 1197 1198
2000-06-07  Kenichi Handa  <handa@etl.go.jp>

	* fileio.c (e_write): Free composition data if stored in
	coding->cmp_data.

Gerd Moellmann's avatar
Gerd Moellmann committed
1199 1200
2000-06-06  Gerd Moellmann  <gerd@gnu.org>

1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216
	* xdisp.c (display_line): Set row's and iterator's
	starts_in_middle_of_char_p and ends_in_middle_of_char_p flags.
	Set cursor even if row ends in the middle of a character.
	(dump_glyph_row): Print values of new flags.
	(redisplay_window) <cursor movement in unchanged window>: When
	point has been moved forward, and PT is at the end of the cursor
	row, don't place the cursor in the next row if the cursor row ends
	in the middle of a character or at ZV.

	* dispextern.h (struct it): Add starts_in_middle_of_char_p.
	(struct glyph_row): Add starts_in_middle_of_char_p and
	ends_in_middle_of_char_p.
	(MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's
	ends_in_middle_of_char_p flag.
	(MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise.

1217 1218 1219 1220 1221 1222
	* term.c (append_glyph): Revert change of 2000-06-06.

	* xdisp.c (display_line): Revert change of 2000-06-06.  Treat
	padding glyph not fitting on line as whole character not
	fitting on line.

Gerd Moellmann's avatar
Gerd Moellmann committed
1223 1224 1225
	* xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0';
	this isn't true for images with `:ascent 100'.

1226 1227
2000-06-06  Kenichi Handa  <handa@etl.go.jp>

1228 1229 1230
	* buffer.c (Fset_buffer_multibyte): Don't make the current buffer
	as modified if it is originally unmodified.

1231 1232 1233 1234 1235 1236 1237
	* term.c (encode_terminal_code): Change the way to check if
	terminal coding does any conversion.
	(append_glyph): Set glyph->pixel_width correctly.

	* xdisp.c (display_line): While checking line continuation, pay
	attention to a padding glyph.

Gerd Moellmann's avatar
Gerd Moellmann committed
1238 1239 1240 1241
2000-06-05  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (redisplay_window): Always use set_buffer_internal_1.

Dave Love's avatar
Dave Love committed
1242 1243
2000-06-05  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272
	* xdisp.c: Include fontset.h.

	* xfns.c (x_real_positions): Declare tmp_nchildren as unsigned.

	* xterm.c (x_calc_absolute_position): Declare nchildren unsigned.

	* dispnew.c: Conditionally include term.h.

	* coding.h: Declare code_convert_string_norecord.

	* frame.h (struct frame): Use volatile unconditionally.

	* buffer.h: Remove Vbefore_change_function, Vafter_change_function.

	* xmenu.c (menu_item_selection): Declare volatile unconditionally.

	* systime.h: Protect against multiple inclusion.
	(timezone) [USG5_4]: Define as time_t.

	* lisp.h (DEFUN, EXFUN): Test PROTOTYPES.
	(Foptimize_char_table, make_temp_name): Declare.

	* Makefile.in (xdisp.o): Depend on fontset.h.

	* xterm.c (x_calc_absolute_position): Declare nchildren unsigned.

	* lisp.h (DEFUN, EXFUN): Test PROTOTYPES.
	(Foptimize_char_table, make_temp_name): Declare.

1273
	* s/irix4-0.h:
Dave Love's avatar
Dave Love committed
1274 1275 1276
	* s/irix5-0.h:
	* s/netbsd.h: Don't define autoconfiscated MATHERR.

Dave Love's avatar
Dave Love committed
1277 1278 1279 1280
2000-06-02  Dave Love  <fx@gnu.org>

	* lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define.

Gerd Moellmann's avatar
Gerd Moellmann committed
1281 1282 1283
2000-06-02  Gerd Moellmann  <gerd@gnu.org>

	* xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the
Gerd Moellmann's avatar
Gerd Moellmann committed
1284
	result face, set flags in that face indicating that colors may not
Gerd Moellmann's avatar
Gerd Moellmann committed
1285 1286 1287 1288 1289
	be freed.

	* xterm.c (x_set_mouse_face_gc): If first glyph isn't a character
	glyph, use the ASCII NUL character to determine the face.

Dave Love's avatar
Dave Love committed
1290 1291 1292 1293
2000-06-02  Dave Love  <fx@gnu.org>

	* sysdep.c: Conditionally include stdlib.h, unistd.h.
	(VFORK_RETURN_TYPE): Remove.
1294

Dave Love's avatar
Dave Love committed
1295 1296
	* config.in: Add NO_MATHERR.

1297 1298
2000-06-01  Dave Love  <fx@gnu.org>

Dave Love's avatar
Dave Love committed
1299 1300 1301 1302 1303 1304 1305 1306
	* cmds.c (internal_self_insert): Don't check
	Vbefore_change_function, Vafter_change_function.

	* insdel.c (signal_before_change, signal_after_change): Likewise.

	* buffer.c (Vbefore_change_function, Vafter_change_function):
	Variables and their initializations deleted.

Dave Love's avatar
Dave Love committed
1307 1308
	* callint.c (Fcall_interactively): Doc fix.

1309 1310
	* terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern.

Dave Love's avatar
Dave Love committed
1311 1312 1313 1314
2000-05-31  Dave Love  <fx@gnu.org>

	* textprop.c: Revert last change -- duplicated.

1315 1316 1317 1318 1319 1320 1321
2000-05-31  Gerd Moellmann  <gerd@gnu.org>

	* dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put
	in #if 0.

	* lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'.

Jason Rumney's avatar
Jason Rumney committed
1322 1323
2000-05-31  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
1324 1325 1326
	* search.c (Fre_search_forward, Fre_search_backward)
	(Fposix_search_backward, Fposix_search_forward): Fix newlines in docs.

Jason Rumney's avatar
Jason Rumney committed
1327 1328
	* w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil.

Jason Rumney's avatar
Jason Rumney committed
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408
2000-05-30  Jason Rumney  <jasonr@gnu.org>

	* coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros.
	[WINDOWSNT]: Add extern for Vw32_system_coding_system.

	* dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type
	member.

	* fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog.
	(Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to
	expand a nil default_filename.

	* keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window
	pointer to glyph_to_pixel_coords, not a frame.

	* makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and
	coding.h to dependencies.

	* w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p.

	* w32console.c (glyph_to_pixel_coords): Change first parameter to
	window pointer to be consistent with w32term.c and xterm.c.

	* w32fns.c: Format and doc changes to bring closer to xfns.c.
	(VIETNAMESE_CHARSET): Define if not defined in system headers.
	(Qline_spacing, Qcenter): New variables.
	(Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c.
	(x_set_line_spacing): New function.
	(x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT
	macros.
	(x_specified_cursor_type): New function.
	(x_set_cursor_type): Use it.
	(x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar
	and icon strings.
	(validate_x_resource_name, x_get_resource_string): Measure lengths
	of external strings in bytes.
	(w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling
	GetTextExtentPoint32 with NULL title.
	(Fx_create_frame): Initialize Qline_spacing.
	(w32_load_system_font): Initialize font->double_byte_p.
	(x_to_w32_charset): Use Vw32_charset_info_alist.
	(Image, busy cursor, tooltip functions): Merged changes from
	xfns.c. Not yet functional on Windows.

	* w32gui.h (W32FontStruct): Add double_byte_p member.

	* w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant.
	(emacs_button_translation): Use it.
	(do_mouse_event): Allow up to 32 mouse buttons by allowing any bit
	in `mask' to be set.

	* w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on
	menu strings.

	* w32term.c: Format and doc changes to bring closer to xterm.c.
	(w32_char_font_type): New enum.
	(Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c.
	(w32_per_char_metric): Use w32_char_font_type instead of unicode_p.
	(w32_encode_char): New function.
	(x_encode_char): Removed.
	(x_get_glyph_and_face_encoding): Use w32_encode_char in place of
	x_encode_char and w32_font_is_double_byte.
	(x_produce_image_glyph): Use image_ascent.
	(x_produce_glyphs): Use new version of w32_per_char_metric and
	handle NULL return value. Allow extra line spacing.
	(W32_TEXTOUT): Distinguish between Unicode and DBCS text.
	(w32_get_glyph_overhangs): Remove unicode_p param. Use
	w32_font_type member of glyph instead.
	(x_draw_glyph_string): Draw underline and strike-out for BDF fonts.
	(fast_find_position): Make sure not to consider rows not visible
	in the window.
	(w32_read_socket) [WM_MENUSELECT]: Cannot call
	w32_menu_display_help with input blocked, as it can abort.
	(x_display_and_set_cursor): Choose cursor depending
	on buffer-local value of cursor_type.
	(x_draw_bar_cursor): Add parameter WIDTH.

	* w32term.h (CP_DEFAULT): Define.
	(Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare.

Gerd Moellmann's avatar
Gerd Moellmann committed
1409 1410 1411 1412 1413
2000-05-30  Gerd Moellmann  <gerd@gnu.org>

	* search.c (Fre_search_forward, Fre_search_backward)
	(Fposix_search_backward, Fposix_search_forward): Doc fix.

Kenichi Handa's avatar
Kenichi Handa committed
1414 1415 1416 1417 1418
2000-05-30  Kenichi Handa  <handa@etl.go.jp>

	* coding.c (detect_coding_iso2022): Fix code for checking
	CODING_CATEGORY_MASK_ISO_8_2.

1419 1420 1421 1422 1423
2000-05-29  Stefan Monnier  <monnier@cs.yale.edu>

	* regex.c (PREFETCH_NOLIMIT): New function.
	(re_match_2_internal): Use it and adjust the end_match_2 logic.

1424 1425
2000-05-29  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1426 1427 1428
	* syntax.c (find_defun_start): Move test for
	open_paren_in_column_0_is_defun_start outside of the loop.

Gerd Moellmann's avatar
Gerd Moellmann committed
1429 1430 1431 1432
	* xdisp.c (redisplay_window): Really switch buffers when
	displaying mode lines, and temporarily set selected_frame to the
	frame of the window that's redisplayed.

1433 1434 1435
	* xfaces.c (free_realized_faces): Block/unblock input.
	(free_realized_multibyte_face): Ditto.

Dave Love's avatar
Dave Love committed
1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457
2000-05-29  Dave Love  <fx@gnu.org>

	* textprop.c (Qkeymap): New variable.
	(syms_of_textprop): Intern it.

	* keymap.c: Include intervals.h.
	(Fkey_binding, Fwhere_is_internal): Deal with `keymap' property.

	* Makefile.in (keymap.o): Depend on intervals.h.

	* keyboard.c (menu_bar_items, tool_bar_items)
	(Fexecute_extended_command): Deal with `keymap' property.
	(read_key_sequence): Track map from `keymap' property as well as
	`local_map'.

	* intervals.c (get_local_map): Extra arg to allow looking for
	`keymap' too.

	* intervals.h (map_property): New enum.
	(get_local_map): Extra arg using it.
	(Qkeymap): Declare.

1458
	* lisp.h (get_local_map): Don't declare here.
Dave Love's avatar
Dave Love committed
1459

Kenichi Handa's avatar
Kenichi Handa committed
1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475
2000-05-29  Kenichi Handa  <handa@etl.go.jp>

	* Makefile.in (callproc.o): Depend on composite.h.

	* callproc.c: Include composite.h.
	(Fcall_process): Handle composition correctly.

	* coding.h (coding_allocate_composition_data): Extern it.
	(coding_restore_composition): Likewise.

	* coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not
	yet allocated, finish decoding with result
	CODING_FINISH_INSUFFICIENT_CMP.
	(coding_allocate_composition_data): Make it non-static.
	(coding_restore_composition): Likewise.

1476 1477 1478 1479
2000-05-29  Eli Zaretskii  <eliz@is.elta.co.il>

	* charset.c (syms_of_charset): Revert last change.

Eli Zaretskii's avatar
Eli Zaretskii committed
1480 1481 1482
2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>

	* term.c (produce_glyphs): Treat characters from the eight-bit-*
Stefan Monnier's avatar
Stefan Monnier committed
1483 1484
	charsets as unibyte, with 1-column screen width.  Sent by Kenichi
	Handa.
Eli Zaretskii's avatar
Eli Zaretskii committed
1485

Eli Zaretskii's avatar
Eli Zaretskii committed
1486 1487 1488 1489 1490
2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>

	* charset.c (syms_of_charset): Set width of character sets
	eight-bit-control and eight-bit-graphic to 1 column.

Gerd Moellmann's avatar
Gerd Moellmann committed
1491 1492 1493 1494 1495 1496 1497
2000-05-26  Gerd Moellmann  <gerd@gnu.org>

	* config.in (HAVE_SPEED_T): New define.

	* sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as
	`extern speed_t'.

Dave Love's avatar
Dave Love committed
1498 1499 1500 1501 1502 1503 1504 1505
2000-05-26  Dave Love  <fx@gnu.org>

	* coding.c (shrink_decoding_region): Initialize eol_conversion.

	* data.c (Qsubrp, Qmany, Qunevalled): New variables.
	(Fsubr_arity): New function.
	(syms_of_data): Install them.

Kenichi Handa's avatar
Kenichi Handa committed
1506 1507
2000-05-26  Kenichi Handa  <handa@etl.go.jp>

Kenichi Handa's avatar
Kenichi Handa committed
1508 1509 1510
	* charset.c (init_charset_once): Set the table bytes_by_char_head
	correctly.

1511 1512
	* fontset.c (syms_of_fontset): Adjust the font name for ascii of
	the default fontset to what Emacs uses by default.
Kenichi Handa's avatar
Kenichi Handa committed
1513 1514 1515
	(check_registry_encoding): This function deleted.
	(Fset_fontset_font): Remove the adhoc condition for the default
	fontset.  Allow cons in FONTNAME.
1516

Kenichi Handa's avatar
Kenichi Handa committed
1517 1518
	* fns.c (map_char_table): Ignore char-table entries for
	charsets eight-bit-control and eight-bit-graphic.
Kenichi Handa's avatar
Kenichi Handa committed
1519

1520 1521 1522 1523 1524
2000-05-25  Ken Raeburn  <raeburn@gnu.org>

	* emacs.c (main): Initialize keyboard syms before initializing
	window code, so face names are available.

1525 1526 1527 1528 1529
2000-05-25  Stefan Monnier  <monnier@cs.yale.edu>

	* regex.c (at_begline_loc_p): Also recognize the \\(?:^ case
	of an anchor at the beginning of a shy-group.

Gerd Moellmann's avatar
Gerd Moellmann committed
1530 1531 1532 1533 1534
2000-05-25  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (handle_invisible_prop): Don't try to skip over
	invisible text if end of text is already reached.

1535 1536
2000-05-25  Dave Love  <fx@gnu.org>

1537 1538
	* xdisp.c (Fdump_glyph_matrix): Declare the arg.

1539 1540
	* coding.c (encode_eol): Add null statement after label.

Eli Zaretskii's avatar
Eli Zaretskii committed
1541 1542 1543 1544 1545
2000-05-25  Eli Zaretskii  <eliz@is.elta.co.il>

	* w16select.c (Fw16_set_clipboard_data): Fix the change from
	2000-05-20.

Kenichi Handa's avatar
Kenichi Handa committed
1546 1547 1548 1549
2000-05-25  Kenichi Handa  <handa@etl.go.jp>

	* ccl.c (ccl_driver): Fix previous change.