ChangeLog 469 KB
Newer Older
Eli Zaretskii's avatar
Eli Zaretskii committed
1 2 3 4 5
2001-10-23  Andreas Schwab  <schwab@suse.de>

	* m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
	LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".

6 7 8 9 10 11 12 13
2001-10-23  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (x_draw_glyphs): Remove parameters READ_START and 
	REAL_END.  Notice if cursor gets overwritten.
	(notice_overwritten_cursor): Take X positions as parameters.
	(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
	around call to x_draw_glyphs.

14 15 16 17 18 19 20 21 22
2001-10-23  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* syntax.c: Fix argument names and usage.

	* editfns.c: Fix argument names and usage.

	* xfns.c (Fx_show_tip): Remove unused variables `buffer', `top',
	`left', `max_width' and `max_height'.

23 24 25 26 27
2001-10-23  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (display_line): For a tab continued to the next line,
	set row's ends_in_middle_of_char_p.

28 29 30 31 32
2001-10-22  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (display_line): Fix computation of continuation lines
	width for TABs.

Pavel Janík's avatar
Pavel Janík committed
33 34
2001-10-22  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

35 36 37
	* xdisp.c (build_desired_tool_bar_string): Remove unused variable
	`Qlaplace'.

Pavel Janík's avatar
Pavel Janík committed
38 39
	* fileio.c: Remove unused code.

40 41 42 43 44 45
2001-10-22  Miles Bader  <miles@gnu.org>

	* lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
	(DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
	Remove `DOC_STRINGS_IN_COMMENTS' cases.

46 47 48 49
2001-10-21  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (x_erase_phys_cursor): Remove inverse_p again.

50 51 52 53 54
2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>

	* mocklisp.c (Fml_if, Fml_provide_prefix_argument)
	(Finsert_string): Avoid the multi-line string literals warning.

Miles Bader's avatar
Miles Bader committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
2001-10-22  Miles Bader  <miles@gnu.org>

	* doc.c (Vhelp_manyarg_func_alist): Variable removed.
	(Fdocumentation): Don't use it.
	(syms_of_doc): Don't initialize it.

	* keyboard.c (Ftrack_mouse): Add usage: string to doc string.
	* print.c (Fwith_output_to_temp_buffer): Likewise.
	* window.c (Fsave_window_excursion): Likewise.
	* editfns.c (Fsave_excursion, Fsave_current_buffer) 
	(Fsave_restriction): Likewise.
	* eval.c (Frun_hooks, Frun_hook_with_args) 
	(Frun_hook_with_args_until_failure) 
	(Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) 
	(Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) 
	(Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) 
	(Funwind_protect, Fcondition_case): Likewise.
	* coding.c (Ffind_operation_coding_system): Likewise.
	* keyboard.c (Ftrack_mouse): Likewise.

Miles Bader's avatar
Miles Bader committed
75 76 77 78 79 80 81 82 83 84
2001-10-21  Miles Bader  <miles@gnu.org>

	* fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) 
	(Fmake_hash_table): Add usage: string to doc string.
	* editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers)
	(Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) 
	(Fencode_time, Finsert_and_inherit_before_markers): Likewise.
	* mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument)
	(Fml_prefix_argument_loop): Likewise.

Pavel Janík's avatar
Pavel Janík committed
85 86
2001-10-21  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

87 88 89
	* fileio.c (Finsert_file_contents): Remove unused variable
	`gap_size'.

Pavel Janík's avatar
Pavel Janík committed
90 91 92 93 94 95 96
	* sysdep.c (init_sys_modes): Change doc-string comments to `new
	style' [w/`doc:' keyword].

	* data.c, fileio.c, indent.c, print.c, search.c, sound.c,
	* sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string
	comments to `new style' [w/`doc:' keyword].

97 98 99 100
2001-10-21  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.

Jason Rumney's avatar
Jason Rumney committed
101 102 103 104 105
	* w32term.c (remember_mouse_glyph): New function.
	(w32_mouse_position): Use it.
	(note_mouse_movement): If the mouse moved off the glyph, remember
	its new position.
	
Jason Rumney's avatar
Jason Rumney committed
106 107 108
	* w32term.h (struct w32_output): Correct spelling of x_compatible.
	(w32_display_info): Add mouse_face_overlay.

