*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
CommitLineData
47d77aab
KH
12003-02-25 Kenichi Handa <handa@m17n.org>
2
3 * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer
4 process only when "subprocesses" is defined.
5
0b063c27
JB
62003-02-24 Juanma Barranquero <lektu@terra.es>
7
d1135afc
JB
8 * callint.c (fix_command): Declare as static void and move before
9 Fcall_interactively.
10
0b063c27
JB
11 * xdisp.c (Qwhen): Declare external; it's now defined in callint.c.
12 (syms_of_xdisp): Don't initialize Qwhen.
13
0af912f0
JD
142003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
15
16 * keyboard.c (cancel_hourglass_unwind): New function.
17 (command_loop_1): Cancel hourglass with unwind-protect.
18
120d0a23
RS
192003-02-23 Richard M. Stallman <rms@gnu.org>
20
21 * callint.c (fix_command): New subroutine, from Fcall_interactively.
22 Detect (when ... (region-beginning)) etc.
23 (Fcall_interactively): Call fix_command.
24 (Qif, Qwhen): New variables.
25 (syms_of_callint): Init and staticpro them.
0b063c27 26
120d0a23
RS
27 * regex.c (print_partial_compiled_pattern): Output to stderr.
28
4ece81a6
KG
292003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de>
30
31 * dired.c (directory_files_internal): Don't expand directory.
32 (Fdirectory_files, Fdirectory_files_and_attributes): Do it here
33 instead. From Lars Hansen <larsh@math.ku.dk>.
34
e52bd6b7
SM
352003-02-22 Stefan Monnier <monnier@cs.yale.edu>
36
37 * fns.c (string_to_multibyte): Remove unused var i.
38 (Flanginfo): Fix int/Lisp_Object mixup.
39 (void_call2): New fun.
40 (Fmap_char_table): Use it in place of call2.
41
42 * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup.
43
44 * macros.c (Fstart_kbd_macro): Remove redundant assignment.
45
46 * keymap.c (copy_keymap_1): Make it static.
47
48 * alloc.c (Fgarbage_collect): Don't use XSETFLOAT.
49
c33ef7c4
JB
502003-02-22 David Ponce <david@dponce.com>
51
52 * lread.c (Fload): Don't check STRING_MULTIBYTE.
53
16782258
JD
542003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
55
56 * process.h: Removed subtty field from struct Lisp_Process.
57
58 * process.c (create_process): Remove setting of subtty.
59 (emacs_get_tty_pgrp): New function.
e52bd6b7
SM
60 (Fprocess_running_child_p, process_send_signal):
61 Call emacs_get_tty_pgrp instead of ioctl.
16782258
JD
62 (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails.
63
3abeca61
KG
642003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de>
65
66 * keymap.c (Fdefine_key): Doc fix.
67
92a8ce63
JB
682003-02-21 Juanma Barranquero <lektu@terra.es>
69
70 Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>.
71
72 * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not
73 POLLING_PROBLEM_IN_SELECT.
74
75 * s/hpux11.h: Include hpux10-20.h instead of hpux10.h.
76 Delete #undef of POLLING_PROBLEM_IN_SELECT.
77
78 * s/hpux10-20.h: New file.
79
e52bd6b7
SM
80 * process.c (wait_reading_process_input):
81 Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT.
92a8ce63 82
20f1ef2e
KH
832003-02-20 Kenichi Handa <handa@m17n.org>
84
32d0a9dc
KH
85 * fontset.c (check_fontset_name): If NAME is nil, return the
86 default fontset.
87 (override_font_info): New function.
e52bd6b7 88 (Fset_fontset_font): Document that NAME nil means the default fontset.
32d0a9dc
KH
89 (Ffontset_info): If FONTSET is not the default fontset, merge
90 FONTSET onto the copy of the default fontset, and work on that
91 copy. Document that NAME nil means the default fontset.
92 (Ffontset_font): Document that NAME nil means the default fontset.
93
20f1ef2e
KH
94 * process.c (setup_process_coding_systems): If the process's
95 in/out descriptor is -1, do nothing.
96
77d1daf2
AS
972003-02-19 Andreas Schwab <schwab@suse.de>
98
e52bd6b7
SM
99 * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte):
100 Add prototypes.
77d1daf2 101
f9a45bb3
KH
1022003-02-19 Kenichi Handa <handa@m17n.org>
103
104 * xfaces.c (try_alternative_families): Try all scalable fonts if
105 Vscalable_fonts_allowed is not Qt.
106
72ecb43c
JD
1072003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
108
109 * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
110
ee5be7c3
JD
1112003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
112
113 * xterm.c (x_list_fonts): If maxnames is less than 0, get all font
114 names.
115
116 * xfaces.c (x_face_list_fonts): Allocate struct font_name here.
e52bd6b7 117 (sorted_font_list): Move allocation of struct font_name to
ee5be7c3
JD
118 x_face_list_fonts.
119 (Fx_font_family_list): Set font-list-limit to -1 to get all font names.
120 (Fx_list_fonts): Set maxnames to -1 to get all font names.
121
4cd519a7
KS
1222003-02-18 Kim F. Storm <storm@cua.dk>
123
068f9882
KS
124 * lread.c (read1): Fix last change.
125 "`" is not always special. Allow "?" after a character constant.
4cd519a7 126
7290a344
AC
1272003-02-18 Andrew Choi <akochoi@shaw.ca>
128
129 * unexmacosx.c (copy_data_segment): Also copy __cfstring section.
130
1f7fa69b
AS
1312003-02-18 Andreas Schwab <schwab@suse.de>
132
133 * window.c (window_scroll_pixel_based): Move outside a
134 multi-glyph character before setting new window start.
135
136 * xdisp.c (in_display_vector_p): New function.
137 * dispextern.h (in_display_vector_p): Declare.
138
23e21195
KS
1392003-02-18 Kim F. Storm <storm@cua.dk>
140
141 * lread.c (read1): Fix and relax read syntax.
142 Recognize "[", ";", "#", and "?" after a dotted-pair dot.
143 Only recognize "," after dotted-pair dot if inside backquote.
144 Never include "`" or "," (inside backquote) in a symbol.
145 Allow dotted-pair dot after a character constant.
146 Allow "`" and "," (inside backquote) after a character constant.
92a8ce63 147
f098b121
JD
1482003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
149
150 * gtkutil.c (xg_tool_bar_expose_callback): New function.
151 (xg_create_tool_bar): Force style of tool bar to be horizontal with
152 icons. Set name of tool bar to emacs-toolbar.
153 (update_frame_tool_bar): Connect expose event to
154 xg_tool_bar_expose_callback.
155
63020c46
RS
1562003-02-17 Richard M. Stallman <rms@gnu.org>
157
158 * keyboard.c (this_command_key_count_reset): New variable.
159 Initiatize to 0 where this_command_key_count is set.
160 (read_char): Save and restore this_command_key_count_reset
161 around input method code.
162 (read_char): If this_command_key_count_reset, echo reread commands.
163 (Freset_this_command_lengths): Set this_command_key_count_reset to 1.
164
fb4452cc
KH
1652003-02-17 Kenichi Handa <handa@m17n.org>
166
167 * fns.c (string_to_multibyte): Always return a multibyte string.
168
bd11cc09
JR
1692003-02-16 Jason Rumney <jasonr@gnu.org>
170
e52bd6b7
SM
171 * w32fns.c (w32_list_bdf_fonts, w32_list_fonts):
172 Negative max_fonts parameter means list all.
bd11cc09 173
4cdf4bde
DL
1742003-02-14 Dave Love <fx@gnu.org>
175
176 * fns.c (Flanginfo): Doc fix.
177
023b93f6
KS
1782003-02-13 Kim F. Storm <storm@cua.dk>
179
37cd4238
KS
180 * lread.c (read_escape): Interpret \s as a SPACE character, except
181 for \s-X in a character constant which still is the super modifier.
182 (read1): Signal an `invalid read syntax' error if a character
183 constant is immediately followed by a digit or symbol character.
184
140a6b7e
KS
185 * search.c (Fmatch_data): Doc fix. Explicitly state that
186 match-data is undefined if last search failed.
187
023b93f6
KS
188 * keymap.c (Fcommand_remapping): Renamed from Fremap_command.
189 All uses changed.
190
7d5c86e5
JB
1912003-02-12 Juanma Barranquero <lektu@terra.es>
192
193 * eval.c (Fdefmacro): Fix typo.
194
295fff2c
KS
1952003-02-12 Kim F. Storm <storm@cua.dk>
196
197 * macros.c (Fstart_kbd_macro): If appending, and last keyboard
198 macro is a string, convert meta modifiers in string when copying
199 the string into a vector.
200
60f3202d
KS
2012003-02-11 Kim F. Storm <storm@cua.dk>
202
203 * keymap.c (Fremap_command): Return nil if arg is not a symbol.
204
61cb0b53
KH
2052003-02-11 Kenichi Handa <handa@m17n.org>
206
207 * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el.
208
7392e23c
KS
2092003-02-10 Kim F. Storm <storm@cua.dk>
210
211 * process.c: Doc fixes.
212 (syms_of_process): Add `:' prefix to QCfilter_multibyte.
213
ce4254bd
KH
2142003-02-10 Kenichi Handa <handa@m17n.org>
215
9c7a329a
KH
216 * fns.c (Fstring_to_multibyte): Fix typo in the docstring.
217
ce4254bd
KH
218 * process.c (QCfilter_multibyte): New variable.
219 (setup_process_coding_systems): New function.
e52bd6b7
SM
220 (Fset_process_buffer, Fset_process_filter):
221 Call setup_process_coding_systems.
ce4254bd
KH
222 (Fstart_process): Initialize the member `filter_multibyte' of
223 struct Lisp_Process.
224 (create_process): Call setup_process_coding_systems.
225 (Fmake_network_process): New keyward `:filter-multibyte'.
226 Initialize the member `filter_multibyte' of struct Lisp_Process.
227 Call setup_process_coding_systems.
228 (server_accept_connection): Call setup_process_coding_systems.
229 (read_process_output): If the process has a filter, decide the
230 multibyteness of a string to given to the filter by
231 `filter_multibyte' member of the process. If the process doesn't
232 have a filter and the result of conversion is unibyte, use
233 Fstring_to_multibyte (not Fstring_make_multibyte) to get the
234 multibyte form.
235 (Fset_process_coding_system): Call setup_process_coding_systems.
236 (Fset_process_filter_multibyte): New function.
237 (Fprocess_filter_multibyte_p): New function.
238 (syms_of_process): Intern and staticpro QCfilter_multibyte.
239 Defsubr Sset_process_filter_multibyte and
240 Sprocess_filter_multibyte_p.
241
242 * process.h (struct Lisp_Process): New member filter_multibyte.
243
244 * lisp.h (setup_process_coding_systems): Add prototype.
245
246 * buffer.c (Fset_buffer_multibyte): If the current buffer has a
247 process, update coding systems for the process.
248
b08d5f59
KH
2492003-02-09 Kenichi Handa <handa@m17n.org>
250
251 * fns.c (string_to_multibyte): New function.
252 (Fstring_to_multibyte): New function.
253 (syms_of_fns): Defsubr it.
254
0dfd93c0
AS
2552003-02-08 Andreas Schwab <schwab@suse.de>
256
257 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
258 instead of the substitution.
259
7b76ca1c
JD
2602003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
261
262 * xterm.c (x_make_frame_visible): Call gtk_window_deiconify.
263
264 * xmenu.c (menu_position_func): Adjust menu popup position so that
265 the menu is fully visible.
7b76ca1c 266
2436a4e4
JD
2672003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
268
269 * xterm.c (x_text_icon, x_raise_frame, x_lower_frame)
e52bd6b7
SM
270 (x_make_frame_invisible, x_wm_set_icon_position):
271 Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif.
2436a4e4
JD
272
273 * xfns.c (x_set_name, x_set_title): Ditto.
274
37d1e680
RS
2752003-02-04 Richard M. Stallman <rms@gnu.org>
276
277 * keyboard.c (echo_now): Update before_command_echo_length.
278 (Freset_this_command_lengths): Reset this_command_key_count etc.
279 immediately rather than arranging to do it later.
280 (before_command_key_count_1, before_command_echo_length_1)
281 (before_command_restore_flag): Vars deleted.
282 (add_command_key): Don't handle before_command_restore_flag.
283 (read_char, record_menu_key): Don't update before_command_key_count or
284 before_command_echo_length.
285 (read_char): Don't handle before_command_restore_flag.
286
287 * keyboard.c (command_loop_1): Don't call adjust_point_for_property
288 in direct-output clauses if it wouldn't be called in the ordinary case.
289
578846a3
KS
2902003-02-04 Kim F. Storm <storm@cua.dk>
291
292 * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix.
293
49853a4d
JD
2942003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
295
296 * gtkutil.c (remove_from_container): Copying list is not needed.
297 (xg_update_menubar, xg_update_menu_item, xg_update_submenu)
298 (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free
299 on list returned from gtk_container_get_children to avoid memory leak.
300
8b53dc06
JR
3012003-02-01 Jason Rumney <jasonr@gnu.org>
302
5d54d177
JR
303 * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for
304 local malloc.
305 [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel
306 definitions in xpm.h.
307 (init_xpm_functions): New function.
308 (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm.
309 (init_external_image_libraries): Try to load libXpm.dll.
310
8b53dc06
JR
311 * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
312 timestamp.
313
b222e415
DL
3142003-01-31 Dave Love <fx@gnu.org>
315
316 * syntax.c (Fskip_chars_forward)
317 (open-paren-in-column-0-is-defun-start): Doc fix.
318
c60ee5e7
JB
3192003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
320
321 * fileio.c: Support // at start of name for Cygwin (just added proper
322 preprocessor tests).
323
324 * keyboard.c: Port to Cygwin (just added proper preprocessor tests).
325
326 * Makefile.in: Use @EXEEXT@ for Cygwin.
327
328 * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin.
329
330 * s/cygwin.h: Added for Cygwin port.
331
53b37591
JB
3322003-01-31 Juanma Barranquero <lektu@terra.es>
333
334 * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows
335 when including gif_lib.h.
fe929957
JB
336 (init_gif_functions, init_tiff_functions): New functions.
337 (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for
338 Windows. Disable color table lookups. Call library functions
53b37591 339 through pointers determined at runtime.
fe929957
JB
340 (init_external_image_libraries): Try to load libungif.dll and
341 libtiff.dll.
53b37591 342
45415a8f
KH
3432003-01-31 Kenichi Handa <handa@m17n.org>
344
345 * xdisp.c (SKIP_GLYPHS): New macro.
e52bd6b7 346 (set_cursor_from_row): Skip all glyphs that comes from overlay string.
45415a8f 347
a97e4138
JD
3482003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
349
e52bd6b7 350 * gtkutil.c (free_frame_tool_bar): Remove debug printf.
a97e4138 351
6eed9bed
DL
3522003-01-30 Dave Love <fx@gnu.org>
353
354 * alloc.c (Vgc_elapsed, gcs_done): New variables.
355 (Fgarbage_collect): Use them.
356 (init_alloc, syms_of_alloc): Set them up.
357
100dcd40
JB
3582003-01-30 Juanma Barranquero <lektu@terra.es>
359
360 * w32fns.c (init_external_image_libraries): Add missing operator.
361
fbd852af
JR
3622003-01-29 Jason Rumney <jasonr@gnu.org>
363
364 * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as
365 an alternative name for jpeg.dll.
366
8a2d8020
KH
3672003-01-29 Kenichi Handa <handa@m17n.org>
368
369 * xdisp.c (set_cursor_from_row): Pay attention to string display
370 properties.
371
058c18c7
AC
3722003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
373
374 * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
375 <escape>.
376 (keycode_to_xkeysym_table): Reformat and add more comments.
377 (XTread_socket): Drop special case for backspace.
378
385f11cf
AC
3792003-01-28 Andrew Choi <akochoi@shaw.ca>
380
381 * macfns.c (x_to_mac_color): Correct the order for parsing the RGB
382 values in old-style RGB specs.
383
c922a224
JB
3842003-01-27 Juanma Barranquero <lektu@terra.es>
385
386 * w32fns.c (init_external_image_libraries): Try alternate names for the
387 jpeg dll.
388
0a1d6de0
JD
3892003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
390
391 * gtkutil.c (create_dialog, xg_separator_p)
392 (xg_item_label_same_p, xg_update_menu_item): Check for NULL string
393 before calling strcmp or strlen.
394
a97e4138 3952003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
1d1885fc
JD
396
397 * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display
398 and handle image load failure.
399
28908312
JR
4002003-01-26 Jason Rumney <jasonr@gnu.org>
401
402 * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
403 New functions.
404 (jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
405 Disable color table lookups. Call jpeg library functions
406 through pointers determined at runtime.
407 (init_external_image_libraries): Try to load jpeg.dll.
408
84e47416
RS
4092003-01-25 Richard M. Stallman <rms@gnu.org>
410
411 * lisp.h: Declare format2 instead of format1.
412
413 * fileio.c (barf_or_query_if_file_exists):
414 Call format2 instead of format1.
415
416 * editfns.c (format2): New function, replaces format1
417 but takes exactly two Lisp Objects as format args.
418
419 * buffer.c (Fkill_buffer): Call format2 instead of format1.
420
a97e4138 4212003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
1fcfb866
JD
422
423 * xterm.h: Change to return value of x_dispatch_event to int.
424
425 * xterm.c (x_filter_event): New function.
426 (event_handler_gdk, XTread_socket): Call x_filter_event.
427 (x_dispatch_event): Change to return value of finish.
428 (event_handler_gdk): Use return value from x_dispatch_event.
429
430 * xfns.c (x_window): Call create_frame_xic for GTK version to
431 initialize input methods.
432
433 * gtkutil.h: Add (void) prototypes.
434
435 * gtkutil.c (create_menus): Remove code that puts the help menu to
436 the right.
437
54eefef1
JR
4382003-01-25 Jason Rumney <jasonr@gnu.org>
439
440 * w32fns.c (XPutPixel): Handle monochrome images; used for masks.
441 [HAVE_PNG]: Sync with xfns.c version.
442 (png_load): Adjust colors for Windows. Use Windows
443 bitmaps. Disable color table lookups.
c262430d
JR
444 (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
445 (init_png_functions): New function.
446 (png_read_from_memory, png_load): Call png library functions
447 through pointers determined at runtime.
448 (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
449 (init_external_image_libraries): New function.
450 (init_xfns): Call it.
54eefef1 451
1a9e275b
AS
4522003-01-24 Andreas Schwab <schwab@suse.de>
453
454 * minibuf.c (Fminibuffer_message): Verify type of parameter.
455
a97e4138 4562003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
81e302ef
JD
457
458 * gtkutil.c (xg_initialize): Initialize id_to_widget here instead
459 of static initializer.
460
422eec7e
DL
4612003-01-24 Dave Love <fx@gnu.org>
462
463 * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
464 architectures.
465
466 * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
467 Use __alignof__.
468
2a026b04
KH
4692003-01-24 Kenichi Handa <handa@m17n.org>
470
471 * keyboard.c (adjust_point_for_property): New second arg MODIFIED.
e52bd6b7 472 It it is nonzero, don't pretend that an invisible area doesn't exist.
2a026b04
KH
473 (command_loop_1): Call adjust_point_for_property with proper
474 second arg.
475
a18bb28d
JR
4762003-01-22 Jason Rumney <jasonr@gnu.org>
477
478 Sync changes with xterm.c and xfns.c.
479
480 * w32term.c (x_draw_glyph_string_foreground)
481 (x_draw_composite_glyph_string_foreground): Implement overstriking.
482
483 * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
484 phys_cursor's hpos is overwritten. This is still not completely
485 correct, as it doesn't really make sense to use hpos at all to
486 get the cursor glyph (as that is relative to the width of the
487 characters on the line, which may have changed during the update).
488
489 * w32term.c (notice_overwritten_cursor): Handle the special case
490 of the cursor being in the first blank non-text line at the
491 end of a window.
492
493 * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
494 (x_draw_phys_cursor_glyph): Set phys_cursor_width here.
495 Compute from the x position returned by x_draw_glyphs.
496
497 (x_display_and_set_cursor): Don't set phys_cursor_width here,
498 except for NO_CURSOR and system caret, to make phys_cursor_width
499 contain what its name suggests.
500 (notice_overwritten_cursor): Consider the cursor image erased if
501 the output area intersects the cursor image in y-direction.
502
503 * w32term.c (note_mode_line_or_margin_highlight): Renamed from
504 note_mode_line_highlight and extended.
505
506 * w32term.c (last_window): New variable.
507 (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
508 (note_mouse_movement): Remove reimplemented code in #if 0.
509
510 * w32fns.c (x_set_cursor_type): Set cursor_type_changed,
511 not update_mode_lines, and always set it to 1.
512
ac6e47ef
JR
5132003-01-21 Jason Rumney <jasonr@gnu.org>
514
515 * w32fns.c (IDC_HAND): Define it if system headers don't.
516
5172003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
518
519 * w32term.h (struct w32_output): New member hand_cursor.
520 (WM_EMACS_SETCURSOR): New message definition.
521
522 * w32term.c (note_mode_line_highlight): Delete #if 0 to enable
523 function w32_define_cursor.
524 (note_mouse_highlight): Initialize, setup cursor accoding to mouse
525 position, change member name output_data.x to output_data.w32 and
526 add function w32_define_cursor.
527 (show_mouse_face): Delete #if 0 to enable function w32_define_cursor
528 and change member name output_data.x to output_data.w32.
e52bd6b7
SM
529 (w32_initialize_display_info):
530 Setup dpyinfo->vertical_scroll_bar_cursor.
ac6e47ef
JR
531
532 * w32fns.c (Vx_hand_shape): New variable.
533 (w32_wnd_proc): Add message entries for WM_SETCURSOR and
534 WM_EMACS_SETCURSOR.
535 (x-create-frame): Setup Cursor types.
536
ceb39a17
JB
5372003-01-21 David Ponce <david@dponce.com>
538
ac6e47ef
JR
539 * w32term.c (w32_encode_char): For DIM=1 charset, set
540 ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
541 x_encode_char change by Kenichi Handa <handa@m17n.org> on
ceb39a17 542 2002-09-30.)
ac6e47ef
JR
543 (w32_draw_relief_rect): Declare all args.
544 (w32_define_cursor): New.
545
546 * w32fns.c (w32_load_cursor): New function.
547 (w32_init_class): Use it.
548 (x_put_x_image): Declare all args.
549
46cf0bed
JB
5502003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
551
552 * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG.
553
a97e4138 5542003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
e8794476
JD
555
556 * gtkutil.c: Must include stdio.h before termhooks.h
557
83fc9c63
DL
5582003-01-21 Dave Love <fx@gnu.org>
559
560 * alloc.c (Fgc_status): Print zombie list.
561 (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
562 Fix assignment of zombies.
563 (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
564 Don't take car of non-cons.
565
566 * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
567
568 * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
569
fe04b8c8
JR
5702003-01-20 David Ponce <david@dponce.com>
571
572 * w32menu.c (digest_single_submenu): Declare all args.
573
574 Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org>
575 changes in xmenu.c:
576
577 (parse_single_submenu): Use individual keymap's prompt
578 string as pane name, if there is one.
579 (set_frame_menubar): Save menu_items_n_panes from each call to
580 parse_single_submenu and use it when calling digest_single_submenu.
581
539e69a9
ST
5822003-01-20 Steven Tamm <steventamm@mac.com>
583
584 * macterm.c (XTread_socket): Checks for valid, visible window
585 before sending a scroll-wheel event.
586
675d000f
RS
5872003-01-20 Richard M. Stallman <rms@gnu.org>
588
589 * xdisp.c (redisplay_window): If mini window's buffer is not
590 a minibuffer, then redisplay it like other windows.
591
a97e4138 5922003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
22174d10
JD
593
594 * gtkutil.c (xg_create_frame_widgets): Check if there is an
595 external tool bar before setting tool bar height.
596
77d1daf2 5972003-01-19 Ja
3c02a6f5 598
77d1daf2
AS
599 * w32fns.c (w32_defined_color): Adjust RGB values for Emacs.
600 (x_from_xcolors): Adjust RGB values for W32.
601 (image_background, image_background_transparent)
602 (postprocess_image, x_to_xcolors, x_disable_image)
603 (x_build_heuristic_mask): Adapt for W32 and enable.
604 (x_create_x_image_and_pixmap): Mark images with palettes as such.
605 (xbm_load): Remove unused variable.
cd7df9c0 606
77d1daf2 6072002-11-14 Richard M. Stallman <rms@gnu.org>
cd7df9c0 608
77d1daf2 609 * buffer.c (syms_of_buffer): Doc fix.
56210ecd 610
77d1daf2 6112002-11-14 Dave Love <fx@gnu.org>
56210ecd 612
77d1daf2 613 * alloc.c (SETJMP_WILL_NOT_WORK): Add note.
56210ecd 614
77d1daf2
AS
615 * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor):
616 * xmenu.c (unuse_menu_items, digest_single_submenu):
617 * xfns.c (x_put_x_image):
618 * xdisp.c (message2_nolog, set_message):
619 * undo.c (record_point):
620 * terminfo.c (tparam):
621 * syntax.c (scan_sexps_forward):
622 * scroll.c (calculate_scrolling, calculate_direct_scrolling):
623 * composite.c (update_compositions):
624 * cm.c (calccost, cmgoto):
625 * charset.c (c_string_width): Declare all args (per C99).
6df8b9fe 626
77d1daf2 627 * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare.
6df8b9fe 628
77d1daf2
AS
629 * lisp.h (get_specified_cursor_type, get_window_cursor_type):
630 Don't declare.
292ddc31 631
77d1daf2 632 * emacs.c (main) [!VMS]: Avoid third arg.
292ddc31 633
77d1daf2
AS
634 * fns.c (Fcopy_sequence): Doc fix.
635 (Fmap_char_table): Cast `call2'.
292ddc31 636
77d1daf2 6372002-11-14 Francesco Potorti` <pot@gnu.org>
63e4e4c6 638
77d1daf2 639 * s/sol2-8.h: New file.
63e4e4c6 640
77d1daf2 6412002-11-14 Kim F. Storm <storm@cua.dk>
63e4e4c6 642
77d1daf2
AS
643 * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol
644 dependency on `risky-local-variable' and the :propertize form.
7ed16567 645
77d1daf2 6462002-11-12 Stefan Monnier <monnier@cs.yale.edu>
7ed16567 647
77d1daf2 648 * fns.c (Fmap_char_table): Don't use map_char_table's function arg.
e833850f 649
77d1daf2
AS
650 * syntax.c (scan_sexps_forward): Undo last patch.
651 Use a more obvious fix: check eob before updating the syntax table.
e833850f 652
77d1daf2 6532002-11-09 Stefan Monnier <monnier@cs.yale.edu>
817cb127 654
77d1daf2
AS
655 * syntax.c (scan_sexps_forward): Update syntax table before reading
656 a char rather than after so we don't update the table past eob.
817cb127 657
77d1daf2 6582002-11-09 Dave Love <fx@gnu.org>
3e8cf2ea 659
77d1daf2 660 * buffer.c (Fset_buffer_major_mode): Fix last change.
3e8cf2ea 661
77d1daf2 662 * regex.c (regexec): Fix pmatch declaration.
3e8cf2ea 663
77d1daf2 664 * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input.
3e8cf2ea 665
77d1daf2
AS
666 * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input
667 to self-inserting characters.
668 (syms_of_keyboard) <keyboard-translate-table>: Doc fix.
2c10f029 669
77d1daf2
AS
670 * coding.c (Vtranslation_table_for_input): New.
671 (syms_of_coding): DEFVAR it.
94e8ffca 672
77d1daf2 6732002-11-08 Juanma Barranquero <lektu@terra.es>
94e8ffca 674
e52bd6b7 675 * w32term.c (w32_draw_fringe_bitmap): Remove unused variable window.
2c10f029 676
77d1daf2 6772002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
b8a76c6c 678
e52bd6b7 679 * process.c (Fformat_network_address): Remove unused locals p,
77d1daf2 680 cp, and i.
b8a76c6c 681
77d1daf2 6822002-11-06 Dave Love <fx@gnu.org>
3a8d0899 683
77d1daf2
AS
684 * buffer.c (Qset_buffer_major_mode_hook): New.
685 (Fset_buffer_major_mode): Use it.
3a8d0899 686
77d1daf2 6872002-11-06 Richard M. Stallman <rms@gnu.org>
4abc7470 688
77d1daf2
AS
689 * xterm.c (x_term_init): Use turn_on_atimers, not start_polling
690 and stop_polling.
4abc7470 691
77d1daf2
AS
692 * process.c (wait_reading_process_input):
693 Test POLLING_PROBLEM_IN_SELECT, not hpux.
694 Avoid initialization for auto Lisp_Object var.
b809d662 695
77d1daf2 696 * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef.
b809d662 697
77d1daf2 698 * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined.
bf338245 699
77d1daf2 7002002-11-05 Richard M. Stallman <rms@gnu.org>
bf338245 701
77d1daf2 702 * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef.
bf338245 703
77d1daf2
AS
704 * callint.c (Fcall_interactively): New local filter_specs.
705 (Fcall_interactively): Check for progn as well as let.
706 Add a gcpro.
707 (Qprogn): New variable.
708 (syms_of_callint): Staticpro and init Qprogn.
bf338245 709
77d1daf2 7102002-11-04 John Paul Wallington <jpw@shootybangbang.com>
e833850f 711
77d1daf2 712 * lread.c (Feval_buffer): Doc fix.
c4af2bce 713
77d1daf2 7142002-11-04 Dave Love <fx@gnu.org>
c4af2bce 715
77d1daf2
AS
716 * keyboard.c (read_char): Always translate iff
717 Vkeyboard_translate_table is a char table and c is valid.
00e3ab56 718
77d1daf2
AS
719 * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
720 and fix C types.
00e3ab56 721
77d1daf2 7222002-11-03 Stefan Monnier <monnier@cs.yale.edu>
f387e1fd 723
77d1daf2 724 * xdisp.c (single_display_prop_intangible_p): Strings are intangible.
f387e1fd 725
77d1daf2 726 * editfns.c (get_pos_property): Don't hardcode Qfield.
f387e1fd 727
77d1daf2
AS
728 * keyboard.c (adjust_point_for_property): Handle `display' prop on
729 overlays. Also handle `invisible' prop.
8c6d74c6 730
77d1daf2 7312002-11-02 Stefan Monnier <monnier@cs.yale.edu>
e833850f 732
77d1daf2
AS
733 * coding.c (decode_coding_emacs_mule, decode_coding_iso2022)
734 (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
8c6d74c6 735
77d1daf2 7362002-11-01 Andreas Schwab <schwab@suse.de>
e833850f 737
77d1daf2 738 * editfns.c (Fmessage): Revert last change to properly handle %%.
8c6d74c6 739
77d1daf2 7402002-11-01 Stefan Monnier <monnier@cs.yale.edu>
8c6d74c6 741
77d1daf2
AS
742 * xmenu.c (unuse_menu_items): New fun.
743 (menu_items_inuse): New var.
744 (syms_of_xmenu): Initialize it.
745 (init_menu_items): Use it to detect re-entrance.
746 (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done.
747 (Fx_popup_menu): Remove spurious XSETFRAME.
8c6d74c6 748
77d1daf2 749 * editfns.c (find_field): Make an exception for nil fields.
8c6d74c6 750
77d1daf2 7512002-11-01 Dave Love <fx@gnu.org>
8c6d74c6 752
77d1daf2 753 * m/gec63.h: Deleted.
8c6d74c6 754
77d1daf2 7552002-10-31 Dave Love <fx@gnu.org>
8c6d74c6 756
77d1daf2
AS
757 * xterm.c (XTread_socket): Fix last change.
758 (xaw_scroll_callback): Cast call_data to long to avoid warning.
8c6d74c6 759
77d1daf2 7602002-10-31 Stefan Monnier <monnier@cs.yale.edu>
8c6d74c6 761
77d1daf2 762 * process.c (Fformat_network_address): Fix int/Lisp_Object mixup.
8c6d74c6 763
77d1daf2 7642002-10-30 Stefan Monnier <monnier@cs.yale.edu>
8c6d74c6 765
77d1daf2
AS
766 * editfns.c (overlays_around, get_pos_property): New funs.
767 (find_field): Use them.
768 Also be careful not to modify POS before its last use.
769 (Fmessage): Don't Fformat if there's nothing to format.
8c609cff 770
77d1daf2 7712002-10-30 Dave Love <fx@gnu.org>
8c609cff 772
77d1daf2
AS
773 * process.c [HAVE_SYS_WAIT]: Include sys/wait.h.
774 [HAVE_PTY_H]; Include pty.h.
b37113a1 775
77d1daf2 776 * lread.c (Fload) <!load_dangerous_libraries>: Close fd.
b37113a1 777
77d1daf2
AS
778 * xterm.c (Qeql): Declare.
779 (Vx_keysym_table): New.
780 (syms_of_xterm): Initialize it.
781 (XTread_socket): Use it. Deal with ASCII keysyms.
782 (XSetIMValues) [HAVE_X11R6]: Prototype.
fa634a5e 783
77d1daf2
AS
784 * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended.
785 (lispy_kana_keys): Comment out.
786 (make_lispy_event) [XK_kana_A]: Comment out.
787 (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>:
788 Fix sprintf call.
fa634a5e 789
77d1daf2
AS
790 * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by
791 regexp.h change).
792 (TERMINFO, LIBS_TERMCAP): Define.
ce0669d4 793
77d1daf2
AS
794 * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY.
795 (bcmp): Define conditional on HAVE_BCMP.
796 (NO_SIOCTL_H): Don't define.
797 (TIOCSIGSEND): Don't make conditional on IRIX6.
ce0669d4 798
77d1daf2
AS
799 * s/sol2-5.h: Don't include strings.h.
800 (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
2308af15 801
77d1daf2
AS
802 * s/irix6-0.h (IRIX6): Don't define.
803 (bcopy, bcmp, bzero): Don't undef.
2308af15 804
77d1daf2
AS
805 * s/irix6-5.h: Don't include strings.h.
806 (IRIX6): Don't define.
807 (bcopy, bcmp, bzero): Don't undef.
2155ecf3 808
77d1daf2 809 * syntax.c (Fforward_comment): Doc fix.
2155ecf3 810
77d1daf2 8112002-10-29 Kim F. Storm <storm@cua.dk>
2155ecf3 812
77d1daf2
AS
813 * process.c (Fsignal_process): Allow PROCESS to be specified by
814 name in addition to pid (as integer or string).
2155ecf3 815
77d1daf2 8162002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change)
61f1d295 817
77d1daf2
AS
818 * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build
819 environments.
61f1d295 820
77d1daf2 8212002-10-27 Kim F. Storm <storm@cua.dk>
0b17a217 822
77d1daf2 823 * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
0b17a217 824
77d1daf2 825 * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden.
0b17a217 826
77d1daf2 827 * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden.
402e4f8b 828
77d1daf2 829 * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
402e4f8b 830
77d1daf2 8312002-10-26 Richard M. Stallman <rms@gnu.org>
f02cac82 832
77d1daf2 833 * editfns.c (Fformat): Detect invalid format letters for floats.
f02cac82 834
77d1daf2 8352002-10-25 Kenichi Handa <handa@m17n.org>
f02cac82 836
77d1daf2
AS
837 * xfns.c (x_set_name): Encode by Qcompound_text unconditionally.
838 (x_set_title): Likewise.
f02cac82 839
77d1daf2 8402002-10-25 Juanma Barranquero <lektu@terra.es>
f02cac82 841
77d1daf2
AS
842 * macgui.h:
843 * w32gui.h: Remove definition of XColor.
f02cac82 844
77d1daf2 845 * dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
f02cac82 846
77d1daf2 8472002-10-24 Kim F. Storm <storm@cua.dk>
f02cac82 848
77d1daf2
AS
849 * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
850 Callers changed (supply dummy arg).
f02cac82 851
77d1daf2 852 * lisp.h (get_window_cursor_type): Update prototype.
1a590729 853
77d1daf2
AS
854 * w32term.c (x_display_and_set_cursor): Get active_cursor from
855 get_window_cursor_type to track system caret.
1a590729 856
77d1daf2 8572002-10-24 Kim F. Storm <storm@cua.dk>
f02cac82 858
77d1daf2
AS
859 * process.c (Fformat_network_address): New function.
860 (syms_of_process): Defsubr it.
861 (list_processes_1): Use it to format :local/:remote address if
862 service/host is not set; before emacs would crash in that case.
863 (Fmake_network_process): Don't use Ffind_operation_coding_system
864 to setup coding system if host or service is not set.
2308af15 865
77d1daf2 8662002-10-23 Juanma Barranquero <lektu@terra.es>
9785d95b 867
77d1daf2 868 Patch suggested by Jay Finger <jay_finger@hotmail.com>.
9785d95b 869
77d1daf2
AS
870 * w32term.c (w32_term_init): Pass XColor to w32_define_color, not
871 COLORREF.
9785d95b 872
77d1daf2
AS
873 * macgui.h:
874 * w32gui.h: Add definition of XColor.
9785d95b 875
77d1daf2
AS
876 * macfns.c:
877 * w32fns.c:
878 * xfaces.c: Remove definition of XColor.
2308af15 879
77d1daf2 8802002-10-22 Stefan Monnier <monnier@cs.yale.edu>
2308af15 881
77d1daf2 882 * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char.
9785d95b 883
77d1daf2
AS
884 * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>,
885 Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the
886 window if it is dedicated.
887 (Fshrink_window): Add preserve_before as was done for enlarge_window.
888 (Vspecial_display_function): Update docstring.
9785d95b 889
77d1daf2
AS
890 * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
891 (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
892 (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE;
9785d95b 893
77d1daf2 8942002-10-21 Stefan Monnier <monnier@cs.yale.edu>
9785d95b 895
77d1daf2
AS
896 * casefiddle.c (casify_region): Don't treat a prefix char as part
897 of a word when at the beginning.
9785d95b 898
77d1daf2 8992002-10-17 Juanma Barranquero <lektu@terra.es>
9785d95b 900
77d1daf2 901 * lread.c (syms_of_lread): Fix typos.
9785d95b 902
77d1daf2 9032002-10-17 Dave Love <fx@gnu.org>
9785d95b 904
77d1daf2 905 * Makefile.in (TEMACS_LDFLAGS): Add trailing comment.
9785d95b 906
77d1daf2 9072002-10-16 Richard M. Stallman <rms@gnu.org>
9785d95b 908
77d1daf2 909 * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME.
9785d95b 910
77d1daf2 9112002-10-14 Juanma Barranquero <lektu@terra.es>
2308af15 912
77d1daf2
AS
913 * w16select.c (syms_of_win16select): Fix docstring for
914 `selection-coding-system'.
b6da19ef 915
77d1daf2 916 * w32select.c (syms_of_w32select): Likewise.
b6da19ef 917
77d1daf2 9182002-10-14 Stefan Monnier <monnier@cs.yale.edu>
b6da19ef 919
77d1daf2
AS
920 * syntax.c (scan_lists): Don't get fooled by a symbol ending with
921 a backslash-quoted char.
922 (scan_lists, scan_sexps_forward): Pacify the compiler.
b6da19ef 923
77d1daf2 9242002-10-13 Richard M. Stallman <rms@gnu.org>
bfcf6dbe 925
77d1daf2 926 * window.c (window_scroll): Set immediate_quit.
bfcf6dbe 927
77d1daf2
AS
928 * print.c (print): When backquote form is the car of a list,
929 output in old style. Use old_backquote_output to output all
930 comma forms inside it in old style too.
2c568af5 931
77d1daf2 932 * buffer.h (struct buffer): Move `undo_list' down below `name'.
2c568af5 933
77d1daf2 9342002-10-11 Markus Rost <rost@math.ohio-state.edu>
b8c6225c 935
77d1daf2
AS
936 * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in
937 batch mode).
b8c6225c 938
77d1daf2 939 * lread.c (Fload): Doc fix (load-suffixes).
706ddb8f 940
77d1daf2 9412002-10-10 Steven Tamm <steventamm@mac.com>
706ddb8f 942
77d1daf2
AS
943 * macterm.c (syms_of_macterm, mac_get_mouse_btn):
944 Reverse functionality of mac-wheel-button-is-mouse-2 to be correct.
945 Also switch the default to Qnil from Qt.
96720f09 946
77d1daf2 9472002-10-08 Kenichi Handa <handa@m17n.org>
96720f09 948
77d1daf2
AS
949 * coding.c (code_convert_region): When we need more GAP for
950 conversion, pay attention to the case that coding->produced is not
951 greater than coding->consumed.
e5ae1c49 952
77d1daf2 9532002-10-07 Richard M. Stallman <rms@gnu.org>
e5ae1c49 954
77d1daf2 955 * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5.
2eb46b2d 956
77d1daf2 9572002-10-06 Andrew Choi <akochoi@shaw.ca>
2eb46b2d 958
77d1daf2
AS
959 * macmenu.c (mac_menu_show): Add j to count menu items; match
960 menu_item_selection to it to find selected item.
b11f1d8a 961
77d1daf2 9622002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
b11f1d8a 963
77d1daf2
AS
964 * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all
965 cases. The correct fix is to pass ReparentNotify to Xt.
966 The shell widget interprets ConfigureNotify differently depending
967 on if it has been reparented or not.
d8528226 968
77d1daf2 9692002-10-05 Markus Rost <rost@math.ohio-state.edu>
d8528226 970
77d1daf2 971 * editfns.c (Fformat_time_string): Doc fix.
a4ac5b17 972
77d1daf2 9732002-10-05 John Paul Wallington <jpw@shootybangbang.com>
a4ac5b17 974
77d1daf2 975 * fns.c (Flength): Doc fix.
ac42d7b9 976
77d1daf2 9772002-10-04 Stefan Monnier <monnier@cs.yale.edu>
ac42d7b9 978
77d1daf2
AS
979 * keyboard.c (keyremap): New struct.
980 (read_key_sequence): Use it: globally replace keytran_foo with
981 keytran.foo and fkey_foo with fkey.foo. Rename temp vars
982 keytran_next and fkey_next to just `next'.
85cce843 983
77d1daf2 9842002-10-04 Steven Tamm <steventamm@mac.com>
85cce843 985
77d1daf2
AS
986 * macterm.c (keycode_to_xkeysym_table): Change return to be
987 treated like an X keysym.
0d4d26a7 988
77d1daf2 9892002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
0d4d26a7 990
77d1daf2
AS
991 * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
992 and USE_MOTIF, call XTranslateCoordinates to get the real x and y.
993 This is to also handle x/y changes that occur because of a resize.
b11f1d8a 994
77d1daf2 9952002-10-02 John Paul Wallington <jpw@shootybangbang.com>
0d4d26a7 996
77d1daf2
AS
997 * frame.c (Vdelete_frame_functions): New variable.
998 (syms_of_frame): Initialize and defvar it.
999 (Fdelete_frame): Use it instead of delete-frame-hook. Don't run
1000 it when frame's `tooltip' parameter is non-nil.
b11f1d8a 1001
77d1daf2 1002 * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
0d4d26a7 1003
77d1daf2 1004 * w32fns.c (x_create_tip_frame): Likewise.
9252f7bc 1005
77d1daf2 1006 * macfns.c (x_create_tip_frame): Likewise.
9252f7bc 1007
77d1daf2 10082002-09-30 Kenichi Handa <handa@m17n.org>
9252f7bc 1009
77d1daf2
AS
1010 * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to
1011 -1 before calling ccl_driver.
9252f7bc 1012
77d1daf2
AS
1013 * coding.c (decode_coding_emacs_mule): Check coding->cmp_data.
1014 Only when it is non-nil, handle composition sequence.
1015 (setup_coding_system) <0>: Don't force composition handling.
9252f7bc 1016
77d1daf2 1017 * Makefile.in (lisp, shortlisp): Add utf-16.elc
9252f7bc 1018
77d1daf2 10192002-09-29 Richard M. Stallman <rms@gnu.org>
9252f7bc 1020
77d1daf2
AS
1021 * search.c (Freplace_match): Adjust match data for the substitution
1022 just made in the buffer.
bfa261c0 1023
77d1daf2
AS
1024 * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros.
1025 (redisplay_internal): Use them. Do RESUME_POLLING at end of function.
bfa261c0 1026
77d1daf2 10272002-09-27 Richard M. Stallman <rms@gnu.org>
c5992177 1028
77d1daf2
AS
1029 * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros.
1030 (read_char): Use them. Do all exits thru the end of the function.
c5992177 1031
77d1daf2 10322002-09-27 Kenichi Handa <handa@etl.go.jp>
c5992177 1033
77d1daf2
AS
1034 * xfaces.c (try_font_list): Pay attention to the case that FAMILY
1035 is nil.
c5992177 1036
77d1daf2 10372002-09-26 Richard M. Stallman <rms@gnu.org>
02d588e2 1038
77d1daf2 1039 * regex.h (__restrict_arr): Don't define if already defined.
02d588e2 1040
77d1daf2
AS
1041 * coding.c (run_pre_post_conversion_on_str):
1042 Save and restore Vdeactivate_mark.
451e2697 1043
77d1daf2 10442002-09-26 John Paul Wallington <jpw@shootybangbang.com>
451e2697 1045
77d1daf2 1046 * minibuf.c (Fminibufferp): Add an optional `buffer' argument.
72742a99 1047
77d1daf2 10482002-09-26 Kenichi Handa <handa@etl.go.jp>
72742a99 1049
77d1daf2
AS
1050 * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is
1051 nonzero, try face's family at first. Otherwise try FAMILY at first.
1052 (choose_face_font): If C is a single byte char or latin-1, call
1053 try_font_list with PREFER_FACE_FAMILY 1.
72742a99 1054
77d1daf2 10552002-09-21 Richard M. Stallman <rms@gnu.org>
72742a99 1056
77d1daf2
AS
1057 * window.c (select_window_1): Don't select frame.
1058 Set frame's selected window only when frame itself is selected.
1059 (Fselect_window): Doc fix.
40e6ff95 1060
77d1daf2 10612002-09-18 Kim F. Storm <storm@cua.dk>
40e6ff95 1062
77d1daf2
AS
1063 * process.c (make-network-process): Doc fix (there is no
1064 network-server-log-function hook).
c02138c6 1065
77d1daf2 10662002-09-18 Richard M. Stallman <rms@gnu.org>
c02138c6 1067
77d1daf2
AS
1068 * print.c (print): Clear out the unused parts of Vprint_number_table.
1069 (syms_of_print): Doc fix for `print-number-table'.
0e47bbf7 1070
77d1daf2 1071 * unexelf.c (unexec): Undo previous change.
0e47bbf7 1072
77d1daf2 10732002-09-17 Andreas Schwab <schwab@suse.de>
44129dcb 1074
77d1daf2 1075 * m/alpha.h [LINUX]: Don't define DATA_START.
44129dcb 1076
77d1daf2 10772002-09-16 Dave Love <fx@gnu.org>
f707342d 1078
77d1daf2
AS
1079 * unexelf.c (unexec): Deal with .got, reinstating change from
1080 25-08-1999.
f707342d 1081
77d1daf2 10822002-09-13 Richard M. Stallman <rms@gnu.org>
1637fd2c 1083
77d1daf2 1084 * s/sol2-6.h (UNEXEC): Comment out definition.
1637fd2c 1085
77d1daf2 1086 * unexsol.c (unexec): Don't downcase first letter of error msg.
1637fd2c 1087
77d1daf2 1088 * xfaces.c (Fcolor_supported_p): Just one arg is required.
540c2788 1089
77d1daf2 10902002-09-12 Markus Rost <rost@math.ohio-state.edu>
6b2fd6ea 1091
77d1daf2 1092 * unexsol.c: Include buffer.h, charset.h, coding.h.
6b2fd6ea 1093
77d1daf2 10942002-09-11 Richard M. Stallman <rms@gnu.org>
6b2fd6ea 1095
77d1daf2
AS
1096 * unexsol.c: Don't use report_file_error; do it by hand
1097 using dlerror.
540c2788 1098
77d1daf2
AS
1099 * process.c (wait_reading_process_input, both versions):
1100 Before calling turn_on_atimers, call stop_polling.
8cc03716 1101
77d1daf2 1102 * emacs.c (syms_of_emacs) <command-line-args>: Doc fix.
8cc03716 1103
77d1daf2
AS
1104 * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible
1105 we go to too_near_end, call clear_glyph_matrix.
1106 (redisplay_window): After make_cursor_line_fully_visible,
1107 call clear_glyph_matrix and bypass `goto done'.
4042a81a 1108
77d1daf2
AS
1109 * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0
1110 and we have non-toolkit scroll bars, return nil for scroll-bar-width.
4042a81a 1111
77d1daf2 11122002-09-10 Richard M. Stallman <rms@gnu.org>
4042a81a 1113
77d1daf2
AS
1114 * fileio.c (Fdo_auto_save): Catch error making directory.
1115 Only call push_message if we need to.
1116 At the same time, make an unwind-protect to pop it.
1117 Rename local message_p to old_message_p.
1118 (do_auto_save_make_dir, do_auto_save_eh): New functions.
1119 (do_auto_save_unwind): Don't call pop_message.
be4ee72f 1120
77d1daf2
AS
1121 local_request 1.
1122 (syms_of_xselect): Intern and staticpro QUTF8_STRING.
be4ee72f 1123
77d1daf2 1124 * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING.
82122254 1125
77d1daf2 1126 * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING.
82122254 1127
77d1daf2 11282002-08-13 Richard M. Stallman <rms@gnu.org>
c1ee53bc 1129
77d1daf2
AS
1130 * minibuf.c (Fminibufferp): New function.
1131 (syms_of_minibuf): Defsubr it.
1132 (Fminibuffer_prompt_end): Handle non-minibuffers specially.
c1ee53bc 1133
77d1daf2 11342002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de>
c1ee53bc 1135
77d1daf2 1136 * coding.c (Funencodable_char_position): Lisp_Object/int mixup.
5598c32e 1137
77d1daf2 11382002-08-12 Richard M. Stallman <rms@gnu.org>
5598c32e 1139
77d1daf2
AS
1140 * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H.
1141 [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED)
1142 (WSTOPSIG, WTERMSIG): Define each one independently if not defined
1143 already.
5598c32e 1144
77d1daf2 1145 * buffer.c (syms_of_buffer) <fill-column>: Doc fix.
5598c32e 1146
77d1daf2 11472002-08-11 Andrew Choi <akochoi@shaw.ca>
97b14e22 1148
77d1daf2
AS
1149 * macterm.c (XTmouse_position): Check wp with is_emacs_window.
1150 (Vmac_pass_command_to_system): New variable.
1151 (Vmac_pass_control_to_system): New variable.
1152 (do_mouse_moved): Check wp with is_emacs_window.
1153 (XTread_socket): Check window_ptr with is_emacs_window.
1154 Call FrontNonFloatingWindow instead of FrontWindow. Send keydown
1155 events back to Mac Toolbox for processing, depending on values of
1156 Vmac_pass_command_to_system and Vmac_pass_control_to_system.
1157 (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and
1158 Vmac_pass_control_to_system.
97b14e22 1159
77d1daf2 11602002-08-10 Kenichi Handa <handa@etl.go.jp>
516eea8e 1161
77d1daf2
AS
1162 * coding.c (unencodable_char_position): New function.
1163 (Funencodable_char_position): New function.
1164 (syms_of_coding): Defsubr Funencodable_char_position.
516eea8e 1165
77d1daf2 11662002-08-10 Andrew Choi <akochoi@shaw.ca>
04dbfa08 1167
77d1daf2 1168 * mac.c (sys_select) [MAC_OSX]: New function.
04dbfa08 1169
77d1daf2
AS
1170 * macterm.c (MakeMeTheFrontProcess): New function.
1171 (mac_initialize): Call MakeMeTheFrontProcess.
b4aebae3 1172
77d1daf2 1173 * s/darwin.h: Define select to sys_select.
b4aebae3 1174
77d1daf2 11752002-08-09 Richard M. Stallman <rms@gnu.org>
1998560a 1176
77d1daf2 1177 * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT.
d824beee 1178
77d1daf2 11792002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de>
d824beee 1180
77d1daf2
AS
1181 * xdisp.c (forward_to_next_line_start): Return 0 when reaching the
1182 end of the buffer.
d824beee 1183
77d1daf2 11842002-08-08 Ken Raeburn <raeburn@mit.edu>
d824beee 1185
77d1daf2 1186 * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup.
d824beee 1187
77d1daf2 1188 * puresize.h (BASE_PURESIZE): Increase to 910000.
d824beee 1189
77d1daf2 11902002-08-08 Kenichi Handa <handa@etl.go.jp>
d824beee 1191
77d1daf2
AS
1192 * coding.c (Ffind_operation_coding_system): For write-region, if
1193 VISIT is a filename, make it the target.
d824beee 1194
77d1daf2 11952002-08-07 Richard M. Stallman <rms@gnu.org>
d824beee 1196
77d1daf2
AS
1197 * alloc.c (mark_object): Detect long lists for debugging.
1198 (mark_object_loop_halt): New variable.
d824beee 1199
77d1daf2 1200 * s/hpux10.h (C_SWITCH_SYSTEM): #undef it.
d824beee 1201
77d1daf2 1202 * data.c (Fmake_variable_frame_local): Doc fix.
1998560a 1203
77d1daf2 12042002-08-01 David Ponce <david@dponce.com>
1998560a 1205
77d1daf2
AS
1206 * w32menu.c (local_heap, local_alloc, local_free): New macros.
1207 (malloc_widget_value, free_widget_value)
1208 (w32_free_submenu_strings): Use them.
1998560a 1209
77d1daf2
AS
1210 (push_submenu_start, push_submenu_end, push_left_right_boundary)
1211 (push_menu_pane, push_menu_item, single_keymap_panes)
1212 (single_menu_item, Fx_popup_menu, menubar_selection_callback)
1213 (single_submenu, set_frame_menubar)
1214 (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE.
8704a6ab 1215
77d1daf2
AS
1216 (Fx_popup_menu): Don't show pop up menu until preceding one is
1217 actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block.
8704a6ab 1218
77d1daf2
AS
1219 * w32menu.c: Changes adapted from xmenu.c
1220 (set_frame_menubar): First parse all submenus,
1221 then make widget_value trees from them.
1222 Don't allocate any widget_value objects
1223 until we are done with the parsing.
1224 (parse_single_submenu): New function.
1225 (digest_single_submenu): New function.
1226 (single_submenu): Function deleted, replaced by those two.
6ae2cd57 1227
77d1daf2 12282002-08-04 Andrew Choi <akochoi@shaw.ca>
6ae2cd57 1229
77d1daf2
AS
1230 * macterm.c (XTread_socket): Check that FrontNonFloatingWindow
1231 returns a valid window pointer before proceeding for keyDown and
1232 autoKey events.
6ae2cd57 1233
77d1daf2 12342002-08-03 Andrew Choi <akochoi@shaw.ca>
3582b6a3 1235
77d1daf2
AS
1236 * macterm.c (USE_CARBON_EVENTS): New macro.
1237 (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros.
1238 (x_iconify_frame): Call CollapseWindow.
1239 (Vmac_reverse_ctrl_meta): New variable.
1240 (Vmac_wheel_button_is_mouse_2): New variable.
1241 (init_mac_drag_n_drop): New function.
1242 (mac_do_receive_drag): New function.
1243 (mac_handle_service_event): New function.
1244 (init_service_handler): New function.
1245 (mac_to_emacs_modifiers): New function.
1246 (mac_event_to_emacs_modifiers): New function.
1247 (mac_get_mouse_btn): New function.
1248 (mac_convert_event_ref): New function.
1249 (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
1250 SendEventToEventTarget, mac_event_to_emacs_modifiers, and
1251 mac_get_mouse_btn.
1252 (mac_initialize): Call init_mac_drag_n_drop and init_service_handler.
f60ae425 1253
77d1daf2
AS
1254 * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
1255 lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
1256 (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and
1257 TOOL_BAR_EVENT for MAC_OS as well.
1258 (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well
1259 as for WINDOWS_NT.
1260 (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.
f60ae425 1261
77d1daf2 1262 * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX.
f60ae425 1263
77d1daf2 12642002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de>
f60ae425 1265
77d1daf2
AS
1266 * xdisp.c (forward_to_next_line_start): Fix a condition that
1267 lead to a newline being skipped.
3582b6a3 1268
77d1daf2 12692002-08-02 Andrew Choi <akochoi@shaw.ca>
f60ae425 1270
77d1daf2 1271 * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p.
f60ae425 1272
77d1daf2 12732002-08-01 Richard M. Stallman <rms@gnu.org>
f60ae425 1274
77d1daf2 1275 * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o.
a0f0878d 1276
77d1daf2 12772002-07-31 Andrew Choi <akochoi@shaw.ca>
517f42a0 1278
77d1daf2 1279 * macfns.c: #undef init_process before #define-ing it.
517f42a0 1280
77d1daf2
AS
1281 * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if
1282 HAVE_CARBON is defined.
517f42a0 1283
77d1daf2 12842002-07-31 Richard M. Stallman <rms@gnu.org>
a0f0878d 1285
77d1daf2
AS
1286 * xmenu.c (set_frame_menubar): First parse all submenus,
1287 then make widget_value trees from them.
1288 Don't allocate any widget_value objects
1289 until we are done with the parsing.
1290 (parse_single_submenu): New function.
1291 (digest_single_submenu): New function.
1292 (single_submenu): Function deleted, replaced by those two.
a0f0878d 1293
77d1daf2 12942002-07-30 Juanma Barranquero <lektu@terra.es>
aab83f91 1295
77d1daf2
AS
1296 * w32proc.c (syms_of_ntproc): Fix docstring of
1297 `w32-get-true-file-attributes'.
aab83f91 1298
77d1daf2 12992002-07-28 Richard M. Stallman <rms@gnu.org>
aab83f91 1300
77d1daf2
AS
1301 * s/hpux8.h (HPUX8): Define this before including hpux.h.
1302 (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide.
a4478a76 1303
77d1daf2 1304 * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8.
a4478a76 1305
77d1daf2
AS
1306 * keyboard.c (make_lispy_event):
1307 Use #ifdef to test USE_TOOLKIT_SCROLL_BARS.
1308 Explicitly clear up_modifier in event->modifiers.
a4478a76 1309
77d1daf2 13102002-07-27 Richard M. Stallman <rms@gnu.org>
03670a65 1311
77d1daf2 1312 * xterm.h (FRAME_CURSOR_WIDTH): New macro.
03670a65 1313
77d1daf2
AS
1314 * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH
1315 for bar cursor.
59daa29a 1316
77d1daf2 13172002-07-26 Kenichi Handa <handa@etl.go.jp>
59daa29a 1318
77d1daf2
AS
1319 * coding.c (detect_coding_iso2022): While checking a byte sequence
1320 for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check
1321 it in the normal loop.
59daa29a 1322
77d1daf2 13232002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de>
59daa29a 1324
77d1daf2
AS
1325 * xterm.c (expose_overlaps): New function.
1326 (expose_window): Use it to fix the display of overlapping rows.
59daa29a 1327
77d1daf2 1328 * xdisp.c (unwind_redisplay): Clear redisplay_updating_p.
59daa29a 1329
77d1daf2 13302002-07-23 Ken Raeburn <raeburn@gnu.org>
59daa29a 1331
77d1daf2
AS
1332 * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well,
1333 since it only depends on XUINT.
3947677c 1334
77d1daf2
AS
1335 * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT,
1336 EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS,
1337 PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR):
1338 Macros deleted.
3947677c 1339
77d1daf2
AS
1340 * mem-limits.h (start_of_data): If DATA_START is defined, prefer
1341 its value over other approaches.
1342 * sysdep.c (start_of_data): Don't define the function if a macro
1343 form has been defined.
8a8e19a3 1344
77d1daf2 13452002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de>
8a8e19a3 1346
77d1daf2
AS
1347 * xdisp.c (redisplay_updating_p): New variable.
1348 (init_iterator): Don't free realized faces when
1349 redisplay_updating_p is set.
1350 (redisplay_internal): Set redisplay_updating_p while updating
1351 the display.
8a8e19a3 1352
77d1daf2 13532002-07-23 Richard M. Stallman <rms@gnu.org>
8a8e19a3 1354
77d1daf2 1355 * editfns.c (Fmessage): Treat "" like nil.
8a8e19a3 1356
77d1daf2 13572002-07-23 Kenichi Handa <handa@etl.go.jp>
4f1b1854 1358
77d1daf2
AS
1359 * xdisp.c (face_before_or_after_it_pos):
1360 Call FETCH_MULTIBYTE_CHAR with byte postion, not char position.
4f1b1854 1361
77d1daf2 13622002-07-22 Juanma Barranquero <lektu@terra.es>
4f1b1854 1363
77d1daf2
AS
1364 * callproc.c (init_callproc) [DOS_NT]:
1365 Initialize Vshared_game_score_directory to nil.
1366 (syms_of_callproc) [DOS_NT]: Likewise.
4f1b1854 1367
77d1daf2 13682002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de>
5cb6905d 1369
77d1daf2 1370 * xdisp.c (display_line): Replace an abort with xassert.
5cb6905d 1371
77d1daf2 13722002-07-21 Richard M. Stallman <rms@gnu.org>
437dfb9f 1373
77d1daf2
AS
1374 * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED
1375 and END_UNCHANGED when setting buffer_unchanged_p.
1376 Use current_matrix_up_to_date_p to decide whether to use
1377 try_cursor_movement.
437dfb9f 1378
77d1daf2 1379 * config.in (HAVE_SHARED_GAME_DIR): Undef deleted.
9f696a00 1380
77d1daf2 1381 * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in.
9f696a00 1382
77d1daf2
AS
1383 * callproc.c (init_callproc): Set up Vshared_game_score_directory.
1384 Set to nil if dir does not exist.
1385 (syms_of_callproc): Init unconditionally and simply.
d57966d7 1386
77d1daf2 1387 * buffer.c (Fbuffer_list): Doc fix.
d57966d7 1388
77d1daf2 13892002-07-21 Ken Raeburn <raeburn@gnu.org>
d57966d7 1390
77d1daf2 1391 * sysdep.c (end_of_text, end_of_data): Unused functions deleted.
74779f52 1392
77d1daf2
AS
1393 * buffer.c (mmap_realloc): When shrinking, make sure number of
1394 pages to unmap is rounded towards zero.
74779f52 1395
77d1daf2
AS
1396 * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted.
1397 (XSETINT): Deleted.
a474d59c 1398
77d1daf2
AS
1399 * m/att3b.h (XINT): Don't define.
1400 (VALBITS, VALMASK, XTYPE): Deleted.
1401 (DATA_SEG_BITS): Define.
1402 * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET,
1403 ARRAY_MARK_FLAG): Deleted.
1404 (DATA_SEG_BITS): Define.
1405 * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted.
1406 (DATA_SEG_BITS): Define.
a474d59c 1407
77d1daf2 14082002-07-20 Richard M. Stallman <rms@gnu.org>
fbb70ad9 1409
77d1daf2
AS
1410 * print.c (print_error_message): New args CONTEXT and CALLER.
1411 Calls changed.
fbb70ad9 1412
77d1daf2 1413 * lisp.h (print_error_message): Declare new args.
2d10309f 1414
77d1daf2
AS
1415 * keyboard.c (cmd_error_internal): Pass Vsignaling_function
1416 and CONTEXT to print_error_message, don't print them here.
1417 For a Quit, don't use Vsignaling_function.
1418 Call message_log_maybe_newline.
2d10309f 1419
77d1daf2 1420 * Makefile.in (xsmfns.o): Don't depend on lisp.h.
2d10309f 1421
77d1daf2 14222002-07-20 Kim F. Storm <storm@cua.dk>
7f2cddf3 1423
77d1daf2 1424 * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p.
0b1e6b54 1425
77d1daf2 14262002-07-19 Ken Raeburn <raeburn@gnu.org>
7f2cddf3 1427
77d1daf2
AS
1428 * bytecode.c (struct byte_stack): Pointers into byte string now
1429 point to const.
1430 * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to
1431 const.
1432 * charset.h (BCOPY_SHORT): Source pointer now points to const.
1433 * coding.c (encode_eol, detect_coding, detect_eol):
1434 (decode_coding, encode_coding, detect_coding_system):
1435 Source strings now treated as const.
1436 (decode_coding_string, encode_coding_string): Use STRING_COPYIN to
1437 modify Lisp string contents.
1438 * coding.h (decode_coding, encode_coding, detect_coding,
1439 detect_eol): Declarations updated.
1440 * composite.c (compose_chars_in_text): Treat Lisp string contents
1441 as const.
1442 * dispnew.c (safe_bcopy): Source pointer now points to const.
1443 * lisp.h (STRING_COPYIN): New macro.
1444 (detect_coding_system, safe_bcopy, temp_output_buffer_setup):
1445 (internal_with_output_to_temp_buffer): Declarations updated.
1446 * print.c (temp_output_buffer_setup):
1447 (internal_with_output_to_temp_buffer): Buffer name argument is now
1448 pointer to const.
1449 * sound.c (struct sound_device): Function pointer field "write"
1450 buffer argument now points to const.
1451 (vox_write): Buffer argument points to const.
1452 * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string
1453 contents as const.
1454 * sysdep.c (emacs_write): Buffer pointer now const.
1455 * term.c (encode_terminal_code): Buffer pointer now const.
1456 * xfaces.c (may_use_scalable_font_p): Argument now points to const.
1457 (x_face_list_fonts, x_update_menu_appearance):
1458 (hash_string_case_insensitive): Treat Lisp string contents as const.
7f2cddf3 1459
77d1daf2 14602002-07-19 Juanma Barranquero <lektu@terra.es>
e17144de 1461
77d1daf2
AS
1462 * fileio.c (Ffile_name_as_directory): Fix argument name in docstring.
1463 (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
e17144de 1464
77d1daf2 1465 * xdisp.c (syms_of_xdisp): Remove redundant deprecation info.
6637c996 1466
77d1daf2 1467 * fileio.c (syms_of_fileio): Likewise.
44368f8f 1468
77d1daf2 14692002-07-18 Richard M. Stallman <rms@gnu.org>
f884b6f4 1470
77d1daf2 1471 * data.c (Fdefalias): Doc fix.
6637c996 1472
77d1daf2 14732002-07-17 Dave Love <fx@gnu.org>
6637c996 1474
77d1daf2 1475 * intervals.h (text_property_stickiness): Use P_.
6637c996 1476
77d1daf2
AS
1477 * ccl.c: Remove `emacs' conditionals.
1478 (ccl_backtrace_table): Fix size spec.
1479 (ccl_driver): Fix type errors.
453c5510 1480
77d1daf2 14812002-07-16 Ken Raeburn <raeburn@gnu.org>
453c5510 1482
77d1daf2
AS
1483 * alloc.c (xstrdup, make_string, make_unibyte_string)
1484 (make_multibyte_string, build_string): String pointer args now
1485 point to const.
1486 * charset.c (find_charset_in_text, c_string_width):
1487 (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte):
1488 * fileio.c (report_file_error):
1489 * insdel.c (copy_text, count_size_as_multibyte, insert_1):
1490 (count_combining_before, count_combining_after, insert_1_both):
1491 (insert, insert_and_inherit, insert_string):
1492 (insert_before_markers, insert_before_markers_and_inherit):
1493 * lread.c (intern, oblookup, hash_string):
1494 * minibuf.c (temp_echo_area_glyphs):
1495 * search.c (fast_c_string_match_ignore_case):
1496 * sysdep.c (emacs_open, set_file_times):
1497 * xfaces.c (xstricmp):
1498 * xdisp.c (store_frame_title, string_char_and_length):
1499 (message_dolog, message2, message2_nolog, set_message): Likewise.
1500 (set_message_1): Cast message string argument to const pointer.
1501 * editfns.c (general_insert_function): Insertion function now
1502 takes pointer to const for input data.
1503 * charset.h (find_charset_in_text, c_string_width):
1504 (parse_str_as_multibyte): Declarations updated.
1505 * dispextern.h (xstricmp): Declaration updated.
1506 * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text):
1507 (count_size_as_multibyte, count_combining_before):
1508 (count_combining_after, insert_1, insert_1_both, message_dolog):
1509 (insert, insert_and_inherit, insert_before_markers)
1510 (insert_before_markers_and_inherit, set_message, message2):
1511 (message2_dolog, build_string, make_string, make_unibyte_string):
1512 (make_multibyte_string, intern, oblookup, report_file_error):
1513 (fast_c_string_match_ignore_case, temp_echo_area_glyphs):
1514 (emacs_open, xstrdup): Declarations updated.
1515 * systime.h (set_file_times): Declaration updated.
d1d070e3 1516
77d1daf2
AS
1517 * charset.c (find_charset_in_text, lisp_string_width): Use const
1518 for pointer to lisp string data.
1519 * charset.h (FETCH_STRING_CHAR_ADVANCE):
1520 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK):
1521 * coding.c (Ffind_coding_systems_region_interval):
1522 * fileio.c (Ffile_name_directory, Ffile_name_nondirectory):
1523 (Fmake_directory_internal, Fdelete_directory):
1524 (Ffile_name_absolute_p, Fwrite_region, double_dollars):
1525 * fontset.c (font_family_registry, fs_query_fontset):
1526 (list_fontsets):
1527 * frame.c (Fframe_parameter):
1528 * keyboard.c (cmd_error_internal):
1529 * keymap.c (Fdescribe_buffer_bindings):
1530 * lread.c (complete_filename_p, openp):
1531 * minibuf.c (Fminibuffer_complete_word):
1532 * xdisp.c (string_pos_nchars_ahead, init_from_display_pos):
1533 (face_before_or_after_it_pos, next_element_from_string):
1534 (get_overlay_arrow_glyph_row, display_mode_element):
1535 (decode_mode_spec_coding):
1536 * xterm.c (same_x_server): Likewise.
d1d070e3 1537
77d1daf2
AS
1538 * buffer.c (reset_buffer_local_variables): Delete "#if 0"
1539 settings of non-existent fields.
9ec1bdb6 1540
77d1daf2
AS
1541 * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to
1542 copy a lisp value.
9ec1bdb6 1543
77d1daf2
AS
1544 * lread.c (Fintern_soft): Use string macros instead of
1545 Lisp_String fields.
1546 * keyboard.c (echo_char, parse_modifiers_uncached):
1547 (parse_solitary_modifier, Fexecute_extended_command): Likewise.
1548 * textprop.c (validate_interval_range, interval_of): Likewise.
308dd672 1549
77d1daf2 1550 * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data.
edde72f6 1551
77d1daf2
AS
1552 * charset.h (FETCH_STRING_CHAR_ADVANCE)
1553 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of
1554 XSTRING()->size_byte.
308dd672 1555
77d1daf2
AS
1556 * lisp.h (SDATA, SREF): Produce rvalue.
1557 (SSET): New macro.
1558 * alloc.c (make_event_array): Use SSET for storing into a string.
1559 * buffer.c (Fother_buffer): Use SREF when retrieving a byte from
1560 a string.
1561 * casefiddle.c (casify_object): Use SSET.
1562 * charset.h (FETCH_STRING_CHAR_ADVANCE)
1563 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting
1564 address of string contents.
1565 * data.c (Faref): Use SDATA.
1566 (Faset): Use SDATA, SSET.
1567 * dired.c (directory_files_internal): Use SSET.
1568 * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET.
1569 (Fread_file_name): Use SREF, SSET.
1570 * fns.c (concat): Use SSET.
1571 (concat, Fdelete): Use SDATA.
1572 * insdel.c (insert_from_string_1): Use SDATA.
1573 * keyboard.c (Fevent_convert_list): Use SREF.
1574 * lread.c (Fload): Use SDATA, SSET.
1575 * macfns.c (validate_x_resource_name): Use SSET.
1576 * process.c (status_message): Use SSET.
1577 * search.c (wordify): Use SDATA.
1578 (Freplace_match): Use SREF.
1579 * w32fns.c (validate_x_resource_name): Use SSET.
1580 * xfns.c (validate_x_resource_name): Use SSET.
1581 * xterm.c (x_catch_errors, x_clear_errors): Use SSET.
3c1e6b46 1582
77d1daf2 15832002-07-16 Richard M. Stallman <rms@gnu.org>
03950b5b 1584
77d1daf2 1585 * s/hpux11.h (USG_SUBTTY_WORKS): Defined.
3c1e6b46 1586
77d1daf2
AS
1587 * xdisp.c (reconsider_clip_changes):
1588 Don't test prevent_redisplay_optimizations_p.
1589 (redisplay_internal): Test prevent_redisplay_optimizations_p
1590 along with clip_changed in some cases.
1591 (try_window_id): Likewise.
1592 (redisplay_window): New local var buffer_unchanged_p.
c1e11810 1593
77d1daf2 1594 * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass.
c1e11810 1595
77d1daf2
AS
1596 * process.c (create_process): Test USG_SUBTTY_WORKS.
1597 (process_send_signal): Clean up handling of GID.
1598 Detect errors in ioctls meant to set GID.
1996baee 1599
77d1daf2
AS
1600 * window.c (temp_output_buffer_show):
1601 Don't set prevent_redisplay_optimizations_p.
1996baee 1602
77d1daf2 16032002-07-15 Juanma Barranquero <lektu@terra.es>
0065bb74 1604
77d1daf2 1605 * eval.c (Fdefvaralias): Add docstring argument.
0065bb74 1606
77d1daf2 16072002-07-15 Ken Raeburn <raeburn@gnu.org>
0065bb74 1608
77d1daf2
AS
1609 * lisp.h (STRING_INTERVALS): Produce rvalue.
1610 (STRING_SET_INTERVALS): New macro.
1611 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it.
1612 * fns.c (Fstring_as_multibyte): Likewise.
1613 * intervals.c (balance_possible_root_interval, delete_interval)
1614 (create_root_interval, copy_intervals_to_string): Likewise.
1615 * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL
1616 instead of 0.
b5cb6072 1617
77d1daf2 16182002-07-14 Ken Raeburn <raeburn@gnu.org>
b5cb6072 1619
77d1daf2
AS
1620 * lisp.h (STRING_SET_CHARS): New macro.
1621 (SCHARS, SBYTES): Produce rvalues.
1622 * dired.c (directory_files_internal): Use STRING_SET_CHARS.
1623 * fns.c (concat): Likewise.
1624 * lread.c (read_vector): Likewise.
15fff01d 1625
77d1daf2
AS
1626 * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE.
1627 (STRING_SET_UNIBYTE): New macro.
1628 (SET_STRING_BYTES): Deleted. Callers (all of which supplied a
1629 length of -1) changed to use STRING_SET_UNIBYTE.
1630 * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
1631 casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c,
1632 composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c,
1633 dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c,
1634 fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c,
1635 keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c,
1636 minibuf.c, msdos.c, print.c, process.c, search.c, sound.c,
1637 sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c,
1638 w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c,
1639 w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c,
1640 xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with
1641 STRING_BYTES or indirection changed to SCHARS, SBYTES,
1642 STRING_INTERVALS, SREF, SDATA; explicit size_byte references left
1643 unchanged for now.
0065bb74 1644
77d1daf2 16452002-07-13 Kim F. Storm <storm@cua.dk>
0d8466cc 1646
77d1daf2 1647 * keyboard.c (command_loop_1): Invert check on Vmemory_full.
15fff01d 1648
77d1daf2 16492002-07-12 Richard M. Stallman <rms@gnu.org>
2fae9111 1650
77d1daf2 1651 * fileio.c (Fwrite_region): Doc fix.
2d6c1fc0 1652
77d1daf2 1653 * print.c (print_error_message): Don't handle Vsignaling_function here.
07025a55 1654
77d1daf2
AS
1655 * keyboard.c (cmd_error_internal): Handle Vsignaling_function here.
1656 (command_loop_1): Avoid certain actions after memory-full error.
07025a55 1657
77d1daf2
AS
1658 * eval.c (Fsignal): Don't call cancel_hourglass.
1659 For a memory-full error, don't call Vsignal_hook_function
1660 and don't set Vsignaling_function.
07025a55 1661
77d1daf2 1662 * process.c (process_send_signal): Add abort call.
3a232704 1663
77d1daf2 16642002-07-11 Markus Rost <rost@math.ohio-state.edu>
539e92ad 1665
77d1daf2 1666 * keymap.c (Fkey_binding): Fix typo.
3a232704 1667
77d1daf2 16682002-07-11 Richard M. Stallman <rms@gnu.org>
0cb8bb48 1669
77d1daf2
AS
1670 * alloc.c (Vmemory_full): New variable.
1671 (Vmemory_signal_data): Renamed from memory_signal_data.
1672 Uses changed.
1673 (syms_of_alloc): Defvar them.
1674 (memory_full, buffer_memory_full): Set Vmemory_full.
539e92ad 1675
77d1daf2
AS
1676 * lisp.h (Vmemory_full): Add declaration.
1677 (current_column, indented_beyond_p): Change declaration.
4e02881b 1678
77d1daf2
AS
1679 * indent.c (last_known_column): Declare as double, not float.
1680 (current_column, current_column_1, string_display_width)
1681 (position_indentation): Return `double'.
1682 (indented_beyond_p): Arg `column' is `double'. Callers changed.
4e02881b 1683
77d1daf2
AS
1684 * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil.
1685 (back_to_previous_visible_line_start)
1686 (reseat_at_next_visible_line_start, next_element_from_buffer):
1687 Use `double', not `float', when calling indented_beyond_p.
1ab964d7 1688
77d1daf2 1689 * s/hpux11.h (BROKEN_SA_RESTART): Defined.
1ab964d7 1690
77d1daf2 1691 * sysdep.c (sys_signal): Test BROKEN_SA_RESTART.
749f499f 1692
77d1daf2 16932002-07-11 Juanma Barranquero <lektu@terra.es>
749f499f 1694
77d1daf2
AS
1695 * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c,
1696 * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c,
1697 * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c,
1698 * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c,
1699 * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c,
1700 * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense.
b5d9aaba 1701
77d1daf2 17022002-07-10 Juanma Barranquero <lektu@terra.es>
3a232704 1703
77d1daf2
AS
1704 * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers
1705 changed.
d0fd26dd 1706
77d1daf2 17072002-07-09 Stefan Monnier <monnier@cs.yale.edu>
b4c45162 1708
77d1daf2
AS
1709 * data.c (Fdefalias): Add an optional `docstring' argument.
1710 (set_internal, Fsetq_default): Use XCAR/XCDR.
d0fd26dd 1711
77d1daf2
AS
1712 * composite.c (HASH_VALUE, HASH_KEY):
1713 * ccl.c (HASH_VALUE): Remove (it's in lisp.h now).
c95eaa61 1714
77d1daf2 17152002-07-09 Kenichi Handa <handa@etl.go.jp>
c95eaa61 1716
77d1daf2 1717 * callproc.c (Fcall_process): Fix previous change.
c95eaa61 1718
77d1daf2 17192002-07-07 Stefan Monnier <monnier@cs.yale.edu>
c95eaa61 1720
77d1daf2
AS
1721 * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
1722 Add support for hash-tables.
1723 (Ftry_completion): Return t even if the string appears multiple times.
c95eaa61 1724
77d1daf2
AS
1725 * fns.c (Fnconc): Use XCDR.
1726 (Fprovide): Use CONSP and XCDR.
1727 (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
1728 (HASH_TABLE_SIZE): Delete: moved to lisp.h.
1729 (Fmake_hash_table): Accept `:size nil'.
1730 (Fmakehash): Delete: moved to subr.el.
1731 (syms_of_fns): Don't defsubr makehash.
c95eaa61 1732
77d1daf2
AS
1733 * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
1734 (HASH_TABLE_SIZE): Move from fns.c.
c95eaa61 1735
77d1daf2 17362002-07-07 Richard M. Stallman <rms@gnu.org>
c95eaa61 1737
77d1daf2
AS
1738 * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls.
1739 Instead just return 0 when there is something to be done.
1740 (try_scrolling): If make_cursor_line_fully_visible returns 0,
1741 retry scrolling as if cursor were off the bottom.
1742 (try_cursor_movement): If make_cursor_line_fully_visible returns 0,
1743 return CURSOR_MOVEMENT_MUST_SCROLL.
1744 (redisplay_window): If make_cursor_line_fully_visible returns 0,
1745 go to try_to_scroll.
c95eaa61 1746
77d1daf2
AS
1747 * buffer.c (Fbuffer_local_value): Store current value into its binding
1748 so we get the up-to-date value for the binding that is loaded.
c95eaa61 1749
77d1daf2 1750 * eval.c (Fdefmacro): Doc fix.
31877e0a 1751
77d1daf2 17522002-07-05 Dave Love <fx@gnu.org>
31877e0a 1753
77d1daf2
AS
1754 * keyboard.c (read_key_sequence): Set initial_idleness_start_time
1755 correctly.
e2c3786a 1756
77d1daf2
AS
1757 * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE)
1758 (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New.
1759 (ccl_driver): Add cases for CCL_LookupIntConstTbl,
1760 CCL_LookupCharConstTbl.
1761 (syms_of_ccl): Defvar translation-hash-table-vector.
e2c3786a 1762
77d1daf2 17632002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
c513fc03 1764
77d1daf2 1765 * xdisp.c: Remove unused variable `face'.
bf794306 1766
77d1daf2 17672002-07-04 Juanma Barranquero <lektu@terra.es>
bf794306 1768
77d1daf2
AS
1769 * keyboard.c (post_command_idle_hook): Remove redundant (and inexact)
1770 obsolescence information.
bf794306 1771
77d1daf2 17722002-07-03 Andrew Choi <akochoi@shaw.ca>
62582985 1773
77d1daf2
AS
1774 * macterm.c (x_list_fonts): Fix comment. Cache fonts matching
1775 pattern. Search cache first.
1776 (init_font_name_table): Also add entry for jisx0201.1976-0 coding
1777 for Japanese font.
1778 (XLoadQueryFont): Use it.
c513fc03 1779
77d1daf2 17802002-07-02 Richard M. Stallman <rms@gnu.org>
3509a04c 1781
77d1daf2 1782 * keymap.c (Fdefine_key): Doc fix.
3509a04c 1783
77d1daf2 1784 * xterm.c (x_term_init): Turn off polling around XtOpenDisplay.
3509a04c 1785
77d1daf2 17862002-07-02 Juanma Barranquero <lektu@terra.es>
3509a04c 1787
77d1daf2 1788 * keymap.c (syms_of_keymap): Fix typo.
1e9a6186 1789
77d1daf2 17902002-07-01 Andrew Choi <akochoi@shaw.ca>
1e9a6186 1791
77d1daf2 1792 * s/darwin.h: Define POSIX_SIGNALS.
e4e34e31 1793
77d1daf2
AS
1794 * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
1795 and FSRefMakePath to convert FSSpec returned with Apple Event to
1796 Posix pathname.
1797 (mac_initialize) [TARGET_API_MAC_CARBON]:
1798 Call init_required_apple_events and disable the `Quit' menu item
1799 provided automatically by the Carbon Toolbox.
e4e34e31 1800
77d1daf2 18012002-07-01 Dave Love <fx@gnu.org>
4521d1fc 1802
77d1daf2
AS
1803 * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
1804 for K&R.
7c75be36 1805
77d1daf2 1806 * xterm.c: Fix prototype for K&R.
4521d1fc 1807
77d1daf2 1808 * term.c (costs_set): Declare static, non-initialized for pcc.
4521d1fc 1809
77d1daf2 18102002-07-01 Richard M. Stallman <rms@gnu.org>
4521d1fc 1811
77d1daf2
AS
1812 * keyboard.c (timer_last_idleness_start_time): New variable.
1813 (timer_start_idle): Set that.
1814 (read_key_sequence): Use that to reset timer_idleness_start_time
1815 to previous value.
93dec019 1816
77d1daf2 1817 * window.c (Frecenter): With arg, set optional_new_start.
93dec019 1818
77d1daf2 1819 * xdisp.c (redisplay_internal): Make optional_new_start really work.
905cc05a 1820
77d1daf2
AS
1821 * minibuf.c (Fminibuffer_complete_and_exit): Move to end of
1822 buffer for completion.
2ed06289 1823
77d1daf2 18242002-06-29 Ken Raeburn <raeburn@gnu.org>
0e79d667 1825
77d1daf2 1826 * xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
0e79d667 1827
77d1daf2 18282002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
905cc05a 1829
77d1daf2
AS
1830 * keyboard.c (readable_filtered_events): New function that filters
1831 FOCUS_IN_EVENT depending on parameter.
1832 (readable_events): Calls readable_filtered_events, not filtering
1833 FOCUS_IN_EVENT.
1834 (get_filtered_input_pending): New function, filtering parameter passed
1835 to readable_filtered_events.
1836 (get_input_pending): Calls get_filtered_input_pending, not filtering
1837 FOCUS_IN_EVENT.
1838 (Finput_pending_p): Calls get_filtered_input_pending, DO filter
1839 FOCUS_IN_EVENT.
82a7ab23 1840
77d1daf2 1841 * xterm.h (struct x_output): Add focus_state.
d75bec6a 1842
77d1daf2
AS
1843 * xterm.c (x_focus_changed): New function.
1844 (x_detect_focus_change): New function.
1845 (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
1846 EnterNotify and LeaveNotify to track X focus changes.
52dcb476 1847
77d1daf2 18482002-06-28 Andreas Schwab <schwab@suse.de>
82a7ab23 1849
77d1daf2 1850 * lisp.h: Remove duplicate declaration of code_convert_string_norecord.
82a7ab23 1851
77d1daf2 18522002-06-27 Kim F. Storm <storm@cua.dk>
82a7ab23 1853
77d1daf2
AS
1854 * xdisp.c: (mode_line_string_list, mode_line_string_face)
1855 (mode_line_string_face_prop): New variables.
1856 (store_mode_line_string): New function.
1857 (display_mode_element): Use store_mode_line_string to
1858 add mode-line string elements to mode_line_string_list
1859 when mode_line_string_list is non-nil.
1860 (Fformat_mode_line): Now returns propertized string by
1861 default. New arg NO-PROPS to ignore properties.
1862 (decode_mode_spec): Only add two dashes for %- in propertized
1863 mode-line string.
1864 (syms_of_xdisp): Init and staticpro mode_line_string_list.
4d0fa4f3 1865
77d1daf2 18662002-06-27 Stefan Monnier <monnier@cs.yale.edu>
4d0fa4f3 1867
77d1daf2 1868 * minibuf.c (minibuffer_completion_contents): Add return type.
493faf20 1869
77d1daf2 18702002-06-27 Juanma Barranquero <lektu@terra.es>
493faf20 1871
77d1daf2 1872 * charset.c (Fchar_bytes): Remove obsolescence info from docstring.
4971e491 1873
77d1daf2 18742002-06-26 Juanma Barranquero <lektu@terra.es>
4971e491 1875
77d1daf2 1876 * fileio.c (read_file_name_cleanup): Add missing return.
4971e491 1877
77d1daf2 18782002-06-26 Richard M. Stallman <rms@gnu.org>
d911a0fa 1879
77d1daf2 1880 * window.c (Frecenter): Don't set force_start flag.
d911a0fa 1881
77d1daf2
AS
1882 * minibuf.c (do_completion, Fminibuffer_complete_word)
1883 (Fminibuffer_completion_help): Complete just the text before point.
1884 (minibuffer_completion_contents): New function.
d911a0fa 1885
77d1daf2 1886 * buffer.c (Fbury_buffer): Use frames_discard_buffer.
201c831a 1887
77d1daf2 1888 * frame.c (frames_bury_buffer): Function deleted.
201c831a 1889
77d1daf2 18902002-06-25 Miles Bader <miles@gnu.org>
201c831a 1891
77d1daf2
AS
1892 * callint.c (Fcall_interactively): When checking to see if doprnt hit
1893 the end of callint_message, allow for a terminating '\0'.
34e39c95 1894
77d1daf2 18952002-06-24 Juanma Barranquero <lektu@terra.es>
34e39c95 1896
77d1daf2 1897 * w32select.c: Include composite.h
d77fbc16 1898
77d1daf2 1899 * w16select.c: Likewise.
d77fbc16 1900
77d1daf2 19012002-06-24 Kenichi Handa <handa@etl.go.jp>
61e3b944 1902
77d1daf2
AS
1903 * callproc.c (Fcall_process): If code detection is necessary,
1904 call detect_coding directly here.
61e3b944 1905
77d1daf2 1906 * coding.c (detect_eol): Preserve coding->cmp_data.
61e3b944 1907
77d1daf2
AS
1908 * w16select.c (Fw16_get_clipboard_data):
1909 * w32fns.c (w32_to_x_font):
1910 * w32select.c (Fw32_get_clipboard_data):
1911 * xselect.c (selection_data_to_lisp_data):
1912 * xterm.c (XTread_socket): Disable composition handling.
70da46c3 1913
77d1daf2 19142002-06-24 Stefan Monnier <monnier@cs.yale.edu>
70da46c3 1915
77d1daf2 1916 * print.c (temp_output_buffer_setup): Kill all local variables.
8af01033 1917
77d1daf2 19182002-06-22 Stefan Monnier <monnier@cs.yale.edu>
8af01033 1919
77d1daf2 1920 * lread.c (Fread): Remove redundant and imprecise declaration.
7363986a 1921
77d1daf2 1922 * xfns.c (check_x_display_info): Use check_x_frame.
7363986a 1923
77d1daf2
AS
1924 * .gdbinit (xprintsym): Use the new `xname' field.
1925 (xsymbol): Use it.
d9e6c4b1 1926
77d1daf2 19272002-06-22 Jason Rumney <jasonr@gnu.org>
d20fc48a 1928
77d1daf2
AS
1929 * w32fns.c (file_dialog_callback): New function.
1930 (Fx_file_dialog): Allow selecting directories as well as files.
d9e6c4b1 1931
77d1daf2 19322002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
f1a85b89 1933
77d1daf2
AS
1934 * m/pmax.h (START_FILES): Define START_FILES for NetBSD and
1935 OpenBSD. Add support for mipseb-*-netbsd* machines.
f1a85b89 1936
77d1daf2 19372002-06-17 Andrew Choi <akochoi@shaw.ca>
3a62677f 1938
77d1daf2
AS
1939 * macterm.c (mac_scroll_area): Set foreground and backcolor to
1940 black and white before scrolling. Restore frame background and
1941 foreground color after scrolling.
1942 (do_window_update): Call XClearWindow before calling expose_frame.
1943 (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and
1944 FRAME_FOREGROUND_PIXEL of frame.
72244db2 1945
77d1daf2
AS
1946 * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
1947 test Mac command key as <ALT> key.
3a62677f 1948
77d1daf2 19492002-06-17 Stefan Monnier <monnier@cs.yale.edu>
3a62677f 1950
77d1daf2 1951 * window.c (Fset_window_configuration): Lisp_Object/int mixup.
3a62677f 1952
77d1daf2
AS
1953 * keyboard.c (read_key_sequence): Be more careful with first_unbound.
1954 Lookup keys in function-key-map immediately so that key-translation-map
1955 can be applied earlier.
1956 Remove function_key_possible and key_translation_possible, replaced
1957 by checking `keytran_start < t'.
3a62677f 1958
77d1daf2 1959 * .gdbinit (xsymbol): Use the new `xname' field.
9d113d9d 1960
77d1daf2 19612002-06-17 Andrew Choi <akochoi@shaw.ca>
b8523839 1962
77d1daf2
AS
1963 * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
1964 test Mac command key as <ALT> key.
9464dea4 1965
77d1daf2
AS
1966 * mac.c (do_applescript): Call initialize_applescript if necessary
1967 when first called. Dispose of result_desc only when there is no error.
1968 (Fdo_applescript): Use %d format specifier instead of %ld.
9d113d9d 1969
77d1daf2 19702002-06-16 Andrew Choi <akochoi@shaw.ca>
70ec1377 1971
77d1daf2
AS
1972 * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead
1973 of FrontWindow for cases keyDown and autoKey.
70ec1377 1974
77d1daf2
AS
1975 * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
1976 Vdefault_fontset to Monaco with mac-roman coding.
92f7dd37 1977
77d1daf2
AS
1978 * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
1979 init_process before and after inclusion of Carbon/Carbon.h, resp.
92f7dd37 1980
77d1daf2
AS
1981 * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
1982 cursor_gc.
1983 (add_font_name_table_entry): New function.
1984 (init_font_name_table): Use add_font_name_table_entry; add italic,
1985 bold, and bold-italic entries for truetype fonts.
c93674bb 1986
77d1daf2
AS
1987 * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
1988 for Mac too.
1989 (try_font_list) [MAC_OS]: If no font matches given registry, try
1990 fonts with any registry matching face_family.
1991 (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here.
c93674bb 1992
77d1daf2
AS
1993 * s/darwin.h: If autoconf detects the Ncurses library, define
1994 LIBS_TERMCAP to -lncurses to use it.
59b59892 1995
77d1daf2 19962002-06-16 Eli Zaretskii <eliz@is.elta.co.il>
59b59892 1997
77d1daf2 1998 * strftime.c [__hpux]: Include sys/_mbstate_t.h.
c6ea2775 1999
77d1daf2 20002002-06-15 Richard M. Stallman <rms@gnu.org>
c6ea2775 2001
77d1daf2
AS
2002 * window.c (Fset_window_configuration): Explicitly preserve
2003 the point value that new_current_buffer had at the start.
91175673 2004
77d1daf2 20052002-06-14 Juanma Barranquero <lektu@terra.es>
91175673 2006
77d1daf2
AS
2007 * composite.c (Fcompose_region_internal, Fcompose_string_internal):
2008 Fix typos.
91175673 2009
77d1daf2 20102002-06-14 Kim F. Storm <storm@cua.dk>
e0fead5d 2011
77d1daf2
AS
2012 * insdel.c (insert_1_both, insert_from_string_1)
2013 (insert_from_buffer_1): Recalculate END_UNCHANGED in case the
2014 insert happened in the end_unchanged region. Otherwise, the
2015 redisplay may be confused and duplicate the last line in the
2016 buffer [seen after save-buffer when require-final-newline==t].
e0fead5d 2017
77d1daf2 20182002-06-13 Jason Rumney <jasonr@gnu.org>
e0fead5d 2019
77d1daf2
AS
2020 * w32.c (init_environment): Remove EMACSLOCKDIR.
2021 (stat): Swap _S_IFDIR and _S_IFREG.
c186cdb3 2022
77d1daf2 20232002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
c186cdb3 2024
77d1daf2
AS
2025 * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c
2026 * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c,
2027 * w32menu.c, w32inevt.c: Rename enum event_kind as follows:
2028 ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke
2029 to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to
2030 NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click
2031 to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT,
2032 language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click
2033 to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to
2034 W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to
2035 SELECTION_REQUEST_EVENT, selection_clear_event to
2036 SELECTION_CLEAR_EVENT, buffer_sw
c186cdb3 2037
77d1daf2 20382002-04-01 Stefan Monnier <monnier@cs.yale.edu>
c186cdb3 2039
77d1daf2 2040 * region-cache.c (new_region_cache): Use BEG.
58cfce98 2041
77d1daf2
AS
2042 * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
2043 Use BEG and BEG_BYTE.
58cfce98 2044
77d1daf2
AS
2045 * doc.c (get_doc_string): Return nil if the location is wrong.
2046 (reread_doc_file): New fun.
2047 (Fdocumentation, Fdocumentation_property):
2048 Call it if get_doc_string fails.
2049 (Fsnarf_documentation): Make it work for a dumped Emacs.
62854fe2 2050
77d1daf2
AS
2051 * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE.
2052 Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case.
62854fe2 2053
77d1daf2 2054 * charset.c (Fstring): Allow 0 arguments.
656f46bb 2055
77d1daf2 2056 * xterm.c (XTread_socket): Fix int/Lisp_Object confusion.
656f46bb 2057
77d1daf2
AS
2058 * process.c (DATAGRAM_CONN_P, list_processes_1)
2059 (Fprocess_datagram_address, Fset_process_datagram_address)
2060 (Fset_network_process_options, server_accept_connection):
2061 Fix some int/Lisp_Object confusions (thank you union types).
656f46bb 2062
77d1daf2 20632002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
036e218d 2064
77d1daf2 2065 * msdos.c: Rename x_autoselect_window_p to autoselect_window_p.
036e218d 2066
77d1daf2
AS
2067 * w32term.c: Likewise.
2068 (note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
7ddb2c16 2069
77d1daf2
AS
2070 * keyboard.c (Qselect_window): New symbol.
2071 (head_table): Use it.
2072 (keys_of_keyboard): Bound select-window event to handle-select-window.
2073 (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
7ddb2c16 2074
77d1daf2
AS
2075 * xterm.c: Rename x_autoselect_window_p to autoselect_window_p.
2076 (last_window): New variable.
2077 (XTread_socket): Generate SELECT_WINDOW_EVENTs.
2078 (note_mouse_movement): Remove reimplemented code in #if 0.
2079 (XTread_socket): Generate SELECT_WINDOW_EVENTs only for
2080 Emacs windows.
ace9b298 2081
77d1daf2 2082 * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'.
90647b07 2083
77d1daf2 20842002-03-31 Gerd Moellmann <gerd@gnu.org>
90647b07 2085
77d1daf2
AS
2086 * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P.
2087 Callers changed.
ace9b298 2088
77d1daf2 20892002-03-30 Richard M. Stallman <rms@gnu.org>
ace9b298 2090
77d1daf2
AS
2091 * window.c (window_scroll_pixel_based): Exit the move_it_by_lines
2092 loop whenever it stops making progress.
ace9b298 2093
77d1daf2 2094 * widget.c (set_frame_size): Don't call change_frame_size.
9fbc32aa 2095
77d1daf2 20962002-03-30 Gerd Moellmann <gerd@gnu.org>
036e218d 2097
77d1daf2
AS
2098 * dispnew.c (direct_output_for_insert):
2099 Call mark_window_display_accurate.
9fbc32aa 2100
77d1daf2 21012002-03-29 Jason Rumney <jasonr@gnu.org>
9fbc32aa 2102
77d1daf2 2103 * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths.
9fbc32aa 2104
77d1daf2 21052002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
9fbc32aa 2106
77d1daf2 2107 * Makefile.in (lread.o): Depend on coding.h.
9fbc32aa 2108
77d1daf2
AS
2109 * lread.c (openp, Fload): Encode the file name before passing it
2110 to `stat', `access', and `emacs_open'.
2111 (openp): GCPRO the encoded file name. Don't recompute Lisp
2112 strings unnecessarily.
9fbc32aa 2113
77d1daf2 21142002-03-29 Kim F. Storm <storm@cua.dk>
9fbc32aa 2115
77d1daf2 2116 * fns.c (Flax_plist_put): Doc fix.
9fbc32aa 2117
77d1daf2 21182002-03-28 Miles Bader <miles@gnu.org>
0142178a 2119
77d1daf2 2120 * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process.
0142178a 2121
77d1daf2 21222002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
d4824a5d 2123
77d1daf2
AS
2124 * process.c (set-network-process-options): Add usage.
2125 (make-network-process): Doc fix.
d4824a5d 2126
77d1daf2 21272002-03-26 Eli Zaretskii <eliz@is.elta.co.il>
b1356234 2128
77d1daf2 2129 * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed".
b1356234 2130
77d1daf2 21312002-03-26 Richard M. Stallman <rms@gnu.org>
3ce081f5 2132
77d1daf2
AS
2133 * fns.c (Fsubstring_no_properties): New function.
2134 (Flax_plist_get, Flax_plist_put): New functions.
2135 (syms_of_fns): defsubr them.
99e380ee 2136
77d1daf2
AS
2137 * xdisp.c (update_menu_bar): Test only update_mode_lines;
2138 don't test or alter w->update_mode_line.
3ce081f5 2139
77d1daf2 2140 * window.c (Fdisplay_buffer): Doc fix.
66458f32 2141
77d1daf2 21422002-03-24 Richard M. Stallman <rms@gnu.org>
66458f32 2143
77d1daf2 2144 * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces.
66458f32 2145
77d1daf2 21462002-03-24 Gerd Moellmann <gerd@gnu.org>
59a86c99 2147
77d1daf2
AS
2148 * eval.c (Qdeclare, Vmacro_declaration_function): New variables.
2149 (Fdefmacro): Handle `(declare ...)'.
2150 (syms_of_eval) <Qdeclare>: Initialize and staticpro.
2151 (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP.
59a86c99 2152
77d1daf2 21532002-03-24 Jason Rumney <jasonr@gnu.org>
eb77a5f4 2154
77d1daf2
AS
2155 * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data)
2156 (xbm_file_p): Add prototypes.
2157 (xbm_format, xbm_image_p): Sync with xfns.c.
2158 (reflect_byte): New function.
2159 (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows.
2160 (xbm_load_image): Create bitmaps with a depth of 1.
2161 (init_xfns): Enable XBM images.
eb77a5f4 2162
77d1daf2 21632002-03-23 Jason Rumney <jasonr@gnu.org>
eb77a5f4 2164
77d1daf2
AS
2165 * w32term.c (w32_handle_tool_bar_click): Detect up and down events
2166 correctly. Do not pass up_modifier to keyboard buffer.
eb77a5f4 2167
77d1daf2 2168 * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals.
bb313871 2169
77d1daf2 21702002-03-22 Stefan Monnier <monnier@cs.yale.edu>
bb313871 2171
77d1daf2
AS
2172 * Makefile.in (bootstrapclean): New target.
2173 (bootstrap-temacs, bootstrap-doc): Remove.
2174 (bootstrap-emacs): Use a bog-standard `temacs'.
2175 Don't bother to build a DOC file.
55b43a63 2176
77d1daf2 2177 * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause.
6052529b 2178
77d1daf2
AS
2179 * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup
2180 in temacs even if !CANNOT_DUMP.
2181 (standard_args): Keep --no-loadup even if !CANNOT_DUMP.
3ce081f5 2182
77d1daf2 2183 * alloc.c (check_pure_size): Only output a warning.
3ce081f5 2184
77d1daf2 21852002-03-22 Jason Rumney <jasonr@gnu.org>
3ce081f5 2186
77d1daf2
AS
2187 * w32fns.c (Fx_create_frame): Enable tool-bar when images are
2188 supported.
3ce081f5 2189
77d1daf2
AS
2190 * w32term.c (zv_bits): Declare as short, for word alignment.
2191 (w32_read_socket) <WM_XBUTTONUP>: Fix last change.
2192 (syms_of_w32term): Define x-use-underline-position-properties.
55b43a63 2193
77d1daf2
AS
2194 * w32fns.c (x_set_cursor_color): Set cursor_gc as well.
2195 (clear_image_cache): Block input, fix logic, clear matrices in
2196 all frames that share this cache.
111ed14e 2197
77d1daf2 21982002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
9fabb2f5 2199
77d1daf2
AS
2200 * emacs.c (main): Update the Copyright year in the blurb printed
2201 by "emacs --version".
9fabb2f5 2202
77d1daf2 2203 * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2.
9fabb2f5 2204
77d1daf2
AS
2205 * xterm.c (XTread_socket): If XK_ISO_Lock and
2206 XK_ISO_Last_Group_Lock are defined, handle keysyms between
2207 XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
111ed14e 2208
77d1daf2 22092002-03-21 Kim F. Storm <storm@cua.dk>
2fa0eedf 2210
77d1daf2
AS
2211 * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so
2212 menu-bar bindings in keymap and local-map properties _are_ used.
2213 But try keymap property first in accordance with 2002-01-03 patch.
2214 Added comment describing why this is not always reliable.
2215 (tool_bar_items): Ditto for tool-bar.
d1420435 2216
77d1daf2 22172002-03-21 Jason Rumney <jasonr@gnu.org>
2fa0eedf 2218
77d1daf2 2219 * w32fns.c (x_clear_image_1): Disable color table code.
ebcbef4e 2220
77d1daf2 22212002-03-21 Kim F. Storm <storm@cua.dk>
5c131048 2222
77d1daf2
AS
2223 * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
2224 removed the wrong version of the DEFUN macro; fixed it.
5c131048 2225
77d1daf2
AS
2226 * fns.c (Ffeaturep): Allow subfeature to be a list (test using
2227 Fmember rather than Fmemq).
2228 (Fprovide): Check that subfeatures is a list.
5c131048 2229
77d1daf2
AS
2230 * process.c (QCfeature, QCdatagram): Removed variables.
2231 (QCtype, Qdatagram): New variables.
2232 (network_process_featurep): Removed function.
2233 (Fmake_network_process): Removed :feature check.
2234 Use :type 'datagram instead of :datagram t to create a datagram
2235 socket. This allows us to add other connection types (e.g. raw
2236 sockets) later in a consistent manner.
2237 (init_process) [subprocess, HAVE_SOCKETS]: Provide list of
2238 supported subfeatures for feature make-network-process.
2239 (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram.
2240 Intern and staticpro QCtype and Qdatagram.
2241 (syms_of_process) [!subprocess]: Intern and staticpro QCtype.
96d276c3 2242
77d1daf2
AS
2243 * xfns.c: (QCtype): Remove duplicate declaration and
2244 initialization (is now declared in process.c).
6108b49c 2245
77d1daf2
AS
2246 * w32fns.c: (QCtype): Remove duplicate declaration and
2247 initialization (is now declared in process.c).
96d276c3 2248
77d1daf2 22492002-03-21 Richard M. Stallman <rms@gnu.org>
5eea19a4 2250
77d1daf2
AS
2251 * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro.
2252 (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT
2253 when jumping to `fail' to avoid undoing reg changes in the
2254 last iteration of the loop.
2255 (GET_UNSIGNED_NUMBER): Skip spaces around the number.
5eea19a4 2256
77d1daf2
AS
2257 * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o):
2258 Depend on process.h.
5eea19a4 2259
77d1daf2 22602002-03-20 Jason Rumney <jasonr@gnu.org>
5eea19a4 2261
77d1daf2
AS
2262 Most of the following changes are still conditional on HAVE_IMAGES
2263 which is not set by default on Windows.
438e57dd 2264
77d1daf2 2265 * emacs.c (main) [WINDOWSNT]: Call init_xfns.
438e57dd 2266
77d1daf2
AS
2267 * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame.
2268 (Fimage_size, Fimage_mask_p, XPutPixel): New functions.
2269 (four_corners_best, x_clear_image_1, x_clear_image)
2270 (x_alloc_image_color, postprocess_image)
2271 (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image)
2272 (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows.
2273 (init_xfns, syms_of_w32fns): Initialize image functions and constants.
c88e5347 2274
77d1daf2 2275 * w32gui.h (struct XImage): Define.
c88e5347 2276
77d1daf2
AS
2277 * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to
2278 extract mouse co-ordinates.
59ce1461 2279
77d1daf2 22802002-03-20 Jason Rumney <jasonr@gnu.org>
59ce1461 2281
77d1daf2
AS
2282 * w32.c (init_winsock): Dynamically load new server and UDP
2283 socket functions.
2284 (socket_to_fd): New function.
2285 (sys_socket): Use it.
2286 (sys_setsockopt, sys_listen, sys_getsockname, sys_accept)
2287 (sys_recvfrom, sys_sendto): New wrapper functions.
59ce1461 2288
77d1daf2
AS
2289 * process.c (QCfamily, QCfilter): Remove duplicate declaration
2290 and initialization.
8727d588 2291
77d1daf2 2292 * makefile.w32-in (LIBS): Remove $(WSOCK32).
8727d588 2293
77d1daf2 22942002-03-20 Eli Zaretskii <eliz@is.elta.co.il>
cc63037e 2295
77d1daf2
AS
2296 * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr):
2297 Don't use "sun" as a variable, it's a predefined constant on Sun
2298 machines.
cc63037e 2299
77d1daf2 23002002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
cc63037e 2301
77d1daf2 2302 * bytecode.c (Fbyte_code): Revert last change.
cc63037e 2303
77d1daf2 23042002-03-19 Kim F. Storm <storm@cua.dk>
cc63037e 2305
77d1daf2
AS
2306 * makefile.w32-in (LIBS): Add $(WSOCK32).
2307 From David Ponce <dponce@voila.fr>.
deece6f5 2308
77d1daf2 23092002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
deece6f5 2310
77d1daf2
AS
2311 * process.c (wait_reading_process_input): Move variables `pname'
2312 and `pnamelen' down where they are used.
1b944d9c 2313
77d1daf2
AS
2314 * bytecode.c (Fbyte_code): Discard unused computed value to
2315 prevent gcc warning.
28ff4293 2316
77d1daf2 2317 * lisp.h (Fplist_member): Add prototype.
a395ef6a 2318
77d1daf2 23192002-03-18 Kim F. Storm <storm@cua.dk>
a395ef6a 2320
77d1daf2
AS
2321 * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
2322 HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H.
9b46de40 2323
77d1daf2
AS
2324 * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
2325 Remove explicit GNU_LINUX settings for datagram support.
9b46de40 2326
77d1daf2 23272002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
9b46de40 2328
77d1daf2
AS
2329 * process.c (Fmake_network_process): Remove unused variable `sa'.
2330 Doc fix. Add usage:.
2331 (set_socket_options): Remove unused variables `optnum' and `opttype'.
aff37336 2332
77d1daf2 23332002-03-17 Richard M. Stallman <rms@gnu.org>
aff37336 2334
77d1daf2
AS
2335 * xdisp.c (cursor_type_changed): New variable.
2336 (redisplay_internal): Redisplay all windows if cursor_type_changed.
2337 Clear it when clearing windows_or_buffers_changed.
2338 (try_cursor_movement, redisplay_window, try_window_id)
2339 (try_window_reusing_current_matrix): Test cursor_type_changed
2340 along with windows_or_buffers_changed.
b9937f07 2341
77d1daf2 2342 * window.h (cursor_type_changed): New variable.
b9937f07 2343
77d1daf2
AS
2344 * xfns.c (x_set_cursor_type): Set cursor_type_changed,
2345 not update_mode_lines, and always set it to 1.
2cd23960 2346
77d1daf2
AS
2347 * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed
2348 if no frames needed redrawing.
2cd23960 2349
77d1daf2 23502002-03-17 Kim F. Storm <storm@cua.dk>
2cd23960 2351
77d1daf2
AS
2352 The following changes add support for network server processes,
2353 datagram connections, and local (unix) sockets.
2cd23960 2354
77d1daf2
AS
2355 * process.h (struct Lisp_Process): New member log.
2356 Doc fix: Member command used to indicate stopped network process.
2357 Doc fix: Member childp contains plist for network process.
2358 Doc fix: Member kill_without_query is inverse of query-on-exit flag.
a4184c1c 2359
77d1daf2
AS
2360 * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
2361 (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
2362 (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
2363 New variables.
2364 (NETCONN1_P): New macro.
2365 (DATAGRAM_SOCKETS): New conditional symbol.
2366 (datagram_address): New array.
2367 (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
2368 (status_message): Use concat3.
2369 (Fprocess_status): Add `listen' status to doc string. Return `stop'
2370 for a stopped network process.
2371 (Fset_process_buffer): Update contact plist for network process.
2372 (Fset_process_filter): Ditto. Don't enable input for stopped
2373 network processes. Server must listen, even if filter is t.
2374 (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
2375 New functions.
2376 (Fprocess_kill_without_query): Removed. Now defined in simple.el.
2377 (Fprocess_contact): Added KEY argument. Handle datagrams.
2378 (list_processes_1): Optionally show only processes with the query
2379 on exit flag set. Dynamically adjust column widths. Omit tty
2380 column if not needed. Report stopped network processes.
2381 Identify server and datagram network processes.
2382 (Flist_processes): New optional arg `query-only'.
2383 (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
2384 (conv_lisp_to_sockaddr, set_socket_options)
2385 (network_process_featurep, unwind_request_sigio): New helper functions.
2386 (Fprocess_datagram_address, Fset_process_datagram_address):
2387 (Fset_network_process_options): New lisp functions.
2388 (Fopen_network_stream): Removed. Now defined in simple.el.
2389 (Fmake_network_process): New lisp function. Code is based on previous
2390 Fopen_network_stream, but heavily reworked with new property list based
2391 argument list, support for datagrams, server processes, and local
2392 sockets in addition to old client-only functionality.
2393 (server_accept_connection): New function.
2394 (wait_reading_process_input): Use it to handle incoming connects.
2395 Do not enable input on a new connection if process is stopped.
2396 (read_process_output): Handle datagram sockets. Use 2k buffer for them.
2397 (send_process): Handle datagram sockets.
2398 (Fstop_process, Fcontinue_process): Apply to network processes. A stopped
2399 network process is indicated by setting command field to t .
2400 (Fprocess_send_eof): No-op if datagram connection.
2401 (Fstatus_notify): Don't read input for a stream server socket or a
2402 stopped network process.
2403 (init_process): Initialize datagram_address array.
2404 (syms_of_process): Intern and staticpro new variables, defsubr new
2405 functions.
a4184c1c 2406
77d1daf2 24072002-03-16 Jason Rumney <jasonr@gnu.org>
f6fa0866 2408
77d1daf2
AS
2409 * w32fns.c (w32_to_all_x_charsets): Return correct type in
2410 startup case.
f6fa0866 2411
77d1daf2 24122002-03-16 Richard M. Stallman <rms@gnu.org>
f4ca4b00 2413
77d1daf2
AS
2414 * xdisp.c (redisplay_internal, redisplay_windows):
2415 Use list_of_error to call internal_condition_case_1.
2416 (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2}
2417 so as to catch all errors with no possibility of debugger redisplay.
2418 (list_of_error): New variable.
2419 (syms_of_xdisp): Init and staticpro it.
f4ca4b00 2420
77d1daf2 2421 * print.c (print_object): Delete `\ ' from printed rep of frame.
f4e25f94 2422
77d1daf2 24232002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
f4e25f94 2424
77d1daf2
AS
2425 * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature,
2426 until its implementation is fixed.
91c153e2 2427
77d1daf2 24282002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
91c153e2 2429
77d1daf2 2430 * xfns.c (png_load): Remove unused variable `gamma_str'.
65b7d3e7 2431
77d1daf2 24322002-03-14 Richard M. Stallman <rms@gnu.org>
65b7d3e7 2433
77d1daf2 2434 * xfns.c (x_real_positions): Handle failure in XQueryTree.
6b5f6311 2435
77d1daf2 24362002-03-14 Miles Bader <miles@gnu.org>
6b5f6311 2437
77d1daf2
AS
2438 * intervals.c (adjust_for_invis_intang): New function.
2439 (set_point_both): Use `adjust_for_invis_intang' to do most of the
2440 work for dealing with invisible+intangible regions. Do so before
2441 and after both forward and backward movements, to handle both
2442 front-sticky and rear-sticky cases.
2443 * textprop.c (text_property_stickiness): Function moved here from
2444 `editfns.c'.
2445 * intervals.h (text_property_stickiness): New declaration.
2446 * editfns.c (char_property_eq): Function removed.
2447 (text_property_stickiness): Function moved to `textprop.c'.
be676094 2448
77d1daf2 24492002-03-13 Jason Rumney <jasonr@gnu.org>
be676094 2450
77d1daf2 2451 * config.in: Add STRFTIME_NO_POSIX2.
032a857d 2452
77d1daf2
AS
2453 * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX
2454 and %OX when underlying strftime does not.
032a857d 2455
77d1daf2 24562002-03-13 Stefan Monnier <monnier@cs.yale.edu>
032a857d 2457
77d1daf2
AS
2458 * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>:
2459 Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per
2460 line) to avoid annoying flicker.
2461 (xm_scroll_callback): Get rid of the now unnecessary kludge.
2462 (XTread_socket): Mark it static.
032a857d 2463
77d1daf2 2464 * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup.
b6270150 2465
77d1daf2 24662002-03-13 Kim F. Storm <storm@cua.dk>
b6270150 2467
77d1daf2 2468 * puresize.h (BASE_PURESIZE): Increase to 775000.
792e5cbd 2469
77d1daf2 24702002-03-12 Juanma Barranquero <lektu@terra.es>
98cbb9fa 2471
77d1daf2 2472 * editfns.c (syms_of_editfns): Fix typo.
98cbb9fa 2473
77d1daf2 24742002-03-12 Gerd Moellmann <gerd@gnu.org>
98cbb9fa 2475
77d1daf2
AS
2476 * xsmfns.c: Include stdio.h because termhooks.h needs it.
2477 Include termopt.h for interrupt_input.
98cbb9fa 2478
77d1daf2 24792002-03-11 Andreas Schwab <schwab@suse.de>
792e5cbd 2480
77d1daf2 2481 * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix.
fa336b91 2482
77d1daf2 24832002-03-11 Gerd Moellmann <gerd@gnu.org>
fa336b91 2484
77d1daf2
AS
2485 * xterm.c (note_mouse_movement): Put code for
2486 x_autoselect_window_p in #if 0.
fa336b91 2487
77d1daf2
AS
2488 * lread.c (Fload): Don't assume that message_with_string uses the
2489 string it is given like a C string.
077907d4 2490
60a653f1 24912002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
aa2af83a 2492
60a653f1
JD
2493 * xterm.h: Extern declare x_session_check_input () and
2494 x_session_initialize ().
2495
2496 * xterm.c: Added calls to x_session_check_input () and
2497 x_session_initialize ().
2498
2499 * termhooks.h (enum event_kind): Added save_session_event.
2500
2501 * keyboard.c: Added Emacs event save_session_event.
2502
2503 * emacs.c (main): Added call to syms_of_xsmfns ().
2504
2505 * lisp.h: Extern declare syms_of_xsmfns ().
2506
2507 * config.in: Added HAVE_X_SM
2508
2509 * Makefile.in: Added test for HAVE_X_SM and added new file xsmfns.c
2510
2511 * xsmfns.c: New file for X session management.
2512
25132002-03-09 Jason Rumney <jasonr@gnu.org>
2514
2515 * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not
2516 read-only when setting modified time.
2517
25182002-03-08 Gerd Moellmann <gerd@gnu.org>
2519
2520 * xdisp.c (move_it_vertically_backward): At the end of the
2521 function, when moving forward by lines, treat terminal frames
2522 specially.
2523
2524 * keyboard.c (echo_char): Make sure to add a separator between
2525 keys even if echo_dash hasn't been called.
2526
2527 * xdisp.c: Use new string macros.
2528 (update_echo_area): Pass number of bytes to message3 instead of
2529 number of chars.
2530 (set_message_1): Don't access a string's size_byte directly.
2531 (decode_mode_spec_coding): Use number of bytes of eoltype string
2532 instead number of chars.
2533
2534 * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros.
2535
25362002-03-08 Juanma Barranquero <lektu@terra.es>
2537
2538 * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to
2539 24-bit.
2540
25412002-03-06 Jason Rumney <jasonr@gnu.org>
2542
2543 * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor.
2544
25452002-03-06 Gerd Moellmann <gerd@gnu.org>
2546
2547 * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now)
2548 (cancel_echoing, echo_length, echo_truncate): Changed to
2549 work with new kboard definition.
2550 (echo_now): Use message3_nolog instead of message2_nolog.
2551
2552 * alloc.c (mark_kboards): Mark echo_string.
2553
2554 * keyboard.h (ECHOBUFSIZE): Removed.
2555 (struct kboard): Member echoptr removed, member echobuf renamed
2556 to echo_string.
2557
2558 * xdisp.c (message_with_string): Use Fformat instead of doprnt and
2559 message3 instead of message2 to display the message using STRING's
2560 text properties.
2561
25622002-03-05 Andreas Schwab <schwab@suse.de>
2563
2564 * xdisp.c (hscroll_margin): Change to EMACS_INT.
2565
25662002-03-05 Per Abrahamsen <abraham@dina.kvl.dk>
2567
2568 * frame.c (default-frame-alist): Explain that setting it doesn't
2569 affect existing frames.
2570
25712002-03-05 Stefan Monnier <monnier@cs.yale.edu>
2572
2573 * indent.c (skip_invisible): Fix my brain fart.
2574
2575 * dispnew.c (sit_for): Don't wait if executing a kbd macro.
2576
25772002-03-04 Stefan Monnier <monnier@cs.yale.edu>
2578
2579 * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c,
2580 * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h,
2581 * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c,
2582 * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition
2583 and variables to use EMACS_INT instead of just int.
2584
2585 * buffer.c (syms_of_buffer): Allow non-string `mode-name'.
2586
25872002-03-04 Eli Zaretskii <eliz@is.elta.co.il>
2588
2589 * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the
2590 environment, pass it down with corrected value.
2591
25922002-03-04 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2593
2594 * lread.c (read_filtered_event): Do not call start_hourglass
2595 before returning.
2596
25972002-03-04 Juanma Barranquero <lektu@terra.es>
2598
2599 * w32term.c (x_display_and_set_cursor): Fix typo.
2600
26012002-03-03 Richard M. Stallman <rms@gnu.org>
2602
2603 * fileio.c (Fmake_temp_name): Doc fix.
2604
26052002-03-03 Gary Wong <gtw@gnu.org>
2606
2607 * termcap.c [!emacs]: Replace ospeed for building standalone
2608 libtermcap, for binary compatibility.
2609
2610 * tparam.c [!emacs]: Move #define of bcopy to after string.h.
2611
26122002-03-03 Richard M. Stallman <rms@gnu.org>
2613
2614 * xrdb.c (file_p): Rename arg `path' to `filename'.
2615
2616 * abbrev.c (Fexpand_abbrev): Increment plist as use count
2617 only if it is an integer.
2618
2619 * xfns.c (png_load): Set screen_gamma based on f->gamma.
2620 If png_get_sRGB gives an answer, call png_set_gamma
2621 using the default image gamma value.
2622
2623 * lread.c (read1): When reading from a file, default string to
2624 multibyte only if it has some multibyte characters.
2625
2626 * print.c (print_object): Output multibyte chars 128...255
2627 using \x even if ! print_escape_multibyte.
2628
2629 * xdisp.c (display_mode_element): Move the places where
2630 bytepos, charpos, this, and lisp_string are set.
2631 Use lisp_string to set bytepos.
2632
2633 * xdisp.c (redisplay_internal):
2634 Call clear_image_cache only if HAVE_WINDOW_SYSTEM.
2635
2636 * xdisp.c (display_mode_element): Merge properties specified with
2637 :propertize onto those that come with the string.
2638
26392002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
2640
2641 * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from
2642 automatic-hscrolling. Users changed.
2643 <hscroll-margin>: Renamed from automatic-hscroll-margin.
2644 Users changed.
2645 <hscroll-step>: Renamed from automatic-hscroll-step. Users changed.
2646
26472002-03-02 Eli Zaretskii <eliz@is.elta.co.il>
2648
2649 * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix.
2650
26512002-03-02 Kim F. Storm <storm@cua.dk>
2652
2653 * window.c (Fminibuffer_selected_window): New function.
2654 (syms_of_window): Defsubr it.
2655
26562002-03-01 Kim F. Storm <storm@cua.dk>
2657
2658 * window.h (struct window): New member phys_cursor_width.
2659
2660 * window.c (make_window, replace_window): Init phys_cursor_width.
2661
2662 * xterm.c (x_display_and_set_cursor): Blink box cursor using
2663 hollow box cursor. Blink bar cursor using 1 pixel wide bar.
2664
2665 * w32term.c (x_display_and_set_cursor): Blink box cursor using
2666 hollow box cursor. Blink bar cursor using 1 pixel wide bar.
2667
2668 * lisp.h (GCPRO6): New macro.
2669
2670 * process.c (Fopen_network_stream): Use GCPRO6.
2671
26722002-03-01 Kim F. Storm <storm@cua.dk>
2673
2674 * process.c (Qconnect, Qfailed): New variables.
2675 (syms_of_process): Intern and staticpro them.
2676 (Fprocess_status): Document connect and failed return values.
2677 [NON_BLOCKING_CONNECT]: New conditional.
2678 (connect_wait_mask, num_pending_connects): New variables.
2679 (status_message): Convert Qfailed status.
2680 (Fopen_network_stream): Added support for non-blocking connect.
2681 New optional args: filter, sentinel, non_blocking. Doc updated.
2682 [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code.
2683 (deactivate_process): Handle pending non-blocking connect.
2684 (wait_reading_process_input): Poll for status of non-blocking
2685 connects. Exec sentinel directly when connect succeeds.
2686 (status_notify): Don't read process output if not yet connected.
2687
26882002-02-28 Kim F. Storm <storm@cua.dk>
2689
2690 * window.c: (minibuf_selected_window): Renamed from
2691 Vminibuf_selected_window. Users changed.
2692 (syms_of_window): Staticpro it.
2693
26942002-02-26 Kim F. Storm <storm@cua.dk>
2695
2696 The following changes add a new Vminibuf_selected_window variable
2697 which is similar to Vminibuf_scroll_window, but which is only set
2698 on entry to the minibuffer (from a non-minibuffer window):
2699
2700 * window.c: (Vminibuf_selected_window): New variable.
2701 (struct save_window_data): New member minibuf_selected_window.
2702 (Fset_window_configuration): Restore Vminibuf_selected_window.
2703 (Fcurrent_window_configuration): Save Vminibuf_selected_window.
2704 Set minibuf_scroll_window member to nil if minibuf_level is 0.
2705 (compare_window_configurations): Compare minibuf_selected_window.
2706
2707 * window.h: (Vminibuf_selected_window): Declare extern.
2708
2709 * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first
2710 entry to minibuffer or on entry from a non-minibuffer window.
2711
2712 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with
2713 Vminibuf_selected_window instead of Vminibuf_scroll_window.
2714
2715 * xdisp.c (init_iterator): Compare with Vminibuf_selected_window
2716 instead of Vminibuf_scroll_window when deciding in which window
2717 the region should be highlighted. Consequently, the region remains
2718 highlighteded even when a completion buffer is also displayed.
2719
27202002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
2721
2722 * fileio.c (Fsubstitute_in_file_name): Fix the change from
2723 2002-02-08.
2724
2725 * xselect.c (Qcompound_text_with_extensions): Renamed from
2726 Qcompound_text_no_extensions.
2727 (lisp_data_to_selection_data, syms_of_xselect): Use the new name.
2728
27292002-02-26 Juanma Barranquero <lektu@terra.es>
2730
2731 * w32proc.c (syms_of_ntproc): Doc fix.
2732
27332002-02-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2734
2735 * intervals.h: Include "dispextern.h" unconditionally.
2736
27372002-02-24 Jason Rumney <jasonr@gnu.org>
2738
2739 * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc
2740 and disp-table.elc.
2741 (lisp): Add emacs-lisp/backquote.elc.
2742
27432002-02-24 Kim F. Storm <storm@cua.dk>
2744
2745 * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch:
2746 The validation of the event type was too strict as it didn't
2747 allow string events; buffer names are used in bindings for
2748 menu-bar-select-buffer (see `menu-bar-update-buffers').
2749
27502002-02-23 Kim F. Storm <storm@cua.dk>
2751
2752 The following changes rework my patch of 2002-02-06 which
2753 added command remapping by entering the commands directly into
2754 the keymaps. Now, command remapping uses an explicit `remap'
2755 prefix in the keymaps, i.e. [remap COMMAND].
2756
2757 * keymap.c (Qremap, remap_command_vector): New variables.
2758 (is_command_symbol): Removed function.
2759 (Fdefine_key): No longer accept a symbol for KEY.
2760 Added validation of [remap COMMAND] argument for KEY.
2761 The DEF is no longer required to be a symbol when remapping a command.
2762 (Fremap_command): New function to remap command through keymaps.
2763 (Flookup_key): Perform command remapping initiated by
2764 Fremap_command directly for speed.
2765 (Fkey_binding): Use Fremap_command for command remapping.
2766 (where_is_internal): Handle new command remapping representation.
2767 (syms_of_keymap): Intern Qremap, initialize remap_command_vector,
2768 staticpro them. Defsubr Fremap_command.
2769
2770 * keymap.h (Fremap_command): Declare extern.
2771 (is_command_symbol): Remove extern.
2772
2773 * keyboard.c (command_loop_1): Use Fremap_command for command
2774 remapping; now try command remapping for all symbols.
2775
27762002-02-23 Eli Zaretskii <eliz@is.elta.co.il>
2777
2778 * coding.h (run_pre_post_conversion_on_str): Add prototype.
2779
27802002-02-23 Jason Rumney <jasonr@gnu.org>
2781
2782 * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion
2783 on the string before encoding it.
2784 (Fw32_get_clipboard_data): Run post-read-conversion on the string
2785 after decoding it.
2786
2787 * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change.
2788
27892002-02-23 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2790
2791 * w32term.c (enter_timestamp): Remove unused static variable to
2792 prevent warning.
2793
2794 * xterm.c (enter_timestamp): Put in #if 0 to prevent warning.
2795
27962002-02-23 Eli Zaretskii <eliz@is.elta.co.il>
2797
2798 * w16select.c (Fw16_get_clipboard_data): Fix last change.
2799
2800 * xselect.c (selection_data_to_lisp_data): Fix last change.
2801
28022002-02-22 Jason Rumney <jasonr@gnu.org>
2803
2804 * w32term.h (struct w32_output): New member menu_command_in_progress.
2805
2806 * w32menu.c (menubar_selection_callback): Free the menu and
2807 clear the menu_command_in_progress flag.
2808
2809 * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize.
2810 (menu_free_timer): New variable.
2811 (MENU_FREE_ID, MENU_FREE_DELAY): New constants.
2812 (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
2813 <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a
2814 menu command is in progress.
2815 <WM_COMMAND>: Set the menu_command_in_progress flag.
2816 Kill any menu_free_timer that is running.
2817
2818 * w32term.c (w32_text_out): Renamed from W32_TEXTOUT.
2819 Call ExtTextOutA rather than ExtTextOut.
2820
28212002-02-22 Eli Zaretskii <eliz@gnu.org>
2822
2823 * puresize.h (BASE_PURESIZE): Increase to 755000.
2824
28252002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
2826
2827 * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion
2828 on the string before encoding it.
2829 (Fw16_get_clipboard_data): Run post-read-conversion on the string
2830 after decoding it.
2831
28322002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
2833
2834 Support for ICCCM Extended Segments in X selections:
2835
2836 * xselect.c <Qcompound_text_no_extensions>: New variable.
2837 (syms_of_xselect): Intern and staticpro it.
2838 (selection_data_to_lisp_data): Run post-read-conversion on decoded
2839 selection text.
2840 (lisp_data_to_selection_data): If next-selection-coding-system is
2841 compound-text-no-extensions, set the type of selection to be
2842 compound-text.
2843
2844 * xterm.h (x_encode_text): Update prototype.
2845
2846 * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all
2847 callers changed. If SELECTIONP is non-zero, run the
2848 pre-write-conversion function before encoding the selection text.
2849
28502002-02-21 Kim F. Storm <storm@cua.dk>
2851
2852 * frame.c (syms_of_frame): Change mouse-highlight default to t.
2853
2854 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]:
2855 Correct composing of language-change event.
2856
28572002-02-20 Kim F. Storm <storm@cua.dk>
2858
2859 * keyboard.c (menu_bar_items): Don't include keymap or local-map
2860 bindings at PT when building menu (the menu is not updated often
2861 enough for this to work reliable).
2862 (tool_bar_items): Likewise.
2863 (current_active_maps): Removed unused (and buggy) function.
2864
28652002-02-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
2866
2867 * xfns.c (gif_load): Use correct width and height for GIF images.
2868
28692002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
2870
2871 * floatfns.c (Fatan): Accept an optional second arg and call
2872 atan2 if passed 2 args.
2873
28742002-02-18 Jason Rumney <jasonr@gnu.org>
2875
2876 * w32term.c (glyph_rect): Determine the row and glyph more precisely.
2877
28782002-02-17 Jason Rumney <jasonr@gnu.org>
2879
2880 * w32term.c (x_autoselect_window_p): New variable.
2881 (syms_of_w32term): DEFVAR_BOOL and initialize it.
2882 (note_mouse_movement): Use it.
2883
2884 * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero.
2885
2886 * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p.
2887
2888 * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
2889 New variables.
2890 (syms_of_w32fns): Intern and staticpro them.
2891 (x_frame_parms) <"fullscreen">: New parameter.
2892 (x_fullscreen_move, x_set_fullscreen): New functions.
2893 (x_set_frame_parameters): Support Qfullscreen.
2894 (x_real_positions): Save x/y_pixels_diff frame params.
2895 (x_figure_window_size): Support full-screen frames.
2896 (Fx_create_frame): Default the fullscreen parameter.
2897
2898 * w32term.c (x_check_fullscreen, x_check_fullscreen_move)
2899 (x_fullscreen_adjust): New functions.
2900 (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
2901 fullscreen. Call x_check_fullscreen_move, and set the
2902 want_fullscreen member of output_data.w32
2903 <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
2904
2905 * w32term.h: New enum for FULLSCREEN_* constants.
2906 (struct w32_output): New members want_fullscreen, x_pixels_diff,
2907 y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff.
2908 (x-fullscreen-adjust): New prototype.
2909
29102002-02-17 Kim F. Storm <storm@cua.dk>
2911
2912 * frame.c: (Vmouse_highlight): New variable.
2913 (syms_of_frame): DEFVAR_LISP it.
2914
2915 * frame.h: (Vmouse_highlight): Declare extern.
2916
2917 * xterm.h (struct x_display_info): Add mouse_face_hidden.
2918
2919 * xterm.c (disable_mouse_highlight): Removed variable.
2920 (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
2921 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2922 (XTread_socket): Turn mouse_face_hidden off after mouse movement,
2923 and on after keyboard input.
2924 (x_term_init): Initialize mouse_face_hidden.
2925
2926 * msdos.h (struct display_info): Add mouse_face_hidden.
2927
2928 * msdos.c (disable_mouse_highlight): Removed variable.
2929 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2930 (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
2931 (internal_terminal_init): Initialize mouse_face_hidden.
2932 (dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
2933 and on after keyboard input.
2934
2935 * w32term.h (struct w32_display_info): Add mouse_face_hidden.
2936
2937 * w32term.c (disable_mouse_highlight): Removed variable.
2938 (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
2939 (show_mouse_face): Don't show highlight if mouse_face_hidden is set.
2940 (w32_read_socket): Turn mouse_face_hidden off after mouse movement,
2941 and on after keyboard input.
2942 (w32_initialize_display_info): Initialize mouse_face_hidden.
2943
29442002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
2945
2946 * msdos.c (last_mouse_window): New variable.
2947 (dos_rawgetc): Fix last change--if the mouse is in the same window
2948 as recorded in last_mouse_window, don't select this window.
2949
2950 * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el.
2951
2952 * msdos.c (x_autoselect_window_p): New variable.
2953 (syms_of_msdos): Defvar it.
2954 (dos_rawgetc): If x_autoselect_window_p is set, select the window
2955 in which the last mouse movement occured, unless it is already
2956 selected.
077907d4 2957
77d1daf2
AS
2958 * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step):
2959 New variables.
2960 (syms_of_xdisp): DEVFAR them.
2961 (hscroll_window_tree): Use automatic_hscroll_margin and
2962 Vautomatic_hscroll_step to compute the amount of window scrolling.
1756e2fb 2963
77d1daf2 29642002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1756e2fb 2965
77d1daf2
AS
2966 * xterm.c (x-autoselect-window): New variable.
2967 (note_mouse_movement): Use it.
06e8f738 2968
77d1daf2 2969 * keyboard.c: Do not include "systime.h" twice.
06e8f738 2970
77d1daf2 29712002-02-15 Andreas Schwab <schwab@suse.de>
fa336b91 2972
77d1daf2 2973 * puresize.h (BASE_PURESIZE): Increase to 9/5.
fa336b91 2974
77d1daf2 2975 * alloc.c (NSTATICS): Increase to 1280.
fa336b91 2976
77d1daf2 29772002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
fa336b91 2978
77d1daf2 2979 * alloc.c (NSTATICS): Bump to 1026.
fa336b91 2980
77d1daf2
AS
2981 * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
2982 (Vx_super_keysym): New variables.
2983 (syms_of_xterm): DEFVAR_LISP them.
2984 (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the
2985 variables to determine which keys to use for the various modifiers.
fa336b91 2986
77d1daf2 29872002-02-13 Kim F. Storm <storm@cua.dk>
fa336b91 2988
77d1daf2
AS
2989 * window.c: (Vmode_line_in_non_selected_windows): Removed.
2990 (mode_line_in_non_selected_windows): New variable.
2991 (syms_of_window): DEFVAR_BOOL it.
fa336b91 2992
77d1daf2
AS
2993 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3):
2994 Use mode_line_in_non_selected_windows.
2995 (mode_line_in_non_selected_windows): Declare extern.
2996 (Vmode_line_in_non_selected_windows): Removed extern.
fa336b91 2997
77d1daf2 29982002-02-13 Richard M. Stallman <rms@gnu.org>
fa336b91 2999
77d1daf2
AS
3000 * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector)
3001 (Fthis_single_command_keys, Fthis_single_command_raw_keys)
3002 (Fclear_this_command_keys): Doc fixes.
fa336b91 3003
77d1daf2
AS
3004 * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
3005 (update_face_from_frame_parameter): Increment face_change_count
3006 and windows_or_buffers_changed to force redisplay using changed faces.
fa336b91 3007
77d1daf2
AS
3008 * xdisp.c (QCpropertize): New variable.
3009 (mode_line_proptrans_alist): New variable.
3010 (display_mode_element): New arg PROPS; all calls changed.
3011 Implement this, for strings.
3012 Handle literal output of strings by sharing the
3013 main-line code for strings, using local var `literal'.
3014 Handle :propertize feature.
3015 (syms_of_xdisp): Initialze and staticpro QCpropertize and
3016 mode_line_proptrans_alist.
06e8f738 3017
77d1daf2 30182002-02-11 Kim F. Storm <storm@cua.dk>
06e8f738 3019
77d1daf2
AS
3020 * window.c: (Vmode_line_in_non_selected_windows): New variable.
3021 (syms_of_window): DEFVAR_LISP it.
9ce647f4 3022
77d1daf2
AS
3023 * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro.
3024 (CURRENT_MODE_LINE_FACE_ID): Use it.
3025 (Vmode_line_in_non_selected_windows): Declare extern.
9ce647f4 3026
77d1daf2
AS
3027 * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3
3028 to get mode line face.
9b784ab8 3029
77d1daf2 30302002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
9f7e52b4 3031
77d1daf2
AS
3032 * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these
3033 variables; cus-start.el doesn't need them anymore.
9f7e52b4 3034
77d1daf2 30352002-02-09 Kim F. Storm <storm@cua.dk>
9f7e52b4 3036
77d1daf2
AS
3037 * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap
3038 reduction. This fixes a display problem where stray newlines were
3039 inserted in the window (corrected by C-l). Clarified code (IMHO).
fa336b91 3040
77d1daf2 30412002-02-09 Eli Zaretskii <eliz@is.elta.co.il>
34e5d0af 3042
77d1daf2 3043 * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change.
9b784ab8 3044
77d1daf2 3045 * xdisp.c (display_mode_lines): Fix last change.
89512fcd 3046
77d1daf2 30472002-02-09 Jason Rumney <jasonr@gnu.org>
89512fcd 3048
77d1daf2
AS
3049 * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows
3050 match each other.
3051 (w32_load_system_font): Prevent Cleartype fonts from loading.
3052 (Fx_show_tip): Ensure tip frames are above other topmost windows.
7d18891d 3053
77d1daf2 30542002-02-09 Kim F. Storm <storm@cua.dk>
d2936d21 3055
77d1daf2
AS
3056 * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro.
3057 (CURRENT_MODE_LINE_HEIGHT): Use it.
3058 (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID.
7d18891d 3059
77d1daf2
AS
3060 * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID.
3061 (pos_visible_p, handle_face_prop): Likewise.
3062 (display_mode_lines): Likewise, but for the real selected window.
3063 (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID.
7d18891d 3064
77d1daf2
AS
3065 * xfaces.c (Qmode_line_inactive): New face variable for mode-line
3066 in non-selected windows.
3067 (realize_basic_faces): Realize it.
3068 (syms_of_term): Intern and staticpro it.
7d18891d 3069
77d1daf2 30702002-02-08 Kim F. Storm <storm@cua.dk>
7d18891d 3071
77d1daf2
AS
3072 * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):
3073 Changed mail addresses to emacs-devel@gnu.org.
7d18891d 3074
77d1daf2 30752002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7d18891d 3076
77d1daf2
AS
3077 * fileio.c (Fsubstitute_in_file_name): If the file name includes
3078 ~user, and there's no such user, don't discard everything before ~user.
7d18891d 3079
77d1daf2 3080 * floatfns.c (Fround): Doc fix.
7d18891d 3081
77d1daf2 30822002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7d18891d 3083
77d1daf2 3084 * sysdep.c (init_system_name): Put unused variable `p' in #if 0.
7d18891d 3085
77d1daf2 30862002-02-07 Stefan Monnier <monnier@cs.yale.edu>
7d18891d 3087
77d1daf2 3088 * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c).
7d18891d 3089
77d1daf2 30902002-02-07 Kim F. Storm <storm@cua.dk>
7d18891d 3091
77d1daf2
AS
3092 * keymap.c (where_is_internal): Only check whether definition is
3093 remapped if it fulfills is_command_symbol.
9474c847 3094
77d1daf2 30952002-02-07 Andreas Schwab <schwab@suse.de>
9474c847 3096
77d1daf2 3097 * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k.
e3059a5d 3098
77d1daf2 3099 * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4.
e3059a5d 3100
77d1daf2 31012002-02-06 Kim F. Storm <storm@cua.dk>
e3059a5d 3102
77d1daf2
AS
3103 * keymap.c (Fdefine_key): Allow symbol as KEY argument for
3104 defining command remapping. Doc updated.
3105 (Flookup_key): Remap command through keymap if KEY is a symbol.
3106 (is_command_symbol): New function.
3107 (Fkey_binding): Use it. New optional argument NO-REMAP.
3108 Doc updated. Callers changed. Perform command remapping via
3109 recursive call unless that arg is non-nil.
3110 (where_is_internal): New argument no_remap. Callers changed.
3111 Call recursively to find original key bindings for a remapped
3112 comand unless that arg is non-nil.
3113 (Fwhere_is_internal): New optional argument NO-REMAP.
3114 Doc updated. Callers changed. Pass arg to where_is_internal.
b3700ae7 3115
77d1daf2
AS
3116 * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype.
3117 (is_command_symbol): Added prototype.
b3700ae7 3118
77d1daf2
AS
3119 * keyboard.c (Vthis_original_command): New variable.
3120 (syms_of_keyboard): DEFVAR_LISP it.
3121 (command_loop_1): Set it, and perform command remapping.
eae936e2 3122
77d1daf2 31232002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4bb962be 3124
77d1daf2 3125 * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally.
ddb67bdc 3126
77d1daf2 31272002-02-06 Jason Rumney <jasonr@gnu.org>
3467c402 3128
77d1daf2 3129 * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change.
3467c402 3130
77d1daf2 31312002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
6e1b91d7 3132
77d1daf2 3133 * charset.c (get_charset_id): Use if-else instead of ?:.
1c1d3d69 3134
77d1daf2 31352002-02-06 Richard M. Stallman <rms@gnu.org>
1c1d3d69 3136
77d1daf2 3137 * filelock.c (S_ISLNK): Define if not defined.
b6f4c7ba 3138
77d1daf2 31392002-02-03 Richard M. Stallman <rms@gnu.org>
b6f4c7ba 3140
77d1daf2 3141 * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg.
b6f4c7ba 3142
77d1daf2
AS
3143 * lread.c (read1): Redesign strategy for force_multibyte and
3144 force_singlebyte. Now is_multibyte records whether read_buffer
3145 is multibyte. Encountering any multibyte character makes it so.
a89f435d 3146
77d1daf2 31472002-02-02 Stefan Monnier <monnier@cs.yale.edu>
a89f435d 3148
77d1daf2
AS
3149 * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and
3150 with the same sequence, map that sequence to f10 rather than f0.
a4cd0cd7 3151
77d1daf2 31522002-02-03 Andreas Schwab <schwab@suse.de>
eafb659a 3153
77d1daf2
AS
3154 * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the
3155 latter never being defined on GNU/Linux.
eafb659a 3156
77d1daf2 31572002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
a4cd0cd7 3158
77d1daf2
AS
3159 * xfaces.c (realize_default_face): Don't set the weight and slant of
3160 the default face to Qnormal, unless these attributes are unspecified.
a4cd0cd7 3161
77d1daf2 31622002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
a4cd0cd7 3163
77d1daf2
AS
3164 * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]:
3165 Call cancel_hourglass unconditionally.
a4cd0cd7 3166
77d1daf2
AS
3167 * eval.c (Fsignal): Remove duplicated declaration of
3168 the variable `display_hourglass_p'.
a4cd0cd7 3169
77d1daf2 31702002-01-31 Richard M. Stallman <rms@gnu.org>
91823618 3171
77d1daf2 3172 * editfns.c (region_limit): Nicer error message.
91823618 3173
77d1daf2
AS
3174 * coding.c (decode_composition_emacs_mule):
3175 Give up if NCOMPONENT gets too large to index `component'.
86928dfb 3176
77d1daf2
AS
3177 * callint.c (check_mark): New arg to specify clearer error message.
3178 Callers changed.
86928dfb 3179
77d1daf2 31802002-01-27 Richard M. Stallman <rms@gnu.org>
40ef1eda 3181
77d1daf2 3182 * minibuf.c (Fcompleting_read): Doc fix.
ab8469eb 3183
77d1daf2 31842002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
a78e0303 3185
77d1daf2
AS
3186 * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function)
3187 (Fread_variable, Fread_buffer, minibuffer-completion-confirm):
3188 Fix doc-strings.
40ef1eda 3189
77d1daf2 31902002-01-26 Richard M. Stallman <rms@gnu.org>
fabf4a91 3191
77d1daf2 3192 * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively.
0c99b139 3193
77d1daf2
AS
3194 * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively
3195 and scroll_up_aggressively.
0c99b139 3196
77d1daf2 31972002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
830ddd77 3198
77d1daf2 3199 * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes.
830ddd77 3200
77d1daf2 32012002-01-25 Stefan Monnier <monnier@cs.yale.edu>
55c6d645 3202
77d1daf2
AS
3203 * textprop.c (Fnext_property_change, Fnext_single_property_change)
3204 (Fprevious_property_change, Fprevious_single_property_change):
3205 Stay within the narrowed-buffer boundaries.
55c6d645 3206
77d1daf2 32072002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
5de38842 3208
77d1daf2
AS
3209 * term.c (Ftty_display_color_cells): New function.
3210 (syms_of_term): Defsubr it.
3211 (Ftty_display_color_cells, Ftty_display_color_p): Change the
3212 argument name to DISPLAY. Doc fix.
7a4564a4 3213
77d1daf2
AS
3214 * dispextern.h: Add prototype for set_tty_color_mode and
3215 tty_setup_colors.
5de38842 3216
77d1daf2 32172002-01-24 Jason Rumney <jasonr@gnu.org>
4fa23df5 3218
77d1daf2
AS
3219 * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt.
3220 If region left to draw is not what was expected, mark the frame as
3221 garbaged.
4fa23df5 3222
77d1daf2
AS
3223 * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect.
3224 Combine the regions returned by BeginPaint and GetUpdateRect.
7a6a97d7 3225
77d1daf2 32262002-01-23 Jason Rumney <jasonr@gnu.org>
c191d13c 3227
77d1daf2
AS
3228 * w32term.c (x_update_window_begin): Only hide caret if
3229 w32_use_visible_system_caret is set.
3230 (x_update_window_end): Only show caret if
3231 w32_use_visible_system_caret is set.
3232 (syms_of_w32term): Handle SystemParametersInfo call failing.
7a6a97d7 3233
77d1daf2 3234 * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd.
44dc78e0 3235
77d1daf2 32362002-01-22 Richard M. Stallman <rms@gnu.org>
44dc78e0 3237
77d1daf2
AS
3238 * unexelf.c (unexec): Define n so as to cause compilation error
3239 for the code where people have often written n instead of nn.
17893c65 3240
77d1daf2 3241 * .gdbinit (hookpost-run): Defined.
4d994a79 3242
77d1daf2 32432002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
d5360cc7 3244
77d1daf2 3245 * xfns.c (x_set_frame_parameters): Typo in previous fix corrected.
d5360cc7 3246
77d1daf2 32472002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
d5360cc7 3248
77d1daf2
AS
3249 * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust
3250 if fullscreen is being set.
96238a5a 3251
77d1daf2 32522002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
96238a5a 3253
77d1daf2
AS
3254 * minibuf.c (Fminibuffer_contents)
3255 (Fminibuffer_contents_no_properties, Fread_from_minibuffer)
3256 (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes.
d9d54213 3257
77d1daf2 32582002-01-21 Richard M. Stallman <rms@gnu.org>
d9d54213 3259
77d1daf2 3260 * window.c (check_frame_size): Fix minimum height calculation.
b116830b 3261
77d1daf2 32622002-01-20 Ken Raeburn <raeburn@gnu.org>
b116830b 3263
77d1daf2
AS
3264 * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window
3265 height before comparison.
3266 (WINDOW_WANTS_HEADER_LINE_P): Likewise.
3297e2a1 3267
77d1daf2 32682002-01-20 Jason Rumney <jasonr@gnu.org>
3297e2a1 3269
77d1daf2
AS
3270 * w32term.c (w32_system_caret_width): Remove.
3271 (w32_use_visible_system_caret): New user flag.
3272 (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether
3273 Windows reports a screen reader running.
3274 (x_update_window_begin): Hide the system caret.
3275 (x_update_window_end): Show the system caret.
3276 (x_display_and_set_cursor): Don't draw a cursor when
3277 w32_use_visible_system_caret is set. Do not adjust width.
6fb8339c 3278
77d1daf2
AS
3279 * w32fns.c (w32_visible_system_caret_hwnd): New static variable.
3280 (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
3281 <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
3282 the user requests it. Use system default width when creating.
3283 <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
6fb8339c 3284
77d1daf2
AS
3285 * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET):
3286 New window messages.
7dd73b78 3287
77d1daf2 32882002-01-20 Richard M. Stallman <rms@gnu.org>
7dd73b78 3289
77d1daf2 3290 * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1.
982f6c7e 3291
77d1daf2 32922002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
d31053f9 3293
77d1daf2 3294 * doprnt.c (doprnt1): Fix typos in error call.
d31053f9 3295
77d1daf2 32962002-01-20 Eli Zaretskii <eliz@is.elta.co.il>
d31053f9 3297
77d1daf2 3298 * unexelf.c (unexec) [__sgi]: Support the .got sections.
d31053f9 3299
77d1daf2 33002002-01-20 Jason Rumney <jasonr@gnu.org>
d31053f9 3301
77d1daf2
AS
3302 * w32term.c (w32_native_per_char_metric): Don't trust the metrics
3303 that Windows returns. If a double check fails, try to guess how
3304 ExtTextOut is going to act.
982f6c7e 3305
77d1daf2
AS
3306 * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp
3307 in place of stricmp.
3308 (w32_list_synthesized_fonts): Removed.
3309 (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
3310 (struct enumfont_t): New element; list.
3311 (enum_font_cb2): List all style and charset variations of a font.
3312 (Fw32_select_font): New optional argument; include_proportional.
3313 Exclude vertical fonts. Exclude proportional fonts unless
3314 include_proportional is non-nil.
3315 (w32_enable_synthesized_fonts): Change to a boolean.
3316 (Fw32_send_sys_command): Doc fix.
830047fd 3317
77d1daf2 33182002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
b116830b 3319
77d1daf2
AS
3320 * dispnew.c (update_frame): Move the variable `tem' to the block
3321 where it is used.
830047fd 3322
77d1daf2 33232002-01-19 Jason Rumney <jasonr@gnu.org>
b116830b 3324
77d1daf2
AS
3325 * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
3326 call to face-set-after-frame-default.
2df5238c 3327
77d1daf2 33282002-01-18 Richard M. Stallman <rms@gnu.org>
4e397688 3329
77d1daf2
AS
3330 * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1.
3331 (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room.
48b0f3ae 3332
77d1daf2 33332002-01-17 Richard M. Stallman <rms@gnu.org>
2df5238c 3334
77d1daf2
AS
3335 * window.c (enlarge_window): When exceeding size of parent,
3336 directly delete all the siblings instead of trying to resize it.
3ecaf7e5 3337
77d1daf2 33382002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3ecaf7e5 3339
77d1daf2 3340 * term.c (set_tty_color_mode): Remove unused variable `tem'.
3ecaf7e5 3341
77d1daf2 33422002-01-16 Henrik Enberg <henrik@enberg.org>
3ecaf7e5 3343
77d1daf2 3344 * lread.c (init_lread): Move the installed-lisp dirs later in the path.
8db2e33b 3345
77d1daf2 33462002-01-16 Kim F. Storm <storm@cua.dk>
8db2e33b 3347
77d1daf2
AS
3348 * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row
3349 is invisible. This can happen if cursor is on top line of a
3350 window, and we switch to a buffer with a header line.
aed29b97 3351
77d1daf2 3352 * w32term.c (x_erase_phys_cursor): Ditto.
aed29b97 3353
77d1daf2 33542002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
aed29b97 3355
77d1daf2
AS
3356 * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of
3357 `dont_resize' only when used.
6cb16f95 3358
77d1daf2 3359 * xdisp.c: Remove forgotten extern declaration of `Qimage'.
1b1acc13 3360
77d1daf2 33612002-01-15 Eli Zaretskii <eliz@is.elta.co.il>
020f9b38 3362
77d1daf2
AS
3363 * xdisp.c (display_mode_element): When computing charpos, depend
3364 on multibyteness of elt, not the text in field.
020f9b38 3365
77d1daf2 33662002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6cb16f95 3367
77d1daf2
AS
3368 * buffer.c (Fkill_all_local_variables):
3369 Increment `update_mode_lines' only once.
6cb16f95 3370
77d1daf2 33712002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6cb16f95 3372
77d1daf2
AS
3373 * lisp.h (adjust_after_replace_noundo)
3374 (Fupdate_coding_systems_internal): Add prototypes.
6cb16f95 3375
77d1daf2 3376 * sound.c (Fplay_sound): Initialize header_size also for :data case.
7e9d3c2f 3377
77d1daf2 33782002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
7e9d3c2f 3379
77d1daf2
AS
3380 Support for the --color command-line argument and tty-color-mode
3381 frame parameter:
7e9d3c2f 3382
77d1daf2
AS
3383 * term.c (tty_default_color_capabilities, tty_setup_colors)
3384 (set_tty_color_mode): New functions.
3385 (term_init): Call tty_default_color_capabilities.
3386 (Qtty_color_mode_alist): New variable.
3387 (syms_of_term): Intern and staticpro it.
e6bff182 3388
77d1daf2
AS
3389 * frame.c (store_frame_param): Call set_tty_color_mode for termcap
3390 frames.
3391 (do_switch_frame): For termcap frames, switch the tty
3392 color mode as specified by the frame's parameters.
3393 (Qtty_color_mode): New variable.
3394 (syms_of_frame): Intern and staticpro it.
e6bff182 3395
77d1daf2
AS
3396 * emacs.c (USAGE2): Add the --color option.
3397 (standard_args): Ditto.
9ba48103 3398
77d1daf2 33992002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
9ba48103 3400
77d1daf2
AS
3401 * xterm.h (struct x_output): New members want_fullscreen,
3402 x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and
3403 y_pixels_outer_diff.
3404 New enum for FULLSCREEN_* constants.
3405 (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget
3406 is NULL.
3407 (x_fullscreen_adjust): Add prototype.
9ba48103 3408
77d1daf2
AS
3409 * emacs.c (USAGE2): Add the new full-screen arguments.
3410 (standard_args): Ditto.
9ba48103 3411
77d1daf2
AS
3412 * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
3413 New variables.
3414 (syms_of_xfns): Intern and staticpro them.
3415 (x_frame_parms) <"fullscreen">: New parameter.
3416 (x_fullscreen_move, x_set_fullscreen): New functions.
3417 (x_set_frame_parameters): Support for Qfullscreen.
3418 (x_real_positions): More accurate computation of the frame position.
3419 (x_figure_window_size): Support full-screen frames.
3420 (Fx_create_frame): Default the fullscreen parameter.
c22e59e1 3421
77d1daf2
AS
3422 * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions.
3423 (XTread_socket) <Expose>: Call x_check_fullscreen.
3424 <ConfigureNotify>: Don't resize to fullscreen.
3425 Call x_check_fullscreen_move, and set the want_fullscreen member of
3426 output_data.x.
c22e59e1 3427
77d1daf2 34282002-01-13 Jason Rumney <jasonr@gnu.org>
9271ed2c 3429
77d1daf2
AS
3430 * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages
3431 for mice with more than 3 buttons.
e6bff182 3432
77d1daf2
AS
3433 * w32term.c (parse_button): New parameter xbutton. Callers changed.
3434 (w32_read_socket): Handle new "XBUTTON" messages.
e6bff182 3435
77d1daf2 3436 * w32fns.
9271ed2c
RS
3437 bindings along with or instead of the buffer local map.
3438 Make the overriding maps override what they should.
3439
f00691a3 34402001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8b8bd9c6
PJ
3441
3442 * window.c (grow_mini_window): Fix typo in comment.
3443
27188d11
GM
34442001-11-01 Gerd Moellmann <gerd@gnu.org>
3445
7b49b9d2
GM
3446 * xterm.c (x_scroll_bar_create): Check for width and height > 0.
3447 (XTset_vertical_scroll_bar): Likewise.
3448
43f7c3ea
GM
3449 * xfns.c (x_build_heuristic_mask): Use four_corners_best
3450 instead of IMAGE_BACKGROUND.
c22e59e1 3451
b350c2e5
GM
3452 * xfns.c (four_corners_best): Reindent.
3453
c22e59e1 3454 * xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
27188d11
GM
3455 Handle :box so that it is possible to specify sexprs.
3456
bf00d461
EZ
34572001-10-31 Eli Zaretskii <eliz@is.elta.co.il>
3458
3459 * s/hpux11.h: New file.
3460
f00691a3 34612001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4e10df59 3462
2b209b97
PJ
3463 * emacs.c (USAGE1): Show command line option --no-window-system
3464 instead of --no-windows in usage.
3465 (standard_args): Rename --no-windows to --no-window-system.
3466 (bug_reporting_address): Follow Emacs coding conventions.
3467
9dbc9081
PJ
3468 * eval.c (Fcommandp): Doc fix.
3469 Change doc-string comments to `new style' [w/`doc:' keyword].
3470
4e10df59
PJ
3471 * frame.c (Fframe_live_p): Doc fix.
3472
3473 * buffer.c (selective-display-ellipses): Doc fix.
3474
dd387b25
GM
34752001-10-31 Gerd Moellmann <gerd@gnu.org>
3476
fe957e65
GM
3477 * lread.c (to_multibyte): Fix computation of new read_buffer_size.
3478
dd387b25
GM
3479 * xfaces.c (realize_x_face): If C is not a single-byte character,
3480 set the face's colors_copied_bitwise_p instead of the defaulted_p
3481 members which have a different meaning.
3482 (free_face_colors): Do nothing for a face whose colors have been
3483 copied bitwise.
3484
c22e59e1 3485 * dispextern.h (struct face) <colors_copied_bitwise_p>: New member.
dd387b25 3486
f00691a3 34872001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2e1280f8 3488
687784e8
PJ
3489 * marker.c, mocklisp.c: Change doc-string comments to `new style'
3490 [w/`doc:' keyword].
2e1280f8 3491
b9d9a9b9
GM
34922001-10-31 Gerd Moellmann <gerd@gnu.org>
3493
3494 * fns.c (require_unwind): Return Lisp_Object.
3495
f00691a3 34962001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
48400103 3497
fa1361cb
PJ
3498 * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix.
3499 (last-input-char): Revert doc-string to be the same as the
3500 doc-string of `last-input-event'.
3501
6c465a15 3502 * xdisp.c: Fix typos in comments.
48400103 3503
eafa3196
GM
35042001-10-31 Gerd Moellmann <gerd@gnu.org>
3505
3506 * window.c (grow_mini_window): Handle case that the root
3507 window is already smaller than the nominal mininum height.
3508
747d3f2a
SM
35092001-10-30 Stefan Monnier <monnier@cs.yale.edu>
3510
bf9bb76f
SM
3511 * emacs.c (main): Don't call keys_of_macros any more.
3512
3513 * lisp.h (keys_of_macros): Remove.
3514
3515 * macros.c (keys_of_macros): Remove.
3516
747d3f2a
SM
3517 * xfaces.c (Fface_attribute_relative_p): Declare args.
3518
5e905a57
JR
35192001-10-30 Jason Rumney <jasonr@gnu.org>
3520
3521 * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer.
3522 (enum_font_cb2): Ignore fonts with vertical orientation.
3523
3a426197
RS
35242001-10-30 Richard M. Stallman <rms@gnu.org>
3525
3526 * keyboard.c (Finput_pending_p): Doc fix.
3527
a742d646
GM
35282001-10-30 Gerd Moellmann <gerd@gnu.org>
3529
259cf6bc
GM
3530 * xterm.c (x_after_update_window_line): Don't run the code
3531 clearing in borders for rows whose visible height is 0.
3532
3f99f948
GM
3533 * xdisp.c (clear_garbaged_frames): Redraw the frame only if its
3534 resized_p flag is set. If not set, use the much less flickering
3535 method previously used.
3536
3537 * dispnew.c (change_frame_size_1): Set frame's resized_p.
3538
3539 * frame.h (struct frame) <resized_p>: New member.
3540
b4a3be43
GM
3541 * lread.c (to_multibyte): Ensure read_buffer is at least twice
3542 as large as the number of bytes to convert.
747d3f2a 3543
a742d646
GM
3544 * lread.c (to_multibyte): New function.
3545 (read1): Use it.
3546
cacbb9e9
EZ
35472001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
3548
3549 * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c).
3550
99cb6b2f
GM
35512001-10-30 Gerd Moellmann <gerd@gnu.org>
3552
327f42ee 3553 * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel.
747d3f2a
SM
3554 (x_set_glyph_string_background_width): Set extends_to_end_of_line_p
3555 if the row's fill_line_p is set and drawing the last glyph with
3556 DRAW_IMAGE_{RAISED,SUNKEN}.
327f42ee 3557
99cb6b2f
GM
3558 * xdisp.c (clear_garbaged_frames): Call Fredraw_frame.
3559
8e8223e2
SM
35602001-10-29 Stefan Monnier <monnier@cs.yale.edu>
3561
3562 * xmenu.c: Include coding.h and charset.h.
3563 (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT.
3564 (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part.
3565 (single_submenu, xmenu_show): Use ENCODE_SYSTEM.
3566 Explicitly set wv->help. Use `TRUE' rather than `True'.
3567 (menu_help_callback): Use empty_string.
3568
3569 * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos.
3570 (Fx_popup_dialog): Explicitly init f.
3571 (w32_menu_display_help): Use empty_string.
3572
4d083a8f
RS
35732001-10-29 Richard M. Stallman <rms@gnu.org>
3574
b2304472
RS
3575 * fns.c (Frequire): Detect recursive try to require the same
3576 feature 3 or more levels deep, and get error.
3577 (require_unwind): New subroutine.
3578 (require_nesting_list): New variable.
3579 (syms_of_fns): Init and staticpro it.
3580
4d083a8f
RS
3581 * print.c (print_object): Clarify indication of insertion type.
3582
2fe41216
EZ
35832001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
3584
90480000
EZ
3585 * coding.c (syms_of_coding): Document that locale-coding-system is
3586 used for decoding input on X.
3587
2fe41216
EZ
3588 * window.c (Fscroll_left, Fscroll_right): Doc fix.
3589
f00691a3 35902001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
74e79967
PJ
3591
3592 * keyboard.c (Finput_pending_p): Fix typo in doc-string.
3593 (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it.
3594
60ebcfe8
GM
35952001-10-29 Gerd Moellmann <gerd@gnu.org>
3596
9a7bdceb
GM
3597 * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
3598 use NO_CURSOR if cursor_in_non_selected_windows is false.
3599
3f08fcd2
GM
3600 * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
3601 the slant attribute if FRAME is t.
3602
0ccfdad2
GM
3603 * xfns.c (x_set_internal_border_width): Set frame garbaged
3604 when X window doesn't exist yet.
3605
ef253080
GM
3606 * xterm.c (x_after_update_window_line): Clear internal border
3607 in different circumstances.
b116830b 3608
60ebcfe8
GM
3609 * xterm.c (XTread_socket) <KeyPress>: Don't use
3610 STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa
3611 <handa@etl.go.jp>.
3612
73d25f9c
EZ
36132001-10-28 Eli Zaretskii <eliz@is.elta.co.il>
3614
3615 * m/ibms390.h: New file. From Adam Thornton
3616 <athornton@sinenomine.net>.
3617
cac1daf0
GM
36182001-10-28 Gerd Moellmann <gerd@gnu.org>
3619
053b3256 3620 * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color.
b116830b 3621
cac1daf0
GM
3622 * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
3623 a loop counter.
3624
f00691a3 36252001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
13b1a09c 3626
186486eb
PJ
3627 * emacs.c: Use argv[0] instead of emacs when -t was specified.
3628
4707d2d0
PJ
3629 * keyboard.c: Change doc-string comments to `new style' [w/`doc:'
3630 keyword].
3631 Fix typos in comments.
b116830b 3632
d883731c
PJ
3633 * emacs.c (bug_reporting_address): New function.
3634 Use it when displaying usage message.
3635
04012254
PJ
3636 * minibuf.c (read_minibuf): Remove unused external declaration of
3637 variable `Qread_only'.
3638
13b1a09c
PJ
3639 * keymap.c (access_keymap): Remove unused variable `charset'.
3640
5bbf4378
MB
36412001-10-28 Miles Bader <miles@gnu.org>
3642
3643 * xfaces.c (merge_face_heights): Handle TO being relative as well.
3644 Remove #ifdef'd-out code.
3645 (Fface_attribute_relative_p, Fmerge_face_attribute): New functions.
3646 (syms_of_xfaces): Initialize them.
3647
1ce1e4ee
JR
36482001-10-27 Jason Rumney <jasonr@gnu.org>
3649
3650 * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret.
3651 <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor
3652 position using the system caret.
3653
3654 * w32term.c (w32_system_caret_hwnd, w32_system_caret_width)
3655 (w32_system_caret_height, w32_system_caret_x)
3656 (w32_system_caret_y): New variables for tracking system caret.
3657 (w32_initialize): Initialize them.
c2d53558 3658 (x_display_and_set_cursor): Make system caret follow the active cursor.
1ce1e4ee 3659
c2d53558
SM
3660 * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET):
3661 New messages types.
1ce1e4ee
JR
3662
3663 * w32term.c (note_mouse_highlight): Clear old help_echo.
3664
f00691a3 36652001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4e30ce42 3666
bb4600a4
PJ
3667 * xterm.c: Fix typo in a comment.
3668
7db35a48
PJ
3669 * emacs.c: Fix typos in comments.
3670 Remove unnecessary spaces.
3671 Change doc-string comments to `new style' [w/`doc:' keyword].
3672 (USAGE2): Fix typos in usage string.
3673
a7248e4f
PJ
3674 * xterm.c: Fix typo in a comment.
3675
4e30ce42
PJ
3676 * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in
3677 emacs.c.
3678
62725a92
GM
36792001-10-27 Gerd Moellmann <gerd@gnu.org>
3680
798dbe1f 3681 * xdisp.c (move_it_vertically_backward): Use 2/3 line_height
c2d53558 3682 instead of 1/2 line_height in the heuristic for skipping
798dbe1f
GM
3683 farther backward when target_y was not reached.
3684
62725a92
GM
3685 * sound.c (sound_perror): Unblock SIGIO, turn on atimers.
3686 Display errno only if non-zero.
3687 (sound_warning): New function.
3688 (vox_configure): Don't treat failing to set sample rate as error.
3689 (various places): Improve error messages.
3690
d4e34d24
EZ
36912001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
3692
944e6f60
EZ
3693 * fileio.c (Faccess_file): Run the argument filename through
3694 Fexpand_file_name, before using it.
3695
d4e34d24
EZ
3696 * dispnew.c (syms_of_display) <visible-bell>: Add a reference to
3697 ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no>
3698
38d2af0c
GM
36992001-10-26 Gerd Moellmann <gerd@gnu.org>
3700
da80a8d5
GM
3701 * insdel.c (insert_1_both): Do nothing if NCHARS == 0.
3702
38d2af0c
GM
3703 * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
3704 Fix clearing in the case of scroll bars on the right.
c2d53558 3705
45de4a6f 37062001-10-26 Juanma Barranquero <lektu@terra.es>
56f508dd
EZ
3707
3708 * w32gui.h (XImage): Add a dummy typedef.
3709
fbd5ceb2
GM
37102001-10-26 Gerd Moellmann <gerd@gnu.org>
3711
c2d53558 3712 * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison.
fbd5ceb2 3713
b23236fb
EZ
37142001-10-25 Eli Zaretskii <eliz@is.elta.co.il>
3715
3716 * frame.c (Fframe_parameter): Fix last change.
3717
5d991fc4
EZ
3718 * fileio.c: Revert last change (which removed old commented-out
3719 version of expand-file-name). Add a comment that explains why
3720 this old version should not be removed.
3721
879eadc3
GM
37222001-10-25 Gerd Moellmann <gerd@gnu.org>
3723
75700ff2
GM
3724 * frame.c (Fframe_parameter): Fix a bug whereby some
3725 ``artificial'' frame parameters, like `minibuffer' were not
3726 obtained by calling Fframe_parameters.
3727
dfe92a6a
GM
3728 * xterm.c (show_mouse_face): Clean up. Recognize overwritten
3729 cursor differently.
3730
879eadc3
GM
3731 * xdisp.c (move_it_vertically_backward): Compute line height
3732 differently. Add heuristic to try to be more compatible to 20.x.
3733
e1010ebe
SM
37342001-10-25 Stefan Monnier <monnier@cs.yale.edu>
3735
d73a471b
SM
3736 * lisp.h (make_fixnum_or_float): Coerce double to int explicitly.
3737
d6da5a06
GM
3738 * editfns.c (text_property_stickiness): Fix Lisp_Object used as
3739 boolean.
e1010ebe 3740
f66bd220
MB
37412001-10-25 Miles Bader <miles@gnu.org>
3742
3743 * xfns.c (png_load): Make sure SPECIFIED_BG is a string.
3744 BG is a pointer to a structure, not a structure.
3745 (gif_format, png_format): Add missing commas.
3746
d436d538
RS
37472001-10-24 Richard M. Stallman <rms@gnu.org>
3748
3749 * xfaces.c (Fface_attributes_as_vector): New function.
c2d53558 3750 (syms_of_xfaces): Defsubr it.
d436d538 3751
f00691a3 37522001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
075c507b
PJ
3753
3754 * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused
3755 variable `area'.
3756
f00691a3 37572001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
d492b584 3758
c2d53558 3759 * search.c (scan_newline): Remove unused variable `selective_display'.
d492b584 3760
e2a57b34
MB
37612001-10-25 Miles Bader <miles@gnu.org>
3762
3763 * dispextern.h (struct image): Add `background',
3764 `background_valid', and `background_transparent' fields.
3765 (image_background, image_background_transparent): New declarations.
3766 (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros.
3767 * xfns.c (image_background, image_background_transparent)
3768 (four_corners_best): New functions.
c2d53558 3769 (xpm_format, png_format, jpeg_format, tiff_format, gif_format)
e2a57b34
MB
3770 (gs_format): Add `:background' entry.
3771 (lookup_image): Set IMG's background color if specified.
3772 (pbm_load, xbm_load_image, png_load): Set IMG's background field
3773 when appropriate.
3774 (x_clear_image_1): Reset `background_valid' and
3775 `background_transparent_valid' fields.
3776 (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
3777 calculating it here. Set IMG's background_transparent field.
3778 (enum xpm_keyword_index): Add XPM_BACKGROUND.
3779 (enum png_keyword_index): Add PNG_BACKGROUND.
3780 (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
3781 (enum tiff_keyword_index): Add TIFF_BACKGROUND.
3782 (enum gif_keyword_index): Add GIF_BACKGROUND.
3783 (enum gs_keyword_index): Add GS_BACKGROUND.
c2d53558 3784 (pbm_load, png_load, jpeg_load, tiff_load, gif_load):
e2a57b34
MB
3785 Pre-calculate image background color where necessary.
3786 * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
3787 `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
3788 color to use for image glyph reliefs.
3789
b547b6e8
GM
37902001-10-24 Gerd Moellmann <gerd@gnu.org>
3791
d9e3b8c6
GM
3792 * xterm.c (x_draw_glyphs): Don't check for cursor overwriting
3793 in full-width rows.
c2d53558 3794
b547b6e8
GM
3795 * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
3796 Fix clearing of area not covered by scroll bar.
3797
f00691a3 37982001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2beb36f9
PJ
3799
3800 * xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
3801 and `real_start'.
c2d53558 3802 (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
2beb36f9
PJ
3803 (glyph_rect): Remove unused variable `area'.
3804
76cb5e06
GM
38052001-10-24 Gerd Moellmann <gerd@gnu.org>
3806
bdbdebff 3807 * xdisp.c: Change #ifdef GLYPH_DEBUG to #if.
c2d53558
SM
3808
3809 * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos.
3810 (row_containing_pos): Take additional argument DY.
3811 Treat rows ending in middle of char differently.
62e33982
GM
3812 (display_line): Handle tabs on window systems differently.
3813
3814 * xterm.c, w32term.c (fast_find_position): Call row_containing_pos
3815 with additional argument.
3816
3817 * dispextern.h (row_containing_pos): Adjust prototype.
3818
76cb5e06
GM
3819 * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing)
3820 (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
3821 (try_window_id, try_window_reusing_current_matrix)
3822 (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
6c465a15 3823 (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables.
76cb5e06 3824
f00691a3 38252001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
996fee11 3826
c9e60620
PJ
3827 * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of
3828 gnuemacs).
3829 (HAVE_BOXES): Fix typo in comment.
3830 (push_menu_pane): Fix typo in comment.
3831
3b552d56
PJ
3832 * xdisp.c: (display_prop_string_p): Remove unused local declaration
3833 of `Qwhen'.
3834 (single_display_prop_string_p): Remove unused local declarations
3835 of `Qwhen' and `Qmargin'.
3836 (string_buffer_position): Remove unused variable `around'.
3837 (store_frame_title): Remove unused variable `width'.
3838
15c565ac
PJ
3839 * window.c: Don't define max.
3840 (coordinates_in_window): Remove unused variable `uy'.
3841
a8818eb9
PJ
3842 * widget.c: Don't define max.
3843
996fee11
PJ
3844 * process.c: Don't define max.
3845 (create_process): Remove unused variable `buffer'.
3846
496e1a5b
GM
38472001-10-23 Gerd Moellmann <gerd@gnu.org>
3848
c2d53558 3849 * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error.
496e1a5b 3850
5905ae8b
EZ
38512001-10-23 Eli Zaretskii <eliz@is.elta.co.il>
3852
3853 * xfaces.c (Finternal_set_lisp_face_attribute)
3854 [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the
3855 frame is on a windowed display.
3856
24db49fb
GM
38572001-10-23 Gerd Moellmann <gerd@gnu.org>
3858
c2d53558
SM
3859 * dispnew.c (sync_window_with_frame_matrix_rows):
3860 Fix handling of windows which aren't full-width, fix handling
c51488cd
GM
3861 of marginal areas.
3862
c2d53558 3863 * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50.
24db49fb 3864
f0487f05
EZ
38652001-10-23 Andreas Schwab <schwab@suse.de>
3866
3867 * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
3868 LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".
3869
f0a48a01
GM
38702001-10-23 Gerd Moellmann <gerd@gnu.org>
3871
c2d53558 3872 * xterm.c (x_draw_glyphs): Remove parameters READ_START and
f0a48a01
GM
3873 REAL_END. Notice if cursor gets overwritten.
3874 (notice_overwritten_cursor): Take X positions as parameters.
3875 (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
3876 around call to x_draw_glyphs.
3877
f00691a3 38782001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
a50a10a0 3879
fc11dff0
PJ
3880 * syntax.c (modify-syntax-entry): Fix argument names (use CHAR
3881 instead of C) and usage.
a50a10a0 3882
fc11dff0
PJ
3883 * editfns.c (char-to-string): Fix argument names (use CHAR instead
3884 of C) and usage.
a50a10a0
PJ
3885
3886 * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top',
3887 `left', `max_width' and `max_height'.
3888
8738febd
GM
38892001-10-23 Gerd Moellmann <gerd@gnu.org>
3890
3891 * xdisp.c (display_line): For a tab continued to the next line,
3892 set row's ends_in_middle_of_char_p.
3893
653c329b
GM
38942001-10-22 Gerd Moellmann <gerd@gnu.org>
3895
3896 * xdisp.c (display_line): Fix computation of continuation lines
3897 width for TABs.
3898
f00691a3 38992001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
f958c5ac 3900
7ba51063
PJ
3901 * xdisp.c (build_desired_tool_bar_string): Remove unused variable
3902 `Qlaplace'.
3903
f958c5ac
PJ
3904 * fileio.c: Remove unused code.
3905
eb360291
MB
39062001-10-22 Miles Bader <miles@gnu.org>
3907
3908 * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
3909 (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
3910 Remove `DOC_STRINGS_IN_COMMENTS' cases.
3911
98515cf0
JR
39122001-10-21 Jason Rumney <jasonr@gnu.org>
3913
3914 * w32term.c (x_erase_phys_cursor): Remove inverse_p again.
3915
93026d88
EZ
39162001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
3917
3918 * mocklisp.c (Fml_if, Fml_provide_prefix_argument)
3919 (Finsert_string): Avoid the multi-line string literals warning.
3920
c9a95b79
MB
39212001-10-22 Miles Bader <miles@gnu.org>
3922
3923 * doc.c (Vhelp_manyarg_func_alist): Variable removed.
3924 (Fdocumentation): Don't use it.
3925 (syms_of_doc): Don't initialize it.
3926
3927 * keyboard.c (Ftrack_mouse): Add usage: string to doc string.
3928 * print.c (Fwith_output_to_temp_buffer): Likewise.
3929 * window.c (Fsave_window_excursion): Likewise.
c2d53558 3930 * editfns.c (Fsave_excursion, Fsave_current_buffer)
c9a95b79 3931 (Fsave_restriction): Likewise.
c2d53558
SM
3932 * eval.c (Frun_hooks, Frun_hook_with_args)
3933 (Frun_hook_with_args_until_failure)
3934 (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif)
3935 (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun)
3936 (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch)
c9a95b79
MB
3937 (Funwind_protect, Fcondition_case): Likewise.
3938 * coding.c (Ffind_operation_coding_system): Likewise.
3939 * keyboard.c (Ftrack_mouse): Likewise.
3940
a3b10252
MB
39412001-10-21 Miles Bader <miles@gnu.org>
3942
c2d53558 3943 * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply)
a3b10252
MB
3944 (Fmake_hash_table): Add usage: string to doc string.
3945 * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers)
c2d53558 3946 (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat)
a3b10252
MB
3947 (Fencode_time, Finsert_and_inherit_before_markers): Likewise.
3948 * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument)
3949 (Fml_prefix_argument_loop): Likewise.
3950
f00691a3 39512001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
c6f73eec 3952
c2d53558 3953 * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'.
888ebd13 3954
c6f73eec
PJ
3955 * sysdep.c (init_sys_modes): Change doc-string comments to `new
3956 style' [w/`doc:' keyword].
3957
3958 * data.c, fileio.c, indent.c, print.c, search.c, sound.c,
3959 * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string
3960 comments to `new style' [w/`doc:' keyword].
3961
3cf3436e
JR
39622001-10-21 Jason Rumney <jasonr@gnu.org>
3963
3964 * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.
3965
c169b8f1
JR
3966 * w32term.c (remember_mouse_glyph): New function.
3967 (w32_mouse_position): Use it.
3968 (note_mouse_movement): If the mouse moved off the glyph, remember
3969 its new position.
c2d53558 3970
4fdd691b
JR
3971 * w32term.h (struct w32_output): Correct spelling of x_compatible.
3972 (w32_display_info): Add mouse_face_overlay.
3973
c169b8f1
JR
3974 * w32term.c (notice_overwritten_cursor): Renamed from
3975 note_overwritten_text_cursor. Rewritten to take glyph widths into
3976 account.
3977 (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
3978 (fast_find_string_pos): New function.
3979 (fast_find_position): Return the correct vpos. Add parameter
3980 STOP. In the final row, stop before glyphs having STOP as object.
3981 Don't consider glyphs that are not from a buffer.
3982 (fast_find_position) [0]: Add a presumably more correct version
3983 for after 21.1.
3984 (expose_window_tree, expose_frame): Don't compute intersections here.
3985 (expose_window): Do it here instead.
3986 (expose_window_tree, expose_window, expose_line): Return 1 when
3987 overwriting mouse-face.
3988 (expose_window): If W is the window currently being updated, mark
3989 the frame garbaged.
3990 (expose_frame): If mouse-face was overwritten, redo it.
3991 (x_use_underline_position_properties): New variable.
3992 (syms_of_xterm): DEFVAR_BOOL it.
3993 (x_draw_glyph_string): Add comment to use it in future.
3994 (x_draw_glyph_string): Restore clipping after drawing box.
3995 Fix a computation of the underline position.
3996 (w32_get_glyph_string_clip_rect): Minor cleanup.
3997 (x_fill_stretch_glyph_string): Remove an assertion.
3998 (x_produce_glyphs): Don't convert multibyte characters
3999 to unibyte characters in unibyte buffers.
4000 (cursor_in_mouse_face_p): New function.
4001 (x_draw_stretch_glyph_string): Use it to choose a different GC
4002 when drawing a cursor within highlighted text. Don't draw
4003 background again if it has already been drawn.
4004 (x_draw_glyph_string_box): Don't draw a full-width
4005 box just because the glyph row's full_width_p flag is set.
4006 (x_draw_glyphs): Fix computation of rightmost x for
4007 full-width rows.
4008 (x_dump_glyph_string): Put in #if GLYPH_DEBUG.
4009 (w32_draw_relief_rect): Extend left shadow to the bottom and left;
4010 change bottom shadow accordingly. Some cleanup.
4011 (x_update_window_end): Handle overwritten mouse face
4012 also for tool bar windows.
4013 (show_mouse_face): Set the glyph row's mouse_face_p flag also when
4014 DRAW is DRAW_IMAGE_RAISED.
4015 (clear_mouse_face): Return 1 if text with mouse face was
2c568af5
SM
4016 actually redrawn. Make the function static.
4017 Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
c169b8f1
JR
4018 optimize away highlighting if we pass over that same overlay again.
4019 (note_mouse_highlight): Call mouse_face_overlay_overlaps
4020 to detect a case where we have to highlight a different region
4021 despite not having left the currently highlighted region.
4022 Set mouse_face_overlay in the x_display_info. Avoid changing the
4023 mouse pointer shape when show_mouse_face has already done it, or
4024 there is no need. Handle mouse-face and help-echo in strings.
4025 (glyph_rect): New function.
4026 (w32_mouse_position): Use it to raise the threshold for mouse
4027 movement event generation.
4028 (w32_initialize_display_info): Initialize the x_display_info's
4029 mouse_face_overlay.
4030 (w32_set_vertical_scroll_bar): Don't clear a zero height
4031 or width area.
4032 (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
4033 a widget to zero height.
4034
3cf3436e 4035 * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
4fdd691b 4036 Protect unibyte strings created by replacing their multibyte
3cf3436e
JR
4037 equivalents in menu_items.
4038 (w32_menu_show): Don't overwrite an item's name with its key
4039 description in case the description is a multibyte string.
4040 (single_submenu): Some cleanup.
4041
4042 * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed.
4043 (postprocess_image): New function.
4044 (lookup_image): Call it for all image types except PostScript.
4045 (x_kill_gs_process): Call postprocess_image.
4046 (tiff_error_handler, tiff_warning_handler): New functions.
4047 (tiff_load): Install them as handlers.
4048 (x_kill_gs_process): Recognize if someone has cleared the image
4049 cache under us.
4050 (valid_image_p): Protect better against invalid image
4051 specifications. Previous code could signal an error.
4052 (Fx_hide_tip, Fshow_tip): Doc fix.
4053 (Fv_max_tooltip_size): New variable.
4054 (syns_of_xfns): DEFVAR_LISP it.
4055 (Fx_show_tip): Add parameter TEXT. Set the tip frame's root
4056 window buffer to *tip* right after creating the frame. Set frame's
4057 window_width. Use a maximum tooltip size specified by
4058 Vx_max_tooltip_size, if that has valid contents.
4059 (compute_tip_xy): Add parameters WIDTH and HEIGHT.
4060 Make sure the tooltip is completely visible.
4061 (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
4062 (Fx_create_frame): Adjust the frame's height for presence
4063 of the tool bar before calling x_figure_window_size.
4064 (x_set_tool_bar_lines): Clear the tool bar window's current matrix
4065 when the window gets smaller.
4066 (x_set_foreground_color): Set frame's cursor_pixel.
4067 (x_set_foreground_color, x_set_background_color): Cleaned up.
4068 (x_set_font): Handle case of x_new_fontset returning the same name
4069 as before, although there was a change in fontsets.
4070
386ca361
MB
40712001-10-21 Miles Bader <miles@gnu.org>
4072
c2d53558 4073 * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior)
386ca361
MB
4074 (Flogxor): Add usage: string to doc string.
4075 * charset.c (Fstring): Likewise.
4076 * callproc.c (Fcall_process_region, Fcall_process): Likewise.
4077 * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise.
4078
f00691a3 40792001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
14ff1ee0 4080
03be2694
PJ
4081 * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords.
4082
4083 * alloc.c: Reindent DEFUNs with doc: keywords.
4084
4085 * abbrev.c (Finsert_abbrev_table_description): Reindent.
4086
14ff1ee0
PJ
4087 * frame.c: Change doc-string comments to `new style' [w/`doc:'
4088 keyword].
4089
2f147815 4090See ChangeLog.9 for earlier changes.
6922b018
KH
4091
4092;; Local Variables:
49b3bd82 4093;; coding: iso-2022-7bit
6922b018 4094;; End:
2a34a036 4095
2f147815 4096 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
2a34a036
GM
4097 Copying and distribution of this file, with or without modification,
4098 are permitted provided the copyright notice and this notice are preserved.