2002-07-03 Andrew Choi <akochoi@shaw.ca>
[bpt/emacs.git] / src / ChangeLog
1 2002-07-03 Andrew Choi <akochoi@shaw.ca>
2
3 * macterm.c (init_font_name_table): Also add entry for
4 jisx0201.1976-0 coding for Japanese font.
5 (XLoadQueryFont): Use it.
6
7 2002-07-02 Richard M. Stallman <rms@gnu.org>
8
9 * keymap.c (Fdefine_key): Doc fix.
10
11 * xterm.c (x_term_init): Turn off polling around XtOpenDisplay.
12
13 2002-07-02 Juanma Barranquero <lektu@terra.es>
14
15 * keymap.c (syms_of_keymap): Fix typo.
16
17 2002-07-01 Andrew Choi <akochoi@shaw.ca>
18
19 * s/darwin.h: Define POSIX_SIGNALS.
20
21 * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
22 and FSRefMakePath to convert FSSpec returned with Apple Event to
23 Posix pathname.
24 (mac_initialize) [TARGET_API_MAC_CARBON]: Call
25 init_required_apple_events and disable the `Quit' menu item
26 provided automatically by the Carbon Toolbox.
27
28 2002-07-01 Dave Love <fx@gnu.org>
29
30 * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
31 for K&R.
32
33 * xterm.c: Fix prototype for K&R.
34
35 * term.c (costs_set): Declare static, non-initialized for pcc.
36
37 2002-07-01 Richard M. Stallman <rms@gnu.org>
38
39 * keyboard.c (timer_last_idleness_start_time): New variable.
40 (timer_start_idle): Set that.
41 (read_key_sequence): Use that to reset timer_idleness_start_time
42 to previous value.
43
44 * window.c (Frecenter): With arg, set optional_new_start.
45
46 * xdisp.c (redisplay_internal): Make optional_new_start really work.
47
48 * minibuf.c (Fminibuffer_complete_and_exit): Move to end of
49 buffer for completion.
50
51 2002-06-29 Ken Raeburn <raeburn@gnu.org>
52
53 * xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
54
55 2002-06-28 Jan D. <jan.h.d@swipnet.se>
56
57 * keyboard.c (readable_filtered_events): New function that filters
58 FOCUS_IN_EVENT depending on parameter.
59 (readable_events): Calls readable_filtered_events, not filtering
60 FOCUS_IN_EVENT.
61 (get_filtered_input_pending): New function, filtering parameter passed
62 to readable_filtered_events.
63 (get_input_pending): Calls get_filtered_input_pending, not filtering
64 FOCUS_IN_EVENT.
65 (Finput_pending_p): Calls get_filtered_input_pending, DO filter
66 FOCUS_IN_EVENT.
67
68 * xterm.h (struct x_output): Add focus_state.
69
70 * xterm.c (x_focus_changed): New function.
71 (x_detect_focus_change): New function.
72 (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
73 EnterNotify and LeaveNotify to track X focus changes.
74
75 2002-06-28 Andreas Schwab <schwab@suse.de>
76
77 * lisp.h: Remove duplicate declaration of
78 code_convert_string_norecord.
79
80 2002-06-27 Kim F. Storm <storm@cua.dk>
81
82 * xdisp.c: (mode_line_string_list, mode_line_string_face)
83 (mode_line_string_face_prop): New variables.
84 (store_mode_line_string): New function.
85 (display_mode_element): Use store_mode_line_string to
86 add mode-line string elements to mode_line_string_list
87 when mode_line_string_list is non-nil.
88 (Fformat_mode_line): Now returns propertized string by
89 default. New arg NO-PROPS to ignore properties.
90 (decode_mode_spec): Only add two dashes for %- in propertized
91 mode-line string.
92 (syms_of_xdisp): Init and staticpro mode_line_string_list.
93
94 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
95
96 * minibuf.c (minibuffer_completion_contents): Add return type.
97
98 2002-06-27 Juanma Barranquero <lektu@terra.es>
99
100 * charset.c (Fchar_bytes): Remove obsolescence info from docstring.
101
102 2002-06-26 Juanma Barranquero <lektu@terra.es>
103
104 * fileio.c (read_file_name_cleanup): Add missing return.
105
106 2002-06-26 Richard M. Stallman <rms@gnu.org>
107
108 * window.c (Frecenter): Don't set force_start flag.
109
110 * minibuf.c (do_completion, Fminibuffer_complete_word)
111 (Fminibuffer_completion_help): Complete just the text before point.
112 (minibuffer_completion_contents): New function.
113
114 * buffer.c (Fbury_buffer): Use frames_discard_buffer.
115
116 * frame.c (frames_bury_buffer): Function deleted.
117
118 2002-06-25 Miles Bader <miles@gnu.org>
119
120 * callint.c (Fcall_interactively): When checking to see if doprnt hit
121 the end of callint_message, allow for a terminating '\0'.
122
123 2002-06-24 Juanma Barranquero <lektu@terra.es>
124
125 * w32select.c: Include composite.h
126
127 * w16select.c: Likewise.
128
129 2002-06-24 Kenichi Handa <handa@etl.go.jp>
130
131 * callproc.c (Fcall_process): If code detection is necessary,
132 call detect_coding directly here.
133
134 * coding.c (detect_eol): Preserve coding->cmp_data.
135
136 * w16select.c (Fw16_get_clipboard_data): Disable composition handling.
137
138 * w32fns.c (w32_to_x_font): Disable composition handling.
139
140 * w32select.c (Fw32_get_clipboard_data): Disable composition handling.
141
142 * xselect.c (selection_data_to_lisp_data): Disable composition
143 handling.
144
145 * xterm.c (XTread_socket): Disable composition handling.
146
147 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
148
149 * print.c (temp_output_buffer_setup): Kill all local variables.
150
151 2002-06-22 Stefan Monnier <monnier@cs.yale.edu>
152
153 * lread.c (Fread): Remove redundant and imprecise declaration.
154
155 * xfns.c (check_x_display_info): Use check_x_frame.
156
157 * .gdbinit (xprintsym): Use the new `xname' field.
158 (xsymbol): Use it.
159
160 2002-06-22 Jason Rumney <jasonr@gnu.org>
161
162 * w32fns.c (file_dialog_callback): New function.
163 (Fx_file_dialog): Allow selecting directories as well as files.
164
165 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
166
167 * m/pmax.h (START_FILES): Define START_FILES for NetBSD and
168 OpenBSD. Add support for mipseb-*-netbsd* machines.
169
170 2002-06-17 Andrew Choi <akochoi@shaw.ca>
171
172 * macterm.c (mac_scroll_area): Set foreground and backcolor to
173 black and white before scrolling. Restore frame background and
174 foreground color after scrolling.
175 (do_window_update): Call XClearWindow before calling expose_frame.
176 (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and
177 FRAME_FOREGROUND_PIXEL of frame.
178
179 * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
180 test Mac command key as <ALT> key.
181
182 2002-06-17 Stefan Monnier <monnier@cs.yale.edu>
183
184 * window.c (Fset_window_configuration): Lisp_Object/int mixup.
185
186 * keyboard.c (read_key_sequence): Be more careful with first_unbound.
187 Lookup keys in function-key-map immediately so that key-translation-map
188 can be applied earlier.
189 Remove function_key_possible and key_translation_possible, replaced
190 by checking `keytran_start < t'.
191
192 * .gdbinit (xsymbol): Use the new `xname' field.
193
194 2002-06-17 Andrew Choi <akochoi@shaw.ca>
195
196 * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
197 test Mac command key as <ALT> key.
198
199 * mac.c (do_applescript): Call initialize_applescript if necessary
200 when first called. Dispose of result_desc only when there is no error.
201 (Fdo_applescript): Use %d format specifier instead of %ld.
202
203 2002-06-16 Andrew Choi <akochoi@shaw.ca>
204
205 * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead
206 of FrontWindow for cases keyDown and autoKey.
207
208 * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
209 Vdefault_fontset to Monaco with mac-roman coding.
210
211 * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
212 init_process before and after inclusion of Carbon/Carbon.h, resp.
213
214 * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
215 cursor_gc.
216 (add_font_name_table_entry): New function.
217 (init_font_name_table): Use add_font_name_table_entry; add italic,
218 bold, and bold-italic entries for truetype fonts.
219
220 * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
221 for Mac too.
222 (try_font_list) [MAC_OS]: If no font matches given registry, try
223 fonts with any registry matching face_family.
224 (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here.
225
226 * s/darwin.h: If autoconf detects the Ncurses library, define
227 LIBS_TERMCAP to -lncurses to use it.
228
229 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il>
230
231 * strftime.c [__hpux]: Include sys/_mbstate_t.h.
232
233 2002-06-15 Richard M. Stallman <rms@gnu.org>
234
235 * window.c (Fset_window_configuration): Explicitly preserve
236 the point value that new_current_buffer had at the start.
237
238 2002-06-14 Juanma Barranquero <lektu@terra.es>
239
240 * composite.c (Fcompose_region_internal, Fcompose_string_internal):
241 Fix typos.
242
243 2002-06-14 Kim F. Storm <storm@cua.dk>
244
245 * insdel.c (insert_1_both, insert_from_string_1)
246 (insert_from_buffer_1): Recalculate END_UNCHANGED in case the
247 insert happened in the end_unchanged region. Otherwise, the
248 redisplay may be confused and duplicate the last line in the
249 buffer [seen after save-buffer when require-final-newline==t].
250
251 2002-06-13 Jason Rumney <jasonr@gnu.org>
252
253 * w32.c (init_environment): Remove EMACSLOCKDIR.
254 (stat): Swap _S_IFDIR and _S_IFREG.
255
256 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
257
258 * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c
259 * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c,
260 * w32menu.c, w32inevt.c: Rename enum event_kind as follows:
261 ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke
262 to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to
263 NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click
264 to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT,
265 language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click
266 to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to
267 W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to
268 SELECTION_REQUEST_EVENT, selection_clear_event to
269 SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT,
270 delete_window_event to DELETE_WINDOW_EVENT, iconify_event to
271 ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT,
272 menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to
273 DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and
274 no_event to NO_EVENT.
275
276 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
277
278 * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind.
279
280 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
281
282 * intervals.c (textget): Don't forget to `return'.
283 (lookup_char_property): Use XCAR/XCDR.
284
285 2002-06-12 Juanma Barranquero <lektu@terra.es>
286
287 * xdisp.c (Fformat_mode_line): Fix typo.
288
289 2002-06-12 Kim F. Storm <storm@cua.dk>
290
291 * xdisp.c (Fformat_mode_line): New function.
292 (frame_title_buf, frame_title_buf_end, frame_title_ptr)
293 (store_frame_title_char, store_frame_title): Use unconditionally.
294 (init_xdisp): Defsubr Fformat_mode_line.
295 Initialize frame_title_buf etc. unconditionally.
296
297 2002-06-11 Stefan Monnier <monnier@cs.yale.edu>
298
299 * keyboard.c (read_key_sequence):
300 Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass
301 things through those maps after downcasing events.
302 Enforce that keytran_end <= fkey_start, i.e. that key-translation-map
303 applies after function-key-map.
304 Make sure that keytran can be done in the middle in the sequence.
305 Be careful not to throw away events past the one we downcase.
306
307 * lread.c (read_integer): Remove unused var `tem'.
308 (read1): Fix int/Lisp_Object mixup.
309
310 * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed.
311
312 2002-06-11 Richard M. Stallman <rms@gnu.org>
313
314 * keyboard.c (readable_events): Ignore any number of
315 FOCUS_IN_EVENT events and return 0 if nothing else in buffer.
316
317 2002-06-09 Miles Bader <miles@gnu.org>
318
319 * xfaces.c (Ftty_supports_face_attributes_p): New function.
320 (parse_rgb_list, tty_lookup_color): New functions.
321 (tty_defined_color): Use `tty_lookup_color' to do all the work.
322 (color_distance, Fcolor_distance): New functions.
323 (TTY_SAME_COLOR_THRESHOLD): New macro.
324 (Qtty_color_standard_values): New variable.
325 (syms_of_xfaces): Initialize new vars & functions.
326
327 2002-06-08 Colin Walters <walters@verbum.org>
328
329 * textprop.c (Vchar_property_alias_alist): New variable.
330 (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP.
331
332 * intervals.c (lookup_char_property): New function for looking up
333 overlay and text properties, created from textget.
334 (textget): Use it.
335
336 * intervals.h (lookup_char_property): Declare.
337 (Vchar_property_alias_alist): Declare.
338
339 * buffer.c (Foverlay_get): Use lookup_char_property.
340
341 2002-06-07 Sam Steingold <sds@gnu.org>
342
343 * xselect.c (lisp_data_to_selection_data): Fix last change:
344 *data_ret is not a Lisp string, while unibyte_string is.
345
346 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il>
347
348 * xselect.c (lisp_data_to_selection_data): Fix last change:
349 set size_ret.
350
351 2002-06-07 Andreas Schwab <schwab@suse.de>
352
353 * m/amdx86-64.h: New file.
354
355 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
356
357 * fns.c (Fstring_make_unibyte): Doc fix.
358
359 * xselect.c (lisp_data_to_selection_data): If the requested type
360 is STRING, call string_make_unibyte to encode the selected text
361 as a string.
362
363 * window.c (Fset_window_hscroll): Doc fix.
364
365 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
366
367 * fileio.c (choose_write_coding_system):
368 Call select-safe-coding-system properly.
369
370 2002-06-03 Richard M. Stallman <rms@gnu.org>
371
372 * xdisp.c (message_with_string): Error if STRING is not a string.
373
374 * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function.
375
376 * fileio.c (choose_write_coding_system): Pass FILE arg to
377 Vselect_safe_coding_system_function.
378
379 2002-06-03 Ken Raeburn <raeburn@gnu.org>
380
381 * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change.
382
383 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org>
384
385 * bytecode.c (Fbyte_code): Cast `current_column' return value to int.
386 * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise.
387 * keymap.c (describe_command): Likewise.
388 * minibuf.c (read_minibuf): Likewise.
389
390 * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
391 Cast `current_column' return value to int.
392 (back_to_previous_visible_line_start)
393 (reseat_at_next_visible_line_start, next_element_from_buffer):
394 Cast `indented_beyond_p' 3rd arg to float.
395
396 * indent.c (last_known_column): Now a float.
397 (current_column_1, position_indentation, current_column)
398 (string_display_width): Return float.
399 (Fcurrent_column): Cast `current_column' return value to int.
400 (Fcurrent_indentation): Cast `position_indentation' retval to int.
401 (indented_beyond_p): Third arg now a float.
402 (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float.
403
404 * lisp.h (current_column): Now returns float.
405 (indented_beyond_p): 3rd arg now a float.
406
407 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il>
408
409 * xfns.c (x_encode_text): Return stringp non-NULL if coding_system
410 is Qcompound_text_with_extensions.
411
412 * xselect.c (lisp_data_to_selection_data): Always set selection
413 type as string if x_encode_text returns streingp non-NULL.
414
415 * s/netbsd.h: Include /usr/pkg in the run time shared library path.
416
417 2002-05-30 Richard M. Stallman <rms@gnu.org>
418
419 * window.c (Fset_window_configuration): Correct the handling
420 of point in current buffer, to work with multiple windows.
421
422 2002-05-29 Colin Walters <walters@verbum.org>
423
424 * lread.c (Fread_from_string): Don't depend on order of evaluation
425 for C function parameters.
426
427 2002-05-28 Richard M. Stallman <rms@gnu.org>
428
429 * xterm.c (x_display_and_set_cursor): Change the cursor in the same
430 way for blinked-off state and for a nonselected window.
431
432 * window.c (window_scroll_pixel_based): Don't call Fbolp;
433 instead, see if the new start pos is at beginning of line.
434
435 * fileio.c (Fwrite_region): If START is a string, don't
436 make any annotations.
437
438 * eval.c (syms_of_eval): Doc fix.
439
440 2002-05-28 Colin Walters <walters@debian.org>
441
442 * emacs.c (USAGE1): Add --no-splash.
443 (standard_args): Ditto.
444
445 2002-05-28 Colin Walters <walters@gnu.org>
446
447 * lread.c (readchar_count): New variable.
448 (readchar): Increment it.
449 (unreadchar): Decrement it.
450 (read_multibyte): Decrement it.
451 (Vread_with_symbol_positions): New variable.
452 (Vread_symbol_positions_list): New variable.
453 (read_internal_start): New function, created from Fread and
454 Fread_from_string. Handle Vread_symbol_positions_list and
455 Vread_with_symbol_positions.
456 (readevalloop, Fread, Fread_from_string): Use it.
457 (read1): Use readchar_count to add symbol positions to
458 Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil.
459 (syms_of_lread): DEFVAR_LISP and initialize them.
460
461 * lread.c (read0, read1, read_list, read_vector, read_multibyte)
462 (substitute_object_recurse, substitute_object_in_subtree)
463 (substitute_in_interval): Prototype.
464 (read_multibyte): Return c if it's less than zero.
465
466 2002-05-28 Kim F. Storm <storm@cua.dk>
467
468 * fileio.c (Fread_file_name_internal): Added brute-force
469 speed up for using predicate file-directory-p.
470
471 2002-05-28 Kim F. Storm <storm@cua.dk>
472
473 * fileio.c (Vread_file_name_function, Vread_file_name_predicate):
474 New variables.
475 (syms_of_fileio): DEFVAR_LISP them.
476 (read_file_name_cleanup): New unwind function.
477 (Fread_file_name_internal): Only return completions satifying
478 Vread_file_name_predicate. Temporarily unwind protect and rebind
479 default-directory while checking completions against the predicate.
480 (Fread_file_name): Added PREDICATE argument. Specbind it to
481 Vread_file_name_predicate during completion.
482 Call Vread_file_name_function to read the file name if non-nil.
483
484 * lisp.h (Fread_file_name): Now has 6 args.
485
486 * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p
487 predicate for Fread_file_name when reading directory name.
488 Supply Qnil for predicate in other calls to Fread_file_name.
489
490 2002-05-26 Miles Bader <miles@gnu.org>
491
492 * term.c (tty_capable_p): New function.
493 * dispextern.h (tty_capable_p): New function declaration.
494 (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM)
495 (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros.
496
497 2002-05-23 Stefan Monnier <monnier@cs.yale.edu>
498
499 * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE.
500 (Finsert_file_contents, build_annotations): Use XCAR, XCDR.
501 (Vwrite_region_annotate_functions): Docstring fix.
502
503 2002-05-23 Kim F. Storm <storm@cua.dk>
504
505 * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current
506 phys_cursor's hpos is overwritten. This is still not completely
507 correct, as it doesn't really make sense to use hpos at all to
508 get the cursor glyph (as that is relative to the width of the
509 characters on the line, which may have changed during the update).
510
511 2002-05-22 Jason Rumney <jasonr@gnu.org>
512
513 * w32fns.c (enumfont_t): Remove tail, make pattern a normal
514 Lisp_Object.
515 (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts):
516 Use modified enumfont_t struct.
517
518 * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR.
519
520 * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed.
521 Handle the `hbar' cursor type.
522 (x_display_and_set_cursor): Handle the HBAR_CURSOR case.
523
524 * w32fns.c (Qhbar): New variable.
525 (x_specified_cursor_type): Use it.
526
527 2002-05-21 Ken Raeburn <raeburn@gnu.org>
528
529 * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for
530 now, when the address is needed.
531
532 2002-05-21 Colin Walters <walters@gnu.org>
533
534 * Makefile.in (shortlisp): Add font-core.el.
535
536 2002-05-20 Richard M. Stallman <rms@gnu.org>
537
538 * buffer.c (syms_of_buffer) <cursor-type>: Doc fix.
539
540 * keyboard.c (read_char_minibuf_menu_prompt): Don't list
541 equivalent key bindings here.
542
543 2002-05-20 Ken Raeburn <raeburn@gnu.org>
544
545 Change symbol structure to contain a lisp object for the symbol
546 name:
547 * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp
548 object field named "xname".
549 (SYMBOL_NAME): New macro.
550 * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and
551 name field.
552 * alloc.c (Fmake_symbol): Set symbol xname field instead of name.
553 (mark_object, gc_sweep): Use symbol xname field and XSTRING
554 instead of name field.
555 * buffer.c (buffer_slot_type_mismatch): Use XSTRING and
556 SYMBOL_NAME instead of XSYMBOL and name field.
557 * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME
558 instead of XSYMBOL and name field.
559 * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING
560 and SYMBOL_NAME instead of XSYMBOL and name field.
561 * coding.c (Fread_coding_system, code_convert_region1)
562 (code_convert_string1, code_convert_string_norecord)
563 (Ffind_operation_coding_system): Use SYMBOL_NAME instead of
564 XSYMBOL and name field.
565 * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding)
566 (Fmake_variable_buffer_local, Fmake_local_variable)
567 (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead
568 of XSYMBOL and name field.
569 * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of
570 XSYMBOL and name field.
571 * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING
572 instead of XSYMBOL and name field.
573 * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of
574 XSYMBOL and name field.
575 * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash):
576 Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
577 * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING
578 instead of XSYMBOL and name field.
579 * keyboard.c (echo_char, record_char, parse_modifiers_uncached)
580 (parse_modifiers, apply_modifiers, Fevent_convert_list)
581 (parse_solitary_modifier, Fexecute_extended_command):
582 Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
583 * keymap.c (silly_event_symbol_error, Fsingle_key_description)
584 (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead
585 of XSYMBOL and name field.
586 (describe_command, describe_translation): Use SYMBOL_NAME and
587 assignment instead of XSYMBOL and name field and XSETSTRING.
588 * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING
589 instead of XSYMBOL and name field.
590 (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and
591 name field and XSETSTRING.
592 * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead
593 of XSYMBOL and name field.
594 * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and
595 assignment instead of XSYMBOL and name field and XSETSTRING.
596 * print.c (print_error_message, print_object): Use SYMBOL_NAME and
597 XSTRING instead of XSYMBOL and name field.
598 * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME
599 and XSTRING instead of XSYMBOL and name field.
600 * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME
601 and XSTRING instead of XSYMBOL and name field.
602 * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and
603 XSTRING instead of XSYMBOL and name field.
604 * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead
605 of XSYMBOL and name field.
606 * xselect.c (symbol_to_x_atom, x_get_foreign_selection):
607 Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
608
609 2002-05-19 Ken Raeburn <raeburn@gnu.org>
610
611 * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR
612 and XCDR real rvalues in most configurations.
613
614 * buffer.c (fix_overlays_in_range, fix_overlays_before):
615 Don't take the address of the cdr part of a cons cell; instead, track
616 the parent cell and call XSETCDR, or set the variable for the head
617 of the list if we haven't started down the list yet.
618
619 2002-05-19 Richard M. Stallman <rms@gnu.org>
620
621 * doc.c (reread_doc_file): Don't ask for confirmation.
622
623 2002-05-18 Jason Rumney <jasonr@gnu.org>
624
625 * w32fns.c (w32_create_pixmap_from_bitmap_data): New function.
626 (xbm_load_image): Use it.
627 (xbm_load): Ditto.
628 (xbm_read_bitmap_data): Reverted to xfns.c version.
629 From David Ponce <david@dponce.com>.
630
631 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
632
633 * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP
634 2.02 and later.
635
636 2002-05-16 Juanma Barranquero <lektu@terra.es>
637
638 * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo.
639
640 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
641
642 * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more
643 meaningful test.
644 (read_char_minibuf_menu_prompt): Fix typo.
645
646 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
647
648 * eval.c (Fcommandp): Doc fix.
649
650 2002-05-13 Stefan Monnier <monnier@cs.yale.edu>
651
652 * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent.
653 (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it.
654 (Fset_keymap_parent): Gcpro a bit more.
655 (access_keymap): Gcpro around meta_map call and around the main loop.
656 (get_keyelt): Gcpro when following indirect references.
657 (copy_keymap_item): New fun, extracted from Fcopy_keymap.
658 (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map.
659 (Fdefine_key, Flookup_key): Gcpro before calling get_keymap.
660 Remove useless ad-hoc remap code.
661
662 2002-05-13 Richard M. Stallman <rms@gnu.org>
663
664 * search.c (search_buffer): Give up boyer moore search if inverse
665 translation change charset_base.
666
667 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
668
669 * coding.c (decode_coding) <coding_type_ccl>: If a lone CR
670 characters is carried over from the previous block of text, adjust
671 coding->produced to account for the extra character.
672
673 2002-05-11 Andreas Schwab <schwab@suse.de>
674
675 * coding.c (intersection): Keep the elements of the returned list
676 in the same order as in the first list.
677
678 2002-05-11 Kim F. Storm <storm@cua.dk>
679
680 * keymap.c (current_minor_maps): Fixed resizing of cmm_maps;
681 only update cmm_size if realloc actually succeeds.
682 Testing with initial size of 2 elements revealed that using
683 realloc on GNU/Linux would cause a random trap in xmalloc
684 later on, so I rewrote the code to use malloc/bcopy/free instead
685 of realloc.
686
687 2002-05-10 Jason Rumney <jasonr@gnu.org>
688
689 * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts.
690
691 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
692
693 * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in
694 parens, to ensure correct evaluation order.
695
696 2002-05-10 Kim F. Storm <storm@cua.dk>
697
698 * keymap.c (Vemulation_mode_map_alists): New variable.
699 (syms_of_keymap): DEFVAR_LISP it.
700 (current_minor_maps): Process keymap alists in that list before
701 minor-mode-overriding-map-alist and minor-mode-map-alist.
702
703 2002-05-09 Richard M. Stallman <rms@gnu.org>
704
705 * search.c (Freplace_match): Doc fix.
706
707 2002-05-09 Kim F. Storm <storm@cua.dk>
708
709 * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
710 Enlarge cursor rectangle drawn around image with non-zero relief.
711
712 * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1):
713 Enlarge cursor rectangle drawn around image with non-zero relief.
714
715 * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
716 Enlarge cursor rectangle drawn around image with non-zero relief.
717
718 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il>
719
720 * xselect.c (lisp_data_to_selection_data): Don't set selection
721 type if comes from the Lisp object's car. If the selection
722 contains a pure ASCII text, always return QSTRING as its type.
723
724 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
725
726 * mac.c (mac-cut-function): Doc fix.
727
728 2002-05-05 Richard M. Stallman <rms@gnu.org>
729
730 * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it.
731
732 2002-05-04 Jason Rumney <jasonr@gnu.org>
733
734 * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1
735 for event-click-count.
736
737 * process.c (init_process): Only add server subfeature if we can
738 use non-blocking I/O.
739
740 2002-05-04 Andrew Choi <akochoi@shaw.ca>
741
742 * macterm.c (XTread_socket): Call WaitNextEvent once instead of
743 repeatedly.
744
745 2002-05-03 Jason Rumney <jasonr@gnu.org>
746
747 * process.c (Fmake_network_process): Only support server sockets
748 when we can make them non-blocking.
749
750 * s/ms-w32.h (HAVE_SELECT): Define.
751
752 * w32.h (FILE_NDELAY): New flag.
753
754 * w32.c (sys_getpeername, fcntl): New functions.
755 (_sys_read_ahead): Temporarily block on non-blocking sockets.
756
757 * w32proc.c: include sys/file.h.
758
759 2002-05-03 Colin Walters <walters@verbum.org>
760
761 * callproc.c (Vgame_score_directory): Renamed to
762 Vshared_game_score_directory.
763
764 2002-04-30 Richard M. Stallman <rms@gnu.org>
765
766 * s/gnu.h [emacs]: Include stdio.h.
767 (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.
768
769 * eval.c (do_autoload): Error if called while preparing to dump.
770
771 * fns.c (Frequire): Error if need to load while preparing to dump.
772
773 2002-04-28 Colin Walters <walters@verbum.org>
774
775 * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]:
776 Default to "~/.emacs.d/games".
777
778 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
779
780 * lread.c (openp): Change arg exec_only to predicate.
781 (build_load_history): Use XCAR/XCDR.
782 (Flocate_file_internal): New fun.
783 (syms_of_lread): Defsubr it.
784 (Fload): Update call to openp.
785
786 * lisp.h (openp): Update prototype.
787
788 * xfns.c (x_create_bitmap_from_file, x_find_image_file):
789 * w32proc.c (sys_spawnve):
790 * w32fns.c (x_create_bitmap_from_file, x_find_image_file):
791 * w32.c (check_windows_init_file):
792 * sound.c (Fplay_sound_internal):
793 * process.c (Fstart_process):
794 * macfns.c (x_create_bitmap_from_file, x_find_image_file):
795 * mac.c (run_mac_command):
796 * emacs.c (init_cmdargs):
797 * callproc.c (Fcall_process): Update call to openp.
798
799 * textprop.c (remove_properties): Don't use XCAR without CONSP.
800
801 * xterm.c (XTread_socket): Disable the Xutf8LookupString code.
802
803 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
804
805 * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN)
806 (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values.
807
808 2002-04-28 Richard M. Stallman <rms@gnu.org>
809
810 * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp.
811
812 * eval.c (Fcommandp): New arg for_call_interactively.
813 * lisp.h (Fcommandp): Declare new arg.
814
815 2002-04-28 Jason Rumney <jasonr@gnu.org>
816
817 * w32proc.c (syms_of_w32proc): Get true file attributes by default.
818
819 * w32.c (stat, fstat): Use file index information to generate
820 inodes for directories where available.
821
822 2002-04-26 Andrew Choi <akochoi@shaw.ca>
823
824 * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add.
825 [HAVE_CARBON]: Include Mac object files.
826
827 * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c,
828 fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c,
829 termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8,
830 MAC_OSX, and MAC_OS instead of macintosh.
831
832 * editfns.c [MAC_OS8]: Include stdio.h.
833
834 * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init.
835
836 * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of
837 Apple Monaco.
838
839 * process.c: Declare QCfamily and QCfilter as extern.
840 (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before
841 calling select.
842
843 * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent.
844
845 * tparam.c [MAC_OSX]: Don't define BC and UP.
846
847 * config.in [HAVE_CARBON]: Add.
848
849 * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h:
850 Move here from mac/src and mac/inc.
851
852 * s/darwin.h, m/powermac.h, unexmacosx.c: New files.
853
854 2002-04-26 Gerd Moellmann <gerd@gnu.org>
855
856 * xterm.c (x_draw_phys_cursor_glyph): Undo last change.
857 Compute phys_cursor_width from the x position returned
858 by x_draw_glyhs, which is cheaper.
859 (x_display_and_set_cursor): Compute the buffer-local value
860 of `cursor-in-non-selected-windows' only when needed.
861
862 2002-04-25 Gerd Moellmann <gerd@gnu.org>
863
864 * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box
865 cursor on a stretch glyph has a width that depends on
866 x_stretch_cursor_p.
867
868 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
869
870 * abbrev.c (abbrev-start-location): Doc fix.
871
872 * indent.c (Fvertical_motion): Fix last change.
873
874 2002-04-25 Gerd Moellmann <gerd@gnu.org>
875
876 * indent.c (Fvertical_motion): Move to the start of the line
877 containing PT before moving up or down.
878
879 2002-04-24 Gerd Moellmann <gerd@gnu.org>
880
881 * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the
882 case of writing a whole row, more or less analogous to the case of
883 writing only parts of a row.
884
885 * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to
886 0 for NO_CURSOR.
887
888 * xterm.c (notice_overwritten_cursor): Fix an off by 1 error.
889
890 2002-04-23 Colin Walters <walters@verbum.org>
891
892 * buffer.c (syms_of_buffer): Doc fix.
893
894 2002-04-23 Gerd Moellmann <gerd@gnu.org>
895
896 * xterm.c (notice_overwritten_cursor): Handle the special case
897 of the cursor being in the first blank non-text line at the
898 end of a window.
899
900 * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor)
901 (x_draw_phys_cursor_glyph): Set phys_cursor_width here.
902 (x_display_and_set_cursor): Don't set phys_cursor_width here, for
903 bar cursors only, to make phys_cursor_width contain what its name
904 suggests.
905 (notice_overwritten_cursor): Consider the cursor image erased if
906 the output area intersects the cursor image in y-direction.
907
908 2002-04-23 Simon Marshall <simon@gnu.org>
909
910 * xfns.c (x_set_mouse_color): Change default for cross_cursor
911 to XC_hand2.
912
913 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
914
915 * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'.
916
917 2002-04-22 Kim F. Storm <storm@cua.dk>
918
919 * textprop.c (remove_properties): Fixed trap for malformed plist.
920
921 2002-04-22 Richard M. Stallman <rms@gnu.org>
922
923 * cmds.c (Fend_of_line): Handle intangible text in mid line.
924
925 * window.c (make_window): Initialize height_fixed_p,
926 last_cursor_off_p, and p->cursor_off_p slots.
927
928 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
929
930 * fns.c (use-dialog-box): Doc fix.
931
932 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
933
934 * xterm.c (note_mode_line_or_margin_highlight): Remove unused
935 variables `row', `i' and `area'.
936 (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to
937 toolkit library.
938
939 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
940
941 * xfaces.c (clear_font_table): Don't free the default font of
942 a frame even if it's on another display.
943 (Finternal_set_lisp_face_attribute): Don't use XFRAME on something
944 that could be Qt.
945
946 2002-04-19 Juanma Barranquero <lektu@terra.es>
947
948 * indent.c (Fmove_to_column): Remove unused local variable
949 `next_boundary_byte'.
950 (current_column_1): Likewise.
951
952 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
953
954 * msdos.c (Qhbar): New variable.
955 (syms_of_msdos): Intern and staticpro it.
956 (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar'
957 cursor type.
958
959 2002-04-19 Dave Lambert <dlambert@acm.org>
960
961 Theses change implement an underscore-like (`hbar') cursor.
962
963 * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR.
964
965 * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed.
966 Handle the `hbar' cursor type.
967 (x_display_and_set_cursor): Handle the HBAR_CURSOR case.
968
969 * xfns.c (Qhbar): New variable.
970 (syms_of_xfns): Intern and staticpro it.
971 (x_specified_cursor_type): Handle `hbar' cursor.
972
973 * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is
974 not defined.
975
976 2002-04-18 Richard M. Stallman <rms@gnu.org>
977
978 * textprop.c (remove_properties): New arg LIST allows scanning
979 either a list or a plist.
980 (interval_has_some_properties_list): New function, like
981 interval_has_some_properties using list instead of plist.
982 All callers changed.
983 (Fremove_list_of_text_properties): New function.
984 (syms_of_textprop): Defsubr it.
985
986 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il>
987
988 * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined.
989
990 2002-04-17 Juanma Barranquero <lektu@terra.es>
991
992 * indent.c (Fmove_to_column): Remove unused local variable `end_byte'.
993
994 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il>
995
996 * window.c (coordinates_in_window): Don't report on margin area
997 if its width is zero.
998
999 2002-04-16 Jason Rumney <jasonr@gnu.org>
1000
1001 * w32fns.c (Fx_file_dialog): Decode file name before using.
1002
1003 * w32term.c (construct_drag_n_drop): Likewise.
1004
1005 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1006
1007 * puresize.h (BASE_PURESIZE): Increase to 830000, since we now
1008 store load-history in pure space.
1009
1010 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000.
1011
1012 2002-04-16 Stefan Monnier <monnier@cs.yale.edu>
1013
1014 * xterm.c (Qlatin_1, Qutf_8): New vars.
1015 (syms_of_xterm): Initialize them.
1016 (XTread_socket): Eliminate incorrect optimization that tried to avoid
1017 decoding the output of X*LookupString.
1018 Always use latin-1 to decode the output of XLookupString.
1019 Try Xutf8LookupString if XmbLookupString failed.
1020
1021 * region-cache.c (new_region_cache): Use BEG.
1022
1023 2002-04-16 Gerd Moellmann <gerd@gnu.org>
1024
1025 * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system
1026 configuration files.
1027 (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P
1028 returns 0.
1029
1030 2002-04-15 Andreas Schwab <schwab@suse.de>
1031
1032 * config.in: Regenerated using autoheader.
1033
1034 * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h,
1035 m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h,
1036 m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h,
1037 m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h,
1038 m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h,
1039 m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h,
1040 m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h,
1041 m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h,
1042 m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h
1043 m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h,
1044 m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h,
1045 m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h,
1046 m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h,
1047 m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h,
1048 m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h,
1049 s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and
1050 STACK_DIRECTION, now set by autoconf.
1051
1052 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1053
1054 * dispnew.c (marginal_area_string): Sort arguments.
1055
1056 * dispextern.h (marginal_area_string): Add prototype.
1057
1058 2002-04-13 Richard M. Stallman <rms@gnu.org>
1059
1060 * fileio.c (Finsert_file_contents):
1061 Don't call temp_output_buffer_setup--do just part, by hand.
1062
1063 * coding.c (run_pre_post_conversion_on_str):
1064 Don't call temp_output_buffer_setup--do just part, by hand.
1065
1066 * keyboard.c (command_loop_1): Don't call start_hourglass
1067 or cancel_hourglass when executing a macro.
1068
1069 * marker.c (count_markers): New function.
1070
1071 * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist
1072 grow without limit. Move recently used elements to the front.
1073
1074 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il>
1075
1076 * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20.
1077
1078 2002-04-12 Gerd Moellmann <gerd@gnu.org>
1079
1080 * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame
1081 rows marginal areas.
1082 (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function.
1083 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it.
1084
1085 * dispnew.c (marginal_area_string): Check that glyph row is enabled.
1086
1087 2002-04-12 Dave Love <fx@gnu.org>
1088
1089 * dispnew.c (marginal_area_string): New.
1090
1091 * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN.
1092 (Qleft_margin, Qright_margin): Declare.
1093 (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins.
1094
1095 * xterm.c (note_mode_line_or_margin_highlight): Renamed from
1096 note_mode_line_highlight and extended.
1097
1098 * keyboard.c (Qleft_margin, Qright_margin): Declare.
1099 (make_lispy_event): Deal with mouse events in margins.
1100
1101 2002-04-12 Stefan Monnier <monnier@cs.yale.edu>
1102
1103 * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT.
1104
1105 * keyboard.c (command_loop_1): Turn off transient-mark-mode rather
1106 than deactivating the mark if tmm is set to `lambda'.
1107 (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event):
1108 Use a single event for HELP_EVENT.
1109 (Fexecute_extended_command): Save last_point_position.
1110
1111 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1112
1113 * lisp.h (Fpropertize): Add prototype.
1114
1115 * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt.
1116
1117 2002-04-10 Colin Walters <walters@verbum.org>
1118
1119 * config.in: Add HAVE_SHARED_GAME_DIR.
1120
1121 * callproc.c: (Vgame_score_directory): New variable.
1122 (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP.
1123
1124 2002-04-10 Richard M. Stallman <rms@gnu.org>
1125
1126 * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess.
1127
1128 2002-04-09 Stefan Monnier <monnier@cs.yale.edu>
1129
1130 * minibuf.c (read_minibuf): Use empty_string.
1131 (Ftry_completion): Allow lambda forms and lists of strings for `alist'.
1132 Short-circuit the search as soon as it "failed".
1133 (Fall_completions): Allow lambda forms and lists of strings for alist.
1134 (Fcompleting_read): Set Qminibuffer_completion_confirm to nil
1135 when require_match is nil.
1136 (Ftest_completion): Rename from `test_completion' and export to elisp.
1137 Call the predicate also when alist is a list.
1138 Obey Vcompletion_regexp_list.
1139 (do_completion, Fminibuffer_complete_and_exit): Use it.
1140 (Fassoc_string): Rename from `assoc_for_completion'.
1141 Allow list of strings as well and export to elisp.
1142
1143 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
1144
1145 * puresize.h (BASE_PURESIZE): Increase to 900KB.
1146
1147 2002-04-08 Juanma Barranquero <lektu@terra.es>
1148
1149 * w32.c (sys_accept): Don't hide variable `s'.
1150
1151 2002-04-05 Gerd Moellmann <gerd@gnu.org>
1152
1153 * callint.c (Fcall_interactively): Use INTEGERP instead of
1154 NUMBERP for checking Vhistory_length.
1155
1156 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1157
1158 * sound.c (Fplay_sound_internal): Renamed from Fplay_sound.
1159 Doc fix to reflect it.
1160
1161 2002-04-04 Richard M. Stallman <rms@gnu.org>
1162
1163 * xdisp.c (display_mode_element): New arg RISKY.
1164 Disregard text props found or specified within a variable
1165 that isn't marked risky-local-variable.
1166 (Qrisky_local_variable): New variable.
1167 (syms_of_xdisp): Init and staticpro it.
1168
1169 2002-04-04 Stefan Monnier <monnier@cs.yale.edu>
1170
1171 * undo.c (record_point): New fun.
1172 (record_delete, record_insert): Use it.
1173
1174 2002-04-03 Juanma Barranquero <lektu@terra.es>
1175
1176 * doc.c (Fdocumentation): Add missing parentheses.
1177 (Fdocumentation_property): Likewise.
1178
1179 2002-04-03 Stefan Monnier <monnier@cs.yale.edu>
1180
1181 * doc.c (Fdocumentation, Fdocumentation_property): When the doc
1182 data is 0, just return nil.
1183
1184 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il>
1185
1186 * msdos.c (syms_of_msdos): Fix last change with
1187 mouse_autoselect_window.
1188
1189 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1190
1191 * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to
1192 mouse_autoselect_window.
1193
1194 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
1195
1196 * keyboard.c (make_lispy_event): Handle unknown keysyms together
1197 with system-specific keysyms. Use it also for unknown function keys.
1198
1199 * doc.c (reread_doc_file): Return whether reload was attempted.
1200 (Fdocumentation, Fdocumentation_property): Don't try to reload
1201 if the doc is 0 and only ask once.
1202
1203 * Makefile.in (lisp, shortlisp): Add ucs-tables.elc.
1204
1205 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il>
1206
1207 * keyboard.c (read_char): If the event was Qselect_window,
1208 restore timer_idleness_start_time to its previous value.
1209
1210 * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required.
1211
1212 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
1213
1214 * region-cache.c (new_region_cache): Use BEG.
1215
1216 * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
1217 Use BEG and BEG_BYTE.
1218
1219 * doc.c (get_doc_string): Return nil if the location is wrong.
1220 (reread_doc_file): New fun.
1221 (Fdocumentation, Fdocumentation_property):
1222 Call it if get_doc_string fails.
1223 (Fsnarf_documentation): Make it work for a dumped Emacs.
1224
1225 * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE.
1226 Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case.
1227
1228 * charset.c (Fstring): Allow 0 arguments.
1229
1230 * xterm.c (XTread_socket): Fix int/Lisp_Object confusion.
1231
1232 * process.c (DATAGRAM_CONN_P, list_processes_1)
1233 (Fprocess_datagram_address, Fset_process_datagram_address)
1234 (Fset_network_process_options, server_accept_connection):
1235 Fix some int/Lisp_Object confusions (thank you union types).
1236
1237 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1238
1239 * msdos.c: Rename x_autoselect_window_p to autoselect_window_p.
1240
1241 * w32term.c: Likewise.
1242 (note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
1243
1244 * keyboard.c (Qselect_window): New symbol.
1245 (head_table): Use it.
1246 (keys_of_keyboard): Bound select-window event to handle-select-window.
1247 (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
1248
1249 * xterm.c: Rename x_autoselect_window_p to autoselect_window_p.
1250 (last_window): New variable.
1251 (XTread_socket): Generate SELECT_WINDOW_EVENTs.
1252 (note_mouse_movement): Remove reimplemented code in #if 0.
1253 (XTread_socket): Generate SELECT_WINDOW_EVENTs only for
1254 Emacs windows.
1255
1256 * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'.
1257
1258 2002-03-31 Gerd Moellmann <gerd@gnu.org>
1259
1260 * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P.
1261 Callers changed.
1262
1263 2002-03-30 Richard M. Stallman <rms@gnu.org>
1264
1265 * window.c (window_scroll_pixel_based): Exit the move_it_by_lines
1266 loop whenever it stops making progress.
1267
1268 * widget.c (set_frame_size): Don't call change_frame_size.
1269
1270 2002-03-30 Gerd Moellmann <gerd@gnu.org>
1271
1272 * dispnew.c (direct_output_for_insert):
1273 Call mark_window_display_accurate.
1274
1275 2002-03-29 Jason Rumney <jasonr@gnu.org>
1276
1277 * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths.
1278
1279 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
1280
1281 * Makefile.in (lread.o): Depend on coding.h.
1282
1283 * lread.c (openp, Fload): Encode the file name before passing it
1284 to `stat', `access', and `emacs_open'.
1285 (openp): GCPRO the encoded file name. Don't recompute Lisp
1286 strings unnecessarily.
1287
1288 2002-03-29 Kim F. Storm <storm@cua.dk>
1289
1290 * fns.c (Flax_plist_put): Doc fix.
1291
1292 2002-03-28 Miles Bader <miles@gnu.org>
1293
1294 * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process.
1295
1296 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1297
1298 * process.c (set-network-process-options): Add usage.
1299 (make-network-process): Doc fix.
1300
1301 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il>
1302
1303 * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed".
1304
1305 2002-03-26 Richard M. Stallman <rms@gnu.org>
1306
1307 * fns.c (Fsubstring_no_properties): New function.
1308 (Flax_plist_get, Flax_plist_put): New functions.
1309 (syms_of_fns): defsubr them.
1310
1311 * xdisp.c (update_menu_bar): Test only update_mode_lines;
1312 don't test or alter w->update_mode_line.
1313
1314 * window.c (Fdisplay_buffer): Doc fix.
1315
1316 2002-03-24 Richard M. Stallman <rms@gnu.org>
1317
1318 * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces.
1319
1320 2002-03-24 Gerd Moellmann <gerd@gnu.org>
1321
1322 * eval.c (Qdeclare, Vmacro_declaration_function): New variables.
1323 (Fdefmacro): Handle `(declare ...)'.
1324 (syms_of_eval) <Qdeclare>: Initialize and staticpro.
1325 (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP.
1326
1327 2002-03-24 Jason Rumney <jasonr@gnu.org>
1328
1329 * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data)
1330 (xbm_file_p): Add prototypes.
1331 (xbm_format, xbm_image_p): Sync with xfns.c.
1332 (reflect_byte): New function.
1333 (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows.
1334 (xbm_load_image): Create bitmaps with a depth of 1.
1335 (init_xfns): Enable XBM images.
1336
1337 2002-03-23 Jason Rumney <jasonr@gnu.org>
1338
1339 * w32term.c (w32_handle_tool_bar_click): Detect up and down events
1340 correctly. Do not pass up_modifier to keyboard buffer.
1341
1342 * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals.
1343
1344 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
1345
1346 * Makefile.in (bootstrapclean): New target.
1347 (bootstrap-temacs, bootstrap-doc): Remove.
1348 (bootstrap-emacs): Use a bog-standard `temacs'.
1349 Don't bother to build a DOC file.
1350
1351 * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause.
1352
1353 * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup
1354 in temacs even if !CANNOT_DUMP.
1355 (standard_args): Keep --no-loadup even if !CANNOT_DUMP.
1356
1357 * alloc.c (check_pure_size): Only output a warning.
1358
1359 2002-03-22 Jason Rumney <jasonr@gnu.org>
1360
1361 * w32fns.c (Fx_create_frame): Enable tool-bar when images are
1362 supported.
1363
1364 * w32term.c (zv_bits): Declare as short, for word alignment.
1365 (w32_read_socket) <WM_XBUTTONUP>: Fix last change.
1366 (syms_of_w32term): Define x-use-underline-position-properties.
1367
1368 * w32fns.c (x_set_cursor_color): Set cursor_gc as well.
1369 (clear_image_cache): Block input, fix logic, clear matrices in
1370 all frames that share this cache.
1371
1372 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
1373
1374 * emacs.c (main): Update the Copyright year in the blurb printed
1375 by "emacs --version".
1376
1377 * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2.
1378
1379 * xterm.c (XTread_socket): If XK_ISO_Lock and
1380 XK_ISO_Last_Group_Lock are defined, handle keysyms between
1381 XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
1382
1383 2002-03-21 Kim F. Storm <storm@cua.dk>
1384
1385 * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so
1386 menu-bar bindings in keymap and local-map properties _are_ used.
1387 But try keymap property first in accordance with 2002-01-03 patch.
1388 Added comment describing why this is not always reliable.
1389 (tool_bar_items): Ditto for tool-bar.
1390
1391 2002-03-21 Jason Rumney <jasonr@gnu.org>
1392
1393 * w32fns.c (x_clear_image_1): Disable color table code.
1394
1395 2002-03-21 Kim F. Storm <storm@cua.dk>
1396
1397 * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
1398 removed the wrong version of the DEFUN macro; fixed it.
1399
1400 * fns.c (Ffeaturep): Allow subfeature to be a list (test using
1401 Fmember rather than Fmemq).
1402 (Fprovide): Check that subfeatures is a list.
1403
1404 * process.c (QCfeature, QCdatagram): Removed variables.
1405 (QCtype, Qdatagram): New variables.
1406 (network_process_featurep): Removed function.
1407 (Fmake_network_process): Removed :feature check.
1408 Use :type 'datagram instead of :datagram t to create a datagram
1409 socket. This allows us to add other connection types (e.g. raw
1410 sockets) later in a consistent manner.
1411 (init_process) [subprocess, HAVE_SOCKETS]: Provide list of
1412 supported subfeatures for feature make-network-process.
1413 (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram.
1414 Intern and staticpro QCtype and Qdatagram.
1415 (syms_of_process) [!subprocess]: Intern and staticpro QCtype.
1416
1417 * xfns.c: (QCtype): Remove duplicate declaration and
1418 initialization (is now declared in process.c).
1419
1420 * w32fns.c: (QCtype): Remove duplicate declaration and
1421 initialization (is now declared in process.c).
1422
1423 2002-03-21 Richard M. Stallman <rms@gnu.org>
1424
1425 * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro.
1426 (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT
1427 when jumping to `fail' to avoid undoing reg changes in the
1428 last iteration of the loop.
1429 (GET_UNSIGNED_NUMBER): Skip spaces around the number.
1430
1431 * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o):
1432 Depend on process.h.
1433
1434 2002-03-20 Jason Rumney <jasonr@gnu.org>
1435
1436 Most of the following changes are still conditional on HAVE_IMAGES
1437 which is not set by default on Windows.
1438
1439 * emacs.c (main) [WINDOWSNT]: Call init_xfns.
1440
1441 * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame.
1442 (Fimage_size, Fimage_mask_p, XPutPixel): New functions.
1443 (four_corners_best, x_clear_image_1, x_clear_image)
1444 (x_alloc_image_color, postprocess_image)
1445 (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image)
1446 (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows.
1447 (init_xfns, syms_of_w32fns): Initialize image functions and constants.
1448
1449 * w32gui.h (struct XImage): Define.
1450
1451 * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to
1452 extract mouse co-ordinates.
1453
1454 2002-03-20 Jason Rumney <jasonr@gnu.org>
1455
1456 * w32.c (init_winsock): Dynamically load new server and UDP
1457 socket functions.
1458 (socket_to_fd): New function.
1459 (sys_socket): Use it.
1460 (sys_setsockopt, sys_listen, sys_getsockname, sys_accept)
1461 (sys_recvfrom, sys_sendto): New wrapper functions.
1462
1463 * process.c (QCfamily, QCfilter): Remove duplicate declaration
1464 and initialization.
1465
1466 * makefile.w32-in (LIBS): Remove $(WSOCK32).
1467
1468 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il>
1469
1470 * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): Don't
1471 use "sun" as a variable, it's a predefined constant on Sun
1472 machines.
1473
1474 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1475
1476 * bytecode.c (Fbyte_code): Revert last change.
1477
1478 2002-03-19 Kim F. Storm <storm@cua.dk>
1479
1480 * makefile.w32-in (LIBS): Add $(WSOCK32).
1481 From David Ponce <dponce@voila.fr>.
1482
1483 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1484
1485 * process.c (wait_reading_process_input): Move variables `pname'
1486 and `pnamelen' down where they are used.
1487
1488 * bytecode.c (Fbyte_code): Discard unused computed value to
1489 prevent gcc warning.
1490
1491 * lisp.h (Fplist_member): Add prototype.
1492
1493 2002-03-18 Kim F. Storm <storm@cua.dk>
1494
1495 * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
1496 HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and
1497 HAVE_SYS_UN_H.
1498
1499 * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
1500 Remove explicit GNU_LINUX settings for datagram support.
1501
1502 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1503
1504 * process.c (Fmake_network_process): Remove unused variable `sa'.
1505 Doc fix. Add usage:.
1506 (set_socket_options): Remove unused variables `optnum' and
1507 `opttype'.
1508
1509 2002-03-17 Richard M. Stallman <rms@gnu.org>
1510
1511 * xdisp.c (cursor_type_changed): New variable.
1512 (redisplay_internal): Redisplay all windows if cursor_type_changed.
1513 Clear it when clearing windows_or_buffers_changed.
1514 (try_cursor_movement, redisplay_window, try_window_id)
1515 (try_window_reusing_current_matrix): Test cursor_type_changed
1516 along with windows_or_buffers_changed.
1517
1518 * window.h (cursor_type_changed): New variable.
1519
1520 * xfns.c (x_set_cursor_type): Set cursor_type_changed,
1521 not update_mode_lines, and always set it to 1.
1522
1523 * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed
1524 if no frames needed redrawing.
1525
1526 2002-03-17 Kim F. Storm <storm@cua.dk>
1527
1528 The following changes add support for network server processes,
1529 datagram connections, and local (unix) sockets.
1530
1531 * process.h (struct Lisp_Process): New member log.
1532 Doc fix: Member command used to indicate stopped network process.
1533 Doc fix: Member childp contains plist for network process.
1534 Doc fix: Member kill_without_query is inverse of query-on-exit flag.
1535
1536 * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
1537 (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
1538 (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
1539 New variables.
1540 (NETCONN1_P): New macro.
1541 (DATAGRAM_SOCKETS): New conditional symbol.
1542 (datagram_address): New array.
1543 (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
1544 (status_message): Use concat3.
1545 (Fprocess_status): Add `listen' status to doc string. Return `stop'
1546 for a stopped network process.
1547 (Fset_process_buffer): Update contact plist for network process.
1548 (Fset_process_filter): Ditto. Don't enable input for stopped
1549 network processes. Server must listen, even if filter is t.
1550 (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
1551 New functions.
1552 (Fprocess_kill_without_query): Removed. Now defined in simple.el.
1553 (Fprocess_contact): Added KEY argument. Handle datagrams.
1554 (list_processes_1): Optionally show only processes with the query
1555 on exit flag set. Dynamically adjust column widths. Omit tty
1556 column if not needed. Report stopped network processes.
1557 Identify server and datagram network processes.
1558 (Flist_processes): New optional arg `query-only'.
1559 (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
1560 (conv_lisp_to_sockaddr, set_socket_options)
1561 (network_process_featurep, unwind_request_sigio): New helper functions.
1562 (Fprocess_datagram_address, Fset_process_datagram_address):
1563 (Fset_network_process_options): New lisp functions.
1564 (Fopen_network_stream): Removed. Now defined in simple.el.
1565 (Fmake_network_process): New lisp function. Code is based on previous
1566 Fopen_network_stream, but heavily reworked with new property list based
1567 argument list, support for datagrams, server processes, and local
1568 sockets in addition to old client-only functionality.
1569 (server_accept_connection): New function.
1570 (wait_reading_process_input): Use it to handle incoming connects.
1571 Do not enable input on a new connection if process is stopped.
1572 (read_process_output): Handle datagram sockets. Use 2k buffer for them.
1573 (send_process): Handle datagram sockets.
1574 (Fstop_process, Fcontinue_process): Apply to network processes. A stopped
1575 network process is indicated by setting command field to t .
1576 (Fprocess_send_eof): No-op if datagram connection.
1577 (Fstatus_notify): Don't read input for a stream server socket or a
1578 stopped network process.
1579 (init_process): Initialize datagram_address array.
1580 (syms_of_process): Intern and staticpro new variables, defsubr new
1581 functions.
1582
1583 2002-03-16 Jason Rumney <jasonr@gnu.org>
1584
1585 * w32fns.c (w32_to_all_x_charsets): Return correct type in
1586 startup case.
1587
1588 2002-03-16 Richard M. Stallman <rms@gnu.org>
1589
1590 * xdisp.c (redisplay_internal, redisplay_windows):
1591 Use list_of_error to call internal_condition_case_1.
1592 (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2}
1593 so as to catch all errors with no possibility of debugger redisplay.
1594 (list_of_error): New variable.
1595 (syms_of_xdisp): Init and staticpro it.
1596
1597 * print.c (print_object): Delete `\ ' from printed rep of frame.
1598
1599 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
1600
1601 * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature,
1602 until its implementation is fixed.
1603
1604 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1605
1606 * xfns.c (png_load): Remove unused variable `gamma_str'.
1607
1608 2002-03-14 Richard M. Stallman <rms@gnu.org>
1609
1610 * xfns.c (x_real_positions): Handle failure in XQueryTree.
1611
1612 2002-03-14 Miles Bader <miles@gnu.org>
1613
1614 * intervals.c (adjust_for_invis_intang): New function.
1615 (set_point_both): Use `adjust_for_invis_intang' to do most of the
1616 work for dealing with invisible+intangible regions. Do so before
1617 and after both forward and backward movements, to handle both
1618 front-sticky and rear-sticky cases.
1619 * textprop.c (text_property_stickiness): Function moved here from
1620 `editfns.c'.
1621 * intervals.h (text_property_stickiness): New declaration.
1622 * editfns.c (char_property_eq): Function removed.
1623 (text_property_stickiness): Function moved to `textprop.c'.
1624
1625 2002-03-13 Jason Rumney <jasonr@gnu.org>
1626
1627 * config.in: Add STRFTIME_NO_POSIX2.
1628
1629 * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX
1630 and %OX when underlying strftime does not.
1631
1632 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
1633
1634 * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>:
1635 Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per
1636 line) to avoid annoying flicker.
1637 (xm_scroll_callback): Get rid of the now unnecessary kludge.
1638 (XTread_socket): Mark it static.
1639
1640 * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup.
1641
1642 2002-03-13 Kim F. Storm <storm@cua.dk>
1643
1644 * puresize.h (BASE_PURESIZE): Increase to 775000.
1645
1646 2002-03-12 Juanma Barranquero <lektu@terra.es>
1647
1648 * editfns.c (syms_of_editfns): Fix typo.
1649
1650 2002-03-12 Gerd Moellmann <gerd@gnu.org>
1651
1652 * xsmfns.c: Include stdio.h because termhooks.h needs it.
1653 Include termopt.h for interrupt_input.
1654
1655 2002-03-11 Andreas Schwab <schwab@suse.de>
1656
1657 * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix.
1658
1659 2002-03-11 Gerd Moellmann <gerd@gnu.org>
1660
1661 * xterm.c (note_mouse_movement): Put code for
1662 x_autoselect_window_p in #if 0.
1663
1664 * lread.c (Fload): Don't assume that message_with_string uses the
1665 string it is given like a C string.
1666
1667 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
1668
1669 * xterm.h (x_session_check_input, x_session_initialize): Declared.
1670
1671 * xterm.c: (XTread_socket): Add call to x_session_check_input and
1672 x_session_have_connection.
1673 (x_initialize): Add call to x_session_initialize.
1674
1675 * termhooks.h (enum event_kind): Add save_session_event.
1676
1677 * keyboard.c: Add Emacs event save_session_event.
1678
1679 * emacs.c (main): Add call to syms_of_xsmfns.
1680
1681 * lisp.h: Declare syms_of_xsmfns as extern.
1682
1683 * config.in: Add HAVE_X_SM.
1684
1685 * Makefile.in (LIBXT): Add -lSM -lICE
1686 if HAVE_X_SM and not USE_X_TOOLKIT.
1687 (XOBJ): New file xsmfns.c added.
1688
1689 * xsmfns.c: New file for X session management.
1690
1691 2002-03-09 Jason Rumney <jasonr@gnu.org>
1692
1693 * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not
1694 read-only when setting modified time.
1695
1696 2002-03-08 Gerd Moellmann <gerd@gnu.org>
1697
1698 * xdisp.c (move_it_vertically_backward): At the end of the
1699 function, when moving forward by lines, treat terminal frames
1700 specially.
1701
1702 * keyboard.c (echo_char): Make sure to add a separator between
1703 keys even if echo_dash hasn't been called.
1704
1705 * xdisp.c: Use new string macros.
1706 (update_echo_area): Pass number of bytes to message3 instead of
1707 number of chars.
1708 (set_message_1): Don't access a string's size_byte directly.
1709 (decode_mode_spec_coding): Use number of bytes of eoltype string
1710 instead number of chars.
1711
1712 * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros.
1713
1714 2002-03-08 Juanma Barranquero <lektu@terra.es>
1715
1716 * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to
1717 24-bit.
1718
1719 2002-03-06 Jason Rumney <jasonr@gnu.org>
1720
1721 * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor.
1722
1723 2002-03-06 Gerd Moellmann <gerd@gnu.org>
1724
1725 * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now)
1726 (cancel_echoing, echo_length, echo_truncate): Changed to
1727 work with new kboard definition.
1728 (echo_now): Use message3_nolog instead of message2_nolog.
1729
1730 * alloc.c (mark_kboards): Mark echo_string.
1731
1732 * keyboard.h (ECHOBUFSIZE): Removed.
1733 (struct kboard): Member echoptr removed, member echobuf renamed
1734 to echo_string.
1735
1736 * xdisp.c (message_with_string): Use Fformat instead of doprnt and
1737 message3 instead of message2 to display the message using STRING's
1738 text properties.
1739
1740 2002-03-05 Andreas Schwab <schwab@suse.de>
1741
1742 * xdisp.c (hscroll_margin): Change to EMACS_INT.
1743
1744 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk>
1745
1746 * frame.c (default-frame-alist): Explain that setting it doesn't
1747 affect existing frames.
1748
1749 2002-03-05 Stefan Monnier <monnier@cs.yale.edu>
1750
1751 * indent.c (skip_invisible): Fix my brain fart.
1752
1753 * dispnew.c (sit_for): Don't wait if executing a kbd macro.
1754
1755 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
1756
1757 * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c,
1758 * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h,
1759 * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c,
1760 * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition
1761 and variables to use EMACS_INT instead of just int.
1762
1763 * buffer.c (syms_of_buffer): Allow non-string `mode-name'.
1764
1765 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il>
1766
1767 * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the
1768 environment, pass it down with corrected value.
1769
1770 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1771
1772 * lread.c (read_filtered_event): Do not call start_hourglass
1773 before returning.
1774
1775 2002-03-04 Juanma Barranquero <lektu@terra.es>
1776
1777 * w32term.c (x_display_and_set_cursor): Fix typo.
1778
1779 2002-03-03 Richard M. Stallman <rms@gnu.org>
1780
1781 * fileio.c (Fmake_temp_name): Doc fix.
1782
1783 2002-03-03 Gary Wong <gtw@gnu.org>
1784
1785 * termcap.c [!emacs]: Replace ospeed for building standalone
1786 libtermcap, for binary compatibility.
1787
1788 * tparam.c [!emacs]: Move #define of bcopy to after string.h.
1789
1790 2002-03-03 Richard M. Stallman <rms@gnu.org>
1791
1792 * xrdb.c (file_p): Rename arg `path' to `filename'.
1793
1794 * abbrev.c (Fexpand_abbrev): Increment plist as use count
1795 only if it is an integer.
1796
1797 * xfns.c (png_load): Set screen_gamma based on f->gamma.
1798 If png_get_sRGB gives an answer, call png_set_gamma
1799 using the default image gamma value.
1800
1801 * lread.c (read1): When reading from a file, default string to
1802 multibyte only if it has some multibyte characters.
1803
1804 * print.c (print_object): Output multibyte chars 128...255
1805 using \x even if ! print_escape_multibyte.
1806
1807 * xdisp.c (display_mode_element): Move the places where
1808 bytepos, charpos, this, and lisp_string are set.
1809 Use lisp_string to set bytepos.
1810
1811 * xdisp.c (redisplay_internal):
1812 Call clear_image_cache only if HAVE_WINDOW_SYSTEM.
1813
1814 * xdisp.c (display_mode_element): Merge properties specified with
1815 :propertize onto those that come with the string.
1816
1817 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
1818
1819 * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from
1820 automatic-hscrolling. Users changed.
1821 <hscroll-margin>: Renamed from automatic-hscroll-margin.
1822 Users changed.
1823 <hscroll-step>: Renamed from automatic-hscroll-step. Users changed.
1824
1825 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il>
1826
1827 * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix.
1828
1829 2002-03-02 Kim F. Storm <storm@cua.dk>
1830
1831 * window.c (Fminibuffer_selected_window): New function.
1832 (syms_of_window): Defsubr it.
1833
1834 2002-03-01 Kim F. Storm <storm@cua.dk>
1835
1836 * window.h (struct window): New member phys_cursor_width.
1837
1838 * window.c (make_window, replace_window): Init phys_cursor_width.
1839
1840 * xterm.c (x_display_and_set_cursor): Blink box cursor using
1841 hollow box cursor. Blink bar cursor using 1 pixel wide bar.
1842
1843 * w32term.c (x_display_and_set_cursor): Blink box cursor using
1844 hollow box cursor. Blink bar cursor using 1 pixel wide bar.
1845
1846 * lisp.h (GCPRO6): New macro.
1847
1848 * process.c (Fopen_network_stream): Use GCPRO6.
1849
1850 2002-03-01 Kim F. Storm <storm@cua.dk>
1851
1852 * process.c (Qconnect, Qfailed): New variables.
1853 (syms_of_process): Intern and staticpro them.
1854 (Fprocess_status): Document connect and failed return values.
1855 [NON_BLOCKING_CONNECT]: New conditional.
1856 (connect_wait_mask, num_pending_connects): New variables.
1857 (status_message): Convert Qfailed status.
1858 (Fopen_network_stream): Added support for non-blocking connect.
1859 New optional args: filter, sentinel, non_blocking. Doc updated.
1860 [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code.
1861 (deactivate_process): Handle pending non-blocking connect.
1862 (wait_reading_process_input): Poll for status of non-blocking
1863 connects. Exec sentinel directly when connect succeeds.
1864 (status_notify): Don't read process output if not yet connected.
1865
1866 2002-02-28 Kim F. Storm <storm@cua.dk>
1867
1868 * window.c: (minibuf_selected_window): Renamed from
1869 Vminibuf_selected_window. Users changed.
1870 (syms_of_window): Staticpro it.
1871
1872 2002-02-26 Kim F. Storm <storm@cua.dk>
1873
1874 The following changes add a new Vminibuf_selected_window variable
1875 which is similar to Vminibuf_scroll_window, but which is only set
1876 on entry to the minibuffer (from a non-minibuffer window):
1877
1878 * window.c: (Vminibuf_selected_window): New variable.
1879 (struct save_window_data): New member minibuf_selected_window.
1880 (Fset_window_configuration): Restore Vminibuf_selected_window.
1881 (Fcurrent_window_configuration): Save Vminibuf_selected_window.
1882 Set minibuf_scroll_window member to nil if minibuf_level is 0.
1883 (compare_window_configurations): Compare minibuf_selected_window.
1884
1885 * window.h: (Vminibuf_selected_window): Declare extern.
1886
1887 * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first
1888 entry to minibuffer or on entry from a non-minibuffer window.
1889
1890 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with
1891 Vminibuf_selected_window instead of Vminibuf_scroll_window.
1892
1893 * xdisp.c (init_iterator): Compare with Vminibuf_selected_window
1894 instead of Vminibuf_scroll_window when deciding in which window
1895 the region should be highlighted. Consequently, the region remains
1896 highlighteded even when a completion buffer is also displayed.
1897
1898 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
1899
1900 * fileio.c (Fsubstitute_in_file_name): Fix the change from
1901 2002-02-08.
1902
1903 * xselect.c (Qcompound_text_with_extensions): Renamed from
1904 Qcompound_text_no_extensions.
1905 (lisp_data_to_selection_data, syms_of_xselect): Use the new name.
1906
1907 2002-02-26 Juanma Barranquero <lektu@terra.es>
1908
1909 * w32proc.c (syms_of_ntproc): Doc fix.
1910
1911 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1912
1913 * intervals.h: Include "dispextern.h" unconditionally.
1914
1915 2002-02-24 Jason Rumney <jasonr@gnu.org>
1916
1917 * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc
1918 and disp-table.elc.
1919 (lisp): Add emacs-lisp/backquote.elc.
1920
1921 2002-02-24 Kim F. Storm <storm@cua.dk>
1922
1923 * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch:
1924 The validation of the event type was too strict as it didn't
1925 allow string events; buffer names are used in bindings for
1926 menu-bar-select-buffer (see `menu-bar-update-buffers').
1927
1928 2002-02-23 Kim F. Storm <storm@cua.dk>
1929
1930 The following changes rework my patch of 2002-02-06 which
1931 added command remapping by entering the commands directly into
1932 the keymaps. Now, command remapping uses an explicit `remap'
1933 prefix in the keymaps, i.e. [remap COMMAND].
1934
1935 * keymap.c (Qremap, remap_command_vector): New variables.
1936 (is_command_symbol): Removed function.
1937 (Fdefine_key): No longer accept a symbol for KEY.
1938 Added validation of [remap COMMAND] argument for KEY.
1939 The DEF is no longer required to be a symbol when remapping a command.
1940 (Fremap_command): New function to remap command through keymaps.
1941 (Flookup_key): Perform command remapping initiated by
1942 Fremap_command directly for speed.
1943 (Fkey_binding): Use Fremap_command for command remapping.
1944 (where_is_internal): Handle new command remapping representation.
1945 (syms_of_keymap): Intern Qremap, initialize remap_command_vector,
1946 staticpro them. Defsubr Fremap_command.
1947
1948 * keymap.h (Fremap_command): Declare extern.
1949 (is_command_symbol): Remove extern.
1950
1951 * keyboard.c (command_loop_1): Use Fremap_command for command
1952 remapping; now try command remapping for all symbols.
1953
1954 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il>
1955
1956 * coding.h (run_pre_post_conversion_on_str): Add prototype.
1957
1958 2002-02-23 Jason Rumney <jasonr@gnu.org>
1959
1960 * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion
1961 on the string before encoding it.
1962 (Fw32_get_clipboard_data): Run post-read-conversion on the string
1963 after decoding it.
1964
1965 * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change.
1966
1967 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1968
1969 * w32term.c (enter_timestamp): Remove unused static variable to
1970 prevent warning.
1971
1972 * xterm.c (enter_timestamp): Put in #if 0 to prevent warning.
1973
1974 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il>
1975
1976 * w16select.c (Fw16_get_clipboard_data): Fix last change.
1977
1978 * xselect.c (selection_data_to_lisp_data): Fix last change.
1979
1980 2002-02-22 Jason Rumney <jasonr@gnu.org>
1981
1982 * w32term.h (struct w32_output): New member menu_command_in_progress.
1983
1984 * w32menu.c (menubar_selection_callback): Free the menu and
1985 clear the menu_command_in_progress flag.
1986
1987 * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize.
1988 (menu_free_timer): New variable.
1989 (MENU_FREE_ID, MENU_FREE_DELAY): New constants.
1990 (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
1991 <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a
1992 menu command is in progress.
1993 <WM_COMMAND>: Set the menu_command_in_progress flag.
1994 Kill any menu_free_timer that is running.
1995
1996 * w32term.c (w32_text_out): Renamed from W32_TEXTOUT.
1997 Call ExtTextOutA rather than ExtTextOut.
1998
1999 2002-02-22 Eli Zaretskii <eliz@gnu.org>
2000
2001 * puresize.h (BASE_PURESIZE): Increase to 755000.
2002
2003 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
2004
2005 * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion
2006 on the string before encoding it.
2007 (Fw16_get_clipboard_data): Run post-read-conversion on the string
2008 after decoding it.
2009
2010 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
2011
2012 Support for ICCCM Extended Segments in X selections:
2013
2014 * xselect.c <Qcompound_text_no_extensions>: New variable.
2015 (syms_of_xselect): Intern and staticpro it.
2016 (selection_data_to_lisp_data): Run post-read-conversion on decoded
2017 selection text.
2018 (lisp_data_to_selection_data): If next-selection-coding-system is
2019 compound-text-no-extensions, set the type of selection to be
2020 compound-text.
2021
2022 * xterm.h (x_encode_text): Update prototype.
2023
2024 * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all
2025 callers changed. If SELECTIONP is non-zero, run the
2026 pre-write-conversion function before encoding the selection text.
2027
2028 2002-02-21 Kim F. Storm <storm@cua.dk>
2029
2030 * frame.c (syms_of_frame): Change mouse-highlight default to t.
2031
2032 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]:
2033 Correct composing of language-change event.
2034
2035 2002-02-20 Kim F. Storm <storm@cua.dk>
2036
2037 * keyboard.c (menu_bar_items): Don't include keymap or local-map
2038 bindings at PT when building menu (the menu is not updated often
2039 enough for this to work reliable).
2040 (tool_bar_items): Likewise.
2041 (current_active_maps): Removed unused (and buggy) function.
2042
2043 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2044
2045 * xfns.c (gif_load): Use correct width and height for GIF images.
2046
2047 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
2048
2049 * floatfns.c (Fatan): Accept an optional second arg and call
2050 atan2 if passed 2 args.
2051
2052 2002-02-18 Jason Rumney <jasonr@gnu.org>
2053
2054 * w32term.c (glyph_rect): Determine the row and glyph more precisely.
2055
2056 2002-02-17 Jason Rumney <jasonr@gnu.org>
2057
2058 * w32term.c (x_autoselect_window_p): New variable.
2059 (syms_of_w32term): DEFVAR_BOOL and initialize it.
2060 (note_mouse_movement): Use it.
2061
2062 * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero.
2063
2064 * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p.
2065
2066 * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
2067 New variables.
2068 (syms_of_w32fns): Intern and staticpro them.
2069 (x_frame_parms) <"fullscreen">: New parameter.
2070 (x_fullscreen_move, x_set_fullscreen): New functions.
2071 (x_set_frame_parameters): Support Qfullscreen.
2072 (x_real_positions): Save x/y_pixels_diff frame params.
2073 (x_figure_window_size): Support full-screen frames.
2074 (Fx_create_frame): Default the fullscreen parameter.
2075
2076 * w32term.c (x_check_fullscreen, x_check_fullscreen_move)
2077 (x_fullscreen_adjust): New functions.
2078 (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
2079 fullscreen. Call x_check_fullscreen_move, and set the
2080 want_fullscreen member of output_data.w32
2081 <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
2082
2083 * w32term.h: New enum for FULLSCREEN_* constants.
2084 (struct w32_output): New members want_fullscreen, x_pixels_diff,
2085 y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff.
2086 (x-fullscreen-adjust): New prototype.
2087
2088 2002-02-17 Kim F. Storm <storm@cua.dk>
2089
2090 * frame.c: (Vmouse_highlight): New variable.
2091 (syms_of_frame): DEFVAR_LISP it.
2092
2093 * frame.h: (Vmouse_highlight): Declare extern.
2094
2095 * xterm.h (struct x_display_info): Add mouse_face_hidden.
2096
2097 * xterm.c (disable_mouse_highlight): Removed variable.
2098 (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
2099 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2100 (XTread_socket): Turn mouse_face_hidden off after mouse movement,
2101 and on after keyboard input.
2102 (x_term_init): Initialize mouse_face_hidden.
2103
2104 * msdos.h (struct display_info): Add mouse_face_hidden.
2105
2106 * msdos.c (disable_mouse_highlight): Removed variable.
2107 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2108 (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
2109 (internal_terminal_init): Initialize mouse_face_hidden.
2110 (dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
2111 and on after keyboard input.
2112
2113 * w32term.h (struct w32_display_info): Add mouse_face_hidden.
2114
2115 * w32term.c (disable_mouse_highlight): Removed variable.
2116 (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
2117 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2118 (w32_read_socket): Turn mouse_face_hidden off after mouse movement,
2119 and on after keyboard input.
2120 (w32_initialize_display_info): Initialize mouse_face_hidden.
2121
2122 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
2123
2124 * msdos.c (last_mouse_window): New variable.
2125 (dos_rawgetc): Fix last change--if the mouse is in the same window
2126 as recorded in last_mouse_window, don't select this window.
2127
2128 * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el.
2129
2130 * msdos.c (x_autoselect_window_p): New variable.
2131 (syms_of_msdos): Defvar it.
2132 (dos_rawgetc): If x_autoselect_window_p is set, select the window
2133 in which the last mouse movement occured, unless it is already
2134 selected.
2135
2136 * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step):
2137 New variables.
2138 (syms_of_xdisp): DEVFAR them.
2139 (hscroll_window_tree): Use automatic_hscroll_margin and
2140 Vautomatic_hscroll_step to compute the amount of window scrolling.
2141
2142 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2143
2144 * xterm.c (x-autoselect-window): New variable.
2145 (note_mouse_movement): Use it.
2146
2147 * keyboard.c: Do not include "systime.h" twice.
2148
2149 2002-02-15 Andreas Schwab <schwab@suse.de>
2150
2151 * puresize.h (BASE_PURESIZE): Increase to 9/5.
2152
2153 * alloc.c (NSTATICS): Increase to 1280.
2154
2155 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2156
2157 * alloc.c (NSTATICS): Bump to 1026.
2158
2159 * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
2160 (Vx_super_keysym): New variables.
2161 (syms_of_xterm): DEFVAR_LISP them.
2162 (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the
2163 variables to determine which keys to use for the various modifiers.
2164
2165 2002-02-13 Kim F. Storm <storm@cua.dk>
2166
2167 * window.c: (Vmode_line_in_non_selected_windows): Removed.
2168 (mode_line_in_non_selected_windows): New variable.
2169 (syms_of_window): DEFVAR_BOOL it.
2170
2171 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3):
2172 Use mode_line_in_non_selected_windows.
2173 (mode_line_in_non_selected_windows): Declare extern.
2174 (Vmode_line_in_non_selected_windows): Removed extern.
2175
2176 2002-02-13 Richard M. Stallman <rms@gnu.org>
2177
2178 * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector)
2179 (Fthis_single_command_keys, Fthis_single_command_raw_keys)
2180 (Fclear_this_command_keys): Doc fixes.
2181
2182 * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
2183 (update_face_from_frame_parameter): Increment face_change_count
2184 and windows_or_buffers_changed to force redisplay using changed faces.
2185
2186 * xdisp.c (QCpropertize): New variable.
2187 (mode_line_proptrans_alist): New variable.
2188 (display_mode_element): New arg PROPS; all calls changed.
2189 Implement this, for strings.
2190 Handle literal output of strings by sharing the
2191 main-line code for strings, using local var `literal'.
2192 Handle :propertize feature.
2193 (syms_of_xdisp): Initialze and staticpro QCpropertize and
2194 mode_line_proptrans_alist.
2195
2196 2002-02-11 Kim F. Storm <storm@cua.dk>
2197
2198 * window.c: (Vmode_line_in_non_selected_windows): New variable.
2199 (syms_of_window): DEFVAR_LISP it.
2200
2201 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro.
2202 (CURRENT_MODE_LINE_FACE_ID): Use it.
2203 (Vmode_line_in_non_selected_windows): Declare extern.
2204
2205 * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3
2206 to get mode line face.
2207
2208 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
2209
2210 * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these
2211 variables; cus-start.el doesn't need them anymore.
2212
2213 2002-02-09 Kim F. Storm <storm@cua.dk>
2214
2215 * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap
2216 reduction. This fixes a display problem where stray newlines were
2217 inserted in the window (corrected by C-l). Clarified code (IMHO).
2218
2219 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il>
2220
2221 * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change.
2222
2223 * xdisp.c (display_mode_lines): Fix last change.
2224
2225 2002-02-09 Jason Rumney <jasonr@gnu.org>
2226
2227 * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows
2228 match each other.
2229 (w32_load_system_font): Prevent Cleartype fonts from loading.
2230 (Fx_show_tip): Ensure tip frames are above other topmost windows.
2231
2232 2002-02-09 Kim F. Storm <storm@cua.dk>
2233
2234 * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro.
2235 (CURRENT_MODE_LINE_HEIGHT): Use it.
2236 (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID.
2237
2238 * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID.
2239 (pos_visible_p, handle_face_prop): Likewise.
2240 (display_mode_lines): Likewise, but for the real selected window.
2241 (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID.
2242
2243 * xfaces.c (Qmode_line_inactive): New face variable for mode-line
2244 in non-selected windows.
2245 (realize_basic_faces): Realize it.
2246 (syms_of_term): Intern and staticpro it.
2247
2248 2002-02-08 Kim F. Storm <storm@cua.dk>
2249
2250 * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):
2251 Changed mail addresses to emacs-devel@gnu.org.
2252
2253 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
2254
2255 * fileio.c (Fsubstitute_in_file_name): If the file name includes
2256 ~user, and there's no such user, don't discard everything before ~user.
2257
2258 * floatfns.c (Fround): Doc fix.
2259
2260 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2261
2262 * sysdep.c (init_system_name): Put unused variable `p' in #if 0.
2263
2264 2002-02-07 Stefan Monnier <monnier@cs.yale.edu>
2265
2266 * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c).
2267
2268 2002-02-07 Kim F. Storm <storm@cua.dk>
2269
2270 * keymap.c (where_is_internal): Only check whether definition is
2271 remapped if it fulfills is_command_symbol.
2272
2273 2002-02-07 Andreas Schwab <schwab@suse.de>
2274
2275 * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k.
2276
2277 * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4.
2278
2279 2002-02-06 Kim F. Storm <storm@cua.dk>
2280
2281 * keymap.c (Fdefine_key): Allow symbol as KEY argument for
2282 defining command remapping. Doc updated.
2283 (Flookup_key): Remap command through keymap if KEY is a symbol.
2284 (is_command_symbol): New function.
2285 (Fkey_binding): Use it. New optional argument NO-REMAP.
2286 Doc updated. Callers changed. Perform command remapping via
2287 recursive call unless that arg is non-nil.
2288 (where_is_internal): New argument no_remap. Callers changed.
2289 Call recursively to find original key bindings for a remapped
2290 comand unless that arg is non-nil.
2291 (Fwhere_is_internal): New optional argument NO-REMAP.
2292 Doc updated. Callers changed. Pass arg to where_is_internal.
2293
2294 * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype.
2295 (is_command_symbol): Added prototype.
2296
2297 * keyboard.c (Vthis_original_command): New variable.
2298 (syms_of_keyboard): DEFVAR_LISP it.
2299 (command_loop_1): Set it, and perform command remapping.
2300
2301 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2302
2303 * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally.
2304
2305 2002-02-06 Jason Rumney <jasonr@gnu.org>
2306
2307 * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change.
2308
2309 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
2310
2311 * charset.c (get_charset_id): Use if-else instead of ?:.
2312
2313 2002-02-06 Richard M. Stallman <rms@gnu.org>
2314
2315 * filelock.c (S_ISLNK): Define if not defined.
2316
2317 2002-02-03 Richard M. Stallman <rms@gnu.org>
2318
2319 * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg.
2320
2321 * lread.c (read1): Redesign strategy for force_multibyte and
2322 force_singlebyte. Now is_multibyte records whether read_buffer
2323 is multibyte. Encountering any multibyte character makes it so.
2324
2325 2002-02-02 Stefan Monnier <monnier@cs.yale.edu>
2326
2327 * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and
2328 with the same sequence, map that sequence to f10 rather than f0.
2329
2330 2002-02-03 Andreas Schwab <schwab@suse.de>
2331
2332 * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the
2333 latter never being defined on GNU/Linux.
2334
2335 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
2336
2337 * xfaces.c (realize_default_face): Don't set the weight and slant
2338 of the default face to Qnormal, unless these attributes are
2339 unspecified.
2340
2341 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2342
2343 * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]:
2344 Call cancel_hourglass unconditionally.
2345
2346 * eval.c (Fsignal): Remove duplicated declaration of
2347 the variable `display_hourglass_p'.
2348
2349 2002-01-31 Richard M. Stallman <rms@gnu.org>
2350
2351 * editfns.c (region_limit): Nicer error message.
2352
2353 * coding.c (decode_composition_emacs_mule):
2354 Give up if NCOMPONENT gets too large to index `component'.
2355
2356 * callint.c (check_mark): New arg to specify clearer error message.
2357 Callers changed.
2358
2359 2002-01-27 Richard M. Stallman <rms@gnu.org>
2360
2361 * minibuf.c (Fcompleting_read): Doc fix.
2362
2363 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2364
2365 * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function)
2366 (Fread_variable, Fread_buffer, minibuffer-completion-confirm):
2367 Fix doc-strings.
2368
2369 2002-01-26 Richard M. Stallman <rms@gnu.org>
2370
2371 * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively.
2372
2373 * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively
2374 and scroll_up_aggressively.
2375
2376 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2377
2378 * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes.
2379
2380 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
2381
2382 * textprop.c (Fnext_property_change, Fnext_single_property_change)
2383 (Fprevious_property_change, Fprevious_single_property_change):
2384 Stay within the narrowed-buffer boundaries.
2385
2386 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
2387
2388 * term.c (Ftty_display_color_cells): New function.
2389 (syms_of_term): Defsubr it.
2390 (Ftty_display_color_cells, Ftty_display_color_p): Change the
2391 argument name to DISPLAY. Doc fix.
2392
2393 * dispextern.h: Add prototype for set_tty_color_mode and
2394 tty_setup_colors.
2395
2396 2002-01-24 Jason Rumney <jasonr@gnu.org>
2397
2398 * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt.
2399 If region left to draw is not what was expected, mark the frame as
2400 garbaged.
2401
2402 * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect.
2403 Combine the regions returned by BeginPaint and GetUpdateRect.
2404
2405 2002-01-23 Jason Rumney <jasonr@gnu.org>
2406
2407 * w32term.c (x_update_window_begin): Only hide caret if
2408 w32_use_visible_system_caret is set.
2409 (x_update_window_end): Only show caret if
2410 w32_use_visible_system_caret is set.
2411 (syms_of_w32term): Handle SystemParametersInfo call failing.
2412
2413 * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd.
2414
2415 2002-01-22 Richard M. Stallman <rms@gnu.org>
2416
2417 * unexelf.c (unexec): Define n so as to cause compilation error
2418 for the code where people have often written n instead of nn.
2419
2420 * .gdbinit (hookpost-run): Defined.
2421
2422 2002-01-22 Jan D. <Jan.Djarv@mbox200.swipnet.se>
2423
2424 * xfns.c (x_set_frame_parameters): Typo in previous fix corrected.
2425
2426 2002-01-21 Jan D. <Jan.Djarv@mbox200.swipnet.se>
2427
2428 * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust
2429 if fullscreen is being set.
2430
2431 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2432
2433 * minibuf.c (Fminibuffer_contents)
2434 (Fminibuffer_contents_no_properties, Fread_from_minibuffer)
2435 (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes.
2436
2437 2002-01-21 Richard M. Stallman <rms@gnu.org>
2438
2439 * window.c (check_frame_size): Fix minimum height calculation.
2440
2441 2002-01-20 Ken Raeburn <raeburn@gnu.org>
2442
2443 * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window
2444 height before comparison.
2445 (WINDOW_WANTS_HEADER_LINE_P): Likewise.
2446
2447 2002-01-20 Jason Rumney <jasonr@gnu.org>
2448
2449 * w32term.c (w32_system_caret_width): Remove.
2450 (w32_use_visible_system_caret): New user flag.
2451 (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether
2452 Windows reports a screen reader running.
2453 (x_update_window_begin): Hide the system caret.
2454 (x_update_window_end): Show the system caret.
2455 (x_display_and_set_cursor): Don't draw a cursor when
2456 w32_use_visible_system_caret is set. Do not adjust width.
2457
2458 * w32fns.c (w32_visible_system_caret_hwnd): New static variable.
2459 (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
2460 <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
2461 the user requests it. Use system default width when creating.
2462 <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
2463
2464 * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET):
2465 New window messages.
2466
2467 2002-01-20 Richard M. Stallman <rms@gnu.org>
2468
2469 * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1.
2470
2471 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2472
2473 * doprnt.c (doprnt1): Fix typos in error call.
2474
2475 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il>
2476
2477 * unexelf.c (unexec) [__sgi]: Support the .got sections.
2478
2479 2002-01-20 Jason Rumney <jasonr@gnu.org>
2480
2481 * w32term.c (w32_native_per_char_metric): Don't trust the metrics
2482 that Windows returns. If a double check fails, try to guess how
2483 ExtTextOut is going to act.
2484
2485 * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp
2486 in place of stricmp.
2487 (w32_list_synthesized_fonts): Removed.
2488 (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
2489 (struct enumfont_t): New element; list.
2490 (enum_font_cb2): List all style and charset variations of a font.
2491 (Fw32_select_font): New optional argument; include_proportional.
2492 Exclude vertical fonts. Exclude proportional fonts unless
2493 include_proportional is non-nil.
2494 (w32_enable_synthesized_fonts): Change to a boolean.
2495 (Fw32_send_sys_command): Doc fix.
2496
2497 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2498
2499 * dispnew.c (update_frame): Move the variable `tem' to the block
2500 where it is used.
2501
2502 2002-01-19 Jason Rumney <jasonr@gnu.org>
2503
2504 * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
2505 call to face-set-after-frame-default.
2506
2507 2002-01-18 Richard M. Stallman <rms@gnu.org>
2508
2509 * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1.
2510 (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room.
2511
2512 2002-01-17 Richard M. Stallman <rms@gnu.org>
2513
2514 * window.c (enlarge_window): When exceeding size of parent,
2515 directly delete all the siblings instead of trying to resize it.
2516
2517 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2518
2519 * term.c (set_tty_color_mode): Remove unused variable `tem'.
2520
2521 2002-01-16 Henrik Enberg <henrik@enberg.org>
2522
2523 * lread.c (init_lread): Move the installed-lisp dirs later in the path.
2524
2525 2002-01-16 Kim F. Storm <storm@cua.dk>
2526
2527 * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row
2528 is invisible. This can happen if cursor is on top line of a
2529 window, and we switch to a buffer with a header line.
2530
2531 * w32term.c (x_erase_phys_cursor): Ditto.
2532
2533 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2534
2535 * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of
2536 `dont_resize' only when used.
2537
2538 * xdisp.c: Remove forgotten extern declaration of `Qimage'.
2539
2540 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il>
2541
2542 * xdisp.c (display_mode_element): When computing charpos, depend
2543 on multibyteness of elt, not the text in field.
2544
2545 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2546
2547 * buffer.c (Fkill_all_local_variables):
2548 Increment `update_mode_lines' only once.
2549
2550 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2551
2552 * lisp.h (adjust_after_replace_noundo)
2553 (Fupdate_coding_systems_internal): Add prototypes.
2554
2555 * sound.c (Fplay_sound): Initialize header_size also for :data case.
2556
2557 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
2558
2559 Support for the --color command-line argument and tty-color-mode
2560 frame parameter:
2561
2562 * term.c (tty_default_color_capabilities, tty_setup_colors)
2563 (set_tty_color_mode): New functions.
2564 (term_init): Call tty_default_color_capabilities.
2565 (Qtty_color_mode_alist): New variable.
2566 (syms_of_term): Intern and staticpro it.
2567
2568 * frame.c (store_frame_param): Call set_tty_color_mode for termcap
2569 frames.
2570 (do_switch_frame): For termcap frames, switch the tty
2571 color mode as specified by the frame's parameters.
2572 (Qtty_color_mode): New variable.
2573 (syms_of_frame): Intern and staticpro it.
2574
2575 * emacs.c (USAGE2): Add the --color option.
2576 (standard_args): Ditto.
2577
2578 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
2579
2580 * xterm.h (struct x_output): New members want_fullscreen,
2581 x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and
2582 y_pixels_outer_diff.
2583 New enum for FULLSCREEN_* constants.
2584 (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget
2585 is NULL.
2586 (x_fullscreen_adjust): Add prototype.
2587
2588 * emacs.c (USAGE2): Add the new full-screen arguments.
2589 (standard_args): Ditto.
2590
2591 * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
2592 New variables.
2593 (syms_of_xfns): Intern and staticpro them.
2594 (x_frame_parms) <"fullscreen">: New parameter.
2595 (x_fullscreen_move, x_set_fullscreen): New functions.
2596 (x_set_frame_parameters): Support for Qfullscreen.
2597 (x_real_positions): More accurate computation of the frame position.
2598 (x_figure_window_size): Support full-screen frames.
2599 (Fx_create_frame): Default the fullscreen parameter.
2600
2601 * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions.
2602 (XTread_socket) <Expose>: Call x_check_fullscreen.
2603 <ConfigureNotify>: Don't resize to fullscreen.
2604 Call x_check_fullscreen_move, and set the want_fullscreen member of
2605 output_data.x.
2606
2607 2002-01-13 Jason Rumney <jasonr@gnu.org>
2608
2609 * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages
2610 for mice with more than 3 buttons.
2611
2612 * w32term.c (parse_button): New parameter xbutton. Callers changed.
2613 (w32_read_socket): Handle new "XBUTTON" messages.
2614
2615 * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option.
2616 (syms_of_w32fns): DEFVAR_BOOL it.
2617 (w32_wnd_proc): Handle new "XBUTTON" messages.
2618
2619 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2620
2621 * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'.
2622
2623 2002-01-13 Andreas Schwab <schwab@suse.de>
2624
2625 * xterm.c (x_load_font): Never set fonts_changed_p to zero.
2626
2627 2002-01-12 Andreas Schwab <schwab@suse.de>
2628
2629 * .gdbinit (xbuffer): Remove address operator since data is now a
2630 pointer.
2631
2632 2002-01-11 Richard M. Stallman <rms@gnu.org>
2633
2634 * insdel.c (adjust_after_replace_noundo): New function.
2635
2636 * coding.c (code_convert_region): Don't copy old text if undo disabled.
2637
2638 2002-01-09 Jason Rumney <jasonr@gnu.org>
2639
2640 * xdisp.c (x_consider_frame_title): Don't count the tooltip frame
2641 when checking for multiple frames.
2642
2643 2002-01-08 Richard M. Stallman <rms@gnu.org>
2644
2645 * window.c (delete_window): Rewrite the code for changing the
2646 selected window to handle the case where WINDOW is not a leaf.
2647
2648 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il>
2649
2650 * process.c (send_process): Set src_multibyte to 1 after the call
2651 top setup_coding_system, not before the call.
2652
2653 2002-01-07 Jason Rumney <jasonr@gnu.org>
2654
2655 * xmenu.c (set_frame_menubar, xmenu_show):
2656 (xdialog_show): Initialize wv->help to Qnil.
2657
2658 * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show):
2659 (w32_dialog_show): Initialize wv->help to Qnil.
2660
2661 2002-01-06 Jason Rumney <jasonr@gnu.org>
2662
2663 * xmenu.c (single_submenu): Initialize wv->help to Qnil.
2664
2665 * w32menu.c (w32_menu_display_help): Revert last change.
2666
2667 * xmenu.c (menu_highlight_callback): Revert last change.
2668
2669 2002-01-06 Andreas Schwab <schwab@suse.de>
2670
2671 * insdel.c (make_gap_larger): Make sure buffer size does not
2672 overflow range of int.
2673
2674 2002-01-05 Jason Rumney <jasonr@gnu.org>
2675
2676 * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
2677 OVERLAPS_P.
2678
2679 * w32menu.c (w32_menu_display_help): Hide any tooltip window.
2680
2681 * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen
2682 to the left or to the right of the pointer, put it against
2683 the left screen edge.
2684 (x_frame_parms): Add missing braces around initializer.
2685
2686 * w32term.c (x_setup_relief_colors): Don't compute an image's
2687 background color if it doesn't have a Pixmap.
2688 (notice_overwritten_cursor): Don't depend on
2689 output_cursor and updated_area. Compare pixel coordinates with
2690 window's cursor pixel coordinates.
2691 (x_draw_glyphs, x_clear_end_of_line, show_mouse_face):
2692 Call notice_overwritten_cursor with new arg list.
2693 (show_mouse_face): Fix bug setting a row's mouse_face_p flag
2694 unconditionally.
2695 (x_draw_image_relief): Use predefined macro instead of
2696 constant when the value of `tool_bar_button_relief' is negative.
2697
2698 * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types.
2699
2700 2002-01-04 Richard M. Stallman <rms@gnu.org>
2701
2702 * xmenu.c (menu_highlight_callback): Hide any tooltip window.
2703
2704 2002-01-03 Richard M. Stallman <rms@gnu.org>
2705
2706 * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first.
2707 (Fkey_binding): Try the `keymap' property map first.
2708 (Fdescribe_buffer_bindings): Show `keymap' property bindings before
2709 minor mode bindings.
2710
2711 2002-01-03 Kim F. Storm <storm@cua.dk>
2712
2713 * keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy.
2714
2715 2002-01-02 Richard M. Stallman <rms@gnu.org>
2716
2717 * keyboard.c (read_key_sequence): Handle the keymap property
2718 before minor mode maps.
2719
2720 * editfns.c (Fformat): Update thissize from field_width
2721 based on the actual width, in the string case.
2722
2723 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2724
2725 * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment
2726 when used as truth value to prevent gcc warnings.
2727
2728 * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c,
2729 * w32proc.c: Include <config.h>.
2730
2731 2002-01-01 Andreas Schwab <schwab@suse.de>
2732
2733 * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int,
2734 not EMACS_INT, to make them compatible with DEFVAR_INT.
2735 * lisp.h (max_specpdl_size): Adjust declaration.
2736
2737 2002-01-01 Richard M. Stallman <rms@gnu.org>
2738
2739 * print.c (print_object): Test print_escape_nonascii only for
2740 unibyte strings.
2741 (PRINTPREPARE): Once again bind Qprint_escape_nonascii
2742 when outputting to a multibyte buffer.
2743
2744 2001-12-29 Richard M. Stallman <rms@gnu.org>
2745
2746 * print.c (print_object): In multibyte string, use hex escapes.
2747 Use octal only for unibyte strings.
2748 (PRINTPREPARE): Don't ever set Qprint_escape_nonascii.
2749
2750 * lread.c (read_escape): New arg BYTEREP for reporting whether
2751 escape forces unibyte or multibyte.
2752 (read1): When reading a string, take note of that info.
2753
2754 2001-12-29 Ken Raeburn <raeburn@gnu.org>
2755
2756 * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero
2757 comparison to test lisp value returned by Fget.
2758
2759 2001-12-29 Richard M. Stallman <rms@gnu.org>
2760
2761 * lisp.h (max_specpdl_size): Add declaration.
2762
2763 * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message.
2764
2765 * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key.
2766 Handle modifier bits. Correct typo in error message.
2767
2768 2001-12-28 Richard M. Stallman <rms@gnu.org>
2769
2770 * abbrev.c: Use the plist of an abbrev for multiple params if nec.
2771 (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev.
2772 (Fdefine_global_abbrev, Fdefine_mode_abbrev):
2773 Update calls to Fdefine_abbrev.
2774 (write_abbrev): Update for changed data format.
2775 Don't list "system" abbrevs.
2776 (Fexpand_abbrev): Update use count with new data format.
2777 (describe_abbrev): Update for changed data format.
2778 (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG.
2779
2780 * config.in (HAVE_MBSINIT): Add #undef.
2781
2782 * strftime.c (mbsinit): Define as no-op if not available.
2783
2784 * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
2785 (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE.
2786
2787 * keymap.c (Flookup_key): Error message if key has wrong data type.
2788 (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc.
2789 (exclude_key): New variable.
2790
2791 2001-12-28 Gerd Moellmann <gerd@gnu.org>
2792
2793 * xterm.c (x_setup_relief_colors): Don't compute an image's
2794 background color if it doesn't have a Pixmap.
2795
2796 * xterm.c (notice_overwritten_cursor): Don't depend on
2797 output_cursor and updated_area. Compare pixel coordinates with
2798 window's cursor pixel coordinates.
2799 (x_draw_glyphs, x_clear_end_of_line, show_mouse_face):
2800 Call notice_overwritten_cursor with new arg list.
2801 (show_mouse_face): Fix bug setting a row's mouse_face_p flag
2802 unconditionally.
2803
2804 * xdisp.c (try_scrolling) <PT below scroll margin>: Add the
2805 height of the cursor line to the amount to scroll.
2806
2807 2001-12-27 Richard M. Stallman <rms@gnu.org>
2808
2809 * intervals.c (set_point_both): The position after an invisible,
2810 intangible character is not an acceptable stopping point.
2811
2812 2001-12-27 Ken Raeburn <raeburn@gnu.org>
2813
2814 * window.c (enlarge_window): In new preserve_before code, convert
2815 CURBEG from lisp object to integer before doing arithmetic.
2816
2817 2001-12-27 Richard M. Stallman <rms@gnu.org>
2818
2819 * bytecode.c (Fbyte_code): Undo previous change.
2820
2821 2001-12-26 Kim F. Storm <storm@cua.dk>
2822
2823 * keyboard.c (record_char): Ignore duplicate help-echo events only
2824 separated by mouse-movement. When tracking mouse, only record
2825 first and last mouse-movement event in same window.
2826 Don't record mouse-movement events in keyboard macros.
2827
2828 2001-12-25 Richard M. Stallman <rms@gnu.org>
2829
2830 * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed.
2831 (Fenlarge_window): New arg PRESERVE_BEFORE.
2832
2833 * bytecode.c (Fbyte_code): Use Fstring_make_unibyte
2834 instead of Fstring_as_unibyte.
2835
2836 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2837
2838 The following changes remove mocklisp support:
2839
2840 * mocklisp.h, mocklisp.c: Files removed.
2841
2842 * lisp.h: Remove declarations of variables `Vmocklisp_arguments',
2843 `Qmocklisp' and `Qmocklisp_arguments'.
2844 Remove prototype of syms_of_mocklisp.
2845
2846 * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files.
2847
2848 * callint.c: Do not include mocklisp.h.
2849 (Fcall_interactively): Do not test for mocklisp case.
2850
2851 * eval.c: Remove variables `Qmocklisp_arguments',
2852 `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply.
2853 (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda):
2854 Do not test for mocklisp case.
2855 (Fwhile): Remove unused variable `tem'.
2856 (syms_of_eval): Remove variable `moclisp-arguments'.
2857
2858 * data.c (wrong_type_argument): Remove mocklisp case.
2859
2860 * doc.c (Fdocumentation): Remove mocklisp case.
2861
2862 * emacs.c (main): Do not call syms_of_mocklisp.
2863
2864 2001-12-21 Richard M. Stallman <rms@gnu.org>
2865
2866 * xfns.c (compute_tip_xy): If tooltip won't fit on the screen
2867 to the left or to the right of the pointer, put it against
2868 the left screen edge.
2869
2870 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
2871
2872 * Makefile.in (distclean): Remove .gdbinit if we are building
2873 outside the source tree.
2874
2875 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
2876
2877 * w32.c (emacs_root_dir): New function.
2878
2879 * msdos.c (emacs_root_dir): New function.
2880
2881 * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory
2882 of the current drive as the fallback for default_directory.
2883
2884 * dired.c (file_name_completion): Run the elements of
2885 completion-ignored-extensions through ENCODE_FILE.
2886
2887 * lisp.h (scmp): Remove prototype, since it's now a static
2888 function private to dired.c.
2889
2890 2001-12-18 Richard M. Stallman <rms@gnu.org>
2891
2892 * dired.c (scmp): Function moved from minibuf.c.
2893 Delete multibyte handling--used only on encoded strings.
2894
2895 * minibuf.c (scmp): Function moved to dired.c.
2896
2897 * fns.c (merge): Add QUIT call.
2898
2899 2001-12-18 Dave Love <fx@gnu.org>
2900
2901 * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el,
2902 language/georgian.el.
2903
2904 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2905
2906 * Makefile.in (lisp, shortlisp): Synchronize with changes to
2907 lisp/Makefile.in:DONTCOMPILE.
2908
2909 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2910
2911 * xdisp.c (window_box_height): Do not return negative values.
2912 From Gerd Moellmann <gerd@gnu.org>.
2913
2914 * keyboard.c (head_table): Add missing braces around initializer.
2915
2916 * term.c (keys): Likewise.
2917
2918 * xfns.c (x_frame_parms, visual_classes): Likewise.
2919
2920 2001-12-17 Sam Steingold <sds@gnu.org>
2921
2922 * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last
2923 patch (COMPOSING_P, not COMPOSING).
2924
2925 2001-12-17 Richard M. Stallman <rms@gnu.org>
2926
2927 * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop.
2928
2929 * coding.c (code_convert_region): Update coding->cmp_data->char_offset
2930 before calling decode_coding.
2931
2932 * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal.
2933
2934 * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding)
2935 instead of only for COMPOSITION_DISABLED.
2936
2937 2001-12-16 Richard M. Stallman <rms@gnu.org>
2938
2939 * alloc.c (pure_alloc): After overflow, allocate just a small block.
2940
2941 * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.
2942
2943 * buffer.h (struct buffer): New field `display_error_modiff'.
2944 * buffer.c (reset_buffer): Initialize `display_error_modiff'.
2945
2946 * window.c (Frecenter): Clear display_error_modiff field.
2947
2948 * xdisp.c (redisplay_window_0, redisplay_window_1): New functions.
2949 Call redisplay_window, but not if display_error_modiff field says no.
2950 (redisplay_window_error): New function.
2951 (displayed_buffer): New variable.
2952 (redisplay_internal, redisplay_windows): Call the new functions
2953 instead of redisplay_window directly.
2954
2955 2001-12-15 Richard M. Stallman <rms@gnu.org>
2956
2957 * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix.
2958
2959 2001-12-14 Andrew Innes <andrewi@gnu.org>
2960
2961 * makefile.w32-in (EMACSLOADPATH): Define.
2962 ($(EMACS)): Run `list-load-path-shadows' after dumping emacs.
2963 (bootstrap-temacs): Remove dependency on bootstrap-clean.
2964
2965 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
2966
2967 * xfns.c (x_report_frame_params): Make the scroll-bar-width frame
2968 parameter have a numeric value all the time.
2969
2970 * w32fns.c (x_report_frame_params): Likewise.
2971
2972 2001-12-12 Richard M. Stallman <rms@gnu.org>
2973
2974 * fileio.c (Fwrite_region): Doc fix.
2975
2976 * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500.
2977 (redisplay_internal): Call clear_image_cache only for window terminals.
2978
2979 2001-12-12 Gerd Moellmann <gerd@gnu.org>
2980
2981 * xdisp.c (move_it_vertically_backward): Change heuristic
2982 for the case that we didn't move far enough initially.
2983
2984 * window.c (Frecenter): Simplify computation in the case of window
2985 system frames and ARG < 0; use window_box_height.
2986
2987 2001-12-11 Richard M. Stallman <rms@gnu.org>
2988
2989 * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c:
2990 * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX.
2991
2992 2001-12-11 Andrew Innes <andrewi@gnu.org>
2993
2994 * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if
2995 arg is negative.
2996
2997 2001-12-11 Richard M. Stallman <rms@gnu.org>
2998
2999 * m/hp800.h: Split the __hpux conditional into the parts
3000 that are right for GNU/Linux too and the parts that are not.
3001 Use the former if GNU_LINUX.
3002 (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux.
3003
3004 * s/gnu-linux.h (GNU_LINUX): Defined.
3005
3006 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3007
3008 * macros.c, msdos.c, w16select.c: Change doc-string comments to
3009 `new style' [w/`doc:' keyword].
3010
3011 2001-12-10 Jason Rumney <jasonr@gnu.org>
3012
3013 * w32menu.c (w32_free_submenu_strings): Clear menu item struct
3014 before using.
3015
3016 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3017
3018 * dosfns.c: Change doc-string comments to `new style' [w/`doc:'
3019 keyword].
3020
3021 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il>
3022
3023 * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix.
3024
3025 * s/hpux10.h (srand48): Don't undefine.
3026
3027 2001-12-09 Jason Rumney <jasonr@gnu.org>
3028
3029 * w32menu.c (_widget_value): Make `help' field a Lisp_Object.
3030 Add comment to explain where the struct came from.
3031 (single_submenu, w32_menu_show): Set `help' field as Lisp_Object.
3032 (add_menu_item): Process pop-up menus first to avoid memory leak.
3033 (add_menu_item, w32_menu_display_help): Use `help' field as
3034 Lisp_Object.
3035 (w32_free_submenu_strings): Only free owner-drawn strings.
3036
3037 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3038
3039 * COPYING: Moved back.
3040
3041 * charset.c (char_to_string_1, translate_char, Fdefine_charset):
3042 Add parentheses around && within ||.
3043
3044 * indent.c (compute_motion): Likewise.
3045
3046 * intervals.c (merge_properties_sticky): Likewise.
3047
3048 * coding.c (setup_coding_system, shrink_encoding_region)
3049 (Fdecode_sjis_char): Likewise.
3050
3051 2001-12-07 Andreas Schwab <schwab@suse.de>
3052
3053 * xdisp.c (display_mode_element): Don't read past end of string if
3054 it ends with '%'.
3055
3056 * alloc.c (inhibit_garbage_collection): Don't exceed value an int
3057 can hold.
3058
3059 * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): Rename
3060 from most_positive_fixnum and most_negative_fixnum, resp., and
3061 type changed to Lisp_Object.
3062 (syms_of_data): DEFVAR_LISP them.
3063
3064 2001-12-07 Richard M. Stallman <rms@gnu.org>
3065
3066 * callproc.c (init_callproc): Set Vdata_directory based on the source
3067 location whenever Emacs was run uninstalled.
3068
3069 2001-12-06 Paul Eggert <eggert@twinsun.com>
3070
3071 * config.in (HAVE_WORKING_VFORK): New #undefs.
3072 * process.c (create_process):
3073 Use HAVE_WORKING_VFORK, not HAVE_VFORK.
3074 * m/cnvrgnt.h (HAVE_VFORK): Remove #define.
3075 * m/ibm370aix.h (HAVE_VFORK): Remove #undef.
3076 * m/ibmps2-aix.h (HAVE_VFORK): Remove #define.
3077 * m/intel386.h (HAVE_VFORK): Likewise.
3078 * m/mips-siemens.h (HAVE_VFORK): Likewise.
3079 * m/mips.h (HAVE_VFORK): Likewise.
3080 * s/freebsd.h (vfork): Remove #define.
3081 * s/lynxos.h (HAVE_VFORK): Remove #undef.
3082 * s/usg5-4-2.h: Fix comment about vfork.
3083
3084 2001-12-06 Richard M. Stallman <rms@gnu.org>
3085
3086 * s/hpux10.h (random): Add undef.
3087 (HAVE_RANDOM): Define it just once.
3088
3089 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
3090
3091 * eval.c: Undo last change: the standard syntax is not wanted.
3092
3093 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il>
3094
3095 * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the
3096 scroll bars of the frame before deleting the frame itself. If the
3097 frame has a widget, delete the frame with XtDestroyWidget, and do
3098 not call XDestroyWindow before that.
3099
3100 2001-12-06 Kim F. Storm <storm@cua.dk>
3101
3102 * xfns.c (x_report_frame_params): Return actual fringe widths.
3103
3104 * w32fns.c (x_report_frame_params): Return actual fringe widths.
3105
3106 2001-12-05 Andrew Innes <andrewi@gnu.org>
3107
3108 * alloc.c (Fgarbage_collect): Shrink buffer gaps that are
3109 excessively large.
3110
3111 * insdel.c (make_gap_larger): New function.
3112 (make_gap_smaller): New function.
3113 (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: Call
3114 make_gap_smaller if arg is negative.
3115
3116 2001-12-04 Stefan Monnier <monnier@cs.yale.edu>
3117
3118 * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype.
3119 Pass a dummy argument when calling interrupt_signal.
3120 (parse_menu_item): Mark disabled items before checking for empty def.
3121 (read_char_minibuf_menu_prompt): Make safety more visible.
3122 (read_key_sequence): Add a `first_unbound' variable.
3123 Use it to detect C-c ESC ESC ESC ESC ... cases and drop the
3124 unbound prefix as soon as we can detect it.
3125
3126 * doc.c (Fsnarf_documentation): Add prototype.
3127 (get_doc_string): Handle negative arguments.
3128 (Fdocumentation): Use AREF and ASIZE.
3129 Move the calls to get_doc_string to a single place.
3130 Don't confuse an interactive-spec for a docstring reference.
3131 (Fdocumentation_property): Take advantage of the fact that
3132 get_doc_string now ignores the sign of the docstring position.
3133
3134 * eval.c: Use standard syntax for usage in docstrings.
3135
3136 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3137
3138 * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option.
3139
3140 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3141
3142 * xterm.c (x_draw_image_relief): Use predefined macro instead of
3143 constant when the value of `tool_bar_button_relief' is negative.
3144
3145 2001-12-02 Richard M. Stallman <rms@gnu.org>
3146
3147 * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object.
3148 (single_submenu, xmenu_show): Set `help' field as Lisp_Object.
3149
3150 * fileio.c (read_non_regular): Delete Fsignal call.
3151
3152 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
3153
3154 * lisp.h (run_hook_list_with_args): Undo last change.
3155
3156 2001-12-01 Gerd Moellmann <gerd@gnu.org>
3157
3158 * xterm.c (x_draw_fringe_bitmap): Always undo clipping.
3159
3160 2001-12-01 Jason Rumney <jasonr@gnu.org>
3161
3162 * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c.
3163
3164 * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT)
3165 [!WM_MOUSELEAVE]: Define.
3166
3167 * w32menu.c (current_popup_menu, get_menu_item_info):
3168 (set_menu_item_info): New vars.
3169 (set_frame_menubar): Doc fix clarifying GC interaction with menus.
3170 (w32_menu_show): Set current_popup_menu.
3171 (add_menu_item): Allocate new strings for owner-drawn menu items
3172 and help strings.
3173 Use owner-draw for disabled menu items again.
3174 (w32_menu_display_help): Ignore owner-drawn items and popup menus.
3175 (w32_free_submenu_strings, w32_free_menu_strings): New functions.
3176
3177 * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars.
3178 (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame.
3179 <WM_EXITMENULOOP>: Free menu strings.
3180 <WM_MOUSELEAVE>: Stop tracking mouse.
3181 (x_create_tip_frame): Specify no minibuffer, modeline or fringes.
3182
3183 * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo
3184 and mouse face.
3185
3186 2001-12-01 Kim F. Storm <storm@cua.dk>
3187
3188 The following changes add left-fringe and right-fringe
3189 frame parameters to adjust fringe widths, or remove one or
3190 both fringes.
3191
3192 * frame.h (struct frame): Remove trunc_area_pixel_width and
3193 trunc_area_cols fields.
3194 (Qleft_fringe, Qright_fringe): Declare.
3195 (FRAME_RIGHT_FRINGE_WIDTH): New macro.
3196
3197 * frame.c (Qleft_fringe, Qright_fringe): New vars.
3198 (syms_of_frame): Initialize them.
3199
3200 * window.c (coordinates_in_window): Handle separate left and right
3201 fringe widths.
3202
3203 * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width,
3204 and fringe_cols fields.
3205 (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros.
3206 (FRAME_X_FRINGE_COLS): Use fringe_cols field.
3207 (FRAME_X_FRINGE_WIDTH): Use fringes_extra field.
3208 (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field.
3209 (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field.
3210 (x_compute_fringe_widths): Add prototype.
3211
3212 * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to
3213 fill fringe evenly with small dashes.
3214 (x_draw_fringe_bitmap): Clear background if necessary. Align and
3215 clip the new ZV bitmap to avoid jitter between rows.
3216 (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear
3217 background. Don't draw fringe bitmaps if fringe width is zero.
3218 (x_compute_fringe_widths): New function.
3219 (x_new_font, x_set_window_size_1): Use it.
3220
3221 * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms.
3222 (x_set_frame_parameters): Process `font' parameter before other
3223 parameters as fringe widths depend on it.
3224 (x_set_fringe_width): New function.
3225 (x_figure_window_size): Use x_compute_fringe_widths.
3226 (Fx_create_frame): Process `left-fringe' and `right-fringe' frame
3227 parameters.
3228
3229 * widget.c (set_frame_size): Use x_compute_fringe_widths.
3230 (EmacsFrameSetCharSize): Ditto.
3231
3232 * w32term.h: Merged changes from xterm.h.
3233 * w32term.c: Merged changes from xterm.c.
3234 * w32fns.c: Merged changes from xfns.c.
3235
3236 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3237
3238 * COPYING: Removed.
3239
3240 2001-11-29 Dave Love <fx@gnu.org>
3241
3242 * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an
3243 extra extra slot.
3244 (detect_coding_mask): Fix call of detect_coding_iso2022.
3245
3246 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3247
3248 * fileio.c (file-name-coding-system)
3249 (default-file-name-coding-system): Doc fix (links to referenced
3250 variables added).
3251
3252 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
3253
3254 * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5):
3255 Add dummy uses of gcproN variables.
3256
3257 * category.c (describe_category, describe_category_1)
3258 (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.)
3259 (syms_of_category): Don't defsubr Sdescribe_categories.
3260
3261 2001-11-28 Richard M. Stallman <rms@gnu.org>
3262
3263 * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'.
3264
3265 * Makefile.in (lispdir): New variable, referring to build dir.
3266 (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource).
3267
3268 2001-11-28 Andrew Innes <andrewi@gnu.org>
3269
3270 * w32menu.c (w32_menu_display_help): Actually add the new argument
3271 OWNER.
3272
3273 2001-11-28 Jason Rumney <jasonr@gnu.org>
3274
3275 * w32menu.c (add_menu_item): Do not use owner-draw for disabled
3276 menu items. From David Ponce <dponce@wanadoo.fr>.
3277 (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function
3278 conditionally.
3279 (w32_menu_display_help): New argument OWNER. Rewritten to store a
3280 help event in the owner frame's keyboard buffer.
3281
3282 * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly.
3283 (Fx_show_tip): Don't subtract last width from row width.
3284
3285 * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove.
3286 (w32_read_socket): Use EQ to compare frames.
3287
3288 2001-11-28 Gerd Moellmann <gerd@gnu.org>
3289
3290 * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
3291 OVERLAPS_P.
3292
3293 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3294
3295 * xdisp.c (message_dolog): Remove unused variables `gcpro2',
3296 `gcpro3' and `gcpro4'.
3297
3298 * coding.c (decode_coding_string): Remove unused variable `gcpro1'.
3299
3300 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
3301
3302 * ccl.c: Use AREF and ASIZE.
3303
3304 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
3305
3306 * lisp.h (run_hook_list_with_args): Remove.
3307 (LIST_END_P): Fix call to wrong_type_argument.
3308 (make_fixnum_or_float): Use EMACS_INT rather than int.
3309
3310 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
3311
3312 * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax.
3313 (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove.
3314
3315 * eval.c: Use AREF and ASIZE.
3316 (Ffetch_bytecode): Add the file name to the error message.
3317
3318 * fileio.c (Ffind_file_name_handler): Give precedence to handlers
3319 which match the end of the file-name.
3320 (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR
3321 is not a valid env var, but leave it as is instead.
3322
3323 * keymap.c (access_keymap): Handle t bindings like nil bindings.
3324 Make nil bindings in char-tables transparent.
3325 (store_in_keymap): Turn a nil binding into a t binding for char-tables.
3326
3327 2001-11-26 Richard M. Stallman <rms@gnu.org>
3328
3329 * textprop.c (set_text_properties_1): Allow START, END in either order.
3330 Do nothing if range is empty.
3331
3332 * Makefile.in (mallocobj): Simplify logic using auxiliary vars.
3333
3334 * Makefile.in (mostlyclean): Delete bootstrap-emacs here.
3335 (clean): Not here.
3336
3337 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
3338
3339 * textprop.c (set_text_properties_1): Clearly mark that the
3340 interval should not be empty.
3341
3342 * intervals.c (graft_intervals_into_buffer):
3343 Don't call set_text_properties_1 on an empty interval.
3344
3345 2001-11-25 Richard M. Stallman <rms@gnu.org>
3346
3347 * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss".
3348
3349 * callproc.c (Fcall_process): When we make a bigger buffer for bufptr,
3350 don't lose the data in it.
3351
3352 2001-11-25 Juanma Barranquero <lektu@terra.es>
3353
3354 * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
3355
3356 * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
3357
3358 * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks.
3359
3360 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
3361
3362 * xfaces.c (merge_face_heights): Coerce back to int explicitly.
3363
3364 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il>
3365
3366 * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi
3367 Niemitalo <kon@iki.fi>.
3368
3369 2001-11-25 Jason Rumney <jasonr@gnu.org>
3370
3371 * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames.
3372
3373 * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0.
3374 (Fx_show_tip): Block input during frame creation.
3375 (Fx_show_tip, Fx_hide_tip): Enable.
3376
3377 2001-11-24 Richard M. Stallman <rms@gnu.org>
3378
3379 * lread.c (Fload): Detect recursive load error for more than 3
3380 nestings of the same file.
3381 (Vrecursive_load_depth_limit): Variable deleted.
3382 (syms_of_lread) <recursive-load-depth-limit>: Variable deleted.
3383
3384 2001-11-24 Jason Rumney <jasonr@gnu.org>
3385
3386 * xfns.c (compute_tip_xy): Initialize root_x and root_y from
3387 mouse position if either left or top is not specified.
3388
3389 * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change.
3390 <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction.
3391 (my_create_tip_window, Fx_show_tip): Adjust size for external border.
3392 (my_create_tip_window): Assign tip_window.
3393 (x_create_tip_frame): Use same defaults as X.
3394 (compute_tip_xy): Remove unused variable. Use full screen width.
3395 (Fx_show_tip): Do not double height. Call ShowWindow directly.
3396
3397 * w32term.c (x_after_update_window_line): Doc fix.
3398 (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip
3399 frames.
3400 <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame.
3401
3402 * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame
3403 for all Windowed systems.
3404
3405 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il>
3406
3407 * msdos.c (IT_clear_screen): If the frame's faces are not yet
3408 realized, use the initial screen colors to clear the screen.
3409
3410 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3411
3412 * textprop.c (Fset_text_properties): Remove unused variables
3413 `unchanged', `prev_changed', `s' and `len'.
3414
3415 * search.c (Freplace_match): Remove unused variable `inslen'.
3416
3417 * keymap.c (access_keymap): Remove unused variables `c1' and `c2'.
3418
3419 2001-11-22 Jason Rumney <jasonr@gnu.org>
3420
3421 * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment.
3422 (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
3423 (my_create_tip_window): New function.
3424 (x_create_tip_frame, compute_tip_xy): Adapt for Windows.
3425 (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
3426
3427 2001-11-20 Jason Rumney <jasonr@gnu.org>
3428
3429 * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove.
3430 (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system.
3431
3432 * w32fns.c (Vw32_system_coding_system): Remove.
3433 (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system.
3434
3435 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
3436
3437 * fileio.c (Fwrite_region): Move choose_write_coding_system to
3438 after build_annotations.
3439
3440 * syntax.c (describe_syntax): Add dummy arg.
3441 (describe_syntax_1): Update call to describe_vector.
3442
3443 * category.c (describe_category): Add dummy arg.
3444 (describe_category_1): Update call to describe_vector.
3445
3446 * keymap.c (Fdescribe_vector): Add `describer' parameter.
3447 (describe_command, describe_translation): Add dummy second param.
3448 (describe_map): Call elt_describer with two arguments.
3449 (describe_vector_princ): Add `fun' parameter.
3450 Call it instead of the hardcoded `princ'.
3451 (describe_vector): Add arg `args'.
3452 Pass it as a new second argument to elt_describer.
3453
3454 * keymap.h (describe_vector): Update prototype.
3455
3456 * frame.c: Don't include keymap.h any more.
3457 (keys_of_frame): Remove.
3458
3459 * lisp.h (keys_of_frame): Remove declaration.
3460
3461 * emacs.c (main): Don't call `keys_of_frame' any more.
3462
3463 2001-11-14 Andreas Schwab <schwab@suse.de>
3464
3465 * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS
3466 if defined, 0 otherwise.
3467 (MAP_FAILED): Define if not defined and use it to test mmap failure.
3468 (unexec) [!MAP_ANON]: Use /dev/zero as file to map.
3469
3470 2001-11-19 Richard M. Stallman <rms@gnu.org>
3471
3472 * indent.c (current_column_1): Fix handling of scan_bytes for mb chars.
3473
3474 2001-11-18 Jason Rumney <jasonr@gnu.org>
3475
3476 * w32term.c (note_mouse_highlight): Fix type of variable `ignore'.
3477 (x_draw_bar_cursor): If the background color of the glyph under
3478 the cursor equals the frame's cursor color, use the glyph's
3479 foreground color for drawing the bar cursor.
3480 (x_after_update_window_line): Clear internal border in different
3481 circumstances.
3482 (w32_set_vertical_scroll_bar): Check for width and height > 0.
3483 (w32_draw_relief_rect): Correct relief by 1 pixel.
3484 (x_set_glyph_string_background_width):
3485 Set extends_to_end_of_line_p if the row's fill_line_p is set and
3486 drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
3487 (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR
3488 if cursor_in_non_selected_windows is false.
3489 (show_mouse_face): Clean up. Recognize overwritten cursor differently.
3490 (x_draw_glyphs): Remove parameters REAL_START and REAL_END.
3491 Notice if cursor gets overwritten.
3492 (notice_overwritten_cursor): Renamed from
3493 note_overwritten_text_cursor. Rewritten to take glyph widths
3494 into account, and to take X positions as parameters.
3495 (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
3496 around call to x_draw_glyphs.
3497 (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
3498 `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
3499 color to use for image glyph reliefs.
3500 (x_draw_image_relief): Accept zero tool_bar_button_relief.
3501 (glyph_rect): Remove unused variable `area'.
3502
3503 * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for
3504 some items.
3505 (x_set_internal_border_width): Set frame garbaged when window
3506 doesn't exist yet.
3507 (Fx_create_frame): Accept zero tool_bar_button_relief.
3508 (x_clear_image_1, four_corners_best, image_background)
3509 (image_background_transparent): New functions.
3510 (xpm_format, png_format, jpeg_format, tiff_format, gif_format)
3511 (gs_format): Add `:background' entry.
3512 (lookup_image): Set IMG's background color if specified.
3513 (pbm_load, xbm_load_image, png_load): Set IMG's background field
3514 when appropriate.
3515 (x_clear_image_1): Reset `background_valid' and
3516 `background_transparent_valid' fields.
3517 (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
3518 calculating it here. Set IMG's background_transparent field.
3519 (enum xpm_keyword_index): Add XPM_BACKGROUND.
3520 (enum png_keyword_index): Add PNG_BACKGROUND.
3521 (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
3522 (enum tiff_keyword_index): Add TIFF_BACKGROUND.
3523 (enum gif_keyword_index): Add GIF_BACKGROUND.
3524 (enum gs_keyword_index): Add GS_BACKGROUND.
3525 (pbm_load, png_load, jpeg_load, tiff_load, gif_load):
3526 Pre-calculate image background color where necessary.
3527 (x_create_x_image_and_pixmap, xbm_load, gs_load):
3528 Use display info's n_cbits entry for screen depth.
3529 (Fx_show_tip): Remove unused variables `buffer', `top',
3530 `left', `max_width' and `max_height'.
3531
3532 * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes.
3533
3534 2001-11-18 Gerd Moellmann <gerd@gnu.org>
3535
3536 * puresize.h (BASE_PURESIZE): Increase to 750000.
3537
3538 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3539
3540 * frame.c (Fframe_live_p): Doc fix.
3541
3542 2001-11-18 Richard M. Stallman <rms@gnu.org>
3543
3544 * xdisp.c (message_dolog_marker1, message_dolog_marker2)
3545 (message_dolog_marker3): New static variables hold three markers.
3546 (syms_of_xdisp): Initialize and staticpro them.
3547 (message_dolog): Use message_dolog_marker1..3 instead of
3548 allocating markers each time. Unchain them when done.
3549
3550 2001-11-17 Richard M. Stallman <rms@gnu.org>
3551
3552 * doc.c (Fsnarf_documentation): Doc fix.
3553
3554 2001-11-17 Andreas Schwab <schwab@suse.de>
3555
3556 * xterm.c (note_mouse_highlight): Fix type of variable `ignore'.
3557
3558 2001-11-17 Richard M. Stallman <rms@gnu.org>
3559
3560 * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object.
3561
3562 2001-11-17 Jason Rumney <jasonr@gnu.org>
3563
3564 * xterm.c (notice_overwritten_cursor): Take care of end < 0 case.
3565
3566 2001-11-17 Gerd Moellmann <gerd@gnu.org>
3567
3568 * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property
3569 with invalid position.
3570
3571 2001-11-16 Richard M. Stallman <rms@gnu.org>
3572
3573 * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex.
3574
3575 * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef.
3576 * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef.
3577 * s/hpux8.h (HAVE_SYS_WAIT_H): Define it.
3578
3579 * m/convex.h (HAVE_SYS_WAIT_H): Add #undef.
3580
3581 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
3582
3583 * fileio.c (build_annotations): Split off the tail.
3584 (build_annotations_2): New fun. Extracted from build_annotations.
3585 (Fwrite_region): Split the call to build_annotations into two
3586 calls to build_annotations and build_annotations_2.
3587
3588 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3589
3590 * sysdep.c (wait_for_kbd_input) [VMS]: Do not call
3591 clear_waiting_for_input with argument.
3592
3593 * xterm.h (x_update_cursor): Remove duplicated prototype.
3594
3595 * keyboard.h (clear_waiting_for_input): Remove duplicated prototype.
3596
3597 * xterm.c (waiting_for_input): Remove unnecessary declaration.
3598
3599 * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix.
3600
3601 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
3602
3603 * fileio.c (choose_write_coding_system): New fun, extracted
3604 from Fwrite_region.
3605 (Fwrite_region): Use it.
3606
3607 * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT.
3608 (funcall_lambda, run_hook_with_args): Make static and add prototype.
3609 (ml_apply, find_handler_clause): Add prototype.
3610
3611 2001-11-16 Eli Zaretskii <eliz@gnu.org>
3612
3613 * config.in: Add #undef HAVE_COFF_H.
3614
3615 * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined.
3616 Required for ISC 4.1.
3617
3618 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il>
3619
3620 * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by
3621 Andrew Wiseman <a.wiseman@btclick.com>.
3622
3623 2001-11-16 Kim F. Storm <storm@cua.dk>
3624
3625 The following changes are made to clean up the various internal
3626 references to the fringes to actually use the term `fringe' for
3627 them. Previously, they were called `flags areas', `bitmap areas',
3628 `left/right side of windows', or implicitly as `flags' or
3629 `bitmaps':
3630
3631 * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID.
3632 Comments fixed. Use renamed symbols.
3633
3634 * dispnew.c: Comment fix. Use renamed symbols.
3635
3636 * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS.
3637 (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH.
3638 (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH.
3639
3640 * msdos.c: Comment fix.
3641
3642 * w32fns.c: Use renamed symbols.
3643
3644 * w32term.c: Comment fixes. Use renamed symbols.
3645 (fringe_bitmap_type): Renamed from bitmap_type.
3646 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
3647 (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap.
3648 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
3649
3650 * w32term.h: Comment fixes. Use renamed symbols.
3651 (fringes_extra): Renamed from flags_areas_extra.
3652 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
3653 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
3654 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
3655 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
3656 (FRAME_X_LEFT_FRINGE_WIDTH):
3657 Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
3658 (FRAME_X_RIGHT_FRINGE_WIDTH):
3659 Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
3660
3661 * widget.c: Use renamed symbols.
3662
3663 * window.c: Comment fixes. Use renamed symbols.
3664 (coordinates-in-window-p): Doc fix.
3665
3666 * xdisp.c: Comment fixes. Use renamed symbols.
3667
3668 * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID.
3669
3670 * xfns.c: Use renamed symbols.
3671
3672 * xterm.c: Comment fixes. Use renamed symbols.
3673 (fringe_bitmap_type): Renamed from bitmap_type.
3674 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
3675 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
3676 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
3677
3678 * xterm.h: Comment fixes. Use renamed symbols.
3679 (fringes_extra): Renamed from flags_areas_extra.
3680 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
3681 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
3682 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
3683 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
3684 (FRAME_X_LEFT_FRINGE_WIDTH):
3685 Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
3686 (FRAME_X_RIGHT_FRINGE_WIDTH):
3687 Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
3688
3689 2001-11-15 Jason Rumney <jasonr@gnu.org>
3690
3691 * w32menu.c (add-menu-item): Make help_echo and radio buttons
3692 work for most menu items. From David Ponce
3693 <david.ponce@wanadoo.fr>.
3694
3695 2001-11-15 Gerd Moellmann <gerd@gnu.org>
3696
3697 * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07.
3698 Some x_set_* function expect to be called even if old and new
3699 value are equal.
3700
3701 * xdisp.c (build_desired_tool_bar_string): Accept zero
3702 tool_bar_button_relief.
3703
3704 * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief.
3705
3706 * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief.
3707
3708 * xterm.c (x_draw_bar_cursor): If the background color of the
3709 glyph under the cursor equals the frame's cursor color, use
3710 the glyph's foreground color for drawing the bar cursor.
3711
3712 * dispnew.c (direct_output_forward_char): Fix character/byte
3713 position comparison.
3714
3715 2001-11-15 Miles Bader <miles@gnu.org>
3716
3717 * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters.
3718 (Fdelete_field, Ffield_string, Ffield_string_no_properties):
3719 Update arguments to find_field.
3720 (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field.
3721 (Fconstrain_to_field): Use LIMIT arg to shorten search time.
3722 * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl.
3723 * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end.
3724
3725 2001-11-14 Richard M. Stallman <rms@gnu.org>
3726
3727 * editfns.c (Fpropertize): Allow call with 1 arg.
3728
3729 * dispextern.h (image_background, image_background_transparent):
3730 Conditionalize on HAVE_X_WINDOWS.
3731
3732 2001-11-13 Richard M. Stallman <rms@gnu.org>
3733
3734 * print.c (Fprin1_to_string): Doc fix.
3735
3736 * sunfns.c (Fsun_change_cursor_icon): Doc fix.
3737
3738 * floatfns.c (Fceiling, Ffloor): Doc fixes.
3739
3740 * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes.
3741
3742 * fileio.c (Ffile_accessible_directory_p): Doc fix.
3743
3744 * eval.c (syms_of_eval): Doc fix.
3745
3746 * coding.c (syms_of_coding): Doc fix.
3747
3748 * doc.c (Fsnarf_documentation): Doc fix.
3749
3750 * dispnew.c (syms_of_display): Doc fix.
3751
3752 * category.c (Fget_unused_category): Doc fix.
3753
3754 * buffer.c (syms_of_buffer): Doc fixes.
3755
3756 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il>
3757
3758 * print.c (prin1, print): Doc fix.
3759
3760 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3761
3762 * fontset.h: Remove declarations of variables
3763 `Vhighlight_wrong_size_font' and `Vclip_large_size_font'.
3764
3765 * fontset.c: Remove variables `Vhighlight_wrong_size_font' and
3766 `Vclip_large_size_font'.
3767
3768 2001-11-13 Jason Rumney <jasonr@gnu.org>
3769
3770 * w32fns.c: Doc fix.
3771
3772 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3773
3774 * xfaces.c (Fface_attributes_as_vector): Doc fix.
3775
3776 * fns.c: Doc fix.
3777
3778 * emacs.c: Doc fix.
3779
3780 * coding.c: Doc fix.
3781
3782 * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c,
3783 * fontset.c, insdel.c, keymap.c: Change doc-string comments to
3784 `new style' [w/`doc:' keyword].
3785
3786 2001-11-12 Richard M. Stallman <rms@gnu.org>
3787
3788 * xterm.c (XTread_socket): Don't update focus for EnterNotify or
3789 LeaveNotify events. Only FocusIn and FocusOut do that now.
3790 (x_display_and_set_cursor): Do display hollow cursors in active
3791 minibuffer windows when they are not selected.
3792
3793 2001-11-12 Jason Rumney <jasonr@gnu.org>
3794
3795 * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c,
3796 * w32term.c: Change doc-string comments to `new style'.
3797 [w/`doc:' keyword]. Doc fixes.
3798
3799 * w32fns.c: Don't define max.
3800 (Fx_open_connection): Only execute once.
3801
3802 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3803
3804 * ccl.c: Change macros to use do-while block instead of if-else.
3805 Use braces to follow GNU Coding Standards.
3806
3807 2001-11-11 Richard M. Stallman <rms@gnu.org>
3808
3809 * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR.
3810
3811 * lread.c (read_escape): Use end_of_file_error for reporting eof.
3812
3813 * insdel.c (replace_range): Use adjust_markers_for_replace
3814 instead of adjust_markers_for_delete and adjust_markers_for_insert.
3815
3816 * intervals.h: Declare set_text_properties and set_text_properties_1.
3817
3818 * textprop.c (set_text_properties_1): New subroutine
3819 broken out of set_text_properties.
3820 (set_text_properties): Use set_text_properties_1.
3821
3822 * intervals.c (graft_intervals_into_buffer):
3823 Use set_text_properties_1 to clear out properties.
3824
3825 * search.c (Freplace_match): Use replace_range to insert
3826 and delete. Don't request property inheritance from
3827 surrounding text.
3828
3829 2001-11-10 Jason Rumney <jasonr@gnu.org>
3830
3831 * w32fns.c (enum_font_cb2): Use leading @ on face name to detect
3832 vertical fonts. Allow them if face name is explicitly specified.
3833 Do not give up if we find a font that cannot be converted to an xlfd.
3834
3835 2001-11-10 Gerd Moellmann <gerd@gnu.org>
3836
3837 * unexelf.c (unexec): Use mmap/munmap to allocate buffers
3838 instead of malloc/free.
3839
3840 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3841
3842 * xfaces.c (merge_face_vectors): Use braces to follow GNU
3843 Coding Standards.
3844 (Finternal_set_lisp_face_attribute): Likewise.
3845
3846 * buffer.c (Fbury_buffer): Likewise.
3847
3848 * indent.c (current_column_1): Remove unused variable `prev_col'.
3849
3850 * coding.c (encode_coding): Use precomputed value of `src'.
3851 (encode_coding): Remove unused variable `src_end'.
3852 (code_convert_region): Remove unused variables `count'.
3853
3854 2001-11-07 Jason Rumney <jasonr@gnu.org>
3855
3856 * w32term.c (x_display_and_set_cursor): Do not move system caret
3857 if cursor_glyph is NULL.
3858
3859 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3860
3861 * keymap.c (access_keymap): Fix compilation error.
3862
3863 2001-11-07 Miles Bader <miles@gnu.org>
3864
3865 * xfns.c (x_set_frame_parameters): Avoid infinite recursion.
3866
3867 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3868
3869 * intervals.c (graft_intervals_into_buffer):
3870 Remove #ifdef'd-out code.
3871 (graft_intervals_into_buffer): Remove unused variable `middle'.
3872
3873 * lread.c (Feval_region): Remove obsolete #ifdef'd-out
3874 code (eval-current-buffer).
3875 Change doc-string comments to `new style' [w/`doc:' keyword].
3876
3877 2001-11-06 Richard M. Stallman <rms@gnu.org>
3878
3879 * keymap.c (access_keymap): Don't use initializers on Lisp_Object.
3880
3881 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
3882
3883 * lread.c (read1): Fix behavior with nested backquoting.
3884
3885 * keyboard.c (make_lispy_event): Check integerness and fix
3886 Lisp_Object/int mixup.
3887
3888 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3889
3890 * fns.c (copy_hash_table): Remove unused variable `v'.
3891
3892 * fontset.c (fontset_font_pattern): Remove unused variable
3893 `family_registry'.
3894
3895 * indent.c (current_column_1): Remove unused variable `prev_col'.
3896
3897 2001-11-05 Richard M. Stallman <rms@gnu.org>
3898
3899 * m/news-risc.h (BROKEN_PROTOTYPES): Defined.
3900
3901 * buffer.c (Fkill_buffer): Don't delete auto save file
3902 if buffer is modified.
3903
3904 2001-11-05 Andrew Innes <andrewi@gnu.org>
3905
3906 * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and
3907 CHECK_NUMBER_CDR.
3908
3909 2001-11-05 Richard M. Stallman <rms@gnu.org>
3910
3911 * unexelf.c (unexec): Minor changes; clean up comments.
3912
3913 2001-11-05 Sam Steingold <sds@gnu.org>
3914
3915 * w32term.c (x_display_and_set_cursor): Fix w32 compilation error.
3916
3917 2001-11-05 Andreas Schwab <schwab@suse.de>
3918
3919 * sound.c (sound_perror): Save errno from being clobbered.
3920
3921 2001-11-05 Dale Hagglund <rdh@yottayotta.com>
3922
3923 * unexelf.c (unexec): Don't use `mmap'. Instead, read and write
3924 the program image directly.
3925
3926 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3927
3928 * buffer.h (Fbuffer_local_value): Add prototype.
3929
3930 2001-11-04 Richard M. Stallman <rms@gnu.org>
3931
3932 * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL
3933 and CHECK_BUFFER.
3934
3935 * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth.
3936 (record_char): Likewise.
3937
3938 * keyboard.c (make_lispy_event): Don't insist a drag event must
3939 move to a different buffer position. Instead, check for moving at
3940 least double_click_fuzz.
3941
3942 * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength.
3943
3944 * keyboard.c (echo-area-clear-hook): Undo Oct 29 change.
3945
3946 * indent.c (current_column_1, Fmove_to_column): Separate the code
3947 for display-table glyphs from the code buffer text, to fix
3948 bugs in the former.
3949
3950 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu>
3951
3952 * buffer.c (Fbuffer_local_value): New function.
3953 (syms_of_buffer): Defsubr it.
3954
3955 * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local
3956 value of `cursor-in-non-selected-windows'.
3957
3958 * lisp.h (Qcursor_in_non_selected_windows): New declaration.
3959 * xdisp.c (Qcursor_in_non_selected_windows): New variable.
3960 (syms_of_xdisp): Initialize it.
3961
3962 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3963
3964 * xfns.c (Fx_create_frame): Doc fix.
3965
3966 * coding.c: Change doc-string comments to `new style' [w/`doc:'
3967 keyword].
3968
3969 * eval.c (top_level_value, top_level_set): Remove commented and
3970 #ifdef'd-out code.
3971 (Fdefvar): Fix usage in doc-string.
3972
3973 2001-11-03 Richard M. Stallman <rms@gnu.org>
3974
3975 * xfns.c: Include unistd.h, if it exists.
3976
3977 * editfns.c: Move the include of ctype.h after unistd.h.
3978
3979 * gmalloc.c: Test BROKEN_PROTOTYPES.
3980
3981 2001-11-03 Ken Raeburn <raeburn@gnu.org>
3982
3983 * lisp.h (CHECK_STRING_CAR): New macro.
3984 * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of
3985 treating XCAR and XCDR as lvalues.
3986 (openp): Use CHECK_STRING_CAR.
3987 (read_list): Use XSETCDR instead of treating XCDR as lvalue.
3988
3989 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
3990
3991 * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE.
3992 (SIGMASKTYPE): Define.
3993
3994 * syssignal.h (sigunblock): Don't define if already defined.
3995
3996 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3997
3998 * eval.c (debugger_may_continue, Vdebug_ignored_errors)
3999 (call_debugger, Fcondition_case, skip_debugger, unbind_to):
4000 Fix typos in comments.
4001
4002 * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented
4003 and #ifdef'd-out code.
4004 Fix and reindent comments.
4005
4006 * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c.
4007
4008 * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused
4009 argument `i' in macros.
4010
4011 * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument
4012 `i' in macros.
4013
4014 * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
4015 (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE)
4016 (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER)
4017 (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER)
4018 (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER)
4019 (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
4020 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY)
4021 (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i'
4022 in macros.
4023
4024 * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
4025 * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c,
4026 * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c,
4027 * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h,
4028 * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c,
4029 * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c,
4030 * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c,
4031 * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c,
4032 * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros
4033 (remove unused second argument).
4034
4035 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
4036
4037 * syntax.c (describe_syntax): New wrapper.
4038 (Finternal_describe_syntax_value): Rename from describe_syntax.
4039 Don't insert space at front and \n at the end.
4040 (syms_of_syntax): Defsubr Sinternal_describe_syntax_value.
4041
4042 * regex.c (re_wctype): Try to fix some warnings.
4043 (regcomp, regexec): Don't forget the __restrict.
4044
4045 2001-11-02 Richard M. Stallman <rms@gnu.org>
4046
4047 * textprop.c (Fget_char_property): Doc fix.
4048
4049 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4050
4051 * process.c (Fstart_process): Add usage to doc-string.
4052
4053 * data.c (Fsetq_default): Ditto.
4054
4055 * callint.c (Finteractive): Ditto.
4056
4057 2001-11-01 Stefan Monnier <monnier@cs.yale.edu>
4058
4059 * macros.c: Don't include keymap.h any more.
4060
4061 2001-11-01 Richard M. Stallman <rms@gnu.org>
4062
4063 * data.c (Fmake_local_variable): Doc fix.
4064
4065 * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix.
4066 (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix.
4067
4068 * keymap.c (Fdescribe_buffer_bindings): Print character property
4069 bindings along with or instead of the buffer local map.
4070 Make the overriding maps override what they should.
4071
4072 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4073
4074 * window.c (grow_mini_window): Fix typo in comment.
4075
4076 2001-11-01 Gerd Moellmann <gerd@gnu.org>
4077
4078 * xterm.c (x_scroll_bar_create): Check for width and height > 0.
4079 (XTset_vertical_scroll_bar): Likewise.
4080
4081 * xfns.c (x_build_heuristic_mask): Use four_corners_best
4082 instead of IMAGE_BACKGROUND.
4083
4084 * xfns.c (four_corners_best): Reindent.
4085
4086 * xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
4087 Handle :box so that it is possible to specify sexprs.
4088
4089 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il>
4090
4091 * s/hpux11.h: New file.
4092
4093 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4094
4095 * emacs.c (USAGE1): Show command line option --no-window-system
4096 instead of --no-windows in usage.
4097 (standard_args): Rename --no-windows to --no-window-system.
4098 (bug_reporting_address): Follow Emacs coding conventions.
4099
4100 * eval.c (Fcommandp): Doc fix.
4101 Change doc-string comments to `new style' [w/`doc:' keyword].
4102
4103 * frame.c (Fframe_live_p): Doc fix.
4104
4105 * buffer.c (selective-display-ellipses): Doc fix.
4106
4107 2001-10-31 Gerd Moellmann <gerd@gnu.org>
4108
4109 * lread.c (to_multibyte): Fix computation of new read_buffer_size.
4110
4111 * xfaces.c (realize_x_face): If C is not a single-byte character,
4112 set the face's colors_copied_bitwise_p instead of the defaulted_p
4113 members which have a different meaning.
4114 (free_face_colors): Do nothing for a face whose colors have been
4115 copied bitwise.
4116
4117 * dispextern.h (struct face) <colors_copied_bitwise_p>: New member.
4118
4119 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4120
4121 * marker.c, mocklisp.c: Change doc-string comments to `new style'
4122 [w/`doc:' keyword].
4123
4124 2001-10-31 Gerd Moellmann <gerd@gnu.org>
4125
4126 * fns.c (require_unwind): Return Lisp_Object.
4127
4128 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4129
4130 * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix.
4131 (last-input-char): Revert doc-string to be the same as the
4132 doc-string of `last-input-event'.
4133
4134 * xdisp.c: Fix typos in comments.
4135
4136 2001-10-31 Gerd Moellmann <gerd@gnu.org>
4137
4138 * window.c (grow_mini_window): Handle case that the root
4139 window is already smaller than the nominal mininum height.
4140
4141 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
4142
4143 * emacs.c (main): Don't call keys_of_macros any more.
4144
4145 * lisp.h (keys_of_macros): Remove.
4146
4147 * macros.c (keys_of_macros): Remove.
4148
4149 * xfaces.c (Fface_attribute_relative_p): Declare args.
4150
4151 2001-10-30 Jason Rumney <jasonr@gnu.org>
4152
4153 * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer.
4154 (enum_font_cb2): Ignore fonts with vertical orientation.
4155
4156 2001-10-30 Richard M. Stallman <rms@gnu.org>
4157
4158 * keyboard.c (Finput_pending_p): Doc fix.
4159
4160 2001-10-30 Gerd Moellmann <gerd@gnu.org>
4161
4162 * xterm.c (x_after_update_window_line): Don't run the code
4163 clearing in borders for rows whose visible height is 0.
4164
4165 * xdisp.c (clear_garbaged_frames): Redraw the frame only if its
4166 resized_p flag is set. If not set, use the much less flickering
4167 method previously used.
4168
4169 * dispnew.c (change_frame_size_1): Set frame's resized_p.
4170
4171 * frame.h (struct frame) <resized_p>: New member.
4172
4173 * lread.c (to_multibyte): Ensure read_buffer is at least twice
4174 as large as the number of bytes to convert.
4175
4176 * lread.c (to_multibyte): New function.
4177 (read1): Use it.
4178
4179 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
4180
4181 * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c).
4182
4183 2001-10-30 Gerd Moellmann <gerd@gnu.org>
4184
4185 * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel.
4186 (x_set_glyph_string_background_width): Set extends_to_end_of_line_p
4187 if the row's fill_line_p is set and drawing the last glyph with
4188 DRAW_IMAGE_{RAISED,SUNKEN}.
4189
4190 * xdisp.c (clear_garbaged_frames): Call Fredraw_frame.
4191
4192 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
4193
4194 * xmenu.c: Include coding.h and charset.h.
4195 (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT.
4196 (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part.
4197 (single_submenu, xmenu_show): Use ENCODE_SYSTEM.
4198 Explicitly set wv->help. Use `TRUE' rather than `True'.
4199 (menu_help_callback): Use empty_string.
4200
4201 * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos.
4202 (Fx_popup_dialog): Explicitly init f.
4203 (w32_menu_display_help): Use empty_string.
4204
4205 2001-10-29 Richard M. Stallman <rms@gnu.org>
4206
4207 * fns.c (Frequire): Detect recursive try to require the same
4208 feature 3 or more levels deep, and get error.
4209 (require_unwind): New subroutine.
4210 (require_nesting_list): New variable.
4211 (syms_of_fns): Init and staticpro it.
4212
4213 * print.c (print_object): Clarify indication of insertion type.
4214
4215 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
4216
4217 * coding.c (syms_of_coding): Document that locale-coding-system is
4218 used for decoding input on X.
4219
4220 * window.c (Fscroll_left, Fscroll_right): Doc fix.
4221
4222 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4223
4224 * keyboard.c (Finput_pending_p): Fix typo in doc-string.
4225 (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it.
4226
4227 2001-10-29 Gerd Moellmann <gerd@gnu.org>
4228
4229 * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
4230 use NO_CURSOR if cursor_in_non_selected_windows is false.
4231
4232 * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
4233 the slant attribute if FRAME is t.
4234
4235 * xfns.c (x_set_internal_border_width): Set frame garbaged
4236 when X window doesn't exist yet.
4237
4238 * xterm.c (x_after_update_window_line): Clear internal border
4239 in different circumstances.
4240
4241 * xterm.c (XTread_socket) <KeyPress>: Don't use
4242 STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa
4243 <handa@etl.go.jp>.
4244
4245 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il>
4246
4247 * m/ibms390.h: New file. From Adam Thornton
4248 <athornton@sinenomine.net>.
4249
4250 2001-10-28 Gerd Moellmann <gerd@gnu.org>
4251
4252 * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color.
4253
4254 * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
4255 a loop counter.
4256
4257 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4258
4259 * emacs.c: Use argv[0] instead of emacs when -t was specified.
4260
4261 * keyboard.c: Change doc-string comments to `new style' [w/`doc:'
4262 keyword].
4263 Fix typos in comments.
4264
4265 * emacs.c (bug_reporting_address): New function.
4266 Use it when displaying usage message.
4267
4268 * minibuf.c (read_minibuf): Remove unused external declaration of
4269 variable `Qread_only'.
4270
4271 * keymap.c (access_keymap): Remove unused variable `charset'.
4272
4273 2001-10-28 Miles Bader <miles@gnu.org>
4274
4275 * xfaces.c (merge_face_heights): Handle TO being relative as well.
4276 Remove #ifdef'd-out code.
4277 (Fface_attribute_relative_p, Fmerge_face_attribute): New functions.
4278 (syms_of_xfaces): Initialize them.
4279
4280 2001-10-27 Jason Rumney <jasonr@gnu.org>
4281
4282 * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret.
4283 <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor
4284 position using the system caret.
4285
4286 * w32term.c (w32_system_caret_hwnd, w32_system_caret_width)
4287 (w32_system_caret_height, w32_system_caret_x)
4288 (w32_system_caret_y): New variables for tracking system caret.
4289 (w32_initialize): Initialize them.
4290 (x_display_and_set_cursor): Make system caret follow the active cursor.
4291
4292 * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET):
4293 New messages types.
4294
4295 * w32term.c (note_mouse_highlight): Clear old help_echo.
4296
4297 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4298
4299 * xterm.c: Fix typo in a comment.
4300
4301 * emacs.c: Fix typos in comments.
4302 Remove unnecessary spaces.
4303 Change doc-string comments to `new style' [w/`doc:' keyword].
4304 (USAGE2): Fix typos in usage string.
4305
4306 * xterm.c: Fix typo in a comment.
4307
4308 * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in
4309 emacs.c.
4310
4311 2001-10-27 Gerd Moellmann <gerd@gnu.org>
4312
4313 * xdisp.c (move_it_vertically_backward): Use 2/3 line_height
4314 instead of 1/2 line_height in the heuristic for skipping
4315 farther backward when target_y was not reached.
4316
4317 * sound.c (sound_perror): Unblock SIGIO, turn on atimers.
4318 Display errno only if non-zero.
4319 (sound_warning): New function.
4320 (vox_configure): Don't treat failing to set sample rate as error.
4321 (various places): Improve error messages.
4322
4323 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
4324
4325 * fileio.c (Faccess_file): Run the argument filename through
4326 Fexpand_file_name, before using it.
4327
4328 * dispnew.c (syms_of_display) <visible-bell>: Add a reference to
4329 ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no>
4330
4331 2001-10-26 Gerd Moellmann <gerd@gnu.org>
4332
4333 * insdel.c (insert_1_both): Do nothing if NCHARS == 0.
4334
4335 * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
4336 Fix clearing in the case of scroll bars on the right.
4337
4338 2001-10-26 Juanma Barranquero <lektu@terra.es>
4339
4340 * w32gui.h (XImage): Add a dummy typedef.
4341
4342 2001-10-26 Gerd Moellmann <gerd@gnu.org>
4343
4344 * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison.
4345
4346 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il>
4347
4348 * frame.c (Fframe_parameter): Fix last change.
4349
4350 * fileio.c: Revert last change (which removed old commented-out
4351 version of expand-file-name). Add a comment that explains why
4352 this old version should not be removed.
4353
4354 2001-10-25 Gerd Moellmann <gerd@gnu.org>
4355
4356 * frame.c (Fframe_parameter): Fix a bug whereby some
4357 ``artificial'' frame parameters, like `minibuffer' were not
4358 obtained by calling Fframe_parameters.
4359
4360 * xterm.c (show_mouse_face): Clean up. Recognize overwritten
4361 cursor differently.
4362
4363 * xdisp.c (move_it_vertically_backward): Compute line height
4364 differently. Add heuristic to try to be more compatible to 20.x.
4365
4366 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
4367
4368 * lisp.h (make_fixnum_or_float): Coerce double to int explicitly.
4369
4370 * editfns.c (text_property_stickiness): Fix Lisp_Object used as
4371 boolean.
4372
4373 2001-10-25 Miles Bader <miles@gnu.org>
4374
4375 * xfns.c (png_load): Make sure SPECIFIED_BG is a string.
4376 BG is a pointer to a structure, not a structure.
4377 (gif_format, png_format): Add missing commas.
4378
4379 2001-10-24 Richard M. Stallman <rms@gnu.org>
4380
4381 * xfaces.c (Fface_attributes_as_vector): New function.
4382 (syms_of_xfaces): Defsubr it.
4383
4384 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4385
4386 * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused
4387 variable `area'.
4388
4389 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4390
4391 * search.c (scan_newline): Remove unused variable `selective_display'.
4392
4393 2001-10-25 Miles Bader <miles@gnu.org>
4394
4395 * dispextern.h (struct image): Add `background',
4396 `background_valid', and `background_transparent' fields.
4397 (image_background, image_background_transparent): New declarations.
4398 (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros.
4399 * xfns.c (image_background, image_background_transparent)
4400 (four_corners_best): New functions.
4401 (xpm_format, png_format, jpeg_format, tiff_format, gif_format)
4402 (gs_format): Add `:background' entry.
4403 (lookup_image): Set IMG's background color if specified.
4404 (pbm_load, xbm_load_image, png_load): Set IMG's background field
4405 when appropriate.
4406 (x_clear_image_1): Reset `background_valid' and
4407 `background_transparent_valid' fields.
4408 (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
4409 calculating it here. Set IMG's background_transparent field.
4410 (enum xpm_keyword_index): Add XPM_BACKGROUND.
4411 (enum png_keyword_index): Add PNG_BACKGROUND.
4412 (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
4413 (enum tiff_keyword_index): Add TIFF_BACKGROUND.
4414 (enum gif_keyword_index): Add GIF_BACKGROUND.
4415 (enum gs_keyword_index): Add GS_BACKGROUND.
4416 (pbm_load, png_load, jpeg_load, tiff_load, gif_load):
4417 Pre-calculate image background color where necessary.
4418 * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
4419 `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
4420 color to use for image glyph reliefs.
4421
4422 2001-10-24 Gerd Moellmann <gerd@gnu.org>
4423
4424 * xterm.c (x_draw_glyphs): Don't check for cursor overwriting
4425 in full-width rows.
4426
4427 * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
4428 Fix clearing of area not covered by scroll bar.
4429
4430 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4431
4432 * xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
4433 and `real_start'.
4434 (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
4435 (glyph_rect): Remove unused variable `area'.
4436
4437 2001-10-24 Gerd Moellmann <gerd@gnu.org>
4438
4439 * xdisp.c: Change #ifdef GLYPH_DEBUG to #if.
4440
4441 * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos.
4442 (row_containing_pos): Take additional argument DY.
4443 Treat rows ending in middle of char differently.
4444 (display_line): Handle tabs on window systems differently.
4445
4446 * xterm.c, w32term.c (fast_find_position): Call row_containing_pos
4447 with additional argument.
4448
4449 * dispextern.h (row_containing_pos): Adjust prototype.
4450
4451 * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing)
4452 (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
4453 (try_window_id, try_window_reusing_current_matrix)
4454 (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
4455 (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables.
4456
4457 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4458
4459 * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of
4460 gnuemacs).
4461 (HAVE_BOXES): Fix typo in comment.
4462 (push_menu_pane): Fix typo in comment.
4463
4464 * xdisp.c: (display_prop_string_p): Remove unused local declaration
4465 of `Qwhen'.
4466 (single_display_prop_string_p): Remove unused local declarations
4467 of `Qwhen' and `Qmargin'.
4468 (string_buffer_position): Remove unused variable `around'.
4469 (store_frame_title): Remove unused variable `width'.
4470
4471 * window.c: Don't define max.
4472 (coordinates_in_window): Remove unused variable `uy'.
4473
4474 * widget.c: Don't define max.
4475
4476 * process.c: Don't define max.
4477 (create_process): Remove unused variable `buffer'.
4478
4479 2001-10-23 Gerd Moellmann <gerd@gnu.org>
4480
4481 * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error.
4482
4483 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il>
4484
4485 * xfaces.c (Finternal_set_lisp_face_attribute)
4486 [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the
4487 frame is on a windowed display.
4488
4489 2001-10-23 Gerd Moellmann <gerd@gnu.org>
4490
4491 * dispnew.c (sync_window_with_frame_matrix_rows):
4492 Fix handling of windows which aren't full-width, fix handling
4493 of marginal areas.
4494
4495 * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50.
4496
4497 2001-10-23 Andreas Schwab <schwab@suse.de>
4498
4499 * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
4500 LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".
4501
4502 2001-10-23 Gerd Moellmann <gerd@gnu.org>
4503
4504 * xterm.c (x_draw_glyphs): Remove parameters READ_START and
4505 REAL_END. Notice if cursor gets overwritten.
4506 (notice_overwritten_cursor): Take X positions as parameters.
4507 (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
4508 around call to x_draw_glyphs.
4509
4510 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4511
4512 * syntax.c (modify-syntax-entry): Fix argument names (use CHAR
4513 instead of C) and usage.
4514
4515 * editfns.c (char-to-string): Fix argument names (use CHAR instead
4516 of C) and usage.
4517
4518 * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top',
4519 `left', `max_width' and `max_height'.
4520
4521 2001-10-23 Gerd Moellmann <gerd@gnu.org>
4522
4523 * xdisp.c (display_line): For a tab continued to the next line,
4524 set row's ends_in_middle_of_char_p.
4525
4526 2001-10-22 Gerd Moellmann <gerd@gnu.org>
4527
4528 * xdisp.c (display_line): Fix computation of continuation lines
4529 width for TABs.
4530
4531 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4532
4533 * xdisp.c (build_desired_tool_bar_string): Remove unused variable
4534 `Qlaplace'.
4535
4536 * fileio.c: Remove unused code.
4537
4538 2001-10-22 Miles Bader <miles@gnu.org>
4539
4540 * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
4541 (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
4542 Remove `DOC_STRINGS_IN_COMMENTS' cases.
4543
4544 2001-10-21 Jason Rumney <jasonr@gnu.org>
4545
4546 * w32term.c (x_erase_phys_cursor): Remove inverse_p again.
4547
4548 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
4549
4550 * mocklisp.c (Fml_if, Fml_provide_prefix_argument)
4551 (Finsert_string): Avoid the multi-line string literals warning.
4552
4553 2001-10-22 Miles Bader <miles@gnu.org>
4554
4555 * doc.c (Vhelp_manyarg_func_alist): Variable removed.
4556 (Fdocumentation): Don't use it.
4557 (syms_of_doc): Don't initialize it.
4558
4559 * keyboard.c (Ftrack_mouse): Add usage: string to doc string.
4560 * print.c (Fwith_output_to_temp_buffer): Likewise.
4561 * window.c (Fsave_window_excursion): Likewise.
4562 * editfns.c (Fsave_excursion, Fsave_current_buffer)
4563 (Fsave_restriction): Likewise.
4564 * eval.c (Frun_hooks, Frun_hook_with_args)
4565 (Frun_hook_with_args_until_failure)
4566 (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif)
4567 (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun)
4568 (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch)
4569 (Funwind_protect, Fcondition_case): Likewise.
4570 * coding.c (Ffind_operation_coding_system): Likewise.
4571 * keyboard.c (Ftrack_mouse): Likewise.
4572
4573 2001-10-21 Miles Bader <miles@gnu.org>
4574
4575 * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply)
4576 (Fmake_hash_table): Add usage: string to doc string.
4577 * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers)
4578 (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat)
4579 (Fencode_time, Finsert_and_inherit_before_markers): Likewise.
4580 * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument)
4581 (Fml_prefix_argument_loop): Likewise.
4582
4583 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4584
4585 * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'.
4586
4587 * sysdep.c (init_sys_modes): Change doc-string comments to `new
4588 style' [w/`doc:' keyword].
4589
4590 * data.c, fileio.c, indent.c, print.c, search.c, sound.c,
4591 * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string
4592 comments to `new style' [w/`doc:' keyword].
4593
4594 2001-10-21 Jason Rumney <jasonr@gnu.org>
4595
4596 * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.
4597
4598 * w32term.c (remember_mouse_glyph): New function.
4599 (w32_mouse_position): Use it.
4600 (note_mouse_movement): If the mouse moved off the glyph, remember
4601 its new position.
4602
4603 * w32term.h (struct w32_output): Correct spelling of x_compatible.
4604 (w32_display_info): Add mouse_face_overlay.
4605
4606 * w32term.c (notice_overwritten_cursor): Renamed from
4607 note_overwritten_text_cursor. Rewritten to take glyph widths into
4608 account.
4609 (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
4610 (fast_find_string_pos): New function.
4611 (fast_find_position): Return the correct vpos. Add parameter
4612 STOP. In the final row, stop before glyphs having STOP as object.
4613 Don't consider glyphs that are not from a buffer.
4614 (fast_find_position) [0]: Add a presumably more correct version
4615 for after 21.1.
4616 (expose_window_tree, expose_frame): Don't compute intersections here.
4617 (expose_window): Do it here instead.
4618 (expose_window_tree, expose_window, expose_line): Return 1 when
4619 overwriting mouse-face.
4620 (expose_window): If W is the window currently being updated, mark
4621 the frame garbaged.
4622 (expose_frame): If mouse-face was overwritten, redo it.
4623 (x_use_underline_position_properties): New variable.
4624 (syms_of_xterm): DEFVAR_BOOL it.
4625 (x_draw_glyph_string): Add comment to use it in future.
4626 (x_draw_glyph_string): Restore clipping after drawing box.
4627 Fix a computation of the underline position.
4628 (w32_get_glyph_string_clip_rect): Minor cleanup.
4629 (x_fill_stretch_glyph_string): Remove an assertion.
4630 (x_produce_glyphs): Don't convert multibyte characters
4631 to unibyte characters in unibyte buffers.
4632 (cursor_in_mouse_face_p): New function.
4633 (x_draw_stretch_glyph_string): Use it to choose a different GC
4634 when drawing a cursor within highlighted text. Don't draw
4635 background again if it has already been drawn.
4636 (x_draw_glyph_string_box): Don't draw a full-width
4637 box just because the glyph row's full_width_p flag is set.
4638 (x_draw_glyphs): Fix computation of rightmost x for
4639 full-width rows.
4640 (x_dump_glyph_string): Put in #if GLYPH_DEBUG.
4641 (w32_draw_relief_rect): Extend left shadow to the bottom and left;
4642 change bottom shadow accordingly. Some cleanup.
4643 (x_update_window_end): Handle overwritten mouse face
4644 also for tool bar windows.
4645 (show_mouse_face): Set the glyph row's mouse_face_p flag also when
4646 DRAW is DRAW_IMAGE_RAISED.
4647 (clear_mouse_face): Return 1 if text with mouse face was
4648 actually redrawn. Make the function static. Reset
4649 dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
4650 optimize away highlighting if we pass over that same overlay again.
4651 (note_mouse_highlight): Call mouse_face_overlay_overlaps
4652 to detect a case where we have to highlight a different region
4653 despite not having left the currently highlighted region.
4654 Set mouse_face_overlay in the x_display_info. Avoid changing the
4655 mouse pointer shape when show_mouse_face has already done it, or
4656 there is no need. Handle mouse-face and help-echo in strings.
4657 (glyph_rect): New function.
4658 (w32_mouse_position): Use it to raise the threshold for mouse
4659 movement event generation.
4660 (w32_initialize_display_info): Initialize the x_display_info's
4661 mouse_face_overlay.
4662 (w32_set_vertical_scroll_bar): Don't clear a zero height
4663 or width area.
4664 (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
4665 a widget to zero height.
4666
4667 * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
4668 Protect unibyte strings created by replacing their multibyte
4669 equivalents in menu_items.
4670 (w32_menu_show): Don't overwrite an item's name with its key
4671 description in case the description is a multibyte string.
4672 (single_submenu): Some cleanup.
4673
4674 * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed.
4675 (postprocess_image): New function.
4676 (lookup_image): Call it for all image types except PostScript.
4677 (x_kill_gs_process): Call postprocess_image.
4678 (tiff_error_handler, tiff_warning_handler): New functions.
4679 (tiff_load): Install them as handlers.
4680 (x_kill_gs_process): Recognize if someone has cleared the image
4681 cache under us.
4682 (valid_image_p): Protect better against invalid image
4683 specifications. Previous code could signal an error.
4684 (Fx_hide_tip, Fshow_tip): Doc fix.
4685 (Fv_max_tooltip_size): New variable.
4686 (syns_of_xfns): DEFVAR_LISP it.
4687 (Fx_show_tip): Add parameter TEXT. Set the tip frame's root
4688 window buffer to *tip* right after creating the frame. Set frame's
4689 window_width. Use a maximum tooltip size specified by
4690 Vx_max_tooltip_size, if that has valid contents.
4691 (compute_tip_xy): Add parameters WIDTH and HEIGHT.
4692 Make sure the tooltip is completely visible.
4693 (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
4694 (Fx_create_frame): Adjust the frame's height for presence
4695 of the tool bar before calling x_figure_window_size.
4696 (x_set_tool_bar_lines): Clear the tool bar window's current matrix
4697 when the window gets smaller.
4698 (x_set_foreground_color): Set frame's cursor_pixel.
4699 (x_set_foreground_color, x_set_background_color): Cleaned up.
4700 (x_set_font): Handle case of x_new_fontset returning the same name
4701 as before, although there was a change in fontsets.
4702
4703 2001-10-21 Miles Bader <miles@gnu.org>
4704
4705 * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior)
4706 (Flogxor): Add usage: string to doc string.
4707 * charset.c (Fstring): Likewise.
4708 * callproc.c (Fcall_process_region, Fcall_process): Likewise.
4709 * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise.
4710
4711 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4712
4713 * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords.
4714
4715 * alloc.c: Reindent DEFUNs with doc: keywords.
4716
4717 * abbrev.c (Finsert_abbrev_table_description): Reindent.
4718
4719 * frame.c: Change doc-string comments to `new style' [w/`doc:'
4720 keyword].
4721
4722 See ChangeLog.9 for earlier changes.
4723
4724 ;; Local Variables:
4725 ;; coding: iso-2022-7bit
4726 ;; End:
4727
4728 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
4729 Copying and distribution of this file, with or without modification,
4730 are permitted provided the copyright notice and this notice are preserved.