Jason Rumney's avatar
Jason Rumney committed
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 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
	* w32term.c (notice_overwritten_cursor): Renamed from
	note_overwritten_text_cursor.  Rewritten to take glyph widths into
	account.
	(x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
	(fast_find_string_pos): New function.
	(fast_find_position): Return the correct vpos.  Add parameter
	STOP.  In the final row, stop before glyphs having STOP as object.
	Don't consider glyphs that are not from a buffer.
	(fast_find_position) [0]: Add a presumably more correct version
	for after 21.1.
	(expose_window_tree, expose_frame): Don't compute intersections here.
	(expose_window): Do it here instead.
	(expose_window_tree, expose_window, expose_line): Return 1 when
	overwriting mouse-face.
	(expose_window): If W is the window currently being updated, mark
	the frame garbaged.
	(expose_frame): If mouse-face was overwritten, redo it.
	(x_use_underline_position_properties): New variable.
	(syms_of_xterm): DEFVAR_BOOL it.
	(x_draw_glyph_string): Add comment to use it in future.
	(x_draw_glyph_string): Restore clipping after drawing box.
	Fix a computation of the underline position.
	(w32_get_glyph_string_clip_rect): Minor cleanup.
	(x_fill_stretch_glyph_string): Remove an assertion.
	(x_produce_glyphs): Don't convert multibyte characters
	to unibyte characters in unibyte buffers.
	(cursor_in_mouse_face_p): New function.
	(x_draw_stretch_glyph_string): Use it to choose a different GC
	when drawing a cursor within highlighted text.  Don't draw
	background again if it has already been drawn.
	(x_draw_glyph_string_box): Don't draw a full-width
	box just because the glyph row's full_width_p flag is set.
	(x_draw_glyphs): Fix computation of rightmost x for
	full-width rows.
	(x_dump_glyph_string): Put in #if GLYPH_DEBUG.
	(w32_draw_relief_rect): Extend left shadow to the bottom and left;
	change bottom shadow accordingly. Some cleanup.
	(x_update_window_end): Handle overwritten mouse face
	also for tool bar windows.
	(show_mouse_face): Set the glyph row's mouse_face_p flag also when
	DRAW is DRAW_IMAGE_RAISED.
	(clear_mouse_face): Return 1 if text with mouse face was
	actually redrawn.  Make the function static.  Reset
	dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
	optimize away highlighting if we pass over that same overlay again.
	(note_mouse_highlight): Call mouse_face_overlay_overlaps
	to detect a case where we have to highlight a different region
	despite not having left the currently highlighted region.
	Set mouse_face_overlay in the x_display_info.  Avoid changing the
	mouse pointer shape when show_mouse_face has already done it, or
	there is no need.  Handle mouse-face and help-echo in strings.
	(glyph_rect): New function.
	(w32_mouse_position): Use it to raise the threshold for mouse
	movement event generation.
	(w32_initialize_display_info): Initialize the x_display_info's
	mouse_face_overlay.
	(w32_set_vertical_scroll_bar): Don't clear a zero height
	or width area.
	(w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
	a widget to zero height.

170
	* w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
Jason Rumney's avatar
Jason Rumney committed
171
	Protect unibyte strings created by replacing their multibyte
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
	equivalents in menu_items.
	(w32_menu_show): Don't overwrite an item's name with its key
	description in case the description is a multibyte string.
	(single_submenu): Some cleanup.

	* w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed.
	(postprocess_image): New function.
	(lookup_image): Call it for all image types except PostScript.
	(x_kill_gs_process): Call postprocess_image.
	(tiff_error_handler, tiff_warning_handler): New functions.
	(tiff_load): Install them as handlers.
	(x_kill_gs_process): Recognize if someone has cleared the image
	cache under us.
	(valid_image_p): Protect better against invalid image
	specifications.  Previous code could signal an error.
	(Fx_hide_tip, Fshow_tip): Doc fix.
	(Fv_max_tooltip_size): New variable.
	(syns_of_xfns): DEFVAR_LISP it.
	(Fx_show_tip): Add parameter TEXT.  Set the tip frame's root
	window buffer to *tip* right after creating the frame. Set frame's
	window_width.  Use a maximum tooltip size specified by
	Vx_max_tooltip_size, if that has valid contents.
	(compute_tip_xy): Add parameters WIDTH and HEIGHT.
	Make sure the tooltip is completely visible.
	(x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
	(Fx_create_frame): Adjust the frame's height for presence
	of the tool bar before calling x_figure_window_size.
	(x_set_tool_bar_lines): Clear the tool bar window's current matrix
	when the window gets smaller.
	(x_set_foreground_color): Set frame's cursor_pixel.
	(x_set_foreground_color, x_set_background_color): Cleaned up.
	(x_set_font): Handle case of x_new_fontset returning the same name
	as before, although there was a change in fontsets.

Miles Bader's avatar
Miles Bader committed
206 207 208 209 210 211 212 213
2001-10-21  Miles Bader  <miles@gnu.org>

	* data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) 
	(Flogxor): Add usage: string to doc string.
	* charset.c (Fstring): Likewise.
	* callproc.c (Fcall_process_region, Fcall_process): Likewise.
	* alloc.c (Fmake_byte_code, Fvector, Flist): Likewise.

214 215
2001-10-21  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

216 217 218 219 220 221
	* buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords.

	* alloc.c: Reindent DEFUNs with doc: keywords.

	* abbrev.c (Finsert_abbrev_table_description): Reindent.

222 223 224
	* frame.c: Change doc-string comments to `new style' [w/`doc:'
	keyword].

Gerd Moellmann's avatar
Gerd Moellmann committed
225 226
2001-10-20  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
227
	* (Version 21.1 released.)
Gerd Moellmann's avatar
Gerd Moellmann committed
228

229 230
2001-10-20  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

231 232 233 234 235 236 237
	* xfns.c (x_laplace_read_row, x_laplace_write_row): Prototypes
	removed.

	* xdisp.c (invisible_text_between_p): Put prototype inside #if
	0 because unused.

	* bytecode.c, callint.c, callproc.c, casefiddle.c, casetab.c
238
	* category.c, ccl.c, charset.c, process.c, syntax.c, window.c: Change
239
	doc-string comments to `new style' [w/`doc:' keyword].
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 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
2001-10-20  Miles Bader  <miles@gnu.org>

	The following changes remove the glyph_row `inverse_p' field,
	which is never set anymore, due to other changes:

	* dispextern.h (struct glyph_row): Remove `inverse_p' field.
	(reassert_line_highlight, change_line_highlight): Declarations removed.
	* dispnew.c (update_frame_line): Don't call reassert_line_highlight.
	(line_hash_code, row_equal_p, fake_current_matrices) 
	(build_frame_matrix_from_leaf_window, update_frame_line) 
	(update_frame_line, update_frame_line, update_frame_line):
	Don't use `inverse_p' field.
	* xterm.c (x_initialize): Don't set reassert_line_highlight_hook or
	change_line_highlight_hook.
	(XTreassert_line_highlight, x_change_line_highlight):
	Functions removed.
	(x_fix_overlapping_area, x_write_glyphs, expose_area) 
	(expose_line, x_erase_phys_cursor): Don't use `inverse_p' field.
	* xdisp.c (dump_glyph_row, display_mode_line): Don't use
	`inverse_p' field.
	* w32term.c (x_fix_overlapping_area, x_write_glyphs, expose_area) 
	(expose_line, x_erase_phys_cursor): Don't use `inverse_p' field.
	(w32_reassert_line_highlight, x_change_line_highlight):
	Functions removed.
	* w32console.c (reassert_line_highlight, change_line_highlight):
	Functions removed.
	(initialize_w32_display): Don't set reassert_line_highlight_hook
	or change_line_highlight_hook.
	(hl_mode): Function removed.
	(reset_terminal_modes, set_terminal_modes, update_begin) 
	(update_end, w32_face_attributes, initialize_w32_display): 
	(clear_frame, ins_del_lines): Don't call it.
	* termhooks.h (reassert_line_highlight_hook)
	(change_line_highlight_hook): Declarations removed.
	* term.c (reassert_line_highlight_hook)
	(change_line_highlight_hook): Variables removed.
	(reassert_line_highlight, change_line_highlight): Functions removed.
	* msdos.c (IT_reassert_line_highlight)
	(IT_change_line_highlight): Functions removed.
	(internal_terminal_init): Don't set reassert_line_highlight_hook
	or change_line_highlight_hook.
	(highlight): Variable removed.
	(IT_set_face, IT_update_begin, IT_update_end) 
	(IT_set_terminal_modes): Don't set or use it.

	The following changes remove inverse-video support for terminals
	that use a `magic cookie' standout mode.  Due to changes in the
	way mode-lines are displayed, such support no longer works
	anyway, and it's probable that almost no one uses such terminals
	anymore:

	* term.c (standout_requested): Variable removed.
	(update_end, highlight_if_desired): Don't use it.
	(chars_wasted, copybuf): Variables removed.
	(write_standout_marker): Function removed.
	(cursor_to, clear_to_end, clear_frame, clear_end_of_line_raw) 
	(clear_end_of_line_raw, write_glyphs, ins_del_lines):
	Don't use `chars_wasted' or `copybuf'.
	(calculate_costs): Don't allocate `chars_wasted' or `copybuf'.
	Set `costs_set' to true.
	(cursor_to, clear_end_of_line): Test `costs_set' instead of
	`chars_wasted'.
	(clear_end_of_line): Function removed.
	(clear_end_of_line_raw): Renamed to `clear_end_of_line'.
	(clear_to_end): Call `clear_end_of_line' instead of
	`clear_end_of_line_raw'.
307 308 309 310 311 312 313 314
	(TN_standout_width, TF_xs, TN_magic_cookie_glitch_ul): Vars removed.
	(term_init): Don't set them.
	Turn off any standout/underline modes that require magic cookies.
	(ins_del_lines, highlight_if_desired, background_highlight) 
	(turn_on_highlight, turn_off_highlight, reset_terminal_modes):
	Remove special processing for magic-cookie standout modes.
	(turn_off_face, turn_on_face): Remove special processing for
	underline magic-cookie glitch.
315

316 317 318 319
2001-10-19  Richard M. Stallman  <rms@gnu.org>

	* eval.c (syms_of_eval): Doc fixes.

Gerd Moellmann's avatar
Gerd Moellmann committed
320 321 322 323 324
2001-10-19  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (redisplay_internal): Don't clear echo area if the
	mini-window is selected.

Miles Bader's avatar
Miles Bader committed
325 326
2001-10-19  Miles Bader  <miles@gnu.org>

327 328 329 330 331
	* editfns.c (text_property_stickiness): Non-rear-non-stickiness
	doesn't take precedence if the affected property's value is nil.

	* editfns.c (Fencode_time): Escape a BOL paren in the doc-string.

Miles Bader's avatar
Miles Bader committed
332 333 334 335 336
	* cmds.c (Fbeginning_of_line, Fend_of_line): Clarify interaction
	with fields and suggest using `forward-line' to avoid them.
	* editfns.c (Fline_beginning_position, Fline_end_position):
	Clarify documentation.

337 338 339 340 341
2001-10-18  Stefan Monnier  <monnier@cs.yale.edu>

	* keymap.c (current_minor_maps): `override' only shadows its
	correspondent in minor-mode-map-alist, not the whole tail.

342 343 344 345 346 347
2001-10-18  Andrew Innes  <andrewi@gnu.org>

	* fontset.c (fs_load_font) [WINDOWSNT && _MSC_VER]: Disable
	optimization.  The fontp->encoding array was not being initialized
	correctly when compiled with optimizations by MSVC.

348 349
2001-10-18  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
350
	* xdisp.c (display_line): Indicate empty lines in active mini-window.
351

352 353 354 355 356 357 358 359 360 361 362
2001-10-17  Andrew Innes  <andrewi@gnu.org>

	* fontset.h (struct font_info) [WINDOWSNT]: Add codepage field.

	* w32fns.c (w32_load_system_font): Cache codepage for font, in
	font_info.charset field.

	* w32term.c (w32_encode_char): Get cached codepage from font_info,
	rather than working it out by calling w32_codepage_for_font for
	every glyph.

363 364 365 366 367 368 369
2001-10-17  Andrew Innes  <andrewi@gnu.org>

	* w32term.c (w32_read_socket): Determine clipping rectangle for
	the entire frame, including areas covered by scrollbars and the
	menubar.  This avoids internal arguments about whether a frame is
	fully obscured or not.

Gerd Moellmann's avatar
Gerd Moellmann committed
370 371
2001-10-17  Gerd Moellmann  <gerd@gnu.org>

372 373
	* xdisp.c (try_window_id): Undo last change.  Give up if
	window ends in strings.
Stefan Monnier's avatar
Stefan Monnier committed
374

375
	* xdisp.c (try_window_id): Don't display lines after the window
Stefan Monnier's avatar
Stefan Monnier committed
376
	end if the rest of the window after the window end was already blank.
377

Stefan Monnier's avatar
Stefan Monnier committed
378
	* xdisp.c (try_window_id): Remove code that was only there
379 380
	for the release of 21.1.

Stefan Monnier's avatar
Stefan Monnier committed
381
	* xdisp.c (display_line): Don't indicate empty lines in mini-windows.
Gerd Moellmann's avatar
Gerd Moellmann committed
382

Miles Bader's avatar
Miles Bader committed
383 384 385 386 387 388 389 390 391 392
2001-10-17  Miles Bader  <miles@gnu.org>

	* lisp.h (DEFUN): Remove `DOC_STRINGS_IN_COMMENTS' case.
	* xmenu.c, xdisp.c, term.c, dispnew.c, abbrev.c, editfns.c, buffer.c
	* xfns.c, alloc.c, minibuf.c, xterm.c, xfaces.c:
	Change doc-string comments to `new style' [w/`doc:' keyword].
	(DOC_STRINGS_IN_COMMENTS): Macro removed.
	* minibuf.c: Remove old commented-out-DEFUN that was used to fake
	out make-docfile.

Miles Bader's avatar
Miles Bader committed
393 394 395 396
2001-10-16  Miles Bader  <miles@gnu.org>

	* fns.c: Change doc-string comments to `new style' [w/`doc:' keyword].

Gerd Moellmann's avatar
Gerd Moellmann committed
397 398 399 400 401
2001-10-16  Gerd Moellmann  <gerd@gnu.org>

	* buffer.c (Fset_buffer_major_mode): Use initial-major-mode for
	*scratch*.

402 403 404 405 406 407 408 409 410 411
2001-10-16  Ken Raeburn  <raeburn@gnu.org>

	Avoid the assumption that car and cdr slots of cons cells are
	addressable lvalues; this allows for easier experimentation with
	other lisp implementations that may not permit such accesses for
	various reasons.  Not quite complete -- buffer.c still needs some
	work, and w32/mac files need rechecking -- so compile-time
	enforcement is left disabled for now.

	* lisp.h (LISP_MAKE_RVALUE): New macro, or function in the case of
Stefan Monnier's avatar
Stefan Monnier committed
412
	gcc with a union-based Lisp object rep.  Redefine as no-op for now.
413 414 415 416 417 418 419 420 421
	(XCAR_AS_LVALUE, XCDR_AS_LVALUE): Rename from old XCAR, XCDR.
	(XCAR, XCDR): Apply LISP_MAKE_RVALUE to the _AS_LVALUE versions.
	(XSETCAR, XSETCDR): New macros.
	(XSETCARFASTINT, XSETCDRFASTINT): New macros.
	(CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): New macros.
	* keyboard.h (POSN_BUFFER_SET_POSN): New macro.
	* alloc.c (Fcons, pure_cons, Fgarbage_collect): Use XSETCAR and
	XSETCDR.
	(mark_buffer): Use XCAR_AS_LVALUE, XCDR_AS_LVALUE.
Stefan Monnier's avatar
Stefan Monnier committed
422 423 424
	* buffer.c (record_buffer, Fbury_buffer)
	(swap_out_buffer_local_variables, recenter_overlay_lists)
	(Foverlay_put): Use XSETCAR and XSETCDR to set the car and cdr
425 426 427 428 429 430
	fields of a cons cell respectively.
	* callint.c (quotify_args, Fcall_interactively): Likewise.
	* ccl.c (Fregister_code_conversion_map): Likewise.
	* coding.c (detect_coding_system): Likewise.
	* composite.c (get_composition_id, make_composition_value_copy):
	Likewise.
Stefan Monnier's avatar
Stefan Monnier committed
431 432 433 434
	* data.c (Fsetcar, Fsetcdr, swap_in_global_binding)
	(swap_in_symval_forwarding, set_internal, Fset_default)
	(Fmake_variable_buffer_local, Fmake_local_variable)
	(Fmake_variable_frame_local): Likewise.
435
	* fns.c (concat, Fcopy_alist, Fwidget_put): Likewise.
Stefan Monnier's avatar
Stefan Monnier committed
436 437
	* keymap.c (Fset_keymap_parent, store_in_keymap)
	(accessible_keymaps_1, where_is_internal_2, Fcopy_keymap):
438 439 440 441 442 443 444 445 446 447 448 449 450 451
	Likewise.
	* minibuf.c (get_minibuffer): Likewise.
	* search.c (Fmatch_data): Likewise.
	* textprop.c (extend_property_ranges): Likewise.
	* undo.c (record_insert, Fundo_boundary, truncate_undo_list):
	Likewise.
	* w32fns.c (w32_msg_pump, Fw32_register_hot_key, w32_list_fonts):
	Likewise.
	* w32term.c (x_delete_display): Likewise.
	* xfaces.c (remove_duplicates, Finternal_set_lisp_face_attribute):
	Likewise.
	* xterm.c (x_list_fonts, x_load_font, x_delete_display):
	Likewise.
	* doc.c (store_function_docstring): Use XSETCARFASTINT.
Stefan Monnier's avatar
Stefan Monnier committed
452
	* fileio.c (Fdo_auto_save): Use XSETCARFASTINT and XSETCDRFASTINT.
453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470
	(Fread_file_name): Use XSETCAR.
	* fontset.c (Fset_fontset_font): Use CHECK_NUMBER_CAR and
	CHECK_NUMBER_CDR.
	(accumulate_font_info, Ffontset_info): Use XSETCAR and XSETCDR.
	* frame.c (Fmake_terminal_frame): Use XSETCDR.
	* indent.c (Fcompute_motion): Use CHECK_NUMBER_CAR and
	CHECK_NUMBER_CDR.
	* keyboard.c (read_char): Alter list traversal to avoid taking the
	address of cons cell slots.  Use POSN_BUFFER_SET_POSN.
	(parse_menu_item): Use XSETCAR and XSETCDR.
	(reach_char_x_menu_prompt): Use XSETCAR.
	(read_key_sequence): Use POSN_BUFFER_SET_POSN.
	(Fcommand_execute): Use XSETCDR.
	* lread.c (Fload): Use XSETCARFASTINT and XSETCDRFASTINT.
	(openp): Change list traversal to avoid using XCAR as lvalue.
	(read_list): Use XSETCDR.
	* process.c (wait_reading_process_input): Change wait_for_cell
	handling to avoid taking addresses of cons cell slots.
Stefan Monnier's avatar
Stefan Monnier committed
471 472 473 474 475
	* xselect.c (x_own_selection, x_handle_selection_clear)
	(x_clear_frame_selections): Use XSETCDR.
	(wait_for_property_change): Use XSETCARFASTINT and XSETCDRFASTINT.
	(x_handle_property_notify, x_get_foreign_selection)
	(x_handle_selection_notify): Use XSETCAR.
476

477 478
2001-10-15  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

Pavel Janík's avatar
Pavel Janík committed
479 480
	* buffer.c: Put doc strings in comments.

Stefan Monnier's avatar
Stefan Monnier committed
481
	* sound.c: Include <sys/ioctl.h> also on systems without <soundcard.h>.
482

483 484 485 486
2001-10-15  Sam Steingold  <sds@gnu.org>

	* fns.c (Vafter_load_alist): Declare extern (w32 build problem).

Pavel Janík's avatar
Pavel Janík committed
487 488
2001-10-15  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

Stefan Monnier's avatar
Stefan Monnier committed
489 490
	* process.c (process-inherit-coding-system-flag)
	(get-buffer-process): Do not confuse make-docfile with doc strings
491 492
	in comment.

Pavel Janík's avatar
Pavel Janík committed
493
	* editfns.c (Fchar_to_string): Make doc string consistent with
Stefan Monnier's avatar
Stefan Monnier committed
494
	arguments.  Put doc strings in comments.
Pavel Janík's avatar
Pavel Janík committed
495 496

	* abbrev.c, minibuf.c: Put doc strings in comments.
Pavel Janík's avatar
Pavel Janík committed
497

498 499
2001-10-15  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
500
	* window.c (window_loop): Don't check for Fother_buffer returning nil.
501

502 503 504
	* window.c (select_window_1): Unfreeze window start.  Remove a
	doubled test for WINDOW being live.

505 506
2001-10-15  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

507 508
	* fns.c (Fmapconcat): Fix typo in a doc string.

509 510
	* dispnew.c (Fsleep_for): Fix typo in a doc string.

Gerd Moellmann's avatar
Gerd Moellmann committed
511 512 513 514 515
2001-10-15  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (x_draw_glyph_string): Restore clipping after
	drawing box.

516 517
2001-10-15  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

Stefan Monnier's avatar
Stefan Monnier committed
518
	* callint.c (prefix-arg, current-prefix-arg): Fix typo in a doc string.
519

Stefan Monnier's avatar
Stefan Monnier committed
520 521
2001-10-14  Stefan Monnier  <monnier@cs.yale.edu>

Gerd Moellmann's avatar
Gerd Moellmann committed
522 523
	* indent.c (skip_invisible): Use new retval of
	TEXT_PROP_MEANS_INVISIBLE.
Stefan Monnier's avatar
Stefan Monnier committed
524

525 526 527 528
	* keymap.c (access_keymap): Unify handling of `t' and generic-char.
	If a parent is reached and noinherit is set, exit immediately.
	Use AREF and ASIZE macros.  Call get_keyelt before checking KEYMAPP.

Stefan Monnier's avatar
Stefan Monnier committed
529 530 531 532 533 534 535 536
	* s/ms-w32.h (EXEC_SUFFIXES):
	* s/msdos.h (EXEC_SUFFIXES):
	* process.h (EXEC_SUFFIXES): Remove.

	* callproc.c (syms_of_callproc): Init Vexec_suffixes to Qnil.
	(decode_suffixes): Remove.

	* intervals.h (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS)
Stefan Monnier's avatar
Stefan Monnier committed
537 538
	(TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS, invisible_noellipsis_p)
	(invisible_ellipsis_p): Remove.
Stefan Monnier's avatar
Stefan Monnier committed
539 540 541 542

	* xdisp.c (DOLIST, LOOP_PROPVAL): Remove.
	(invisible_p): Return 1 or 2 depending on whether an ellipsis is used.
	(invisible_ellipsis_p, invisible_noellipsis_p): Remove.
Stefan Monnier's avatar
Stefan Monnier committed
543 544
	(in_ellipses_for_invisible_text_p, handle_invisible_prop):
	Use new retval of TEXT_PROP_MEANS_INVISIBLE.
Stefan Monnier's avatar
Stefan Monnier committed
545

546 547
2001-10-14  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

Pavel Janík's avatar
Pavel Janík committed
548 549
	* lisp.h (Ftop_level): Add prototype.

550 551 552 553
	* xterm.c: (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.
	(XTread_socket): Improve style of comments to follow other
	comments.

554 555 556
	* keyboard.c (Fcommand_execute): Remove unnecessary prototype (it
	is already prototyped in included lisp.h).

557 558 559 560 561 562 563 564
	* frame.c (Fset_mouse_position): Improve style of comment to
	follow other comments.
	(Fset_mouse_pixel_position): Improve style of comment to follow
	other comments.
	(Fmake_frame_visible): Doc fix and typo in comment.
	(Fmake_frame_invisible): Doc fix and typo in comment.
	(Ficonify_frame): Fix typo in comment.

Gerd Moellmann's avatar
Gerd Moellmann committed
565 566
2001-10-14  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
567
	* xfns.c, dispnew.c, xterm.c, xdisp.c, xfaces.c, xmenu.c
Gerd Moellmann's avatar
Gerd Moellmann committed
568
	* term.c, alloc.c: Put doc strings in comments.
Gerd Moellmann's avatar
Gerd Moellmann committed
569

Gerd Moellmann's avatar
Gerd Moellmann committed
570 571 572 573 574 575 576
2001-10-13  Gerd Moellmann  <gerd@gnu.org>

	* lisp.h (DEFUN, DEFVAR_LISP, ...) [DOC_STRINGS_IN_COMMENTS]:
	Provide definitions for doc strings in comments.

	* fns.c: Put doc strings in comments.

Eli Zaretskii's avatar
Eli Zaretskii committed
577 578 579 580 581 582 583 584 585
2001-10-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* dired.c (file_name_completion): Ignore a candidate directory if
	it matches an element in completion-ignored-extensions that ends
	in a slash.
	(syms_of_dired) <completion-ignored-extensions>: Mention the above
	feature in the doc string.
	(Ffile_name_completion): Ditto.

586 587
2001-10-12  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
588 589 590 591 592 593 594
	* indent.c (skip_invisible): Don't skip "ellipsisized" text.

	* xfns.c (syms_of_xfns): Update calls to Fprovide.

	* lisp.h (Fprovide): Update prototype.
	(Ffeaturep, invisible_p): Remove.

Eli Zaretskii's avatar
Eli Zaretskii committed
595
	* xdisp.c (init_iterator): Be more strict with bytepos and charpos.
Stefan Monnier's avatar
Stefan Monnier committed
596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622
	(DOLIST, LOOP_PROPVAL): New macros.
	(invisible_p, invisible_ellipsis_p): Use them.
	(invisible_noellipsis_p): New function.
	(syms_of_xdisp): Use empty_string.

	* alloc.c (mark_interval_tree): Use traverse_intervals_noorder.

	* lread.c (substitute_object_recurse): Use traverse_intervals_noorder.
	(syms_of_lread) <Vafter_load_alist>: Update docstring.

	* print.c (Fwith_output_to_temp_buffer): Align with
	internal_with_output_to_temp_buffer.
	(print_preprocess): Use traverse_intervals_noorder.
	(print_object): Update call to traverse_intervals.

	* intervals.h (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): New macro.
	(traverse_intervals_noorder, invisible_noellipsis_p): New funs.

	* intervals.c (traverse_intervals_noorder): New function.
	(search_for_interval, count_intervals): Use it.
	(traverse_intervals): Use less stack space and drop `depth' arg.

	* fns.c (Ffeaturep): Add new `subfeature' arg.
	(Fprovide): Add new `subfeatures' arg.  Use `after-load-alist'.
	(Qsubfeatures): New var.
	(syms_of_fns): Initialize it.

Stefan Monnier's avatar
Stefan Monnier committed
623 624 625 626 627
	* keymap.c (Fkey_description): Use empty_string.
	(Fdescribe_bindings_internal, describe_buffer_bindings): Remove.
	(syms_of_keymap): Setup inheritance between maps.
	Don't export Sdescribe_bindings_internal any more.

628 629
	* minibuf.c (keys_of_minibuf): Eliminate redundant bindings.

Gerd Moellmann's avatar
Gerd Moellmann committed
630 631 632 633 634 635
2001-10-12  Gerd Moellmann  <gerd@gnu.org>

	* xterm.c (notice_overwritten_cursor): Renamed from
	note_overwritten_text_cursor.  Rewritten to take glyph widths into
	account.

636 637 638 639 640
2001-10-12  Eli Zaretskii  <eliz@is.elta.co.il>

	* lread.c (syms_of_lread) <load-suffixes>: Fix last change:
	multi-line strings without a trailing "\n\".

641 642 643 644 645
2001-10-12  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* floatfns.c: float_error() is defined iff FLOAT_CATCH_SIGILL is
	defined.

Stefan Monnier's avatar
Stefan Monnier committed
646 647
2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
648 649
	* callint.c (Fcall_interactively): Remove unused code.  Use XCAR.

Stefan Monnier's avatar
Stefan Monnier committed
650 651 652 653 654
	* xfns.c (x_create_bitmap_from_file, x_find_image_file):
	* w32proc.c (sys_spawnve):
	* w32fns.c (x_create_bitmap_from_file, x_find_image_file):
	* w32.c (check_windows_init_file):
	* sound.c (Fplay_sound):
Stefan Monnier's avatar
Stefan Monnier committed
655
	* emacs.c (init_cmdargs):
Stefan Monnier's avatar
Stefan Monnier committed
656 657 658 659 660 661 662 663 664 665 666 667 668 669
	* process.c (Fstart_process): Update calls to openp.

	* callproc.c (Vexec_suffixes): New var.
	(Fcall_process): Update call to openp.
	(decode_suffixes): New function.
	(syms_of_callproc): Init exec-suffixes.

	* lread.c (Vload_suffixes, default_suffixes): New vars.
	(openp): Take a lisp list of suffixes.
	Check for file-name-handlers even if the file was absolute already.
	(syms_of_lread): Declare load-suffixes.
	(Fload): Fix up call to openp.
	Don't bother checking for file-name-handler at the very beginning.

Stefan Monnier's avatar
Stefan Monnier committed
670 671 672
	* keymap.h (Fcopy_keymap): Don't export.

	* lisp.h (empty_string): Declare.
Stefan Monnier's avatar
Stefan Monnier committed
673 674
	(Vload_suffixes, Vexec_suffixes): Declare.
	(openp): Update prototype.
Stefan Monnier's avatar
Stefan Monnier committed
675 676 677 678 679 680 681 682 683 684 685 686 687

	* emacs.c (empty_string): New var.
	(syms_of_emacs): Initialize it.

	* search.c (wordify): Use it.

	* buffer.c (Fbury_buffer): Don't try to remove the buffer from the
	selected window if it's not displayed there.  Handle the case
	when the window is dedicated.
	(syms_of_buffer): Fix docstrings not to mention "buffer-local" anymore.

	* undo.c (Fprimitive_undo): Use XCAR/XCDR.

Stefan Monnier's avatar
Stefan Monnier committed
688 689 690 691 692 693 694 695 696
	* syntax.h (struct gl_state_s): Change the meaning of b_property.
	Remove left_ok and right_ok.
	(UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE)
	(SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): Update to the
	new meaning of b_property.

	* syntax.c (update_syntax_table): Simplify.
	(Fforward_comment): Don't skip quoted chars when going backward.

697 698
2001-10-11  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
699 700 701 702 703
	* lisp.h (FIXNUM_OVERFLOW_P): Cast I to EMACS_INT in comparisons
	in case I is of some unsigned type, in which case
	MOST_NEGATIVE_FIXNUM will be converted to unsigned, and the
	comparison becomes bogus.

704 705 706 707 708 709
	* editfns.c (Fuser_uid, Fuser_real_uid): Use make_fixnum_or_float.
	(Fuser_full_name): Fix bug treating a float as a fixnum.

	* data.c (Fstring_to_number): Use make_fixnum_or_float.

	* lisp.h (make_fixnum_or_float): New macro.
Stefan Monnier's avatar
Stefan Monnier committed
710

711 712 713 714 715 716
	* lisp.h (circular_list_error): Add prototype.

	* data.c (Qcircular_list): New variable.
	(circular_list_error): New function.
	(syms_of_data): Initialize it Qcircular_list.

Stefan Monnier's avatar
Stefan Monnier committed
717 718 719 720 721
2001-10-10  Stefan Monnier  <monnier@cs.yale.edu>

	* window.c, syntax.c, macros.c, frame.c, emacs.c, cmds.c, category.c,
	casefiddle.c, buffer.c: Include keymap.h.

Gerd Moellmann's avatar
Gerd Moellmann committed
722 723 724 725 726
2001-10-10  Gerd Moellmann  <gerd@gnu.org>

	* s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
	options.  From Dave Love <d.love@dl.ac.uk>.

727 728 729 730 731
2001-10-09  Gerd Moellmann  <gerd@gnu.org>

	* regex.c (WIDE_CHAR_SUPPORT): Do not use defined() in macro.
	From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.

Gerd Moellmann's avatar
Gerd Moellmann committed
732 733 734
	* editfns.c (Fcurrent_time_zone): Cast isalnum() argument to
	unsigned char.
	From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
Stefan Monnier's avatar
Stefan Monnier committed
735

Andrew Innes's avatar
Andrew Innes committed
736 737 738 739 740 741 742 743 744 745
2001-10-08  Andrew Innes  <andrewi@gnu.org>

	* lisp.h [max]: Undef min and max before redefining them.

	* w32gui.h: Do not undef min and max.

	* w32heap.h: Do not undef min and max.

	* s/ms-w32.h: Do not undef min and max.

746 747 748 749
2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>

	* xdisp.c (handle_fontified_prop): Don't bind after-change-functions.

750 751 752 753
2001-10-08  Sam Steingold  <sds@gnu.org>

	* keymap.c (current-active-maps): Quote newlines (compilation error).

Eli Zaretskii's avatar
Eli Zaretskii committed
754 755 756 757 758 759
2001-10-08  Eli Zaretskii  <eliz@is.elta.co.il>

	* Makefile.in (lisp, shortlisp): Replace bindings.el with
	bindings.elc, since otherwise doc strings in bindings.el get wrong
	offsets in etc/DOC.

Stefan Monnier's avatar
Stefan Monnier committed
760 761
2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
762 763 764 765 766
	* lisp.h: Remove the entries for keymap.c (moved to keymap.h).

	* keyboard.h (map_prompt): Remove.

	* xterm.c, w32term.c, term.c, minibuf.c, keymap.c,
Gerd Moellmann's avatar
Gerd Moellmann committed
767
	* intervals.c, fns.c, doc.c, callint.c: Include keymap.h.
Stefan Monnier's avatar
Stefan Monnier committed
768

Stefan Monnier's avatar
Stefan Monnier committed
769 770 771 772 773 774 775 776 777 778
	* xmenu.c (keymap_panes, Fx_popup_menu): Use Fkeymap_prompt.

	* w32menu.c (keymap_panes, Fx_popup_menu): Use Fkeymap_prompt.

	* keyboard.c (map_prompt): Remove.
	(read_char_x_menu_prompt, read_char_minibuf_menu_prompt):
	Use Fkeymap_prompt.

	* keymap.h: New file.  Extracted from lisp.h.

Stefan Monnier's avatar
Stefan Monnier committed
779 780 781 782 783 784 785 786 787 788 789
	* keymap.c (Fkeymap_prompt, Fcurrent_active_maps): New funs.
	(accessible_keymaps_1): New function.
	(Faccessible_keymaps, accessible_keymaps_char_table): Use it.
	(Fwhere_is_internal): Use Fcurrent_active_maps.
	(Fdescribe_buffer_bindings): Renamed from describe_buffer_bindings.
	Insert in current buffer rather than standard-output.
	Don't call `help-mode'.  Export to elisp.
	(describe_buffer_bindings): New wrapper.
	(syms_of_keymap): Defsubr Skeymap_prompt, Scurrent_active_maps
	and Sdescribe_buffer_bindings.

790 791
2001-10-08  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
792
	* atimer.c (alarm_signal_handler) [USG && !POSIX_SIGNALS]:
793 794
	Remove code setting signal handler.

Stefan Monnier's avatar
Stefan Monnier committed
795
	* sysdep.c (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:
796 797
	Clear ICRNL and INLCR.  From Daiki Ueno <ueno@unixuser.org>.

Pavel Janík's avatar
Pavel Janík committed
798 799 800 801
2001-10-08  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* keyboard.c: Don't define min/max.

802 803
2001-10-08  Gerd Moellmann  <gerd@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
804
	* xterm.c, xmenu.c, xfns.c, xdisp.c, window.c:
Gerd Moellmann's avatar
Gerd Moellmann committed
805
	* w32term.c, w32menu.c, w32console.c, w32bdf.c, w32.c, term.c
Stefan Monnier's avatar
Stefan Monnier committed
806
	* sysdep.c, sound.c, search.c, scroll.c, minibuf.c, keymap.c
Gerd Moellmann's avatar
Gerd Moellmann committed
807
	* intervals.c, insdel.c, indent.c, fns.c, fileio.c, editfns.c
Stefan Monnier's avatar
Stefan Monnier committed
808
	* dispnew.c, dired.c, charset.c, xfaces.c, alloc.c, atimer.c:
Gerd Moellmann's avatar
Gerd Moellmann committed
809 810 811 812
	Don't define min/max.

	* lisp.h (min, max): New macros.

813 814
	* puresize.h (BASE_PURESIZE): Increase to 725000.

Pavel Janík's avatar
Pavel Janík committed
815 816
2001-10-08  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

Pavel Janík's avatar
Pavel Janík committed
817 818
	* xfaces.c (free_frame_menubar): Add prototype.

819 820 821 822 823
	* lisp.h (init_window): Add prototype.

	* editfns.c: Include ctype.h.

	* xterm.c: USE_LUCID can be defined iff USE_X_TOOLKIT is defined.
Stefan Monnier's avatar
Stefan Monnier committed
824
	(xm_scroll_callback) [USE_MOTIF]: Remove unused variable `percent'.
825 826 827
	(x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Remove unused
	variable `sb'.

Pavel Janík's avatar
Pavel Janík committed
828 829 830 831
	* xfns.c (Fx_hide_tip): Fix typo in a doc string.
	(Fx_file_dialog) [USE_MOTIF]: Remove unused variables
	`popup_activated_flag' and `title'.

Pavel Janík's avatar
Pavel Janík committed
832 833
	* doc.c (Fdocumentation_property): Fix typo in a doc string.

Pavel Janík's avatar
Pavel Janík committed
834 835
	* emacs.c (main): Remove extra `;'.

Pavel Janík's avatar
Pavel Janík committed
836 837 838 839
	* atimer.h (struct atimer): Fix typos in a comment.

	* atimer.c: Fix typo.

Pavel Janík's avatar
Pavel Janík committed
840 841 842
	* Makefile.in: Fix typo.

	* README: Remove obsolete part mentioning removed VMS file.
Pavel Janík's avatar
Pavel Janík committed
843

Miles Bader's avatar
Miles Bader committed
844 845 846 847
2001-10-07  Miles Bader  <miles@gnu.org>

	* Makefile.in (lisp, shortlisp): Add `button.elc'.

Ken Raeburn's avatar
Ken Raeburn committed
848 849
2001-10-07  Ken Raeburn  <raeburn@gnu.org>

850 851 852
	* minibuf.c (Fminibuffer_prompt_end): Don't apply make_number to a
	Lisp_Object.

Ken Raeburn's avatar
Ken Raeburn committed
853 854
	* lisp.h (Ffield_end): Declare.

Gerd Moellmann's avatar
Gerd Moellmann committed
855 856
2001-10-07  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
857 858 859 860 861 862 863 864
	* keyboard.c (parse_modifiers, apply_modifiers): Use VALMASK.

	* insdel.c (make_gap): Use MOST_POSITIVE_FIXNUM.

	* floatfns.c (FLOAT_TO_INT2, FLOAT_TO_INT): Use FIXNUM_OVERFLOW_P.

	* dired.c (Ffile_attributes): Use FIXNUM_OVERFLOW_P.

Gerd Moellmann's avatar
Gerd Moellmann committed
865 866 867 868 869 870
	* bytecode.c (syms_of_bytecode) [BYTE_CODE_METER]: Doc fix.
	(METER_CODE, Fbyte_code): Use MOST_POSITIVE_FIXNUM.

	* alloc.c (inhibit_garbage_collection): Simplify.
	(Fmemory_use_counts): Ditto.

Stefan Monnier's avatar
Stefan Monnier committed
871
	* data.c (most_positive_fixnum, most_negative_fixnum): New variables.
Gerd Moellmann's avatar
Gerd Moellmann committed
872 873 874
	(syms_of_data): DEFVAR_INT most-positive-fixnum and
	most-negative-fixnum.

Stefan Monnier's avatar
Stefan Monnier committed
875
	* lisp.h (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM)
Gerd Moellmann's avatar
Gerd Moellmann committed
876 877
	(FIXNUM_OVERFLOW_P): New macros.

Miles Bader's avatar
Miles Bader committed
878 879 880 881 882 883 884 885 886 887 888 889 890
2001-10-06  Miles Bader  <miles@gnu.org>

	* xterm.h (struct x_output): Add scroll_bar_top_shadow_pixel and
	scroll_bar_bottom_shadow_pixel fields.
	* xterm.c (x_create_toolkit_scroll_bar): Try to allocate colors
	for the shadows, and tell the toolkit about them if we succeed.
	(x_destroy_window) [USE_TOOLKIT_SCROLL_BARS]:
	Free scroll-bar shadow colors.
	* xfns.c (x_set_scroll_bar_background) [USE_TOOLKIT_SCROLL_BARS]:
	Free scroll-bar shadow colors when the background color changes.
	(Fx_create_frame, x_create_tip_frame) [USE_TOOLKIT_SCROLL_BARS]:
	Initialize scroll-bar shadow-color fields.

Gerd Moellmann's avatar
Gerd Moellmann committed
891 892 893 894
2001-10-05  Gerd Moellmann  <gerd@gnu.org>

	* fileio.c (Fcopy_file): If NEWNAME is a directory copy FILE there.

Miles Bader's avatar
Miles Bader committed
895 896
2001-10-05  Miles Bader  <miles@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
897 898
	* minibuf.c (Fminibuffer_prompt_end, Fminibuffer_contents)
	(Fminibuffer_contents_no_properties, Fdelete_minibuffer_contents):
Miles Bader's avatar
Miles Bader committed
899
	New functions (were in simple.el).
Stefan Monnier's avatar
Stefan Monnier committed
900
	(Fminibuffer_complete_and_exit, Fminibuffer_complete_word)
Miles Bader's avatar
Miles Bader committed
901 902 903
	(read_minibuf, do_completion, Fminibuffer_completion_help): Use them.
	(syms_of_minibuf): Initialize them.

Gerd Moellmann's avatar
Gerd Moellmann committed
904 905 906 907 908
2001-10-05  Gerd Moellmann  <gerd@gnu.org>

	* xfns.c (tiff_error_handler, tiff_warning_handler): New functions.
	(tiff_load): Install them as error and warning handler.

Andrew Innes's avatar
Andrew Innes committed
909 910 911 912
2001-10-04  Andrew Innes  <andrewi@gnu.org>

	* w32fns.c (x_to_w32_color): Fix argument to alloca.
	(w32_load_system_font): Don't believe what GetLanguageFontInfo
Stefan Monnier's avatar
Stefan Monnier committed
913
	says; query codepage info directly to determine if font is double byte.
Andrew Innes's avatar
Andrew Innes committed
914 915 916 917 918 919 920 921 922 923
	(x_to_w32_charset): Handle private format for unknown charsets.
	Handle wildcards in charset spec, by ignoring them.
	(w32_codepage_for_font): Fix argument to alloca.  Don't remove
	"*-" prefix from charset.
	(x_to_w32_font): Enlarge remainder array for safety.  Specifically
	handle the truncated font spec form constructed by font_list_1, so
	that we correctly identify the charset fields.  Don't remove "*-"
	prefix from charset.
	(w32_list_synthesized_fonts): Fix argument to alloca.

Gerd Moellmann's avatar
Gerd Moellmann committed
924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
2001-10-04  Stefan Monnier  <monnier@cs.yale.edu>

	* window.h (MINI_WINDOW_P): Use NILP.

	* coding.h (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT.

	* termhooks.h (struct input_event): Use proper type for `kind'.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	This handles unknown keysyms better than before.  For example,
	after `xmodmap -e 'keysym F5 = ccaron' in a Latin-1 environment,
	Emacs formerly completely ignored F5.  With the change, it derives
	a key symbol from the name of the X keysym, `ccaron' in this case.
	Reported by Martin Buchholz.

	* xterm.c (XTread_socket): Return a non_ascii_keystroke for
	unknown keysyms.

	* keyboard.c (make_lispy_event) [HAVE_X_WINDOWS]: If we know
	that EVENT->code isn't a function key, use the keysym's name.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	FOREACH is a macro that should make it easier to loop over Lisp
	lists with checks for cycles and proper lists.

	* lisp.h (LIST_END_P, FOREACH): New macros.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	On some systems, XtCloseDisplay seems to cause a SIGSEGV when
	called for a lost connection.  Prevent dumping core in this case.
	Instead print the X error, and exit.  On user request.

	* xterm.c (error_msg): New variable.
	(x_fatal_error_signal): New function.
	(x_connection_closed): Set error_msg.  Install x_fatal_error_signal
	as fatal_error_signal_hook around the call to XtCloseDisplay.

	* emacs.c (fatal_error_signal_hook): New variable.
	(fatal_error_signal): Call that function.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	With this, Emacs prints how much pure storage it will
	approximately need in case pure storage overflows while dumping.

	* alloc.c (purebeg, pure_size, pure_bytes_used_before_overflow):
	New variables.
	(init_alloc_once): Initialize new variables.
	(PURE_POINTER_P): Use new variables.
	(pure_alloc): If pure storage overflows, allocate from the heap.
	(check_pure_size): New function.
	(Fgarbage_collect): Don't GC if pure storage has overflowed.

	* lisp.h (pure_size) [HAVE_SHM]: Declare extern size_t.
	(check_pure_size): Add prototype.

	* emacs.c (Fdump_emacs_data, Fdump_emacs): Call check_pure_size.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	This adds a post-gc-hook that's run with GC inhibited.
	Requested by Francois Pinard.  XEmacs has it.  Added to NEWS.

	* alloc.c (Vpost_gc_hook, Qpost_gc_hook): New variables.
	(syms_of_alloc): DEFVAR_LISP post-gc-hook, initialize Qpost_gc_hook.
	(Fgarbage_collect): Run post-gc-hook.

2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	This adds `defvaralias' and `indirect-variable'.  Changes not
	directly related to this feature are there to gain the same
	performance again as before variable aliases.

	You must use the SYMBOL_VALUE and SET_SYMBOL_VALUE macros in C
	code to get and set symbol values, to take defvaralias into account.

	(Note: the new `constant' bit-flag in symbols would make it
	possible to define arbitrary read-only variables, e.g. with
	`defconst'.)

	Documentation is in lispref/variables.texi.  Added to NEWS.

	* lisp.h (enum symbol_interned): New enumeration.
	(struct Lisp_Symbol): Remove member `obarray', add
	`indirect_variable', `constant', and `interned'.
	(SYMBOL_INTERNED_P, SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P)
	(SYMBOL_CONSTANT_P, SYMBOL_VALUE, SET_SYMBOL_VALUE): New macros.
	(indirect_variable): Add prototype.

	* print.c (print_preprocess, print_object): Test internedness of
	symbols differently.

	* lread.c (Fintern, Funintern): Set symbol's interned and constant
	bit-fields.
	(init_obarray): Likewise for t and nil.

	* eval.c Use SYMBOL_VALUE/SET_SYMBOL_VALUE.
	(Fdefvaralias): New function.
	(specbind): Simplify the test if symbol is a constant.
	(syms_of_eval): Defsubr Fdefvaralias.

	* data.c: Use SYMBOL_VALUE/SET_SYMBOL_VALUE.
	(Qcyclic_variable_indirection): New variable.
	(Fkeywordp): Check for internedness differently.
	(Fmakunbound): Simplify the test if symbol is a constant.
	(indirect_variable, Findirect_variable): New functions.
	(swap_in_symval_forwarding): If SYMBOL is an alias, use the
	aliased symbol.
	(let_shadows_buffer_binding_p): Check for variable aliases.
	(set_internal): Simplify the test if SYMBOL is a constant.
	If SYMBOL has a buffer-local value and is an alias, use the aliased
	symbol instead.
	(syms_of_data): Initialize Qcyclic_variable_indirection and defsubr
	Sindirect_variable.

	* bytecode.c (Fbyte_code) <varref>: Use SYMBOL_VALUE.
	(Fbyte_code) <varset>: Simplify the test if symbol's value can be
	set directly.

	* alloc.c (Fmake_symbol): Adapt to changes of struct Lisp_Symbol.

	* abbrev.c, buffer.c, coding.c, fns.c, frame.c, keyboard.c:
	* minibuf.c, sunfns.c, w16select.c: Use SYMBOL_VALUE/
	SET_SYMBOL_VALUE macros instead of accessing symbol values directly.

Gerd Moellmann's avatar
Gerd Moellmann committed
1052 1053 1054
2001-10-04  Gerd Moellmann  <gerd@gnu.org>

	* Branch for 21.1.
1055

1056 1057 1058 1059 1060 1061
2001-10-03  Miles Bader  <miles@gnu.org>

	* callproc.c (syms_of_callproc): Explicitly state in the
	documentation for `process-environment' that earlier entries take
	precedence over later ones.

Miles Bader's avatar
Miles Bader committed
1062 1063 1064 1065 1066 1067
2001-10-02  Miles Bader  <miles@gnu.org>

	* textprop.c (Fnext_char_property_change)
	(Fprevious_char_property_change): Remove reference to non-existant
	argument OBJECT from doc-string.

1068 1069 1070 1071 1072 1073 1074 1075 1076
2001-10-01  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (display_line): Set row's ends_in_newline_from_string_p.
	(try_window_id): Skip back over lines ending in a newline from a
	string.

	* dispextern.h (struct glyph_row) <ends_in_newline_from_string_p>:
	New bit flag

1077 1078 1079 1080
2001-10-01  Richard M. Stallman  <rms@gnu.org>

	* search.c (Freplace_match): Doc fix.

1081 1082 1083 1084 1085 1086
2001-09-28  Andrew Innes  <andrewi@gnu.org>

	* w32menu.c (set_frame_menubar): Take into account that
	f->menu_bar_vector can be nil, and not a vector.  From Ken Raeburn
	<raeburn@gnu.org>.

Eli Zaretskii's avatar
Eli Zaretskii committed
1087 1088 1089 1090
2001-09-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* frame.c (syms_of_frame) <default-minibuffer-frame>: Doc fix.

Pavel Janík's avatar
Pavel Janík committed
1091 1092 1093 1094
2001-09-28  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* s/gnu-linux.h: Fix a typo in comment.

Andreas Schwab's avatar
.  
Andreas Schwab committed
1095 1096 1097 1098 1099
2001-09-28  Andreas Schwab  <schwab@suse.de>

	* s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Link temacs with -z
	nocombreloc, in case -z combreloc is the default.

1100 1101 1102 1103 1104
2001-09-28  Gerd Moellmann  <gerd@gnu.org>

	* m/macppc.h [DATA_SEG_BITS]: Put in #if 0 until we know what's
	really going on here.

1105 1106 1107 1108
2001-09-27  Stefan Monnier  <monnier@cs.yale.edu>

	* search.c (trivial_regexp_p): Catch \{N,M\} as well.

1109 1110 1111 1112 1113 1114 1115 1116
2001-09-27  Eli Zaretskii  <eliz@is.elta.co.il>

	* Makefile.in (shortlisp): Resync with loadup.el: add backquote,
	utf-8, menu-bar, and latin-N.
	(SOME_MACHINE_LISP): Remove menu-bar, since it's loaded
	unconditionally now.
	(lisp): Add latin-N, since they are preloaded.

Gerd Moellmann's avatar
Gerd Moellmann committed
1117 1118
2001-09-27  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1119 1120 1121
	* xterm.c (x_draw_relief_rect): Draw bottom relief 1 pixel more
	to the left.  Some cleanup.

Gerd Moellmann's avatar
Gerd Moellmann committed
1122 1123 1124
	* xdisp.c (display_mode_element): One more case where a string's
	multibyteness should be used for display.

1125 1126
2001-09-26  Gerd Moellmann  <gerd@gnu.org>

1127 1128 1129
	* fileio.c (Finsert_file_contents): If REPLACE is non-nil, stop
	reading at EOF.

1130
	* xdisp.c (with_echo_area_buffer): Use echo_kboard instead
Gerd Moellmann's avatar
Gerd Moellmann committed
1131
	of the only temporarily set echoing flag for deciding when
1132 1133 1134 1135 1136 1137
	the cancel echoing.

	* keyboard.c (echo_kboard): Make externally visible.

	* lisp.h (echo_kboard): Declare extern.

1138
	* xdisp.c (make_cursor_line_fully_visible): Return 0 and set
Gerd Moellmann's avatar
Gerd Moellmann committed
1139
	fonts_changed_p if we need larger matrices due to vscrolling.
1140 1141 1142
	(try_scrolling, try_cursor_movement, redisplay_window): Give up on
	this round of redisplay if make_cursor_line_fully_visible fails.
	(CURSOR_MOVEMENT_*, SCROLLING_*): New enumerators.
1143
	(try_cursor_movement, try_scrolling): Use them instead of integers.
1144 1145 1146 1147

	* dispextern.h (required_matrix_width, required_matrix_height):
	Add prototypes.

1148 1149
	* dispnew.c (required_matrix_width, required_matrix_height):
	New functions.
1150
	(allocate_matrices_for_window_redisplay)
1151 1152
	(allocate_matrices_for_frame_redisplay: Use them.
	Remove parameters CH_DIM.
1153

1154 1155 1156 1157
	* xdisp.c (display_mode_lines): Temporarily set selected_frame
	and selected_window to the frame of the window whose mode-lines
	are displayed, and to the window itself.
	(redisplay_window, redisplay_mode_lines): Don't set selected_frame
1158
	here.
1159

Gerd Moellmann's avatar
Gerd Moellmann committed
1160 1161
2001-09-25  Gerd Moellmann  <gerd@gnu.org>

1162 1163 1164
	* xfns.c (x_kill_gs_process): Recognize if someone has cleared
	the image cache under us.

1165
	* xdisp.c (display_mode_element): If the mode element is a symbol
1166
	with a string value, use that string's multibyteness for displaying.
1167

Gerd Moellmann's avatar
Gerd Moellmann committed
1168 1169 1170
	* keyboard.c (read_char): Don't clear a message for a switch-frame
	event.   From Stefan Monnier  <monnier@cs.yale.edu>.

1171 1172 1173 1174 1175 1176 1177
	* xterm.c (fast_find_position) [0]: Add a presumably more correct
	version for after 21.1.

	* xdisp.c (row_containing_pos): Make externally visible.

	* dispextern.h (row_containing_pos): Add prototype.

Gerd Moellmann's avatar
Gerd Moellmann committed
1178 1179 1180
	* process.c (send_process): Disable composition if from_byte < 0.
	From Kenichi Handa <handa@etl.go.jp>.

Gerd Moellmann's avatar
Gerd Moellmann committed
1181 1182
2001-09-24  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1183 1184
	* xterm.c (refreshicon): Function removed.

1185 1186 1187 1188 1189 1190
	* Makefile.in (xterm.o): Remove references to sink.h and sinkmask.h.

	* sink11.h, sink11mask.h, sink.h, sinkmask.h: Removed.

	* xterm.c (toplevel): Remove includes in #if 0.

Gerd Moellmann's avatar
Gerd Moellmann committed
1191 1192 1193
	* process.c (sigchld_handler) [LINUX]: Don't return from
	the signal handler at the end of the loop.

1194 1195
2001-09-21  Gerd Moellmann  <gerd@gnu.org>

1196 1197
	* sysdep.c (wait_for_termination) [POSIX_SIGNALS]:
	Terminate only if kill returns -1, and errno is ESRCH.
1198

1199 1200 1201 1202
2001-09-21  Markus Rost  <rost@math.ohio-state.edu>

	* Makefile.in (shortlisp): Add ../lisp/env.elc.

1203 1204
2001-09-20  Gerd Moellmann  <gerd@gnu.org>

1205 1206 1207
	* process.c (sigchld_handler): Use GC_CONSP, GC_INTEGERP, GC_EQ
	since this function can be called during GC.

1208 1209 1210
	* callproc.c (Fcall_process): Handle errors from pipe(2).
	(child_setup): Delete code in #ifdef vipc.

Gerd Moellmann's avatar
Gerd Moellmann committed
1211 1212
2001-09-19  Gerd Moellmann  <gerd@gnu.org>

1213 1214 1215 1216
	* xdisp.c (decode_mode_spec): Add parameter MULTIBYTE.
	(display_mode_element): Display the string from decode_mode_spec
	depending on its multibyteness.

1217 1218
	* s/netbsd.h (LD_SWITCH_SYSTEM, C_SWITCH_SYSTEM): Add /usr/pkg.

Gerd Moellmann's avatar
Gerd Moellmann committed
1219 1220
	* m/macppc.h (DATA_SEG_BITS): Also define for GCC 3.

1221 1222
2001-09-18  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1223 1224 1225 1226 1227
	* keyboard.c (Frecursive_edit): Pass (BUFFER . SINGLE-KBOARD) to
	recursive_edit_unwind.
	(recursive_edit_unwind): Set kboard state according to
	SINGLE-KBOARD.

Gerd Moellmann's avatar
Gerd Moellmann committed
1228 1229 1230 1231 1232 1233
	* buffer.c (modify_overlay): Don't do nothing if START == END;
	This can still be a modification, for example when an overlay has
	a before-string or after-string.
	(Fdelete_overlay): Prevent redisplay optimizations when deleting
	an overlay with before-string or after-string.

Gerd Moellmann's avatar
Gerd Moellmann committed
1234 1235 1236
	* s/netbsd.h (C_SWITCH_SYSTEM): Add.
	(LD_SWITCH_SYSTEM): Include /usr/local/lib.

1237 1238 1239 1240 1241
	* xdisp.c (try_window_id) [!GLYPH_DEBUG]: Give up if
	first_unchanged_at_end_row is in front of
	last_unchanged_at_beg_row.  This code should be removed after the
	release of 21.1.

Gerd Moellmann's avatar
Gerd Moellmann committed
1242 1243
2001-09-17  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1244 1245 1246
	* buffer.h (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and
	BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF.

Gerd Moellmann's avatar
Gerd Moellmann committed
1247 1248 1249
	* m/macppc.h (DATA_SEG_BITS) [__linux__]: Define for GCC
	versions >= 2.95.

Eli Zaretskii's avatar
Eli Zaretskii committed
1250 1251 1252 1253
2001-09-14  Eli Zaretskii  <eliz@is.elta.co.il>

	* dired.c (Ffile_attributes): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
1254 1255 1256 1257 1258 1259
2001-09-14  Gerd Moellmann  <gerd@gnu.org>

	* fileio.c (Ffile_symlink_p): Fix last change.

	* filelock.c (current_lock_owner): Fix last change.

1260 1261
2001-09-13  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1262 1263 1264
	* filelock.c (current_lock_owner): If readlink returns ERANGE,
	take that to mean that the buffer is too small.

1265 1266 1267
	* fileio.c (Ffile_symlink_p): If readlink returns ERANGE, take
	that to mean that the buffer is too small.

1268 1269 1270 1271
	* xdisp.c (reseat_1): Set IT's multibyte_p flag according to the
	current buffer's multibyteness when discarding the iterator's
	stack.

1272 1273 1274
	* xfns.c (Fx_window_property): Handle case that property gets
	deleted between the two calls to XGetWindowProperty.

Gerd Moellmann's avatar
Gerd Moellmann committed
1275 1276
2001-09-11  Gerd Moellmann  <gerd@gnu.org>

1277
	* minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks.
1278

1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
	* minibuf.c (read_minibuf): Bind inhibit-modification-hooks to t,
	in addition to read-only.

	* xdisp.c (with_echo_area_buffer): Bind inhibit-modification-hooks
	to t in addition to read-only.

	* lisp.h (Qinhibit_modification_hooks): Declare.

	* insdel.c (Qinhibit_modification_hooks): New variable.
	(syms_of_insdel): Initialize and staticpro it.

1290 1291 1292 1293 1294 1295 1296
	* textprop.c (verify_interval_modification): Don't run
	modification-hooks if inhibit_modification_hooks.

	* dispnew.c (set_window_cursor_after_update): Fix code
	finding glyph row containing cursor when cursor_in_echo_area
	is >= 0.

Gerd Moellmann's avatar
Gerd Moellmann committed
1297 1298 1299 1300 1301
	* xdisp.c (init_from_display_pos): Put some code in #if 0.
	(add_to_log): Use bcopy instead of strcpy.
	(init_from_display_pos): Use an explicit loop over bytes in
	overlay strings instead of calling index.

1302 1303
2001-09-10  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1304 1305 1306 1307 1308
	* alloc.c (allocate_buffer): Call VALIDATE_LISP_STORAGE.

	* dispnew.c (direct_output_for_insert): Don't change IT's
	stop_charpos to something in front of its current position.

1309 1310 1311
	* xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: Take args like
	`format'.

1312 1313 1314 1315
2001-09-10  Richard M. Stallman  <rms@gnu.org>

	* frame.c (Fmouse_position): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
1316 1317 1318 1319 1320
2001-09-07  Gerd Moellmann  <gerd@gnu.org>

	* xdisp.c (init_from_display_pos): Don't compare the result
	of calling index with NULL.

1321 1322 1323 1324 1325
2001-09-06  Gerd Moellmann  <gerd@gnu.org>

	* xfns.c (x_set_background_color): Don't change the colors
	of the X window of scroll bar widgets.

1326 1327 1328 1329
2001-09-05  Andrew Innes  <andrewi@gnu.org>

	* w32fns.c (w32_createwindow): Undo last change.

Gerd Moellmann's avatar
Gerd Moellmann committed
1330 1331
2001-09-05  Gerd Moellmann  <gerd@gnu.org>

1332 1333
	* macros.c (store_kbd_macro_char): Fix computation of kbd_macro_end.

Gerd Moellmann's avatar
Gerd Moellmann committed
1334 1335
	* xdisp.c (string_buffer_position): Use *single_char_property*
	functions instead of the *single_property* functions.
1336

1337 1338
2001-09-04  Andrew Innes  <andrewi@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1339 1340
	* w32term.c (w32_read_socket): Add more information to debugging
	output.
1341 1342 1343 1344 1345 1346 1347 1348

	* w32fns.c (w32_createwindow): Remove the WS_CLIPCHILDREN style
	from Emacs frames, so that calls to GetClipBox in w32term.c
	correctly report when part of a frame is visible (including
	scrollbars, etc).  This prevents repeated redrawing of frames when
	only a scrollbar is visible.
	(w32_wnd_proc): Add more frame information to debugging output.

Stefan Monnier's avatar
Stefan Monnier committed
1349 1350 1351 1352
2001-09-03  Stefan Monnier  <monnier@cs.yale.edu>

	* xdisp.c (handle_single_display_prop): Fix for int/Lisp_Object mixup.

Gerd Moellmann's avatar
Gerd Moellmann committed
1353 1354
2001-09-03  Gerd Moellmann  <gerd@gnu.org>

1355 1356 1357 1358 1359 1360 1361 1362 1363 1364
	* xterm.c (note_mouse_highlight) <help-echo>: When looking for
	help-echo for a string which doesn't have help-echo itself, use
	get-char-property to obtain the help-echo from the string's buffer
	(note_mouse_highlight) <mouse-face>: When on a string that doesn't
	have mouse-face, look ``under'' the string for mouse-face from an
	overlay.
	(fast_find_position): Add parameter STOP.  In the final row, stop
	before glyphs having STOP as object.  Don't consider glyphs that
	are not from a buffer.

Gerd Moellmann's avatar
Gerd Moellmann committed
1365 1366
	* buffer.c (syms_of_buffer) <default-directory>: Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
1367 1368 1369 1370
2001-09-01  Eli Zaretskii  <eliz@is.elta.co.il>

	* fns.c (Fmd5): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
1371 1372 1373 1374 1375
2001-08-31  Gerd Moellmann  <gerd@gnu.org>

	* composite.c (update_compositions): Do nothing if
	inhibit-modification-hooks is set.

Gerd Moellmann's avatar
Gerd Moellmann committed
1376 1377
2001-08-30  Gerd Moellmann  <gerd@gnu.org>

Gerd Moellmann's avatar
Gerd Moellmann committed
1378
	* emacs.c (shut_down_emacs): Don't call check_glyph_memory
Eli Zaretskii's avatar
Eli Zaretskii committed
1379
	and check_message_stack if terminating abnormally.  We want
Gerd Moellmann's avatar
Gerd Moellmann committed
1380 1381
	glyph matrices etc. in a core dump.

Gerd Moellmann's avatar
Gerd Moellmann committed
1382 1383 1384 1385
	* xdisp.c (Qbuffer_position, Qposition, Qobject): New variables.
	(syms_of_xdisp): Initialize them.
	(handle_single_display_prop): Don't change point, bind `object',
	`position', and `buffer-position' instead to the object having the
Stefan Monnier's avatar
Stefan Monnier committed
1386
	`display' property, position in the object and position in the buffer.
Gerd Moellmann's avatar
Gerd Moellmann committed
1387

Gerd Moellmann's avatar
Gerd Moellmann committed
1388 1389 1390
	* fileio.c (Finsert_file_contents): Don't change the multibyteness
	of the buffer if REPLACE is non-nil.

1391 1392 1393 1394
2001-08-29  Gerd Moellmann  <gerd@gnu.org>

	* fileio.c (Finsert_file_contents): Undo change of 2001-08-27.

1395 1396 1397 1398 1399
2001-08-28  Eli Zaretskii  <eliz@is.elta.co.il>

	* w32term.c (x_set_glyph_string_background_width)
	(show_mouse_face): Track the last changes in xterm.c.

Gerd Moellmann's avatar