Mercurial > emacs
annotate src/ChangeLog.7 @ 106818:a3da62473e24
Fix typos in comments and ChangeLogs.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 13 Jan 2010 16:38:28 +0100 |
parents | 1d1d5d9bd884 |
children | e17758432f96 |
rev | line source |
---|---|
25865 | 1 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> |
2 | |
3 * Version 20.3 released. | |
4 | |
5 * callproc.c (Fcall_process): Use malloc for decoding_buf. | |
38004
884699e53760
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
37677
diff
changeset
|
6 |
25865 | 7 * s/freebsd.h (LD_SWITCH_SYSTEM): Delete -dp. |
8 | |
9 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increased. | |
10 | |
11 1998-08-18 Richard Stallman <rms@psilocin.ai.mit.edu> | |
12 | |
13 * xselect.c (selection_data_to_lisp_data): Code-convert selections | |
14 regardless of enable-multibyte-characters. | |
15 (lisp_data_to_selection_data): Likewise for decoding. | |
16 | |
17 1998-08-18 Ken'ichi Handa <handa@delysid.gnu.org> | |
18 | |
19 * ccl.c (ccl_driver): In case | |
20 ccl_read_multibyte_character_suspend:, if ccl->last_block is | |
21 nonzero, jump to ccl_repeat. | |
22 | |
23 1998-08-18 Kenichi Handa <handa@etl.go.jp> | |
24 | |
98317 | 25 * ccl.c (CCL_READ_CHAR): If eof is encountered while processing the |
25865 | 26 last block, don't just finish but processes eol block of the |
27 current CCL program. | |
38004
884699e53760
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
37677
diff
changeset
|
28 (ccl_driver): Add a new jump label ccl_repeat for the above change. |
25865 | 29 |
30 * coding.c (ccl_coding_driver): Setup ccl->last_block properly. | |
31 (setup_coding_system): Correctly setup `valid_codes' member. | |
32 | |
33 * term.c (write_glyphs): When terminal_coding require flushing, | |
34 call encode_coding with "" as the SOURCE arg so that ccl_driver | |
35 correctly processes eof block of a CCL program. | |
36 | |
37 1998-08-18 Richard Stallman <rms@psilocin.ai.mit.edu> | |
38 | |
39 * keyboard.c (read_char): If not reading a key sequence (MAPS is nil), | |
40 bind input-method-exit-on-first-char and input-method-use-echo-area | |
41 to t. | |
42 (read_char): If PREV_EVENT is non-nil, don't run the input method. | |
48207
c1a9d25fa0b7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43277
diff
changeset
|
43 (read_key_sequence): Do not bind input-method-function. |
c1a9d25fa0b7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43277
diff
changeset
|
44 |
25865 | 45 * callint.c (Fcall_interactively): Pass new args to Fread_event |
46 and Fread_char. Let Fread_char do the prompting. | |
47 | |
48 * lread.c (read_filtered_event): New arg INPUT_METHOD. Calls changed. | |
49 (Fread_event): New args PROMPT and SUPPRESS-INPUT-METHOD. | |
50 (Fread_char, Fread_char_exclusive): Likewise. | |
51 * lisp.h (Fread_event, Fread_char, Fread_char_exclusive): | |
52 Update declarations. | |
53 | |
54 * fns.c (Fy_or_n_p): Don't bind input-method-function. | |
55 Instead, pass 0 as INPUT_METHOD to read_filtered_event. | |
56 | |
57 * insdel.c (replace_range): Rename NOMARKERS arg to MARKERS. | |
58 | |
59 * editfns.c (Ftranspose_regions): Pass 0 as NOMARKERS to replace_range. | |
60 | |
61 * cmds.c (internal_self_insert): Pass 1 as NOMARKERS to replace_range. | |
62 | |
63 * fns.c (Fy_or_n_p): Bind input-method-function to nil. | |
64 | |
65 1998-08-17 Richard Stallman <rms@psilocin.ai.mit.edu> | |
66 | |
67 * keyboard.c (Freset_this_command_lengths): Return nil. | |
68 (read_char): [Changes in the input method code.] | |
69 Process and clear before_command_restore_flag before the input method. | |
70 Save and restore ok_to_echo_at_next_pause and | |
71 current_kboard->echo_after_prompt. | |
72 Save, copy and empty this_command_keys, if it is not empty. | |
73 Clear the echo area before the input method. | |
74 Then in all cases restore this_command_keys, and reenable echoing | |
75 if it was enabled before. | |
76 | |
77 1998-08-16 Richard Stallman <rms@psilocin.ai.mit.edu> | |
78 | |
79 * charset.c (Fmultibyte_char_to_unibyte): New function. | |
48207
c1a9d25fa0b7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43277
diff
changeset
|
80 (syms_of_charset): Defsubr it. |
25865 | 81 |
82 1998-08-15 Richard Stallman <rms@psilocin.ai.mit.edu> | |
83 | |
84 * xterm.c, xterm.h: x_display_unibyte_char_with_fontset renamed to | |
85 unibyte_display_via_language_environment. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
86 |
25865 | 87 * xfns.c (unibyte_display_through_language_environment): |
88 Renamed from x_display_unibyte_char_with_fontset. | |
89 | |
90 * xterm.h (widget_store_internal_border): Conditionalize declaration. | |
91 | |
92 1998-08-15 Kenichi Handa <handa@etl.go.jp> | |
93 | |
94 * coding.c (coding_category_name): Fix the order of initial | |
95 contents. | |
96 (detect_coding_mask): Fix previous change. | |
97 | |
98 * insdel.c (copy_text): Fix previous change, call | |
99 multibyte_char_to_unibyte. | |
100 | |
101 * puresize.h (BASE_PURESIZE): Increased. | |
102 | |
103 * xfns.c (x_display_unibyte_char_with_fontset): New variable. | |
104 (syms_of_xfns): Declare x-display-unibyte-char-with-fontset as a | |
105 Lisp variable. | |
106 | |
107 * xterm.h (x_display_unibyte_char_with_fontset): Extern it. | |
108 | |
109 * xterm.c (dumpglyphs): If x_display_unibyte_char_with_fontset is | |
110 nonzero, convert a unibyte 8-bit char to a multibyte char and | |
111 display it by a font listed in the current fontset. | |
112 | |
113 * xselect.c (Vnext_selection_coding_system): New variable. | |
114 (selection_data_to_lisp_data): If Vnext_selection_coding_system is | |
115 non-nil, use it. | |
116 (lisp_data_to_selection_data): Likewise. | |
117 (syms_of_xselect): Declare next-selection-coding-system as a Lisp | |
118 variable. | |
119 | |
120 1998-08-13 Eli Zaretskii <eliz@delysid.gnu.org> | |
121 | |
122 * msdos.c (dos_set_keyboard): Set up stack and flags before | |
123 calling _go32_dpmi_simulate_int. | |
124 | |
125 1998-08-13 Andrew Innes <andrewi@harlequin.co.uk> | |
126 | |
96376
c3309dba6542
American English spelling fix.
Glenn Morris <rgm@gnu.org>
parents:
95848
diff
changeset
|
127 * w32.c (stat): Fall-back to default behavior when we cannot get |
25865 | 128 accurate information on file attributes. |
129 | |
130 1998-08-12 Richard Stallman <rms@psilocin.ai.mit.edu> | |
131 | |
132 * indent.c (vmotion): Don't use WINDOW for Fget_char_property | |
133 when it is not showing the right buffer. | |
134 | |
135 1998-08-11 Richard Stallman <rms@psilocin.ai.mit.edu> | |
136 | |
137 * process.c (wait_reading_process_input): If a pty gives EIO, | |
138 raise SIGCHLD just in case. | |
139 | |
140 1998-08-10 Richard Stallman <rms@psilocin.ai.mit.edu> | |
141 | |
142 * syntax.c (scan_sexps_forward): Set up the syntax table scanning | |
143 stuff before jumping into the loop. | |
144 | |
145 1998-08-10 Eli Zaretskii <eliz@delysid.gnu.org> | |
146 | |
147 * msdos.c (IT_cmgoto): In the echo area, only put the cursor at | |
148 the end of text if it is beyond the displayed text end. | |
149 | |
150 1998-08-10 Richard Stallman <rms@psilocin.ai.mit.edu> | |
151 | |
152 * keyboard.c (read_char): Don't decrement this_command_key_count | |
153 when saving it. | |
154 | |
155 1998-08-09 Kenichi HANDA <handa@etl.go.jp> | |
156 | |
157 * fileio.c (Fwrite_region): Reflect the eol conversion | |
158 specification of default value of buffer-file-coding-system if | |
159 any. | |
160 | |
161 * coding.c (default_buffer_file_coding): New variable. | |
162 (init_coding_once): Initialize default_buffer_file_coding. | |
163 | |
164 * coding.h (default_buffer_file_coding): Extern it. | |
165 | |
166 1998-08-09 Richard Stallman <rms@psilocin.ai.mit.edu> | |
167 | |
168 * s/freebsd.h (__FreeBSD_version): Define it, or else | |
169 include osreldate.h to define it. | |
170 (LIB_GCC): Unconditional definition deleted. | |
171 [ELF] (LD_SWITCH_SYSTEM, START_FILES, UNEXEC, LIB_STANDARD, LIB_GCC): | |
172 New alternative definitions. | |
173 [! ELF] (START_FILES, LIB_GCC): New alternative definitions. | |
174 | |
175 * unexelf.c (unexec): Check for section names end and edata | |
176 with no underscore. | |
177 | |
178 * coding.c (CHARSET_OK): Check that coding_system_table[IDX] != 0. | |
179 | |
180 1998-08-08 Richard Stallman <rms@psilocin.ai.mit.edu> | |
181 | |
182 * coding.c: Avoid using initializers for Lisp_Object. | |
183 | |
184 1998-08-07 Paul Eggert <eggert@twinsun.com> | |
185 | |
186 * xterm.c (x_term_init): Don't reset LC_TIME to "C", since we | |
187 want strftime to be localized. | |
188 | |
189 1998-08-07 Richard Stallman <rms@psilocin.ai.mit.edu> | |
190 | |
191 * s/ptx4-2.h: New file. | |
192 | |
193 * xterm.c (x_list_fonts): Fix previous change. | |
194 | |
195 * callproc.c (Fcall_process): Check type of process cmd args | |
196 earlier on. | |
197 | |
198 * process.c (Fprocess_send_eof): Transfer proc_encode_coding_system | |
199 data to the new outfd. | |
200 | |
201 * commands.h (Vthis_command): Renamed from this_command. | |
202 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
203 * minibuf.c (Fminibuffer_complete): |
25865 | 204 this_command renamed to Vthis_command. |
205 | |
206 * macros.c (Fcall_last_kbd_macro): | |
207 this_command renamed to Vthis_command. | |
208 | |
209 * keyboard.c (Vthis_command): Renamed from this_command. | |
210 (real_this_command): New variable, but not a Lisp variable; | |
211 updated like Vthis_command, but never altered by Lisp programs. | |
212 (command_loop_1): Use real_this_command to set Vreal_last_command. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
213 |
25865 | 214 1998-08-07 Kenichi Handa <handa@etl.go.jp> |
215 | |
216 * cmds.c (internal_self_insert): If enable-multibyte-characters is | |
217 nil, convert a multibyte character to unibyte appropriately. | |
218 | |
219 * editfns.c (general_insert_function): Likewise. | |
220 | |
221 * charset.c (multibyte_char_to_unibyte): New function. | |
222 (charset_id_internal): Avoid initializer for Lisp_Object. | |
223 (init_charset_once): Likewise. | |
224 | |
225 * lisp.h (multibyte_char_to_unibyte): Extern it. | |
226 | |
227 1998-08-06 Richard Stallman <rms@psilocin.ai.mit.edu> | |
228 | |
229 * window.c (Fsplit_window): Doc fix. | |
230 | |
231 * macros.c (Fexecute_kbd_macro): Fix error message. | |
232 (Fend_kbd_macro): Fix error message. | |
233 | |
234 * coding.c (setup_coding_system): Avoid initializer for Lisp_Object. | |
235 (setup_raw_text_coding_system, detect_coding): Likewise. | |
236 (code_convert_region, code_convert_string): Likewise. | |
237 (Fset_coding_priority_internal): Likewise. | |
238 | |
239 1998-08-06 Kenichi Handa <handa@etl.go.jp> | |
240 | |
241 * dired.c (Fdirectory_files): If MATCH is non-nil, decode filenames | |
242 before checking them against MATCH. | |
243 | |
244 1998-08-05 Richard Stallman <rms@psilocin.ai.mit.edu> | |
245 | |
246 * keyboard.c (read_char): When input method returns no chars, | |
247 call cancel_echoing. Restore the previous echo area message | |
248 and this_command_keys, too. | |
249 | |
250 * abbrev.c (Funexpand_abbrev): Add ADJUST instead of subtracting. | |
251 | |
252 * w32select.c (Vselection_coding_system): | |
253 Renamed from Vclipboard_coding_system. | |
254 (syms_of_w32select): No need to staticpro Vselection_coding_system. | |
255 | |
256 1998-08-04 Eli Zaretskii <eliz@delysid.gnu.org> | |
257 | |
258 * w16select.c (Vselection_coding_system): | |
259 Renamed from Vclipboard_coding_system. | |
260 (Fw16_set_clipboard_data): Don't count trailing zero in the string | |
261 for the purposes of conversion. | |
262 | |
263 1998-08-04 Richard Stallman <rms@psilocin.ai.mit.edu> | |
264 | |
265 * xterm.c (x_list_fonts): Call XFreeFont after the new call | |
266 to XLoadQueryFont. | |
267 (fast_find_position): Handle case where position is before | |
268 an invisible character, thus not actually listed in charstarts. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
269 |
25865 | 270 * keyboard.c (Vinput_method_previous_message): New variable. |
271 (syms_of_keyboard): Set up lisp variable. | |
272 (Qinput_method_exit_on_first_char, Qinput_method_use_echo_area): | |
273 New variables. | |
274 (syms_of_keyboard): Initialize them. | |
275 (Fread_key_sequence): New arg COMMAND_LOOP. | |
276 Bind those variables. | |
277 | |
278 * lisp.h (Fread_key_sequence): Update declaration. | |
279 | |
280 * callint.c (Fcall_interactively): Pass new arg to Fread_key_sequence. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
281 |
25865 | 282 1998-08-03 Richard Stallman <rms@psilocin.ai.mit.edu> |
283 | |
284 * window.c (Fmove_to_window_line): Doc fix. | |
285 | |
286 * xterm.h (FRAME_OUTER_WINDOW): New macro. | |
287 | |
288 * xterm.c (x_make_frame_visible): Use XGetGeometry to see if | |
289 position has been changed by the window manager. Use | |
290 FRAME_OUTER_WINDOW. | |
291 | |
292 * insdel.c (replace_range): Don't assume PT is at the place | |
293 where the change is being done. | |
294 | |
295 * editfns.c (Fsubst_char_in_region): Use replace_range in case | |
296 where we may need to combine bytes. | |
297 (Ftranslate_region): Likewise. | |
298 | |
299 1998-08-01 Richard Stallman <rms@psilocin.ai.mit.edu> | |
300 | |
301 * lread.c (read1): In reading a string, treat Qlambda | |
302 like Qget_file_char. | |
303 | |
304 * doc.c (Fdocumentation): Specify UNIBYTE = 0 | |
305 when calling get_doc_string for a compiled function. | |
306 | |
307 1998-08-01 Kenichi HANDA <handa@etl.go.jp> | |
308 | |
309 * ccl.h (ccl_spec): New member valid_codes. | |
310 | |
311 * coding.c (Qvalid_codes): New variable. | |
312 (coding_category_name): Include "coding-category-ccl". | |
313 (detect_coding_ccl): New function. | |
314 (setup_coding_system): Setup coding->spec.ccl.valid_codes from the | |
98317 | 315 coding system priority `valid-codes' for CCL based coding systems. |
25865 | 316 (detect_coding_mask): Check also a CCL based coding system. |
317 (Fupdate_coding_systems_internal): Renamed from | |
318 Fupdate_iso_coding_systems. | |
319 (syms_of_coding): Change property char-table-extra-slot of | |
320 translation-table to 1. Initialize and static pro Qvalid_codes. | |
321 | |
322 * coding.h (CODING_CATEGORY_IDX_CCL): New macro. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
323 (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
324 (CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by one. |
25865 | 325 (CODING_CATEGORY_MASK_CCL): New macro. |
326 (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL. | |
327 | |
328 * insdel.c (copy_text): In multibyte to unibyte conversion, take | |
329 nonascii-translation-table and nonascii-insert-offset into | |
330 account. | |
331 | |
332 1998-07-30 Paul Eggert <eggert@twinsun.com> | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
333 |
25865 | 334 * src/Makefile.in (widget.o, xfns.o, xmenu.o): |
335 Prepend $(srcdir)/ to rule dependencies outside this dir. | |
336 | |
337 1998-07-29 Kenichi Handa <handa@etl.go.jp> | |
338 | |
339 * fns.c (concat): Fix previous change. | |
340 | |
341 1998-07-29 Richard Stallman <rms@psilocin.ai.mit.edu> | |
342 | |
343 * process.c (create_process): For outchannel, set up | |
344 proc_encode_coding_system, not proc_decode_coding_system. | |
345 | |
346 1998-07-28 Richard Stallman <rms@psilocin.ai.mit.edu> | |
347 | |
348 * keymap.c (push_key_description): Output multibyte char as itself. | |
349 | |
350 1998-07-27 Richard Stallman <rms@psilocin.ai.mit.edu> | |
351 | |
352 * keyboard.c (Fexecute_extended_command): | |
353 Don't delay before displaying the suggestion message | |
354 if the command did not display anything in the echo area. | |
355 | |
356 1998-07-26 Richard Stallman <rms@psilocin.ai.mit.edu> | |
357 | |
358 * s/ultrix4-3.h (rint): Add declaration. | |
359 | |
360 1998-07-25 Richard Stallman <rms@psilocin.ai.mit.edu> | |
361 | |
362 * s/aix3-2.h (HAVE_STRING_H): Move #undef here. | |
363 * s/aix4.h (HAVE_STRING_H): Delete #undef here. | |
364 | |
365 * sysdep.c [AIXHFT] (hft_init, hft_reset): Add declarations. | |
366 | |
367 1998-07-25 Kenichi Handa <handa@etl.go.jp> | |
368 | |
369 * coding.c (syms_of_coding): Mention auto-coding-alist in the | |
370 docstring of file-coding-system-alist. | |
371 | |
372 * fileio.c (Finsert_file_contents): Call Vset_auto_coding_function | |
373 with two arguments. | |
374 (Fwrite_region): If buffer-file-coding-system is set locally, use | |
98317 | 375 the coding system without checking file-coding-system-alist. |
25865 | 376 (syms_of_fileio): Docstring of set-auto-coding-function adjusted |
377 for the change of argument number. | |
378 | |
379 1998-07-20 Kenichi HANDA <handa@etl.go.jp> | |
380 | |
381 * callproc.c (Fcall_process): Use alloca instead of | |
382 get_conversion_buffer. | |
383 | |
384 * coding.c (init_coding): New function. | |
385 (init_coding_once): Don't initialize conversion_buffer here. It | |
386 is done in init_coding. | |
387 | |
388 * emacs.c (main): Call init_coding. | |
389 | |
390 * lisp.h (init_coding): Extern it. | |
391 | |
392 1998-07-19 Kenichi Handa <handa@etl.go.jp> | |
393 | |
394 * charset.c (Fdefine_charset): Fix doc-string. | |
395 | |
396 * xterm.c (dumpglyphs): After calling ccl_driver, set cp->byte1 to | |
397 zero for 1-byte font. | |
398 | |
399 1998-07-15 kenichi HANDA <handa@kowloon.etl.go.jp> | |
400 | |
401 * process.c (read_process_output): Even if we read data without | |
402 code conversion, calculate character counts. If we insert the | |
403 data into a unibyte buffer, treat the data as unibyte. | |
404 | |
405 1998-07-14 Richard Stallman <rms@psilocin.ai.mit.edu> | |
406 | |
407 * keyboard.c (Qinput_method_function): New variable. | |
408 (syms_of_keyboard): Init and staticpro it. | |
409 (read_key_sequence): Bind input-method-function, | |
410 and set it to nil after reading the first event. | |
411 (raw_keybuf, raw_keybuf_count): New variables, to record | |
412 raw input events as they are read with read_char. | |
413 (GROW_RAW_KEYBUF): New macro. | |
414 (Fthis_single_command_raw_keys): New function. | |
415 (syms_of_keyboard): defsubr it. | |
416 | |
417 1998-07-13 Andrew Innes <andrewi@delysid.gnu.org> | |
418 | |
419 * w32menu.c (add_menu_item): Draw menu items like titles if | |
420 call_data is 0. | |
421 | |
422 1998-07-13 Eli Zaretskii <eliz@mescaline.gnu.org> | |
423 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
424 * w16select.c (set_clipboard_data, get_clipboard_data) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
425 (Fw16_set_clipboard_data, Fw16_get_clipboard_data) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
426 (Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT. |
25865 | 427 |
428 1998-07-12 Andrew Innes <andrewi@delysid.gnu.org> | |
429 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
430 * w32select.c (Fw32_set_clipboard_data): Set Vlast_coding_system_used. |
25865 | 431 (Fw32_get_clipboard_data): Likewise. |
432 | |
433 1998-07-12 Richard Stallman <rms@psilocin.ai.mit.edu> | |
434 | |
435 * marker.c (Fcopy_marker): Make return from wrong_type_argument | |
436 fall thru into normal case. | |
437 | |
438 * fileio.c (Finsert_file_contents): When replacing, in multibyte bfr, | |
439 always extend the range to a character boundary. | |
440 | |
441 1998-07-11 Richard Stallman <rms@psilocin.ai.mit.edu> | |
442 | |
443 * keyboard.c (read_char): Call the input method if appropriate. | |
444 Change logic for distinguishing rereads from new events; | |
445 use local var `reread'. Take events from | |
446 Vunread_input_method_events and Vunread_post_input_method_events. | |
447 (Vunread_input_method_events, Vunread_post_input_method_events) | |
448 (Vinput_method_function): New variable. | |
449 (syms_of_keyboard): Set up Lisp vars. | |
450 (command_loop_1): Check Vunread_input_method_events and | |
451 Vunread_post_input_method_events along with Vunread_command_events. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
452 |
25865 | 453 1998-07-11 Andrew Innes <andrewi@harlequin.co.uk> |
454 | |
455 * w32menu.c (w32_menu_show): Set widget call_data to 0 if | |
456 definition is nil. | |
457 (add_menu_item): Gray menu entry if widget call_data is 0. | |
458 | |
459 1998-07-11 Richard Stallman <rms@psilocin.ai.mit.edu> | |
460 | |
461 * xselect.c (Vselection_coding_system): | |
462 Renamed from Vclipboard_coding_system. All uses changed. | |
463 (syms_of_xselect): Rename Lisp variable. | |
464 | |
465 1998-07-09 Eli Zaretskii <eliz@mescaline.gnu.org> | |
466 | |
467 * w16select.c (Vclipboard_coding_system): New variable. | |
468 (set_clipboard_data, set_clipboard_data): New parameter Raw | |
469 determines whether CRLF <-> NL translation needs to be done. All | |
470 callers changed. | |
471 (Fw16_set_clipboard_data): Encode the text using | |
472 Vclipboard_coding_system, if necessary. | |
473 (Fw16_get_clipboard_data): Decode the text using | |
474 Vclipboard_coding_system, if necessary. | |
475 (syms_of_win16select): DEFVAR Vclipboard_coding_system and | |
476 staticpro it. | |
477 | |
478 1998-07-09 Kenichi Handa <handa@etl.go.jp> | |
479 | |
480 * coding.c (code_convert_string): Count characters again if we | |
481 encounter some invalid code while decoding. | |
482 | |
483 1998-07-09 Kenichi Handa <handa@etl.go.jp> | |
484 | |
485 * ccl.c: Typo in comments fixed. | |
486 | |
487 * coding.c (DECODE_ISO_CHARACTER): While decoding two-byte code, | |
98317 | 488 if the second byte is invalid, produce the first byte as is. |
25865 | 489 |
490 * fontset.c (fs_load_font): Typo in comments fixed. | |
491 | |
492 * xselect.c (selection_data_to_lisp_data): Set | |
493 Vlast_coding_system_used. | |
494 (lisp_data_to_selection_data): Likewize. | |
495 | |
496 1998-07-07 Richard Stallman <rms@psilocin.ai.mit.edu> | |
497 | |
498 * charset.c (Fchars_in_region): Coerce markers. | |
499 | |
500 1998-07-08 Kenichi Handa <handa@etl.go.jp> | |
501 | |
502 * editfns.c (Fformat): Replace explicit numeric constants with | |
503 proper macros. | |
504 | |
505 * fns.c (concat): Likewize. | |
506 | |
507 1998-07-06 Kenichi Handa <handa@etl.go.jp> | |
508 | |
509 * charset.h (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR - 1), | |
510 one less than the previous value. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
511 (GENERIC_COMPOSITION_CHAR): New macro. |
25865 | 512 |
513 * charset.c (Vgeneric_character_list): New variable. | |
514 (init_charset_once): Init and staticpro it. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
515 (Fgeneric_character_list): New function. |
25865 | 516 (syms_of_charset): defsubr it. |
517 | |
518 * fns.c (Fset_char_table_default): Check only if the charset of | |
519 the arg CH is in the valid range or not. Handle the case that CH | |
520 is a generic character for composite characters. | |
521 | |
522 1998-07-06 Kenichi Handa <handa@etl.go.jp> | |
523 | |
524 * editfns.c (Fformat): Pay attention to the byte combining problem. | |
525 | |
526 * fileio.c (Finsert_file_contents): Cancel previous change. Setup | |
527 the variable coding even if the inserted bytes is zero. | |
528 | |
529 * fns.c (concat): Deal with combining bytes between two args. | |
530 | |
531 1998-07-03 Richard Stallman <rms@psilocin.ai.mit.edu> | |
532 | |
533 * print.c (print_escape_multibyte, Qprint_escape_multibyte) | |
534 (Qprint_escape_nonascii): New variables. | |
535 (syms_of_print): Initialize them and set up Lisp variable. | |
536 (PRINTPREPARE): Bind print-escape-multibyte to t if appropriate. | |
537 Also bind print-escape-nonascii if appropriate. | |
538 (print): Test print_escape_multibyte and print_escape_nonascii, | |
539 rather than enable-multibyte-characters. | |
540 | |
541 1998-06-29 Andrew Innes <andrewi@harlequin.co.uk> | |
542 | |
543 * fileio.c (Ffile_regular_p) [WINDOWSNT]: Bind | |
544 `w32-get-true-file-attributes' to t while calling stat. | |
545 (Finsert_file_contents) [WINDOWSNT]: Likewise. | |
546 (Fwrite_region): Don't try seeking to end of FILENAME for | |
547 appending if not a regular file. | |
548 | |
549 1998-07-03 Kenichi Handa <handa@etl.go.jp> | |
550 | |
551 * editfns.c (Finsert): Typo in doc-string fixed. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
552 (Finsert_and_inherit, Finsert_before_markers) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
553 (Finsert_and_inherit_before_markers): Likewise. |
25865 | 554 |
555 1998-07-02 Ken'ichi Handa <handa@melange.gnu.org> | |
556 | |
557 * fileio.c (Finsert_file_contents): Do not set Vlast_coding_system | |
558 if inserted bytes is zero. | |
559 | |
560 1998-06-28 Eli Zaretskii <eliz@is.elta.co.il> | |
561 | |
562 * unexec.c [COFF]: New variable coff_offset. | |
563 (make_hdr) [MSDOS]: If a_name is a coff-go32-exe executable with a | |
564 prepended stub, compute coff_offset. | |
565 (make_hdr, copy_sym) [COFF]: Use coff_offset when seeking into temacs. | |
566 | |
567 1998-06-29 Richard Stallman <rms@psilocin.ai.mit.edu> | |
568 | |
569 * editfns.c (Fbyte_to_position): New function. | |
570 (syms_of_editfns): defsubr it. | |
571 | |
572 1998-06-29 Eli Zaretskii <eliz@delysid.gnu.org> | |
573 | |
574 * callproc.c (Fcall_process) [! subprocesses]: Balance parentheses | |
575 in an if clause. | |
576 | |
577 1998-06-28 Richard Stallman <rms@psilocin.ai.mit.edu> | |
578 | |
579 * fileio.c (Fread_file_name): Bind minibuffer-completing-file-name to t. | |
580 | |
581 * minibuf.c (Vminibuffer_completing_file_name): New var. | |
582 (syms_of_minibuf): Set up Lisp variable. | |
583 (Fminibuffer_complete_word): Test it, instead of checking | |
584 specifically for Qread_file_name_internal. | |
585 (Fcompleting_read): Likewise. | |
586 | |
587 1998-06-27 Richard Stallman <rms@psilocin.ai.mit.edu> | |
588 | |
589 * xterm.c (x_list_fonts): Fix prev change: cast result of alloca. | |
590 | |
591 1998-06-26 Ken'ichi Handa <handa@melange.gnu.org> | |
592 | |
593 * coding.h (Qemacs_mule): Extern it. | |
594 | |
595 * process.c (init_process): Initilize Vdefault_process_coding_system. | |
596 | |
597 1998-06-26 Kenichi Handa <handa@etl.go.jp> | |
598 | |
599 * coding.c (setup_raw_text_coding_system): New function. | |
600 (decode_coding_sjis_big5): Bug for handling invalid code fixed. | |
601 | |
602 * coding.h (setup_raw_text_coding_system): Extern it. | |
603 | |
604 * fileio.c (Finsert_file_contents): Call | |
605 setup_raw_text_coding_system. | |
606 | |
607 * process.c (Fstart_process): Check process-coding-system-alist | |
608 and default-process-coding-system even in unibyte mode. | |
609 (create_process): In unibyte mode, suppress character code | |
610 conversion. | |
611 | |
612 1998-06-25 Andrew Innes <andrewi@harlequin.co.uk> | |
613 | |
614 * w32fns.c (Fx_list_fonts): Bring arglist into sync with xfns.c. | |
615 (x_set_font): Call face-set-after-frame-default. | |
616 (Qface_set_after_frame_default): New variable. | |
617 (syms_of_w32fns): Initialize it. | |
618 | |
619 1998-06-25 Richard Stallman <rms@psilocin.ai.mit.edu> | |
620 | |
621 * search.c (wordify): Fix i_byte even in unibyte case for copy loop. | |
622 If input is unibyte, make the output unibyte. | |
623 | |
624 1998-06-24 Richard Stallman <rms@psilocin.ai.mit.edu> | |
625 | |
626 * print.c (PRINTFINISH): Convert text to unibyte before | |
627 inserting in a unibyte buffer. | |
628 | |
629 * doc.c (get_doc_string): Take both UNIBYTE and DEFINITION as args. | |
630 All callers changed. | |
631 * lisp.h (get_doc_string): Adjust declaration. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
632 |
25865 | 633 * lread.c (read_list): Pass new arg to get_doc_string. |
634 | |
635 * doc.c (get_doc_string): 2nd arg is now DEFINITION; | |
636 if non-nil, read a dynamic function definition. | |
637 (read_doc_string): Don't call read here. | |
638 | |
639 1998-06-23 Richard Stallman <rms@psilocin.ai.mit.edu> | |
640 | |
641 * indent.c (indented_beyond_p): Return the right kind of value. | |
642 | |
643 1998-06-22 Richard Stallman <rms@psilocin.ai.mit.edu> | |
644 | |
645 * emacs.c (sort_args): Discard duplicate options with no args. | |
646 (main): With duplicate -d options, use the last one. Likewise for -t. | |
647 Check -d last, by checking for -nl earlier on. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
648 |
25865 | 649 1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
650 | |
651 * keyboard.c (command_loop): Reset executing_macro after | |
652 command_loop_2 has returned, in case a throw to exit or top-level | |
653 was executed as part of a keyboard macro. | |
654 | |
655 * callproc.c (Fcall_process): Handle third argument BUFFER | |
656 consistently when it is an integer or a list. | |
657 | |
658 1998-06-22 Kenichi Handa <handa@etl.go.jp> | |
659 | |
660 * syntax.c (Fmodify_syntax_entry): Use macro STRING_BYTES to get | |
661 byte size of a string. | |
662 | |
663 1998-06-22 Andrew Innes <andrewi@harlequin.co.uk> | |
664 | |
665 * w32select.c: Include buffer.h, charset.h, and coding.h. | |
666 (Vclipboard_coding_system): New variable. | |
667 (syms_of_w32select): DEF_VAR it. | |
668 (Fw32_set_clipboard_data): Encode string using | |
669 Vclipboard_coding_system if necessary. | |
670 (Fw32_get_clipboard_data): Decode clipboard contents using | |
671 Vclipboard_coding_system if necessary. | |
672 | |
673 * w32console.c (initialize_w32_display): Call init_crit to | |
674 initialize interrupt_handle (referenced by sys_select). | |
675 | |
676 1998-06-22 Richard Stallman <rms@gnu.org> | |
677 | |
678 * print.c (print_string): Properly compute number of chars | |
679 in multibyte case, before calling strout. | |
680 | |
681 * lisp.h (Qinhibit_redisplay): Declared. | |
682 | |
683 * keyboard.c (menu_item_eval_property): Bind Qinhibit_redisplay. | |
684 | |
685 * xdisp.c (Vinhibit_redisplay, Qinhibit_redisplay): New variables. | |
686 (syms_of_xdisp): Set up Lisp var. | |
687 (redisplay_internal): Test Vinhibit_redisplay. | |
688 | |
689 1998-06-21 Ken'ichi Handa <handa@melange.gnu.org> | |
690 | |
691 * process.c (read_process_output): While processing carryover, | |
692 check the size of p->decoding_buf. | |
693 | |
694 1998-06-21 Eli Zaretskii <eliz@mescaline.gnu.org> | |
695 | |
696 * process.c (wait_reading_process_input) [! subprocesses]: | |
697 Recompute timeout each time through the loop. Check | |
698 requeued_events_pending_p and exit the loop if there is unread | |
699 keyboard input. | |
700 | |
701 1998-06-20 Richard Stallman <rms@gnu.org> | |
702 | |
703 * search.c (Freplace_match): Work by chars, not by bytes, | |
704 for scanning the old text, and for inserting new string in buffer. | |
705 | |
706 1998-06-20 Karl Heuer <kwzh@gnu.org> | |
707 | |
708 * xterm.c (x_list_fonts): Keep alloca usage simple. | |
709 | |
95780
4538778f611d
Fix committer names and other typos.
Juanma Barranquero <lekktu@gmail.com>
parents:
94701
diff
changeset
|
710 1998-06-20 Per Starbäck <starback@strindberg.ling.uu.se> |
25865 | 711 |
712 * xdisp.c, charset.h, coding.c, emacs.c: Doc fixes. | |
713 | |
714 1998-06-20 Kenichi Handa <handa@etl.go.jp> | |
715 | |
716 * print.c (strout): Show multibyte message correctly. | |
717 | |
718 * ccl.c: Comment for CCL_MapMultiple modified. | |
719 | |
720 * charset.c (find_charset_in_str): Do not set the value of | |
721 charsets[LEADING_CODE_COMPOSITION]. | |
722 | |
723 * process.c (read_process_output): Handle carryover correctly. | |
724 | |
725 * xterm.c (dumpglyphs): Check the case that FACE_FONT (face) is | |
98317 | 726 NULL. While displaying cursor with non-default face, if the |
25865 | 727 variable `font' is NULL, don't set GCFont. |
728 | |
729 1998-06-19 Richard Stallman <rms@gnu.org> | |
730 | |
731 * minibuf.c (syms_of_minibuf): Initialize buffer-name-history. | |
732 | |
733 1998-06-18 Richard Stallman <rms@gnu.org> | |
734 | |
735 * casefiddle.c (casify_object): Cope with modifier bits in character. | |
736 | |
737 1998-06-17 Geoff Voelker <voelker@cs.washington.edu> | |
738 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
739 * w32.c (is_unc_volume, open_unc_volume, read_unc_volume) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
740 (close_unc_volume, unc_volume_file_attributes): New functions. |
25865 | 741 (wnet_enum_handle): New variable. |
742 (opendir, readdir, closedir, sys_access, stat): Handle UNC volumes. | |
743 | |
744 1998-06-16 Kenichi Handa <handa@etl.go.jp> | |
745 | |
746 * xterm.c (x_list_fonts): If SIZE is zero and MAXNAMES is 1, use | |
747 XLoadQueryFont instead of XListFonts. | |
748 (x_load_fonts): Call x_list_fonts with MAXNAMES 1. | |
749 | |
750 1998-06-16 Andrew Innes <andrewi@harlequin.co.uk> | |
751 | |
752 * xdisp.c (message_dolog): GCPRO the oldpoint, oldbegv and oldzv | |
753 markers, and old_deactivate_mark. | |
754 | |
755 1998-06-15 Andrew Innes <andrewi@harlequin.co.uk> | |
756 | |
757 * w32.c (sys_rename): On some network drives, rename fails with | |
758 EACCES instead of EEXIST if target already exists. | |
759 | |
760 * coding.c (encode_eol): Fix typo that prevented converting to Mac | |
761 line endings. Always update dst_bytes to number of bytes actually | |
762 copied. | |
763 (decode_eol): Fix value of coding->produced when decoding Unix | |
764 line endings (in case this function is ever used for that). | |
765 | |
766 1998-06-14 Ken'ichi Handa <handa@melange.gnu.org> | |
767 | |
768 * fileio.c (Finsert_file_contents): Redo the change for handling | |
769 set-auto-coding while adding a kludgy code to avoid a compiler | |
770 bug. | |
771 (syms_of_fileio): Doc-string of the variable | |
772 set-auto-coding-function modified for the change above. | |
773 | |
774 1998-06-14 Eli Zaretskii <eliz@mescaline.gnu.org> | |
775 | |
776 * msdos.c (dos_set_keyboard): Call Int 2Fh via the DPMI server, | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
777 not directly. |
25865 | 778 (dos_yield_time_slice): New function. |
779 (sys_select): Use it instead of __dpmi_yield. | |
780 | |
781 1998-06-14 Erik Naggum <erik@naggum.no> | |
782 | |
783 * minibuf.c (Fcompleting_read): Escape bare newline in doc string. | |
784 | |
785 1998-06-14 Richard Stallman <rms@psilocin.ai.mit.edu> | |
786 | |
787 * fileio.c (Finsert_file_contents): Fix change to set INSERTED. | |
788 | |
789 1998-06-13 Richard Stallman <rms@psilocin.ai.mit.edu> | |
790 | |
791 * keyboard.c (parse_menu_item): Put a quote around DEF | |
792 to pass it as an argument to the filter function. | |
793 | |
794 * syntax.c (skip_chars): | |
795 Don't examine STRING before verifying that it is a string. | |
796 | |
797 1998-06-13 Kenichi Handa <handa@etl.go.jp> | |
798 | |
799 * coding.c (detect_coding_system): Always return a list of HIGHEST | |
800 is zero. | |
801 (Fdetect_coding_region): Doc-string adjusted for the above change. | |
802 (Fdetect_coding_string): Likewise. | |
803 | |
804 1998-06-12 Richard Stallman <rms@psilocin.ai.mit.edu> | |
805 | |
806 * emacs.c (standard_args): Fix arg order to match code in `main'. | |
807 | |
808 1998-06-12 Ken'ichi Handa <handa@melange.gnu.org> | |
809 | |
810 * fileio.c (Finsert_file_contents): Undo the previous change for | |
98444 | 811 handling set-auto-coding. |
25865 | 812 |
813 1998-06-11 Richard Stallman <rms@psilocin.ai.mit.edu> | |
814 | |
815 * fileio.c (Finsert_file_contents): After calling handler, | |
816 get INSERTED from the handler's value. | |
817 | |
818 * callint.c (Fcall_interactively) <k, K>: If sequence ends in a down | |
819 event, discard following up event. | |
820 | |
821 1998-06-12 Kenichi Handa <handa@etl.go.jp> | |
822 | |
823 * fileio.c (set_auto_coding_unwind): New function. | |
824 (Finsert_file_contents): If the current buffer is empty, decide | |
825 the coding system after the file is inserted in the buffer. If | |
826 not, insert the head and tail of a file in a temporary buffer and | |
827 call set-auto-coding-function. | |
828 (e_write): If there are carryover bytes in encoding because of | |
829 incomplete multibyte form, write them out as is. | |
830 | |
831 1998-06-11 Richard Stallman <rms@psilocin.ai.mit.edu> | |
832 | |
833 * syntax.c (scan_lists): Use prev_char_comend_first, not ...comstart... | |
834 | |
835 1998-06-11 Geoff Voelker <voelker@cs.washington.edu> | |
836 | |
837 * makefile.nt (LINK_FLAGS): Place debug info in executable in | |
838 unoptimized compile. Link to run off of cd or network. | |
839 | |
840 1998-06-10 Richard Stallman <rms@psilocin.ai.mit.edu> | |
841 | |
842 * syntax.c (Fforward_comment): | |
843 Properly compute BYTEPOS arg to char_quoted. | |
844 | |
845 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk> | |
846 | |
847 * w32.c (sys_rename): Don't examine errno if rename didn't fail. | |
848 | |
849 * s/ms-w32.h (getcwd): Remove define. | |
850 (getdefdir) [emacs]: Redefine to always return root directory. | |
851 | |
852 1998-06-09 Richard Stallman <rms@psilocin.ai.mit.edu> | |
853 | |
854 * lisp.h (Feval_region): Accept 4 args. | |
855 | |
856 * lread.c (readevalloop): New arg READFUN. Callers changed. | |
857 (Feval_region): New arg READ_FUNCTION. | |
858 | |
859 1998-06-08 Richard Stallman <rms@psilocin.ai.mit.edu> | |
860 | |
861 * syntax.h (SETUP_SYNTAX_TABLE): Don't call update_syntax_table | |
862 for FROM-1 if that's before BEGV. | |
863 | |
864 1998-06-07 Richard Stallman <rms@psilocin.ai.mit.edu> | |
865 | |
866 * syntax.c (struct lisp_parse_state): New field, levelstarts. | |
867 (scan_sexps_forward): Use 10th elt of STATE to set levelstarts. | |
868 (parse-partial-sexp): Add 10th elt to return value. | |
869 | |
870 * keyboard.c (lispy_function_keys): Add kanji...eisu-toggle. | |
871 | |
872 * keyboard.c (cmd_error): Init Vlast_prefix_arg. | |
873 (init_kboard, command_loop_1): Init Vlast_prefix_arg. | |
874 (Fcommand_execute): Set Vlast_prefix_arg to prefix arg used. | |
875 | |
876 * callint.c (syms_of_callint): Set up Lisp variable. | |
877 | |
878 * alloc.c (mark_kboards): Mark all the Lisp_Object fields. | |
879 | |
880 * keyboard.c (command_loop_1): | |
881 Set Vreal_last_command with Vlast_command. | |
882 (init_kboard): Init Vreal_last_command field. | |
883 (syms_of_keyboard): Set up Lisp var real-last-command. | |
884 | |
885 * keyboard.h (struct kboard): New elts Vreal_last_command | |
886 and Vlast_prefix_arg. | |
887 | |
888 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu> | |
889 | |
890 * xterm.c (XTread_socket): Accept Japanese XK keysyms. | |
891 | |
892 * xdisp.c (redisplay_internal): If cursor's in the frame's echo area, | |
893 make last_point invalid instead of setting it normally. | |
894 (display_text_line): If cursor's in the frame's echo area, | |
895 don't set this_line_endpos. | |
896 (redisplay_window): Use Fwindow_end to find lower scroll margin. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
897 |
25865 | 898 * syntax.c (scan_lists): Properly skip the comment-fence character |
899 that ends a comment, when moving forward. | |
900 (Fbackward_prefix_chars): Return immediately if point is at BEGV. | |
901 | |
902 * callproc.c (init_callproc): Check Vinstallation_directory | |
903 even if !initialized. | |
904 | |
905 1998-06-06 Richard Stallman <rms@sucrose.ai.mit.edu> | |
906 | |
907 * syntax.c (prev_char_comend_first): New function. | |
908 (back_comment): Use that. Carefully update syntax table position | |
909 for each character that is fetched. | |
910 (Fforward_comment): Likewise. | |
911 (scan_lists): Likewise. | |
912 (prev_char_comstart_first): New function. | |
913 | |
914 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk> | |
915 | |
95848 | 916 * w32.c: #include sys/file.h. |
25865 | 917 (sys_access): Provide our own implementation which recognizes D_OK. |
918 (is_exec): New function. | |
919 (stat): Use it. | |
920 (init_environment): Set TMPDIR to an existing directory. | |
921 Abort if none of the usual places is available. | |
922 (sys_rename): On Windows 95, choose a temp name that | |
923 includes the original file's base name and use an explicit loop | |
924 rather than calling mktemp. Only attempt to unlink the newname if | |
925 the rename fails, rather than second-guessing whether the old and | |
926 new names refer to the same file. | |
927 | |
928 * fileio.c (Finsert_file_contents): Always update | |
929 Vlast_coding_system_used when we actually perform IO. | |
930 (Fwrite_region): Update documentation. | |
931 | |
932 1998-06-03 Richard Stallman <rms@gnu.org> | |
933 | |
934 * emacs.c (main): Don't implement --version if not initialized. | |
935 | |
936 * intervals.c (create_root_interval): Initialize position to 0 | |
937 for a string. | |
938 (interval_start_pos): New function. | |
939 (find_interval): Handle string positions starting at 0. | |
940 (adjust_intervals_for_insertion): Likewise. | |
941 (adjust_intervals_for_deletion): Likewise. | |
942 (compare_string_intervals): Likewise. | |
943 (graft_intervals_into_buffer): Set `position' in reproduce_tree value. | |
944 (copy_intervals): Init `position' to 0. | |
945 | |
946 * textprop.c: Handle the new convention that `position' values | |
947 in a string's intervals start from zero. | |
948 (validate_interval_range, interval_of, Fnext_property_change) | |
949 (property_change_between_p, Fnext_single_property_change) | |
95848 | 950 (Fprevious_property_change, Fprevious_single_property_change) |
25865 | 951 (Ftext_property_any, Ftext_property_not_all): Implement that. |
952 | |
953 * textprop.c: Undo previous change. | |
954 | |
955 * coding.c (code_convert_string_norecord): New function. | |
956 Does encoding or decoding but doesn't set Vlast_coding_system_used. | |
957 | |
958 * coding.h (DECODE_FILE, ENCODE_FILE): | |
959 Use code_convert_string_norecord. | |
960 | |
961 1998-06-02 Richard Stallman <rms@gnu.org> | |
962 | |
963 * sysdep.c (sys_subshell): Cast arg to chdir. | |
964 (init_sys_modes): Cast arg to setbuf or setvbuf. | |
965 | |
966 * keyboard.c (syms_of_keyboard): Doc fix for suggest-key-bindings. | |
967 | |
968 1998-06-02 Ken'ichi Handa <handa@melange.gnu.org> | |
969 | |
970 * charset.c (string_to_non_ascii_char): Don't check the arg | |
971 EXCLUDE_TAIL_GARBAGE for an invalid composite characters. | |
972 | |
973 1998-06-01 Ken'ichi Handa <handa@melange.gnu.org> | |
974 | |
975 * coding.c (detect_coding_mask): Initilize local variable C. | |
976 | |
977 1998-06-01 Richard Stallman <rms@gnu.org> | |
978 | |
979 * emacs.c (main): Test `initialized' before clearing *Messages*. | |
980 | |
981 1998-06-01 Karl Heuer <kwzh@gnu.org> | |
982 | |
983 * s/aix4.h (SOCKLEN_TYPE): Define as int. | |
984 | |
985 * callproc.c (Fcall_process): Avoid initializer on auto struct. | |
986 | |
987 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org> | |
988 | |
989 * s/ms-w32.h: Use 1 as explicit value of empty #defines. | |
990 | |
991 * makefile.nt (LOCAL_FLAGS): Define HAVE_NTGUI if appropriate. | |
992 | |
993 1998-05-31 Karl Heuer <kwzh@gnu.org> | |
994 | |
995 * doprnt.c (doprnt1): Fix char signedness mismatches. | |
996 * fileio.c (Finsert_file_contents): Likewise. | |
997 | |
998 1998-05-31 Richard Stallman <rms@gnu.org> | |
999 | |
1000 * dispnew.c (Fredraw_frame): Don't erase frame or its glyph records | |
1001 if it hasn't got any. | |
1002 | |
1003 1998-05-30 Geoff Voelker <voelker@cs.washington.edu> | |
1004 | |
1005 * w32proc.c (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. | |
1006 | |
1007 * w32.c (sys_rename): Handle filenames with accented characters. | |
1008 (stat): Handle "c:/.." and "/.." specially. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1009 |
25865 | 1010 * unexw32.c (w32_fatal_reload_error): Update error message. |
1011 | |
1012 1998-05-30 Karl Heuer <kwzh@gnu.org> | |
1013 | |
1014 * Makefile.in (distclean): Delete config.stamp, stamp-oldxmenu. | |
1015 | |
1016 * window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix. | |
1017 * charset.c (syms_of_charset): Put \n\ at eol of docstring. | |
1018 | |
1019 1998-05-29 Richard Stallman <rms@gnu.org> | |
1020 | |
1021 * textprop.c (Fnext_property_change): Properly offset interval | |
1022 position for string when comparing with LIMIT. | |
1023 (property_change_between_p): Likewise. | |
1024 (Fnext_single_property_change, Fprevious_property_change): Likewise. | |
1025 (Fprevious_single_property_change): Likewise. | |
1026 | |
1027 1998-05-28 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1028 | |
1029 * keyboard.c (command_loop_1): In shortcuts for forward-char etc., | |
1030 use FETCH_CHAR not FETCH_BYTE. | |
1031 | |
1032 1998-05-28 Andrew Innes <andrewi@harlequin.co.uk> | |
1033 | |
1034 * lread.c (read1): Swap saved_doc_string_length and | |
1035 prev_saved_doc_string_length. | |
1036 (read_list): Negate docstring position if negative before checking | |
1037 against saved_doc_string_length et al. | |
1038 | |
1039 1998-05-28 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1040 | |
1041 * lread.c: Remember the last TWO strings skipped with #@. | |
1042 (prev_saved_doc_string*): New variables. | |
1043 (Fload): Initalize prev_saved_doc_string. | |
1044 (read1): Copy saved_doc_string to prev_saved_doc_string | |
1045 before storing a new string in saved_doc_string. | |
1046 (read_list): Look in prev_saved_doc_string as well as | |
1047 in saved_doc_string. | |
1048 | |
1049 1998-05-25 Andrew Innes <andrewi@harlequin.co.uk> | |
1050 | |
1051 * doc.c (get_doc_string): Make non-static. | |
1052 | |
1053 * lisp.h: Add prototype for get_doc_string. | |
1054 | |
1055 * lread.c (read_vector): Add bytecodeflag parameter, which is | |
1056 nonzero when reading a bytecode object. If | |
1057 `load-force-doc-strings' is t when reading a lazily-loaded | |
1058 bytecode vector, the loaded docstring must be treated as unibyte | |
1059 and passed to Fread to obtain the actual bytecode string and | |
1060 constants vector. | |
1061 (read1): Add extra parameter to read_vector calls. | |
1062 | |
1063 (read1): Enable saving of doc strings on WINDOWSNT. | |
1064 (read_list): Call get_doc_string instead of read_doc_string, when | |
1065 forced to load doc strings. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1066 |
25865 | 1067 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
1068 | |
1069 * s/gnu-linux.h (setpgrp): Remove extra parens around parameters. | |
1070 | |
1071 * xterm.c (XTread_socket): Fix second argument of | |
1072 x_any_window_to_frame. | |
1073 | |
1074 * print.c (print) <Lisp_Cons>: Detect circular list. | |
1075 | |
1076 1998-05-25 Kenichi Handa <handa@etl.go.jp> | |
1077 | |
1078 * coding.c (detect_coding_system): Treat CODING_EOL_INCONSISTENT | |
1079 like CODING_EOL_UNDECIDED. | |
1080 | |
1081 * coding.c (ascii_skip_code): New variable. | |
1082 (detect_coding_mask): Skip ASCII codes at the head according to | |
1083 ascii_skip_code. | |
1084 (coding_priorities): New variable. | |
1085 (Fset_coding_priority_internal): New function. | |
1086 (detect_coding): Call set_coding_mask with coding_priorities as | |
1087 arg CODING. | |
1088 (init_coding_once): Initialize ascii_skip_code. | |
1089 (syms_of_coding): Declare set-coding-priority-internal as a Lisp | |
1090 function. | |
1091 | |
1092 1998-05-25 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1093 | |
1094 * config.in (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE. | |
1095 | |
1096 * lisp.h (CHAR_TABLE_TRANSLATE): New macro. | |
1097 | |
1098 1998-05-24 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1099 | |
1100 * window.c (Fdelete_windows_on): For FRAME, change t to nil | |
1101 and nil to t, but don't change other values. | |
1102 | |
1103 * xdisp.c (message_dolog): Do set windows_or_buffers_changed, | |
1104 if *Messages* is displayed in a window. | |
1105 | |
1106 1998-05-22 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1107 | |
1108 * indent.c (compute_motion): Check for past vpos/hpos target | |
1109 before skipping invisible chars. | |
1110 | |
1111 * buffer.c (Fother_buffer): Doc fix. | |
1112 | |
1113 * window.c (window_loop): Pass new arg to Fother_buffer. | |
1114 | |
1115 * frame.c (frame_buffer_predicate): New arg FRAME. | |
1116 (frame_buffer_list, set_frame_buffer_list): Likewise. | |
1117 (make_frame): Pass new arg to Fother_buffer. | |
1118 | |
1119 * buffer.c (Fother_buffer): New arg FRAME. | |
1120 Pass it to frame_buffer_list, frame_buffer_predicate. | |
1121 Calls changed. | |
1122 (record_buffer): Pass selected frame to them | |
1123 and set_frame_buffer_list. | |
1124 | |
1125 * lisp.h (frame_buffer_predicate, frame_buffer_list) | |
1126 (set_frame_buffer_list, Fother_buffer): Decls changed. | |
1127 | |
1128 * window.c (select_window_1): New subroutine, from Fselect_window. | |
1129 (Fselect_window): Use select_window_1. | |
1130 (temp_output_buffer_show): Use select_window_1. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1131 |
25865 | 1132 1998-05-22 Kenichi Handa <handa@etl.go.jp> |
1133 | |
1134 * ccl.c: Change term "character translation table" to "translation | |
1135 table". | |
1136 | |
1137 * charset.c: Change term "character translation table" to | |
1138 "translation table". | |
1139 (string_to_non_ascii_char): New arg EXCLUDE_TAIL_GARBAGE. Caller | |
1140 changed. | |
1141 (Funibyte_char_to_multibyte): Doc-string fixed. | |
1142 (syms_of_charset): Doc-string fixed. | |
1143 | |
1144 * charset.h (STRING_CHAR_AND_CHAR_LENGTH): New macro. | |
1145 (string_to_non_ascii_char): Adjusted for the new arg. | |
1146 | |
1147 * coding.c: Change term "character translation table" to | |
1148 "translation table". | |
1149 | |
1150 * coding.h: Change term "character translation table" to | |
1151 "translation table". | |
1152 | |
1153 * print.c (print_string): Don't ignore garbage bytes following a | |
1154 multibyte characters. | |
1155 (print): Likewise. | |
1156 | |
1157 1998-05-22 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1158 | |
1159 * search.c (shrink_regexp_cache): New function. | |
1160 | |
1161 * alloc.c (Fgarbage_collect): Call shrink_regexp_cache. | |
1162 | |
1163 1998-05-20 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1164 | |
1165 * editfns.c (Fchar_after): Make nil fully equivalent to (point) as arg. | |
1166 (Fchar_before): Likewise. | |
1167 | |
1168 1998-05-20 Eli Zaretskii <eliz@is.elta.co.il> | |
1169 | |
1170 * fileio.c (Ffile_name_directory, Ffile_name_nondirectory) | |
1171 [DOS_NT]: Handle the special construct "/:" when followed by d:foo. | |
1172 | |
1173 * buffer.c (init_buffer): Support DOS_NT absolute file names. | |
1174 | |
1175 1998-05-20 Kenichi Handa <handa@etl.go.jp> | |
1176 | |
1177 * charset.c (find_charset_in_str): New arg CMPCHARP. | |
1178 (Ffind_charset_region): Call find_charset_in_str with CMPCHARP 0. | |
1179 (Ffind_charset_string): Likewise. | |
1180 | |
1181 * charset.h (find_charset_in_str): Number of arguments fixed. | |
1182 | |
1183 * coding.c (shrink_decoding_region): No short cut by | |
1184 coding->heading_ascii if eol conversion is necessary. | |
1185 | |
1186 * fns.c (Fstring_make_multibyte): Call CHECK_STRING. | |
1187 (Fstring_make_unibyte, Fstring_as_unibyte, Fstring_as_multibyte): | |
1188 Likewise. | |
1189 | |
1190 * xselect.c (lisp_data_to_selection_data): Call | |
1191 find_charset_in_str with CMPCHARP 1 to encode Lisp string if it | |
1192 contains a composite character. | |
1193 | |
1194 1998-05-19 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1195 | |
1196 * minibuf.c (syms_of_minibuf): Doc fix. | |
1197 | |
1198 * window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1199 |
25865 | 1200 * frame.c (make_frame_visible_1): New function. |
1201 (Fmake_frame_visible): Use that. | |
1202 | |
1203 * xdisp.c (redisplay_window): Don't use window->start | |
1204 if it is out of range of BEGV/ZV. | |
1205 | |
1206 1998-05-18 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1207 | |
1208 * minibuf.c (read_minibuf): If history list var is void, make it nil. | |
1209 | |
1210 1998-05-18 Ken'ichi Handa <handa@melange.gnu.org> | |
1211 | |
1212 * syntax.c (skip_chars): Fix previous change. | |
1213 | |
1214 1998-05-17 Kenichi HANDA <handa@etl.go.jp> | |
1215 | |
1216 * ccl.c: Change term translation to code conversion, then change | |
1217 terms unify/unification to translate/translation respectively | |
1218 throughtout the file. | |
1219 | |
1220 * charset.c: Change terms unify/unification to | |
1221 translate/translation respectively throughtout the file. | |
1222 (ONE_BYTE_CHAR_WIDTH): Delete unnecessary continuation line at the | |
1223 tail. | |
1224 | |
1225 * charset.h: Change terms unify/unification to | |
1226 translate/translation respectively throughtout the file. | |
1227 (GET_TRANSLATION_TABLE): Name changed from UNIFICATION_ID_TABLE. | |
1228 | |
1229 * coding.c: Change terms unify/unification to | |
1230 translate/translation respectively throughtout the file. | |
1231 (encode_coding_iso2022): Fix bug in encoding a text ending by a | |
1232 composite character. | |
1233 (check_composing_code): If we are decoding the last block of data, | |
1234 return 0 even if the source doesn't end by an escape sequence | |
1235 which terminates the current composing sequence. | |
1236 (decode_coding_iso2022): Decode correctly even if the source | |
1237 doesn't end by an escape sequence which terminates the current | |
1238 composing sequence. | |
1239 | |
1240 * coding.h: Change terms unify/unification to | |
1241 translate/translation respectively throughout the file. | |
1242 | |
98317 | 1243 * fns.c (concat): Fix bug in concatenating a list of multibyte and |
25865 | 1244 unibyte characters. |
1245 | |
1246 * lisp.h (Vnonascii_translation_table): Name changed from | |
1247 Vnonascii_translate_table. | |
1248 | |
1249 * syntax.c (skip_chars): Fix bug in handling a range which | |
1250 contains multibyte characters. | |
1251 | |
1252 1998-05-17 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1253 | |
1254 * filelock.c (get_boot_time): Scan the whole wtmp file | |
1255 to find the most recent reboot. | |
1256 | |
1257 * window.c (Fselect_window): Doc fix. | |
1258 (temp_output_buffer_show): Make the temp buffer current | |
1259 before running Qtemp_buffer_show_hook. | |
1260 | |
1261 * fileio.c (Fexpand_file_name): Change conditional | |
1262 in previous change from WINDOWSNT to DOS_NT. | |
1263 | |
1264 1998-05-16 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1265 | |
1266 * buffer.h (struct buffer): New slot display_time. | |
1267 | |
1268 * buffer.c (syms_of_buffer): Set up Lisp variable buffer-display-time. | |
1269 Doc fixes. | |
1270 (reset_buffer): Initialize display_time slot. | |
1271 (init_buffer_once): Initialize display_time slot. | |
1272 | |
1273 * window.c (Fset_window_buffer): Update buffer's display_time. | |
1274 | |
1275 * insdel.c (insert_1_both, insert_from_string_1, replace_range) | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1276 (insert_from_buffer_1, adjust_before_replace, adjust_after_replace): |
25865 | 1277 Don't copy text being deleted, if undo is disabled. |
1278 | |
1279 * lread.c (readchar): Use readchar_backlog again | |
1280 to read a character byte by byte, if its byte sequence | |
1281 does not really match the character code. | |
1282 (unreadchar): Handle readchar_backlog. | |
1283 (readevalloop, Fread): Initialize readchar_backlog to -1. | |
1284 | |
1285 1998-05-15 Geoff Voelker <voelker@cs.washington.edu> | |
1286 | |
1287 * fileio.c (Fexpand_file_name) [WINDOWSNT]: Be careful not to | |
1288 concatenate the directory prefix and file name to accidentally | |
1289 create a network share name. | |
1290 | |
1291 1998-05-14 Andrew Innes <andrewi@harlequin.co.uk> | |
1292 | |
1293 * w32xfns.c (interrupt_handle): New variable. | |
1294 (init_crit): Initialize it. | |
1295 (delete_crit): Cleanup on exit. | |
1296 (signal_quit): New function. Signal any threads that are blocked | |
1297 on a "system" call (provided they have been specially written to | |
1298 check for this), so the call can fail with EINTR as on Unix. | |
1299 | |
1300 * w32term.h (signal_quit): Add prototype. | |
1301 | |
1302 * w32fns.c (w32_wnd_proc): Call signal_quit when C-g is received. | |
1303 | |
1304 * w32proc.c (sys_select): Always wait on interrupt_handle, so that | |
1305 user can break out of `accept-process-input' (for instance) by | |
1306 typing C-g. | |
1307 | |
1308 1998-05-14 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1309 | |
1310 * keyboard.c (read_char): If redisplay is preempted, | |
1311 try swallow_events; if that clears input_pending, | |
1312 finish the redisplay. | |
1313 | |
1314 1998-05-14 Geoff Voelker <voelker@cs.washington.edu> | |
1315 | |
1316 * w32term.c (w32_ring_bell): Flash window correctly. | |
1317 | |
1318 1998-05-13 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1319 | |
1320 * fileio.c (Finsert_file_contents): Don't check non-regular | |
1321 files for a coding: specification. | |
1322 | |
1323 1998-05-13 Inge Frick <inge@nada.kth.se> | |
1324 | |
1325 * keyboard.c (parse_menu_item): Removed unnecessary gcproing. | |
1326 Fix a test of inmenubar. | |
1327 | |
1328 1998-05-13 Eli Zaretskii <eliz@mescaline.gnu.org> | |
1329 | |
1330 * msdos.c (init_environment): Set TMPDIR to an existing | |
1331 directory. Abort if none of the usual places is available. | |
1332 | |
1333 1998-05-13 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1334 | |
1335 * syntax.c (skip_chars): When fetching char after \, | |
1336 don't fail to set c_leading_code. | |
1337 | |
1338 1998-05-12 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1339 | |
1340 * fileio.c (Finsert_file_contents): Check that a -*- coding: -*- spec | |
1341 or a local variables list exists, before Vset_auto_coding_function. | |
1342 | |
1343 * minibuf.c (Fminibuffer_complete_word): | |
1344 Fix the string-comparison loop. | |
1345 | |
1346 * search.c (search_buffer): Set search regs for all success | |
1347 with an empty string. | |
1348 (set_search_regs): Clear out all regs except 0. | |
1349 | |
1350 * minibuf.c (Fall_completions, Ftry_completion): | |
1351 Compare char sizes, not STRING_BYTES. | |
1352 | |
1353 1998-05-12 Inge Frick <inge@nada.kth.se> | |
1354 | |
1355 * keyboard.c (parse_menu_item): Argument inmenubar < 0 now means | |
1356 parsing a keyboard menu item. | |
1357 (read_char_minibuf_menu_prompt): Use `parse_menu_item' to understand | |
1358 new menu item format. | |
1359 | |
1360 1998-05-12 Andrew Innes <andrewi@harlequin.co.uk> | |
1361 | |
1362 * w32.c (stat, get_long_basename): Fail if filename contains any | |
1363 characters that are illegal in file names. | |
1364 | |
1365 1998-05-11 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1366 | |
1367 * minibuf.c (assoc_for_completion): Use Fcompare_strings. | |
1368 (test_completion): In obarray, try both unibyte and multibyte strings. | |
1369 (read_minibuf): Convert unibyte prompt to multi if minibuffer is multi. | |
1370 (Fdisplay_completion_list): Convert unibyte to strings to multibyte | |
1371 to conform to the buffer. | |
1372 | |
1373 * fileio.c (Finsert_file_contents): Don't use the fast replace code | |
1374 if coding needs eol conversion. | |
1375 (Finsert_file_contents) [DOS_NT]: When setting buffer_file_type, | |
1376 if code conversion is needed, file is not binary. | |
1377 | |
1378 * xdisp.c (redisplay_window): Handle scroll_step along with | |
1379 scroll_conservatively. Fix 1-off error checking the limit for them. | |
1380 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1381 * filelock.c (unlock_file): Encode the file name. |
25865 | 1382 |
1383 1998-05-10 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1384 | |
1385 * buffer.c (Fset_buffer_multibyte): Error if marker is put | |
1386 on buffer's marker-chain while we have temporarily put nil there. | |
1387 | |
1388 * marker.c (unchain_marker): Abort if the marker is not | |
1389 in its buffer's chain. | |
1390 (buf_bytepos_to_charpos): Fix assignment of `record' | |
1391 when scanning from below. | |
1392 Don't create a marker if buffer's marker chain is empty. | |
1393 | |
1394 * coding.c (code_convert_region1): Set Vlast_coding_system_used. | |
1395 (code_convert_string1): Likewise. | |
1396 (Fdecode_coding_region, Fencode_coding_region): Doc fixes. | |
1397 (Fdecode_coding_string, Fencode_coding_string): Doc fixes. | |
1398 | |
1399 * Makefile.in (TAGS): Specify directory when running etags. | |
1400 | |
1401 1998-05-09 Richard Stallman <rms@psilocin.ai.mit.edu> | |
1402 | |
1403 * bytecode.c (Fbyte_code): Don't use Bmark. | |
1404 | |
1405 * .gdbinit (xstring): Handle unibyte strings. | |
1406 (xchartable, xboolvector): New commands. | |
1407 | |
1408 * xdisp.c (redisplay_window): Don't use last_point_x and last_point_y | |
1409 if cursor_in_echo_area. | |
1410 | |
1411 * minibuf.c (Qbuffer_name_history): New variable. | |
1412 (syms_of_minibuf): Initialize it. | |
1413 (Fread_buffer): Use that history list. | |
1414 | |
1415 1998-05-09 Richard Stallman <rms@psilocin.gnu.org> | |
1416 | |
1417 * syntax.c (scan_lists, scan_sexps_forward): Move complex expressions | |
1418 outside of the switch statement. | |
1419 | |
1420 1998-05-09 Ken'ichi Handa <handa@melange.gnu.org> | |
1421 | |
1422 * indent.c (compute_motion): Fix previous change. | |
1423 | |
1424 1998-05-08 Kenichi Handa <handa@etl.go.jp> | |
1425 | |
1426 * coding.c (detect_coding_mask): Check also coding-category-binary. | |
1427 | |
1428 1998-05-08 Richard Stallman <rms@psilocin.gnu.org> | |
1429 | |
1430 * doc.c (get_doc_string): New arg UNIBYTE | |
1431 Maybe use make_unibyte_string. All callers changed. | |
1432 (read_doc_string): Specify 1 for UNIBYTE. | |
1433 | |
1434 * process.c (Fstart_process): Remove the special case for | |
1435 unibyte, for initializing the process coding systems. | |
1436 Instead, use the normal multibyte code, but check | |
1437 BUFFER's value and the default value of enable-multibyte-characters. | |
1438 (Fopen_network_stream): Likewise. | |
1439 | |
1440 1998-05-08 Ken'ichi Handa <handa@melange.gnu.org> | |
1441 | |
1442 * indent.c (compute_motion): Fix, in a different way, the bug of | |
1443 handling wide-column character around right margin. | |
1444 | |
1445 1998-05-07 Richard Stallman <rms@psilocin.gnu.org> | |
1446 | |
1447 * indent.c (compute_motion): Undo both May 7 changes. | |
1448 | |
1449 * doprnt.c (doprnt1): Cast arg to CHAR_STRING. | |
1450 | |
1451 1998-05-07 Andrew Innes <andrewi@harlequin.co.uk> | |
1452 | |
1453 * callproc.c (Fcall_process): Fix test for when to call | |
1454 Ffind_operation_coding_system. | |
1455 | |
1456 1998-05-07 Ken'ichi Handa <handa@melange.gnu.org> | |
1457 | |
1458 * indent.c (compute_motion): Fix previous change. | |
1459 | |
1460 1998-05-07 Richard Stallman <rms@psilocin.gnu.org> | |
1461 | |
1462 * search.c (Freplace_match): Fix the loop for copying text | |
1463 from a string, in handling lastpos and pos. | |
1464 | |
1465 1998-05-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
1466 | |
1467 * data.c (set_internal): Properly compare lisp objects. | |
1468 (Fmakunbound): Likewise. | |
1469 * lread.c (Fintern): Properly compare lisp objects. | |
1470 | |
1471 1998-05-07 Andrew Innes <andrewi@harlequin.co.uk> | |
1472 | |
1473 * fileio.c (Fexpand_file_name) [DOS_NT]: Note when special escape | |
1474 prefix /: is present, and reinsert after name has been expanded. | |
1475 Only recognize drive specifier at beginning of name. | |
1476 | |
1477 * fileio.c (Fexpand_file_name): | |
1478 Don't strip trailing slash if newdir is just /. | |
1479 | |
1480 1998-05-07 Eli Zaretskii <eliz@mescaline.gnu.org> | |
1481 | |
1482 * process.c (init_process, syms_of_process) [not subprocesses]: | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
1483 Make definition consistent with prototypes on lisp.h. |
25865 | 1484 |
1485 1998-05-07 Kenichi Handa <handa@etl.go.jp> | |
1486 | |
1487 * indent.c (compute_motion): Fix bug of handling wide-column | |
1488 character around right margin. | |
1489 | |
1490 1998-05-07 Richard Stallman <rms@psilocin.gnu.org> | |
1491 | |
1492 * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
1493 | |
1494 1998-05-07 Kenichi Handa <handa@etl.go.jp> | |
1495 | |
1496 * callproc.c (Fcall_process): If we must display received data on | |
1497 the fly, don't wait until a buffer is filled. | |
1498 | |
1499 1998-05-05 Richard Stallman <rms@psilocin.gnu.org> | |
1500 | |
1501 * fileio.c (barf_or_query_if_file_exists): Encode file name. | |
1502 | |
1503 1998-05-04 Kenichi HANDA <handa@etl.go.jp> | |
1504 | |
1505 * coding.c (encode_coding_iso2022): Don't skip a code following | |
1506 some invalid code. | |
1507 | |
1508 1998-05-04 Richard Stallman <rms@psilocin.gnu.org> | |
1509 | |
1510 * fileio.c (Finsert_file_contents): Don't use gap pos to set point | |
1511 if del_range_byte deleted 0 characters. | |
1512 | |
1513 * search.c (boyer_moore): Check more reliably for ptr[1] being | |
1514 out of range. Use pat_end to point at the pattern's end. | |
1515 | |
1516 * emacs.c (main): Call the syms_of_... and keys_of_... functions | |
1517 earlier, before init_vms_input and init_display. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1518 |
25865 | 1519 1998-05-04 E. Jay Berkenbilt <ejb@ql.org> |
1520 | |
1521 * window.h (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when | |
1522 there are no vertical scrollbars and this is the rightmost window | |
1523 in the frame. | |
1524 | |
1525 1998-05-04 Eli Zaretskii <eliz@mescaline.gnu.org> | |
1526 | |
1527 * lread.c (Fload): Rename dosmode to fmode and use it on all | |
1528 platforms. Avoid calling fdopen only for WINDOWSNT, use fdopen | |
42674 | 1529 for the MSDOS version. |
25865 | 1530 (read1): Avoid recording doc strings positions only for WINDOWSNT, |
1531 not for MSDOS. | |
1532 | |
1533 1998-05-04 Andreas Schwab <schwab@delysid.gnu.org> | |
1534 | |
1535 * xterm.c: Include syssignal.h after lisp.h. | |
1536 | |
1537 * syssignal.h: Declare init_signals and add prototypes. | |
1538 | |
1539 * lisp.h: Declare init functions. | |
1540 | |
1541 1998-05-03 Richard Stallman <rms@psilocin.gnu.org> | |
1542 | |
1543 * s/sunos4shr.h (LIBXMU): Don't bother testing CANNOT_DUMP. | |
1544 | |
1545 * Makefile.in (TAGS-LISP): New target. | |
1546 (${lispsource}TAGS): Target deleted. | |
1547 (tags): Depend on TAGS-LISP. | |
1548 (TAGS): Generate the TAGS file in the build dir. | |
1549 (lisptagsfiles): Variable deleted. | |
1550 | |
1551 * Makefile.in (shortnamesdir, cppdir): Vars deleted. | |
1552 (shortnames): Target deleted. | |
1553 (temacs): Don't use $(SHORT). | |
1554 (SHORT): Var deleted. | |
1555 | |
1556 1998-05-02 Richard Stallman <rms@psilocin.gnu.org> | |
1557 | |
1558 * alloc.c (Fmake_bool_vector): Clear out extraneous bits at end. | |
1559 | |
1560 * lread.c (read1): Clear out extraneous bits at end of bool-vector. | |
1561 | |
1562 * search.c (compile_pattern_1): Declare raw_pattern as unsigned char *. | |
1563 Fix casts when assigning raw_pattern. | |
1564 Cast raw_pattern when calling re_compile_pattern. | |
1565 | |
1566 1998-05-02 Hallvard B Furuseth <h.b.furuseth@usit.uio.no> | |
1567 | |
1568 * process.c (create_process): Add cast when calling encode_coding | |
1569 and another when storing buf into new_argv. | |
1570 | |
1571 * search.c (search_buffer): Fix casts when assigning raw_pattern. | |
1572 | |
1573 * editfns.c (Fformat): Fix casts when assigning buf. | |
1574 | |
1575 * lread.c (isfloat_string): Don't look at bytes before the string. | |
1576 | |
1577 1998-05-02 Richard Stallman <rms@psilocin.gnu.org> | |
1578 | |
1579 * s/nextstep.h (HAVE_STRING_H): Add #undef. | |
1580 (NO_ABORT): Defined. | |
1581 | |
1582 * editfns.c (Finsert_char): Doc fix. | |
1583 | |
1584 1998-05-02 Hrvoje Niksic <hniksic@srce.hr> | |
1585 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1586 * fileio.c (Fmake_temp_name): Improve randomness of generated file |
25865 | 1587 names. |
1588 | |
1589 1998-05-01 Richard Stallman <rms@psilocin.gnu.org> | |
1590 | |
1591 * search.c (wordify): Do the second loop by chars, not by bytes. | |
1592 | |
1593 1998-05-01 Kenichi Handa <handa@etl.go.jp> | |
1594 | |
1595 * coding.c (encode_coding_iso2022): If encoding a last block, | |
1596 reset graphic planes and registers. | |
1597 | |
1598 1998-04-30 Geoff Voelker <voelker@cs.washington.edu> | |
1599 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1600 * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names) |
25865 | 1601 New variables. |
1602 (make_lispy_event): Handle drag_n_drop events. | |
1603 (syms_of_keyboard): Initialize new symbols. | |
1604 | |
1605 * w32fns.c (enum_font_cb2): Only ignore raster fonts when | |
1606 determining height and width. | |
1607 | |
1608 * termhooks.h (event_kind): New event type `drag_n_drop'. | |
1609 | |
1610 * makefile.nt (LIBS): Link in shell32.lib. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1611 |
25865 | 1612 * w32fns.c: Include shellapi.h. |
1613 (w32_createwindow): Enable drag-n-drop on new windows. | |
1614 (w32_wnd_proc): Handle WM_DROPFILES messages. | |
1615 Disable drag-n-drop on closing windows. | |
1616 | |
1617 * w32term.c: Include shellapi.h. | |
1618 (construct_drag_n_drop): New function. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1619 (w32_read_socket): Handle WM_DROPFILES messages. |
25865 | 1620 |
1621 1998-04-30 Skip Collins <ColliBF1@APLMSG.JHUAPL.EDU> | |
1622 | |
1623 * w32fns.c (msh_mousewheel): New variable. | |
1624 (w32_msg_pump): Register that Emacs accepts mousewheel events. | |
1625 (w32_wnd_proc): Check for mousewheel events. | |
1626 | |
1627 * w32term.c (msh_mousewheel): Declare. | |
1628 (w32_read_socket): Check for mousewheel events. | |
1629 | |
1630 * w32term.h (WM_MOUSEWHEEL): Define relative to WM_MOUSELAST. | |
1631 (MSH_MOUSEWHEEL): New macro. | |
1632 | |
1633 1998-04-29 Richard Stallman <rms@psilocin.gnu.org> | |
1634 | |
1635 * indent.c (compute_motion): When invisible text cross TO, | |
1636 return TO, not the start of the invisible text. | |
1637 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1638 * process.c (Fset_process_inherit_coding_system_flag, Fstart_process): |
25865 | 1639 Store inherit_coding_system_flag as a Lisp_Object. |
1640 (Fopen_network_stream): Likewise. | |
1641 (Fprocess_inherit_coding_system_flag): Access it as Lisp_Object. | |
1642 (read_process_output): Likewise. | |
1643 | |
1644 * process.h (struct Lisp_Process): | |
1645 Make inherit_coding_system_flag a Lisp_Object. | |
1646 | |
1647 1998-04-29 David Mosberger-Tang <David.Mosberger@acm.org> | |
1648 | |
1649 * unexelf.c [__alpha__ && !__NetBSD__ && !__OpenBSD__]: | |
1650 Include definition of HDRR structure that used to be in sym.h, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1651 instead of sym.h. |
25865 | 1652 |
1653 1998-04-29 Andreas Schwab <schwab@delysid.gnu.org> | |
1654 | |
1655 * xfns.c: Fix -Wimplicit warnings. | |
1656 | |
1657 * xdisp.c (redisplay_window): Update STARTP_BYTE alongside with | |
1658 STARTP. New variable scroll_margin_bytepos, to parallel | |
1659 scroll_margin_pos. Fix arguments of pos_tab_offset to agree with | |
1660 the first argument of compute_motion. | |
1661 | |
1662 * window.c (make_window): Initialize last_point field. | |
1663 | |
1664 * sysdep.c (emacs_get_tty): Zero out termios structure before | |
1665 getting attributes to get consistent values for holes. | |
1666 (emacs_set_tty): Likewise. | |
1667 | |
1668 * lisp.h: Declare Fcompare_strings. | |
1669 | |
1670 * fns.c: Include <time.h> for time. | |
1671 | |
1672 * emacs.c (main): Use Vbuffer_alist instead of Fbuffer_list. | |
1673 (syms_of_emacs): Fix doc of Vsignal_USR1_hook and | |
1674 Vsignal_USR2_hook. | |
1675 | |
1676 * coding.c (setup_coding_system): Properly check for nil. | |
1677 | |
1678 1998-04-29 Richard Stallman <rms@psilocin.gnu.org> | |
1679 | |
1680 * editfns.c (Fcompare_buffer_substrings): Rewrite to loop by chars. | |
1681 | |
1682 * coding.h (Vfile_name_coding_system) | |
1683 (Vdefault_file_name_coding_system): Declarations added. | |
1684 | |
1685 * emacs.c (abort): Omit this definition, if NO_ABORT. | |
1686 End by calling exit, to avoid warning. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1687 |
25865 | 1688 1998-04-28 Richard Stallman <rms@psilocin.gnu.org> |
1689 | |
1690 * filelock.c: Include coding.h. | |
1691 (lock_file): Encode the file name, to make lock file name. | |
1692 | |
1693 * editfns.c (Fgap_position, Fgap_size): New functions. | |
1694 (syms_of_editfns): defsubr them. | |
1695 | |
1696 * filelock.c (lock_file): gcpro `fn'. | |
1697 | |
1698 * insdel.c (insert_1_both): Call prepare_to_modify_buffer before | |
1699 moving or making gap. | |
1700 (insert_from_string_1): Don't check max buffer size here. | |
1701 | |
1702 * data.c (Flsh, Fash): Handle out-of-range shift counts reasonably. | |
1703 | |
1704 1998-04-28 Dave Love <d.love@dl.ac.uk> | |
1705 | |
1706 * s/aix4.h (HAVE_STRING_H): Add #undef. | |
1707 (HAVE_WAIT_HEADER): Defined. | |
1708 | |
1709 1998-04-28 Richard Stallman <rms@psilocin.gnu.org> | |
1710 | |
1711 * emacs.c (main): Fix bug report address in --help message. | |
1712 (main): Doc --multibyte and --unibyte in --help message. | |
1713 | |
1714 * fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_X_WINDOWS. | |
1715 | |
1716 1998-04-28 Eli Zaretskii <eliz@mescaline.gnu.org> | |
1717 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1718 * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1719 (frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1720 (term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1721 Depend on msdos.h. |
25865 | 1722 (print.o): Depend on dispextern.h. |
1723 | |
1724 1998-04-28 Andreas Schwab <schwab@delysid.gnu.org> | |
1725 | |
1726 * process.c (Fset_process_inherit_coding_system_flag): | |
1727 Fix test for non-nil FLAG. | |
1728 | |
1729 * lread.c: Fix -Wimplicit warnings. | |
1730 (readevalloop): Fix type of UNIBYTE parameter. | |
1731 | |
1732 1998-04-27 Richard Stallman <rms@psilocin.gnu.org> | |
1733 | |
1734 * xterm.c (XTwrite_glyphs): Don't advance cursor X beyond limit. | |
1735 (XTcursor_to): Likewise. | |
1736 | |
1737 * blockinput.h (reinvoke_input_signal): Don't use prototype decl. | |
1738 | |
1739 1998-04-27 Hrvoje Niksic <hniksic@srce.hr> | |
1740 | |
1741 * fns.c (Fload_average): New arg USE_FLOATS. | |
1742 | |
1743 1998-04-27 Eli Zaretskii <eliz@mescaline.gnu.org> | |
1744 | |
1745 * fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM | |
1746 is defined. | |
1747 | |
1748 * callproc.c, fileio.c: Include msdos.h after lisp.h. | |
1749 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1750 * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1751 (IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1752 (IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1753 (IT_update_begin, IT_update_end, IT_set_terminal_modes) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1754 (IT_reset_terminal_modes, IT_set_terminal_window) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1755 (pixel_to_glyph_coords, IT_menu_display): Bring definitions in |
25865 | 1756 accordance with prototype declarations. |
1757 | |
1758 * msdos.h [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle | |
1759 and prototypes for external functions. | |
1760 | |
1761 1998-04-26 Richard Stallman <rms@psilocin.gnu.org> | |
1762 | |
1763 * fns.c (Fcompare_strings): Doc fix. | |
1764 | |
1765 * minibuf.c (minibuf_conform_representation): New function. | |
1766 (Ftry_completion): Use it to return multibyte string | |
1767 if and only if the completion table has a multibyte string. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1768 (Fdisplay_completion_list): |
25865 | 1769 Convert string to unibyte before displaying it, if default is unibyte. |
1770 | |
1771 * eval.c (find_handler_clause): Cast Fbacktrace to proper type. | |
1772 | |
1773 * data.c (Fmakunbound): Test keywordness only in initial obarray. | |
1774 | |
1775 1998-04-26 Erik Naggum <erik@naggum.no> | |
1776 | |
1777 * emacs.c (standard_args): Apply --unibyte/multibyte after --nw. | |
1778 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
1779 * lisp.h: Include initial_obarray from lread.c. |
25865 | 1780 |
1781 * data.c (set_internal): Test keywordness only in initial obarray. | |
1782 | |
1783 * lread.c (Fintern): Initialize keywords only in initial obarray. | |
1784 | |
1785 1998-04-25 Richard Stallman <rms@psilocin.gnu.org> | |
1786 | |
1787 * sysdep.c (croak): Add forward declaration. | |
1788 | |
1789 * xfns.c (x_set_foreground_color, x_set_background_color) | |
1790 (x_set_mouse_color, x_set_cursor_color): Don't call unload_color | |
1791 if same pixel is used in another slot in the frame. | |
1792 | |
1793 * xterm.c (x_display_cursor): Use FRAME_CURSOR_X_LIMIT. | |
1794 | |
1795 * dispnew.c (change_frame_size_1): Use FRAME_CURSOR_X_LIMIT. | |
1796 (update_frame): Likewise. | |
1797 | |
1798 * frame.h (FRAME_CURSOR_X_LIMIT): New macro. | |
1799 | |
1800 1998-04-25 Erik Naggum <erik@naggum.no> | |
1801 | |
1802 * lread.c (Fread_from_string): Initialize startval and endval. | |
1803 | |
1804 1998-04-24 Richard Stallman <rms@psilocin.gnu.org> | |
1805 | |
1806 * lread.c (read1): Allow multibyte and unibyte together | |
1807 in one string. | |
1808 | |
1809 * xdisp.c (Qinhibit_point_motion_hooks): New variable. | |
1810 (syms_of_xdisp): Init and staticpro it. | |
1811 (redisplay_window): Bind the symbol to t. | |
1812 | |
1813 1998-04-24 Geoff Voelker <voelker@cs.washington.edu> | |
1814 | |
1815 * w32.c (sys_socket): Make sockets non-inheritable. | |
1816 | |
1817 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk> | |
1818 | |
1819 * coding.c (shrink_decoding_region): Do not consider LF as ascii | |
1820 if preceded by CR, since that confuses eol decoding. | |
1821 (code_convert_region): When conversion fails with | |
1822 CODING_FINISH_INSUFFICIENT_SRC, was overwriting src with garbage | |
1823 from dst instead of copying from src to dst. | |
1824 | |
1825 * fileio.c (Fcopy_file): Skip dev/inode check on Windows. | |
1826 | |
1827 * lread.c (dir_warning): Don't log a warning if Emacs hasn't | |
1828 finished initializing. | |
1829 | |
1830 * s/ms-w32.h (utimbuf): New macro. | |
1831 | |
1832 * w32.c (fstat, utime): New functions; these are provided in | |
1833 conjunction with stat to make handling of file timestamps | |
1834 consistent. | |
1835 (convert_from_time_t): Fix calculation of low-order bits. | |
1836 (sys_unlink): Allow read-only files to be unlinked as on Unix. | |
1837 | |
1838 * w32fns.c (x_set_vertical_scroll_bars): Put scroll bars on the | |
1839 right, as is conventional on MS-Windows. | |
1840 (w32_wnd_proc): Add code to draw popup menu titles. | |
1841 Ensure mouse capture is released before running popup menu. | |
1842 | |
1843 * w32term.c (w32_read_socket): Don't misinterpret WM_PAINT message | |
1844 as an expose event if the repaint region is actually empty. Also | |
1845 use the standard menubar_selection_callback routine. | |
1846 | |
1847 * w32menu.c: Replace code with a new version written from scratch | |
1848 based on xmenu.c; menu construction is now completely lazy. | |
1849 | |
1850 * w32proc.c (sys_kill): Fix indenting. | |
1851 | |
1852 1998-04-23 Inge Frick <inge@nada.kth.se> | |
1853 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1854 * keyboard.c (parse_menu_item): Support keywords :keys and |
25865 | 1855 :key-sequence. Some changes to provide GC-protection. Some |
1856 cosmetic changes. | |
1857 (syms_of_keyboard): Define new symbols `:keys' and `:key-sequence'. | |
1858 | |
1859 1998-04-23 Richard Stallman <rms@psilocin.gnu.org> | |
1860 | |
1861 * Makefile.in (emacs.o): Depend on buffer.h. | |
1862 | |
1863 * charset.c (syms_of_charset): Doc fix for nonascii-insert-offset. | |
1864 | |
1865 * editfns.c (Fbuffer_substring): Doc fix. | |
1866 (Finsert_and_inherit_before_markers): Doc fix. | |
1867 (Finsert_and_inherit, Finsert_before_markers, Finsert): Doc fixes. | |
1868 | |
1869 * fns.c (Fstring_make_multibyte): Doc fix. | |
1870 (Fstring_make_unibyte): Doc fix. | |
1871 | |
1872 1998-04-22 Richard Stallman <rms@psilocin.gnu.org> | |
1873 | |
1874 * charset.c (Funibyte_char_to_multibyte): Doc fix. | |
1875 | |
1876 * xfns.c (x_set_foreground_color): Call unload_color on the old color. | |
1877 (x_set_background_color, x_set_mouse_color): Likewise. | |
1878 (x_set_cursor_color, x_set_border_pixel): Likewise. | |
1879 | |
1880 * xfaces.c (unload_color): No longer static. | |
1881 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1882 * insdel.c (insert_from_string, insert_from_string_before_markers): |
25865 | 1883 Don't special case LENGTH = 0. |
1884 (insert_from_buffer): Likewise. | |
1885 | |
1886 1998-04-22 Erik Naggum <erik@naggum.no> | |
1887 | |
1888 * filelock.c (get_boot_time): Remove extraneous semicolon. | |
1889 | |
1890 * lisp.h: Remove extraneous semicolon. | |
1891 | |
1892 1998-04-22 Eli Zaretskii <eliz@delysid.gnu.org> | |
1893 | |
1894 * w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1895 before calling sit_for. |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1896 (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance |
25865 | 1897 the calls to BLOCK_INPUT and UNBLOCK_INPUT. |
1898 (alloc_xfer_buf): If want_size is more than 1MB, return | |
1899 immediately with failure. | |
1900 (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16 | |
1901 with w16. | |
1902 | |
1903 1998-04-21 Richard Stallman <rms@psilocin.gnu.org> | |
1904 | |
1905 * eval.c (Fsignal): Unconditionally do TOTALLY_UNBLOCK_INPUT. | |
1906 | |
1907 * dispnew.c (update_frame): Move echo area cursor into range. | |
1908 | |
1909 1998-04-21 Eli Zaretskii <eliz@delysid.gnu.org> | |
1910 | |
1911 * callproc.c (Fcall_process) [MSDOS]: Call child_setup instead of | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1912 run_msdos_command. |
25865 | 1913 (child_setup) [MSDOS]: Call run_msdos_command here. |
1914 (child_setup) [DOS_NT]: Get past drive letter in pwd. Don't call | |
1915 close_load_descs, since we are not in a vfork. | |
1916 | |
1917 * msdos.c (run_msdos_command): Don't construct process | |
1918 environment, it's already done in child_setup. | |
1919 (run_msdos_command): Add ENVV to argument list. | |
1920 | |
1921 1998-04-20 Richard Stallman <rms@psilocin.gnu.org> | |
1922 | |
1923 * emacs.c (main): Move the --unibyte code below | |
1924 the most basic initializations. | |
1925 Clear out *Messages* at that point. | |
1926 | |
1927 * lread.c (read_from_string_index_byte): New variable. | |
1928 (read_from_string_index): Now counts characters. | |
1929 (readchar, unreadchar, Fread_from_string): Changed accordingly. | |
1930 | |
1931 * lread.c (readchar): Read a multibyte char all at once | |
1932 from a buffer, marker or string. | |
1933 (unreadchar): Unread a multibyte char all at once. | |
1934 (read1): Properly handle non-escaped multibyte chars. | |
1935 They force a string to be multibyte. | |
1936 When reading direct from a file, any multibyte sequence means | |
1937 a multibyte string. | |
1938 Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking | |
1939 for read_buffer full; this way need not check specially for multibyte. | |
1940 | |
95848 | 1941 * emacs.c: Include buffer.h. |
25865 | 1942 (main): When handling --unibyte, mark all existing |
1943 buffers as unibyte; but don't handle it when dumping. | |
1944 | |
1945 * alloc.c (Fgarbage_collect): Don't truncate command-history here. | |
1946 | |
1947 * callint.c (Fcall_interactively): Truncate command-history here. | |
1948 | |
1949 * keyboard.c (Fcommand_execute): Truncate command-history here. | |
1950 | |
1951 * lread.c (readevalloop): New arg UNIBYTE. Callers changed. | |
1952 Use it to bind load_convert_to_unibyte. | |
1953 (Feval_buffer): New arg UNIBYTE. Pass it to readevalloop. | |
1954 (readevalloop_1): New unwind-protect subroutine. | |
1955 (load_convert_to_unibyte): New variable. | |
1956 (syms_of_lread): Set up Lisp var. | |
1957 (read1): If load_convert_to_unibyte, convert strings to unibyte. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
1958 |
25865 | 1959 * insdel.c (copy_text): Count down bytes_left properly |
1960 in multibyte to unibyte case. | |
1961 | |
1962 * fns.c (Fcompare_strings): Require first 6 args. | |
1963 | |
1964 1998-04-20 Kenichi HANDA <handa@etl.go.jp> | |
1965 | |
1966 * Makefile.in (lisp): Add czech.elc, slovak.elc, and romanian.elc. | |
1967 (shortlisp): Likewise. | |
1968 | |
1969 * coding.c (setup_coding_system): For a type 4 coding system, | |
1970 FLAGS member of coding spec is a cons of CCL program symbols. | |
1971 | |
1972 * ccl.c (Fregister_ccl_program): Put ccl-program-idx property to | |
1973 NAME. | |
1974 | |
1975 1998-04-19 Eli Zaretskii <eliz@delysid.gnu.org> | |
1976 | |
1977 * process.h (struct Lisp_Process): Add inherit_coding_system_flag | |
1978 member. | |
1979 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1980 * process.c (Fset_process_inherit_coding_system_flag) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
1981 (Fprocess_inherit_coding_system_flag): New functions. |
25865 | 1982 (syms_of_process): Defsubr them. |
1983 (Fstart_process, Fopen_network_stream): Initialize | |
1984 inherit_coding_system_flag. | |
1985 (read_process_output): If the process buffer isn't dead, call | |
1986 after-insert-file-set-buffer-file-coding-system. | |
1987 | |
1988 1998-04-18 Hrvoje Niksic <hniksic@srce.hr> | |
1989 | |
1990 * fileio.c (Fmake_temp_name): Complete rewrite. | |
1991 | |
1992 1998-04-18 Richard Stallman <rms@psilocin.gnu.org> | |
1993 | |
1994 * minibuf.c (Ftry_completion): Use Fcompare_strings. | |
1995 (Fall_completions, Fminibuffer_complete_word): Likewise. | |
1996 | |
1997 * fns.c (Fcompare_strings): New function. | |
1998 (syms_of_fns): defsubr it. | |
1999 | |
2000 * xselect.c (Fx_get_cut_buffer_internal): | |
2001 If FORMAT is 0, cut buffer is empty. | |
2002 | |
2003 * emacs.c (main): --unibyte affects minibuffer too. | |
2004 | |
2005 1998-04-17 Richard Stallman <rms@psilocin.gnu.org> | |
2006 | |
2007 * emacs.c (syms_of_emacs): Fix patching error in previous change. | |
2008 | |
2009 * lread.c (read1): Compute NaN and infinities using 0.0 in a | |
2010 variable, to cope with compilers that think they are smarter than us. | |
2011 | |
2012 * lread.c (readchar): Find the previous byte's address properly | |
2013 for the buffer case, as for the marker case. | |
2014 | |
2015 1998-04-17 Geoff Voelker <voelker@cs.washington.edu> | |
2016 | |
2017 * emacs.c (Vpath_separator): New variable. | |
2018 (syms_of_emacs): Define Vpath_separator using SEPCHAR. | |
2019 | |
2020 * lastfile.c (_my_endbss, my_endbss_static): New variables. | |
2021 | |
2022 * term.c (reset_terminal_modes): Only invoke hook if defined. | |
2023 | |
2024 * makefile.nt (LINK_TYPE): Do not include debug info in optimized | |
2025 binary. | |
2026 (LIBS): Include mpr.lib. | |
2027 (clean): Delete patch generated files, optimized build directory. | |
2028 | |
2029 * s/ms-w32.h (HAVE_STRING_H, HAVE_STRFTIME): Define macros. | |
2030 (SYSTEM_PURESIZE_EXTRA): Increase to handle more dumped lisp files. | |
2031 | |
2032 * unexw32.c (my_begbss_static, my_endbss_static): Declare. | |
2033 (get_bss_info_from_map_file): Only define if SEPARATE_BSS_SECTION. | |
2034 (get_section_info): Use my_begbss_static, my_endbss_static to | |
2035 determine bounds of bss. | |
2036 (w32_fatal_reload_error): New function. | |
2037 (read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error. | |
2038 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2039 * w32.c (sys_read): Clear carriage return flag. |
25865 | 2040 Report normal EOF when read fails if nothing in buffer. |
2041 Only read more if more remaining. | |
2042 (check_windows_init_file): New function. | |
2043 (term_ntproc): Invoke check_windows_init_file. | |
2044 | |
2045 * w32.h (FILE_SEND_SIGCHLD): New macro. | |
2046 | |
2047 * w32faces.c (Qforeground_color, Qbackground_color): Declare. | |
2048 (compute_char_face, merge_face_list): Update from xterm.c. | |
2049 | |
2050 * w32fns.c (w32_msg_pump): Handle WM_EMACS_SETLOCALE. | |
2051 (w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND. | |
2052 | |
2053 * w32heap.c (recreate_heap): Invoke w32_fatal_reload_error upon error. | |
2054 * w32heap.h (w32_fatal_reload_error): Declare. | |
2055 | |
2056 * w32inevt.c (Vw32_recognize_altgr): Declare. | |
2057 (w32_kbd_mods_to_emacs): Obey Vw32_recognize_altgr. | |
2058 Add more keys for Vw32_capslock_is_shiftlock. | |
2059 (w32_kbd_patch_key): Obey Vw32_recognize_altgr. | |
2060 (map_virt_key): Brazilian keyboards use 0xc1 for /(?) key. | |
2061 | |
2062 * w32menu.c (Vmenu_updating_frame): New variable. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2063 (Fx_popup_menu, set_frame_menubar): Record frame whose menu is |
25865 | 2064 being updated. |
2065 (syms_of_w32menu): Define Vmenu_updating_frame. | |
2066 | |
2067 * w32proc.c (w32_executable_type): Properly cast dos_header when | |
2068 making size comparison. | |
2069 (sys_spawnve): Update comments. | |
2070 (sys_select): Ignore children dead children with pending input. | |
2071 Delay sending SIGCHLD until all output has been read. | |
2072 (sys_kill): Sleep to allow focus change events to propagate. | |
2073 Use TerminateProcess on Win95. | |
2074 (int_from_hex, enum_locale_fn, Fw32_get_valid_locale_ids): | |
2075 New functions. | |
2076 (Vw32_valid_locale_ids): New variable. | |
2077 (Fw32_set_current_locale): Send message to input thread. | |
2078 (syms_of_ntproc): defsubr Sw32_get_valid_locale_ids. | |
2079 | |
2080 * w32term.c (Vw32_recognize_altgr): New variable. | |
2081 (dumpglyphs): Update from xterm.c. | |
2082 (w32_ring_bell): Flash window, don't just reset its state. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2083 (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new |
25865 | 2084 args to dumpglyphs. |
2085 (my_set_foreground_window): New function. | |
2086 (w32_condemn_scroll_bars): Mark all as condemned scroll bars. | |
2087 (w32_redeem_scroll_bar): Look through all scroll bars. | |
2088 (w32_judge_scroll_bars): Don't clear out condemned list. | |
2089 (w32_read_socket): Clip window after frame has been restored. | |
2090 (x_focus_on_frame, x_raise_frame): Use my_set_foreground_window. | |
2091 (syms_of_w32term): Define Vw32_recognize_altgr. | |
2092 | |
2093 * w32term.h (WM_EMACS_SETFOREGROUND, WM_EMACS_SETLOCALE): | |
2094 New message macros. | |
2095 | |
2096 1998-04-16 Richard Stallman <rms@psilocin.gnu.org> | |
2097 | |
2098 * callproc.c (Fcall_process_region): Unbind coding-system-for-write | |
2099 after calling Fwrite_region. | |
2100 | |
2101 * eval.c (Fcatch): Doc fix. | |
2102 | |
2103 * mocklisp.c (Fml_if): Initialize val. | |
2104 | |
2105 1998-04-16 Erik Naggum <erik@naggum.no> | |
2106 | |
2107 * emacs.c (main): Fix typo, add --multibyte and --no-multibyte. | |
2108 (standard_args): Add --multibyte and --no-multibyte. | |
2109 | |
2110 1998-04-16 Richard Stallman <rms@psilocin.gnu.org> | |
2111 | |
2112 * fns.c (time): Declare it only if not HAVE_UNISTD_H. | |
2113 | |
2114 * emacs.c (standard_args): Add --no-unibyte. | |
2115 (main): Recognize --no-unibyte to inhibit EMACS_UNIBYTE. | |
2116 | |
2117 * fns.c (Frequire): Doc fix. | |
2118 | |
2119 * fileio.c (file_name_as_directory): For empty arg, return `./'. | |
2120 | |
2121 1998-04-16 Eli Zaretskii <eliz@gnu.org> | |
2122 | |
2123 * msdos.c (it_keyboard): New variable, supports Italian keyboard. | |
2124 (keyboard_layout_list): Add Italian keyboard. | |
2125 | |
2126 1998-04-15 Ken'ichi Handa <handa@melange.gnu.org> | |
2127 | |
2128 * coding.c (code_convert_region): If point in the conversion | |
2129 region, move it to FROM in advance. | |
2130 | |
2131 1998-04-15 Eli Zaretskii <eliz@delysid.gnu.org> | |
2132 | |
2133 * callproc.c (Fcall_process): Call | |
2134 after-insert-file-set-buffer-file-coding-system if | |
2135 inherit-process-coding-system is non-nil. | |
2136 | |
2137 * coding.c (syms_of_coding): Declare and define | |
2138 inherit-process-coding-system. | |
2139 | |
2140 * coding.h: Declare inherit-process-coding-system. | |
2141 | |
2142 * w32.c (sys_pipe): Use binary pipe I/O unconditionally. | |
2143 | |
2144 * callproc.c: Remove binary-process-{in,out}put. | |
2145 (syms_of_callproc): Likewise. | |
2146 (Fcall_process, Fcall_process_region): Don't use | |
2147 binary-process-{in,out}put. | |
2148 | |
2149 1998-04-15 Andreas Schwab <schwab@delysid.gnu.org> | |
2150 | |
2151 * config.in (RE_TRANSLATE_P): Define. | |
2152 | |
2153 1998-04-15 Ken'ichi Handa <handa@melange.gnu.org> | |
2154 | |
2155 * ccl.c (Fccl_execute_on_string): Put \n\ at eol of docstring. | |
2156 | |
2157 * xfns.c (x_set_font): Give 2nd arg nil to Fquery_fontset. | |
2158 (Fx_create_frame): Likewise. | |
2159 | |
2160 1998-04-15 Kenichi Handa <handa@etl.go.jp> | |
2161 | |
2162 * ccl.c: Typo in comments fixed. | |
2163 (Qccl_program_idx, Qunification_table, Qunification_table_id): New | |
2164 variables. | |
2165 (syms_of_ccl): Initialize and staticpro them. | |
2166 (CCL_ReadMultibyteChar2): Macro name changed from | |
2167 CCL_ReadMultibyteCharacter. | |
2168 (CCL_WriteMultibyteChar2): Macro name changed from | |
2169 CCL_WriteMultibyteChar2. | |
2170 (MAX_TABLE_SET_LEVEL): New macro. | |
2171 (tr_stack): New type. | |
2172 (translate_stack, translate_stack_pointer): New variables. | |
2173 (PUSH_TRANSLATE_STACK, POP_TRANSLATE_STACK): New macros. | |
2174 (ccl_driver): Adjusted for the above changes. | |
2175 (resolve_symbol_ccl_program): New function. | |
2176 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL | |
98444 | 2177 program. If CCL-PROGRAM is a vector, convert symbols in it to ID |
25865 | 2178 numbers by resolve_symbol_ccl_program. |
2179 (Fccl_execute_on_string): Likewise. | |
98444 | 2180 (Fregister_ccl_program): If the arg CCL-PROGRAM is a vector, |
25865 | 2181 convert symbols in it to ID numbers by resolve_symbol_ccl_program. |
2182 | |
2183 * ccl.h (Vccl_program_table, Qccl_program_idx): Extern them. | |
2184 | |
2185 * fontset.c (find_ccl_program_func): New variable. | |
2186 (fs_load_font): Call a function pointed by find_ccl_program_func | |
2187 instead of finding CCL program to encode a character by itself. | |
2188 (Fquery_fontset): New optional 2nd arg REGEXPP. Callers changed. | |
2189 | |
2190 * fontset.h (FONT_ENCODING_NOT_DECIDED): The value is changed to 255. | |
2191 (find_ccl_program_func): Extern it. | |
2192 (Fquery_fontset): Args number changed to 2. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2193 |
25865 | 2194 * xfns.c (syms_of_xfns): Initialize find_ccl_program_func. |
2195 | |
2196 * xterm.c (x_find_ccl_program): New function. | |
2197 | |
2198 * xterm.h (x_find_ccl_program): Extern it. | |
2199 | |
2200 1998-04-14 Dave Love <fx@gnu.org> | |
2201 | |
2202 * keymap.c: Revert erroneous 1998-04-07 change. | |
2203 | |
2204 1998-04-14 Karl Heuer <kwzh@gnu.org> | |
2205 | |
2206 * xfns.c (x_destroy_bitmap): Declare as void, not int. | |
2207 (x_report_frame_params, x_set_border_pixel): Likewise. | |
2208 (x_set_internal_border_width): widget_store_internal_border takes | |
2209 just one arg, not two. | |
2210 | |
2211 1998-04-14 Andreas Schwab <schwab@delysid.gnu.org> | |
2212 | |
2213 * xdisp.c (try_window): Fix mixing of Lisp_Object and int. | |
2214 | |
2215 * window.c (Fset_window_configuration): Fix mixing of Lisp_Object | |
2216 and int. | |
2217 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
2218 * sysdep.c (init_sys_modes): Fix mixing of Lisp_Object and int. |
25865 | 2219 |
2220 * search.c (compile_pattern, compile_pattern_1): Fix mixing of | |
2221 Lisp_Object and int. | |
2222 | |
2223 * process.c (read_process_output): Fix mixing of Lisp_Object and | |
2224 int. | |
2225 | |
2226 * minibuf.c (Fself_insert_and_exit): Fix mixing of Lisp_Object and | |
2227 int. | |
2228 | |
2229 * marker.c (set_marker_both): Remove bogus checks on charpos. | |
2230 | |
2231 * keyboard.c (parse_menu_item): Don't GCPRO non-lisp variables. | |
2232 | |
2233 * insdel.c (signal_after_change): Fix mixing of Lisp_Object and | |
2234 int. | |
2235 | |
2236 * indent.c (indented_beyond_p): Fix mixing of Lisp_Object and int. | |
2237 | |
2238 * frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Fix | |
2239 mixing of Lisp_Object and int. | |
2240 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2241 * fns.c (Fsubstring, substring_both, Fchar_table_range) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2242 (Fset_char_table_range): Fix mixing of Lisp_Object and int. |
25865 | 2243 |
2244 * fileio.c (Fwrite_region): Fix mixing of Lisp_Object and int. | |
2245 | |
2246 * editfns.c (Fchar_after, Fchar_before): Fix mixing of Lisp_Object | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
2247 and int. |
25865 | 2248 |
2249 * coding.c (code_convert_region): Fix mixing of Lisp_Object and | |
2250 int. | |
2251 | |
2252 * charset.c (Fchars_in_region): Fix mixing of Lisp_Object and int. | |
2253 | |
2254 * ccl.c (ccl_driver, syms_of_ccl): Fix mixing of Lisp_Object and | |
2255 int. | |
2256 | |
2257 * cm.h: Update return types of declarations. | |
2258 | |
2259 * xterm.h, puresize.h, termhooks.h, lisp.h, keyboard.h, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2260 * intervals.h, dispextern.h, blockinput.h, coding.h: |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2261 Add more prototypes. |
25865 | 2262 |
2263 * xterm.c, xselect.c, xrdb.c, xmenu.c, xdisp.c, window.c, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2264 * widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2265 * search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2266 * marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2267 * frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2268 * eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2269 * data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2270 * casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2271 * buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings. |
25865 | 2272 |
2273 * buffer.c (Fset_buffer_multibyte): Do nothing if nothing actually | |
2274 changes. | |
2275 | |
2276 * coding.c (code_convert_region): Call adjust_after_insert also | |
2277 in unibyte mode. | |
2278 | |
2279 * fileio.c (Finsert_file_contents): Call adjust_after_insert also | |
2280 in unibyte mode. | |
2281 | |
2282 1998-04-13 Ken'ichi Handa <handa@melange.gnu.org> | |
2283 | |
2284 * coding.c (code_convert_string): Give decode_coding correct byte | |
2285 length of source text. | |
2286 | |
2287 1998-04-13 Richard Stallman <rms@gnu.org> | |
2288 | |
2289 * print.c (strout): Convert old echo area to multibyte, like printchar. | |
2290 (printchar, strout): If echo area text converted to multibyte | |
2291 does not all fit, truncate it at char boundary. | |
2292 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2293 * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): |
25865 | 2294 When calling set_marker_both, pass the right buffer. |
2295 | |
2296 * indent.c (Fcompute_motion): Check that TO and FROM are in range. | |
2297 | |
2298 1998-04-13 Eli Zaretskii <eliz@delysid.gnu.org> | |
2299 | |
2300 * msdos.c (dosv_refresh_virtual_screen): Do not use negative | |
2301 arguments. | |
2302 (dos_direct_output): Fix the offset passed to | |
2303 dosv_refresh_virtual_screen. | |
2304 (IT_display_cursor): Don't call dosv_refresh_virtual_screen. | |
2305 (IT_reset_terminal_modes): Don't call dosv_refresh_virtual_screen | |
2306 when setting cursor. | |
2307 | |
2308 1998-04-12 Richard Stallman <rms@gnu.org> | |
2309 | |
2310 * print.c (temp_output_buffer_setup): Clear out overlays, | |
2311 visited file, undo list, etc. | |
2312 | |
2313 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): FROM counts chars. | |
2314 (SYNTAX_TABLE_BYTE_TO_CHAR): Handle the offset properly | |
2315 both before and after conversion. | |
2316 | |
2317 * syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Arg renamed to charpos. | |
2318 (UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise. | |
2319 | |
2320 * xdisp.c (display_text_line): When handling selective > 0, | |
2321 update pos and pos_byte with results of calling scan_newline. | |
2322 | |
2323 * data.c (set_internal, Fmakunbound): Fix previous change. | |
2324 | |
2325 1998-04-12 Hallvard B Furuseth <h.b.furuseth@usit.uio.no> | |
2326 | |
2327 * print.c (print) <Lisp_String>: Fix "\ " handling. | |
2328 | |
2329 1998-04-11 Richard Stallman <rms@gnu.org> | |
2330 | |
2331 * s/netbsd.h (LINKER): Add definition. | |
2332 (LD_SWITCH_SYSTEM): Undo previous change. | |
2333 | |
2334 * data.c (set_internal, Fmakunbound): No error if setting | |
2335 a keyword to itself. | |
2336 | |
2337 1998-04-09 Karl Heuer <kwzh@gnu.org> | |
2338 | |
2339 * marker.c (Fbuffer_has_markers_at): Fix termination condition. | |
2340 | |
2341 * search.c (min, max): Make these macros, not functions. | |
2342 (scan_buffer, boyer_moore): Simplify args to those macros. | |
2343 * unexw32.c (min, max): Define as macros. | |
2344 * w32.c (min, max): Define as macros. | |
2345 * w32term.c (min, max): Define as macros. | |
2346 * callproc.c (relocate_fd): Avoid `min'/`max' as variable names. | |
2347 * print.c (print): Likewise. | |
2348 * dispnew.c (minmax): New macro. | |
2349 (update_frame): Use it. | |
2350 | |
2351 * w32proc.c: Delete incorrect prototype of report_file_error. | |
2352 * w32.c (unrequest_sigio, request_sigio): Fix prototype. | |
2353 | |
2354 * w32menu.c (set_frame_menubar): Call Fset_match_data, not | |
2355 Fstore_match_data. | |
2356 | |
2357 * emacs.c (abort): Don't redefine on DOS_NT. | |
2358 | |
2359 1998-04-09 Kenichi Handa <handa@etl.go.jp> | |
2360 | |
2361 * charset.c (string_to_non_ascii_char): Include garbage bytes (if | |
2362 any) following a multibyte character in *ACTUAL_LEN. | |
2363 (Fcharset_after): New function. | |
2364 (syms_of_charset): Defsubr it. | |
2365 (multibyte_form_length): Modified to be consistent with | |
2366 string_to_non_ascii_char. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2367 |
25865 | 2368 * charset.h (MULTIBYTE_FORM_LENGTH): Don't check LEN here. |
2369 | |
2370 * xdisp.c (display_text_line): Code for displaying a character by | |
2371 octal form is modified. | |
2372 | |
2373 1998-04-08 Richard Stallman <rms@gnu.org> | |
2374 | |
2375 * data.c (keyword_symbols_constant_flag): New variable. | |
2376 (syms_of_data): Set up Lisp variable. | |
2377 (set_internal): Obey it and give error for :-symbols. | |
2378 (Fmakunbound): Likewise. | |
2379 | |
2380 1998-04-08 Eli Zaretskii <eliz@delysid.gnu.org> | |
2381 | |
2382 * dosfns.c (init_dosfns): Fix bug in passing segment address of | |
2383 the transfer buffer. | |
2384 | |
2385 1998-04-08 Karl Heuer <kwzh@gnu.org> | |
2386 | |
2387 * keymap.c (fix_submap_inheritance): Fix parens. | |
2388 | |
2389 1998-04-07 Richard Stallman <rms@gnu.org> | |
2390 | |
2391 * fileio.c (Fmake_temp_name): Detect error return from mktemp. | |
2392 | |
2393 1998-04-07 Eli Zaretskii <eliz@is.elta.co.il> | |
2394 | |
2395 * charset.c (string_to_non_ascii_char, multibyte_form_length) | |
2396 (split_non_ascii_string, str_cmpchar_id): Make the STR argument | |
2397 const unsigned char *. | |
2398 * charset.h: Update prototypes for the above. | |
2399 | |
2400 * filelock.c: Include <utmp.h> only if CLASH_DETECTION is | |
2401 defined. | |
2402 | |
2403 * process.c (kill_buffer_processes): Make consistent with | |
2404 prototype in lisp.h. | |
2405 | |
2406 * msdos.c (request_sigio, unrequest_sigio): Make consistent with | |
2407 prototypes in lisp.h. | |
2408 | |
2409 * charset.h (CHAR_STRING): Cast to unsigned char ** explicitly. | |
2410 | |
2411 * w16select.c (Fwin16_set_clipboard_data): Call message2 with 3 | |
2412 arguments. | |
2413 | |
2414 * emacs.c (abort): Don't redefine on MSDOS. | |
2415 | |
2416 1998-04-07 Dave Love <fx@gnu.org> | |
2417 | |
2418 * keymap.c (describe_command): Use quotes around symbol name. | |
2419 | |
2420 * emacs.c (main): Obey environment variable EMACS_UNIBYTE as | |
2421 alternative to --unibyte. | |
2422 | |
2423 1998-04-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us> | |
2424 | |
2425 * config.in (GSSAPI, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI) | |
2426 (HAVE_GSSAPI_H): Add undefs for GSS-API support in movemail. | |
2427 | |
2428 1998-04-06 Richard Stallman <rms@gnu.org> | |
2429 | |
2430 * dired.c (Fdirectory_files): Use make_uninit_multibyte_string. | |
2431 Use STRING_BYTES on encoded_directory. | |
2432 | |
2433 1998-04-06 Andreas Schwab <schwab@gnu.org> | |
2434 | |
2435 * fns.c (Flength): Doc fix. | |
2436 | |
2437 * unexelf.c (unexec): Account for possible padding before the old | |
2438 .bss section. | |
2439 | |
2440 * editfns.c (Ftranspose_regions): Fix order of parameters for | |
2441 replace_range. | |
2442 | |
2443 * dired.c (Fdirectory_files): GCPRO encoded_directory and list. | |
2444 Compute needsep only once. Pass correct arg to chars_in_text. | |
2445 | |
2446 * alloc.c (gc_sweep): Avoid using two loop variables counting the | |
2447 same thing. | |
2448 | |
2449 1998-04-06 Ken'ichi Handa <handa@delysid.gnu.org> | |
2450 | |
2451 * fns.c (Fstring_as_unibyte): Set size_byte field to -1. | |
2452 | |
2453 1998-04-05 Eli Zaretskii <eliz@is.elta.co.il> | |
2454 | |
2455 * config.in: Don't include <string.h> when configuring. | |
2456 | |
2457 1998-04-04 Richard Stallman <rms@psilocin.gnu.org> | |
2458 | |
2459 * s/netbsd.h (LD_SWITCH_SYSTEM): Add -L/usr/lib. | |
2460 | |
2461 1998-04-03 enami tsugutomo <enami@but-b.or.jp> | |
2462 | |
2463 * editfns.c (Fmessage_box): Pass the missing third argument | |
2464 STRING_MULTIBYTE (val) to message2. | |
2465 | |
2466 * frame.c (make_frame_without_minibuffer): Conditionalize on | |
2467 HAVE_WINDOW_SYSTEM. | |
2468 (make_minibuffer_frame): Likewise. | |
2469 * frame.h: Ditto. | |
2470 | |
2471 1998-04-03 Richard Stallman <rms@psilocin.gnu.org> | |
2472 | |
2473 * intervals.c (set_intervals_multibyte): | |
2474 Function moved after set_intervals_multibyte_1. | |
2475 | |
2476 * xdisp.c (redisplay_window): If updating mode line, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2477 temporarily change selected_frame. |
25865 | 2478 |
2479 1998-04-02 Dave Love <fx@gnu.org> | |
2480 | |
2481 * emacs.c (main): Add [--unibyte] to usage. | |
2482 | |
2483 1998-04-02 Richard Stallman <rms@psilocin.gnu.org> | |
2484 | |
2485 * print.c (print) <Lisp_String>: Follow a hex escape with `\ ' if nec. | |
2486 | |
2487 * data.c (Fmake_variable_frame_local): Doc fix. | |
2488 | |
2489 * fns.c (Fstring_as_multibyte): Never return unibyte string unchanged. | |
2490 | |
2491 1998-04-02 NIIBE Yutaka <gniibe@mri.co.jp> | |
2492 | |
2493 * fns.c (Fstring_as_multibyte): Set size_byte field. | |
2494 | |
2495 1998-04-02 Richard Stallman <rms@psilocin.gnu.org> | |
2496 | |
2497 * fns.c (char_table_translate): New function. | |
2498 * config.in (RE_TRANSLATE): Use char_table_translate. | |
2499 | |
2500 1998-04-02 Kenichi Handa <handa@etl.go.jp> | |
2501 | |
2502 * coding.c (CHARSET_OK): Don't reject safe charsets. | |
2503 (DECODE_DESIGNATION): Likewise. | |
2504 (check_composing_code): Likewise. | |
2505 | |
2506 * marker.c (buf_charpos_to_bytepos): Delete local variable | |
2507 gapend_byte. | |
2508 | |
2509 * xselect.c (selection_data_to_lisp_data): Give | |
2510 make_string_from_bytes a correct char size. | |
2511 | |
2512 1998-04-01 Richard Stallman <rms@psilocin.gnu.org> | |
2513 | |
2514 * xdisp.c (redisplay_window): Fix computing pos from last_point. | |
2515 | |
2516 1998-03-30 Kenichi Handa <handa@etl.go.jp> | |
2517 | |
2518 * coding.c (code_convert_region): Handle skipped ASCII characters | |
2519 at the head and tail of conversion region correctly when adjusting | |
2520 position keepers. Call adjust_after_insert to record undo info | |
2521 and adjust markers when we don't have to change byte sequence of | |
2522 a buffer. | |
2523 | |
2524 * coding.h (struct coding_system): Comment for the member | |
2525 heading_ascii modified. | |
2526 | |
2527 * fileio.c (Finsert_file_contents): Call adjust_after_insert when | |
2528 a text is inserted in a multibyte buffer without any code | |
2529 conversion. | |
2530 | |
2531 * insdel.c (adjust_markers_for_replace): New function. | |
2532 (adjust_after_replace): Arguments changed. Call | |
2533 adjust_markers_for_replace if this function is called after | |
2534 replacement. | |
2535 (adjust_after_insert): New function. | |
2536 | |
2537 * lisp.h (adjust_after_replace, adjust_after_insert): Extern them. | |
2538 | |
2539 1998-03-28 Richard Stallman <rms@psilocin.gnu.org> | |
2540 | |
2541 * xdisp.c (display_text_line): Handle overlay-arrow correctly. | |
2542 | |
2543 1998-03-28 Richard Stallman <rms@psilocin.gnu.org> | |
2544 | |
2545 * fileio.c (barf_or_query_if_file_exists): New arg QUICK. | |
2546 All calls changed. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2547 |
25865 | 2548 1998-03-27 Richard Stallman <rms@psilocin.gnu.org> |
2549 | |
2550 * insdel.c (check_markers_debug_flag): New variable. | |
2551 (syms_of_insdel): Set up Lisp var. | |
2552 (CHECK_MARKERS): New macro. Use it everywhere | |
2553 instead of calling check_markers directly. | |
2554 It tests check_markers_debug_flag. | |
2555 | |
2556 1998-03-26 Richard Stallman <rms@psilocin.gnu.org> | |
2557 | |
2558 * alloc.c (mark_buffer): Mark the undo_list slot specially; | |
2559 don't mark a marker just cause it is in this list. | |
2560 (Fgarbage_collect): Discard from all undo-lists | |
2561 all elements that adjust markers that were not marked. | |
2562 | |
2563 * buffer.h (struct buffer): Field `undo_list' moved before `name' | |
2564 so it won't get marked in the usual way. | |
2565 | |
2566 * coding.c (code_convert_region): Call adjust_before_replace | |
2567 in the no-conversion case. Adjust GPT, ZV and Z in chars. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2568 |
25865 | 2569 1998-03-25 Richard Stallman <rms@psilocin.gnu.org> |
2570 | |
2571 * lread.c (init_lread): Init Vstandard_input. | |
2572 | |
2573 1998-03-25 Ken'ichi Handa <handa@melange.gnu.org> | |
2574 | |
2575 * xdisp.c (redisplay_window): Fix previous change. | |
2576 | |
2577 1998-03-25 Kenichi Handa <handa@etl.go.jp> | |
2578 | |
2579 * indent.c (compute_motion): Call strwidth only when necessary. | |
2580 Set wide_column_end_hpos only when MULTIBYTE_BYTES_WIDTH set | |
2581 nonzero to wide_column. | |
2582 | |
2583 * xdisp.c (redisplay_window): Give byte position to FETCH_BYTE. | |
2584 Call pos_tab_offset appropriately. | |
2585 (try_window_id): Give byte position to FETCH_BYTE. Set | |
2586 val.bytepos to pos_byte. | |
2587 | |
2588 * lisp.h (make_buffer_string, make_buffer_string_both): Extern | |
2589 them. | |
2590 | |
2591 * process.c (read_process_output): Count multibyte characters. If | |
2592 received data is stored in p->decoding_buf, copy it to a temporary | |
2593 buffer and call insert_before_makers instead of | |
2594 insert_from_string_before_markers. | |
2595 | |
2596 1998-03-24 Ken'ichi Handa <handa@melange.gnu.org> | |
2597 | |
2598 * lisp.h (record_delete): The second arg is Lisp_Object. | |
2599 | |
2600 1998-03-24 Kenichi Handa <handa@etl.go.jp> | |
2601 | |
2602 * indent.c (MULTIBYTE_BYTES_WIDTH): Set wide_column only when we | |
2603 encounter a wide-column character. | |
2604 | |
2605 * undo.c (record_delete): Record last_point_position when there's | |
2606 no record other than marker adjustment before undo boundary. | |
2607 | |
2608 * insdel.c (del_range_2): Move gap again to a proper place just | |
2609 after calling make_buffer_string_both. | |
2610 | |
2611 * coding.c (shrink_decoding_region): If EOL_CONVERSION is nonzero, | |
2612 don't skip `\r' (instead of `\n'). | |
2613 | |
2614 1998-03-23 Andreas Schwab <schwab@gnu.org> | |
2615 | |
2616 * xmenu.c (popup_get_selection): On receiving a KeyPress event | |
2617 only deactivate the menu when the key is not a modifier key. | |
2618 | |
2619 * xfns.c (Fx_create_frame): Use "borderWidth", not "borderwidth", | |
2620 as resource name, to be consistent with other X applications. | |
2621 | |
2622 1998-03-21 Richard Stallman <rms@delysid.gnu.org> | |
2623 | |
2624 * dired.c (Fdirectory_files): | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
2625 In FULL case, compute number of characters. |
25865 | 2626 |
2627 * fns.c (substring_both, Fsubstring): Use make_specified_string. | |
2628 (concat): Make string result unibyte or multibyte as appropriate. | |
2629 | |
2630 * sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string. | |
2631 | |
2632 * alloc.c (make_specified_string): New function. | |
2633 (make_string_from_bytes): New function. | |
2634 (compact_strings): Get byte size from size, if size_byte < 0. | |
2635 (Fmake_string): Use make_uninit_string for single-byte char. | |
2636 (make_unibyte_string): Mark string as unibyte. | |
2637 (make_uninit_string): Likewise. | |
2638 (make_string): Likewise, if size == size in bytes. | |
2639 (make_pure_string): New arg MULTIBYTE. | |
2640 (Fpurecopy): Pass new arg to make_pure_string. | |
2641 | |
2642 * editfns.c (Fchar_to_string): Use make_string_from_bytes. | |
2643 (Fformat): Use make_specified_string. | |
2644 (make_buffer_string_both): Use make_uninit_string if buffer is unibyte. | |
2645 | |
2646 * casefiddle.c (casify_object): Use make_specified_string. | |
2647 | |
2648 * charset.c (Fstring): Use make_string_from_bytes. | |
2649 (Fcompose_string): Likewise. | |
2650 | |
2651 * cmds.c (internal_self_insert): Use make_string_from_bytes. | |
2652 | |
2653 * coding.c (code_convert_string): Use make_string_from_bytes. | |
2654 | |
2655 * doc.c (Fsubstitute_command_keys): Use make_string_from_bytes. | |
2656 | |
2657 * lread.c (read1): Pass new arg to make_pure_string. | |
2658 (make_symbol): Likewise. | |
2659 (init_obarray): Likewise. | |
2660 (read1): Use make_specified_string. | |
2661 | |
2662 * print.c (PRINTPREPARE): Use make_string_from_bytes. | |
2663 | |
2664 * process.c (read_process_output): Use make_string_from_bytes. | |
2665 | |
2666 * search.c (Fregexp_quote): Use make_specified_string. | |
2667 | |
2668 * xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes. | |
2669 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2670 * insdel.c (insert_from_string_1, replace_range): |
25865 | 2671 Use STRING_MULTIBYTE to determine whether string is multibyte. |
2672 | |
2673 * editfns.c: Use STRING_BYTES and SET_STRING_BYTES. | |
2674 | |
2675 (Ftranspose_regions): Try to handle combining bytes. | |
2676 | |
2677 * alloc.c, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, search.c, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2678 * process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2679 * frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2680 * charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2681 * bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c: |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2682 Use STRING_BYTES and SET_STRING_BYTES. |
25865 | 2683 |
2684 * xmenu.c: Don't include puresize.h any more as code that needs it | |
2685 has moved to keyboard.c. | |
2686 (menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p): | |
2687 Functions deleted; code moved to parse_menu_item in keyboard.c. | |
2688 (single_keymap_panes): Large part of code moved to single_menu_item. | |
2689 (single_menu_item): New function that uses parse_menu_item. | |
2690 (Qmenu_alias): Variable deleted. | |
2691 (QCtoggle, QCradio): New variables. | |
2692 (syms_of_xmenu): Change initializations of variables. | |
2693 | |
2694 * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap) | |
2695 (copy-keymap, where_is_internal_1): | |
2696 Support new format for menu items. | |
2697 (syms_of_keymap): New symbol `menu-item'. | |
2698 | |
2699 * keyboard.c: Include puresize.h for CHECK_IMPURE. | |
2700 (parse_menu_item): New function. | |
2701 (menu_item_eval_property_1, menu_item_eval_property) New suroutines. | |
2702 (menu_bar_one_keymap): Moved some code to menu_bar_item. | |
2703 (menu_bar_item): Rewritten to use parse_menu_item. | |
2704 (menu_bar_item_1): Function deleted. | |
2705 (QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio): | |
2706 (Qmenu_alias): New variables. | |
2707 (syms_of_keyboard): Initialize them, and item_properties. | |
2708 | |
2709 * insdel.c (replace_range): New arg NOMARKERS. | |
2710 | |
2711 1998-03-21 Richard Stallman <rms@psilocin.gnu.org> | |
2712 | |
2713 * dired.c (Fdirectory_files): In FULL case, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2714 compute number of characters. |
25865 | 2715 |
2716 * insdel.c (insert_from_string_1, replace_range): | |
2717 Use STRING_MULTIBYTE to determine whether string is multibyte. | |
2718 | |
2719 * lisp.h: Declarations changed. | |
2720 (STRING_MULTIBYTE, STRING_BYTES, SET_STRING_BYTES): | |
2721 New definitions treating negative size_byte as a flag for unibyte. | |
2722 | |
2723 * xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes. | |
2724 | |
2725 * search.c (Fregexp_quote): Use make_specified_string. | |
2726 | |
2727 * process.c (read_process_output): Use make_string_from_bytes. | |
2728 | |
2729 * print.c (PRINTPREPARE): Use make_string_from_bytes. | |
2730 | |
2731 * fns.c (substring_both, Fsubstring): Use make_specified_string. | |
2732 (concat): Make string result unibyte or multibyte as appropriate. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2733 |
25865 | 2734 * doc.c (Fsubstitute_command_keys): Use make_string_from_bytes. |
2735 | |
2736 * coding.c (code_convert_string): Use make_string_from_bytes. | |
2737 | |
2738 * cmds.c (internal_self_insert): Use make_string_from_bytes. | |
2739 | |
2740 * charset.c (Fstring): Use make_string_from_bytes. | |
2741 (Fcompose_string): Likewise. | |
2742 | |
2743 * casefiddle.c (casify_object): Use make_specified_string. | |
2744 | |
2745 * editfns.c (Fchar_to_string): Use make_string_from_bytes. | |
2746 (Fformat): Use make_specified_string. | |
2747 (make_buffer_string_both): Use make_uninit_string if buffer is unibyte. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2748 |
25865 | 2749 * sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string. |
2750 | |
2751 * lread.c (read1): Pass new arg to make_pure_string. | |
2752 (make_symbol): Likewise. | |
2753 (init_obarray): Likewise. | |
2754 (read1): Use make_specified_string. | |
2755 | |
2756 * alloc.c (make_specified_string): New function. | |
2757 (make_string_from_bytes): New function. | |
2758 (compact_strings): Get byte size from size, if size_byte < 0. | |
2759 (Fmake_string): Use make_uninit_string for single-byte char. | |
2760 (make_unibyte_string): Mark string as unibyte. | |
2761 (make_uninit_string): Likewise. | |
2762 (make_string): Likewise, if size == size in bytes. | |
2763 (make_pure_string): New arg MULTIBYTE. | |
2764 (Fpurecopy): Pass new arg. | |
2765 | |
2766 * lisp.h (STRING_BYTES, SET_STRING_BYTES): New macros. | |
2767 | |
2768 * All files: Use STRING_BYTES and SET_STRING_BYTES. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2769 |
25865 | 2770 * editfns.c (Ftranspose_regions): Try to handle combining bytes. |
2771 * insdel.c (replace_range): New arg NOMARKERS. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2772 |
25865 | 2773 1998-03-20 Richard Stallman <rms@psilocin.gnu.org> |
2774 | |
2775 * cmds.c (internal_self_insert): Pass new arg to replace_range. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2776 |
95848 | 2777 * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1) |
2778 (adjust_before_replace, adjust_after_replace, replace_range) | |
25865 | 2779 (del_range_2): Call record_delete the new way. |
2780 Use make_buffer_string_both to make the string to pass. | |
2781 | |
2782 * editfns.c (make_buffer_string_both): New function. | |
2783 (make_buffer_string): Use make_buffer_string_both. | |
2784 | |
2785 * undo.c (record_delete): Replace LENGTH arg with STRING. | |
2786 (record_change): Call record_delete the new way. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2787 |
25865 | 2788 * Makefile.in (keymap.o): Depend on puresize.h. |
2789 (xmenu.o): Don't depend on puresize.h. | |
2790 | |
2791 1998-03-20 Inge Frick <inge@nada.kth.se> | |
2792 | |
2793 * keyboard.h (item_properties): New variable. | |
2794 (ITEM_PROPERTY_...): New macros. | |
2795 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2796 * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
2797 (copy-keymap, where_is_internal_1): Support new format for menu items. |
25865 | 2798 (syms_of_keymap): New symbol `menu-item'. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2799 |
25865 | 2800 * keyboard.c: Include puresize.h for CHECK_IMPURE. |
2801 (parse_menu_item): New function. | |
2802 (menu_item_eval_property_1, menu_item_eval_property) New suroutines. | |
2803 (menu_bar_one_keymap): Moved some code to menu_bar_item. | |
2804 (menu_bar_item): Rewritten to use parse_menu_item. | |
2805 (menu_bar_item_1): Function deleted. | |
95848 | 2806 (QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio) |
25865 | 2807 (Qmenu_alias): New variables. |
2808 (syms_of_keyboard): Initialize them, and item_properties. | |
2809 | |
2810 * xmenu.c: Don't include puresize.h any more as code that needs it | |
2811 has moved to keyboard.c. | |
2812 (menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p): | |
2813 Functions deleted; code moved to parse_menu_item in keyboard.c. | |
2814 (single_keymap_panes): Large part of code moved to single_menu_item. | |
2815 (single_menu_item): New function that uses parse_menu_item. | |
2816 (Qmenu_alias): Variable deleted. | |
2817 (QCtoggle, QCradio): New variables. | |
2818 (syms_of_xmenu): Change initializations of variables. | |
2819 | |
2820 1998-03-20 Richard Stallman <rms@psilocin.gnu.org> | |
2821 | |
2822 * window.c (window_display_table): Don't look inside buffer if its nil. | |
2823 | |
2824 * insdel.c (del_range_2): Use adjust_markers_for_record_delete. | |
2825 | |
2826 1998-03-19 Kenichi Handa <handa@etl.go.jp> | |
2827 | |
2828 * editfns.c (Fgoto_char): If POSITION is a marker pointing a | |
2829 different buffer, don't rely on the byte position of the marker. | |
2830 | |
2831 1998-03-19 Richard Stallman <rms@psilocin.gnu.org> | |
2832 | |
2833 * editfns.c (Fformat): Handle padding before or after, for %s etc. | |
2834 Treat 0 like a multibyte char in %c. | |
2835 | |
2836 1998-03-19 Erik Naggum <erik@naggum.no> | |
2837 | |
2838 * filelock.c (get_boot_time): Conditionalize on BOOT_TIME. | |
2839 (lock_file_1): Add boot-time to lock only if available. | |
2840 | |
2841 1998-03-19 Kenichi Handa <handa@etl.go.jp> | |
2842 | |
2843 * fns.c (Fstring_as_multibyte): Call multibyte_chars_in_text | |
2844 instead of chars_in_text because we must ignore | |
2845 enable-multibyte-characters here. | |
2846 * lread.c (read1): Likewise. | |
2847 * marker.c (byte_char_debug_check): Likewise. | |
2848 | |
2849 1998-03-19 Richard Stallman <rms@psilocin.gnu.org> | |
2850 | |
2851 * filelock.c (current_lock_owner): If lock file data doesn't include | |
2852 the uptime, assume the lock is from this system boot. | |
2853 | |
2854 1998-03-18 Richard Stallman <rms@psilocin.gnu.org> | |
2855 | |
2856 * lread.c (read0): Swap args to Fmake_string. | |
2857 | |
2858 1998-03-17 Richard Stallman <rms@psilocin.gnu.org> | |
2859 | |
2860 * callproc.c (syms_of_callproc): Doc fixes. | |
2861 | |
2862 * insdel.c (adjust_markers_for_delete): | |
2863 Delete unused local coming_gap_size. | |
2864 (adjust_markers_for_record_delete): New function. | |
2865 (insert_1_both, insert_from_string_1, insert_from_buffer_1) | |
2866 (adjust_after_replace, replace_range): | |
2867 Use adjust_markers_for_record_delete. | |
2868 | |
2869 * editfns.c (Fsave_excursion): Doc fix. | |
2870 | |
2871 * window.c (Frecenter): Operate on window's buffer even | |
2872 if some other was current. | |
2873 | |
2874 * filelock.c (get_boot_time): New function. | |
2875 (lock_file_1): Include boot time in the lock text. | |
2876 (current_lock_owner): Parse and compare the boot time. | |
2877 | |
2878 1998-03-16 Erik Naggum <erik@naggum.no> | |
2879 | |
2880 * editfns.c (Fformat): Properly print floats. | |
2881 | |
2882 1998-03-16 Kenichi Handa <handa@etl.go.jp> | |
2883 | |
2884 * insdel.c (ADJUST_CHAR_POS): New macro. | |
2885 (combine_bytes): Use the macro ADJUST_CHAR_POS. | |
2886 (adjust_after_replace): New arg REPLACE. If it is zero, give LEN | |
2887 as the arg LENGTH to offset_intervals. | |
2888 (del_range_2): Give correct args to count_combining_before and | |
2889 combine_bytes. Adjust the gap position after record_delete if | |
2890 necessary. Give character position to adjust_overlays_for_delete. | |
2891 | |
2892 * fileio.c (Finsert_file_contents): | |
2893 Give adjust_after_replace the new arg REPLACE as 0. | |
2894 | |
2895 * coding.c (code_convert_region): The 6th arg name is changed to | |
2896 REPLACE. Even if there's no need of code conversion, call | |
2897 adjust_after_replace to handle bytes combining. | |
2898 | |
2899 1998-03-15 Richard Stallman <rms@psilocin.gnu.org> | |
2900 | |
2901 * syntax.h (SYNTAX_FLAGS_COMSTART_FIRST): New macro. | |
2902 (SYNTAX_FLAGS_COMSTART_SECOND): Likewise. | |
2903 (SYNTAX_FLAGS_COMEND_FIRST, SYNTAX_FLAGS_COMEND_SECOND): Likewise. | |
2904 (SYNTAX_FLAGS_PREFIX, SYNTAX_FLAGS_COMMENT_STYLE): Likewise. | |
2905 | |
2906 * syntax.c (Fbackward_prefix_chars): Set point properly while scanning. | |
2907 (scan_sexps_forward): Make INC_FROM do UPDATE_SYNTAX_TABLE_FORWARD. | |
2908 Delete the explicit calls to UPDATE_SYNTAX_TABLE_FORWARD. | |
2909 Also set prev_from_syntax (new local var). Test that in the loop, | |
2910 instead of fetching syntax of the previous char. | |
2911 | |
2912 * editfns.c (Fchar_after, Fchar_before): Properly check arg type | |
2913 and whether in range, for all cases. | |
2914 | |
2915 1998-03-14 Richard Stallman <rms@psilocin.gnu.org> | |
2916 | |
2917 * process.c (exec_sentinel, read_process_output): | |
2918 Fstore_match_data => Fset_match_data. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
2919 |
25865 | 2920 * xmenu.c (set_frame_menubar): Fstore_match_data => Fset_match_data. |
2921 | |
2922 * xdisp.c (message_dolog): Save and restore Vdeactivate_mark. | |
2923 (prepare_menu_bars): Fstore_match_data => Fset_match_data. | |
2924 (update_menu_bar): Likewise. | |
2925 | |
2926 1998-03-13 Richard Stallman <rms@psilocin.gnu.org> | |
2927 | |
2928 * search.c (Fset_match_data): Renamed from Fstore_match_data. | |
2929 (syms_of_search): Corresponding change. | |
2930 | |
2931 * lisp.h: Fstore_match_data => Fset_match_data. | |
2932 | |
2933 * window.c (Fwindow_end): New arg UPDATE. | |
2934 | |
2935 * window.c (Fset_window_configuration): Don't call do_switch_frame | |
2936 or run Qwindow_configuration_change_hook if frame is dead. | |
2937 | |
2938 * cmds.c (internal_self_insert): Call Fforward_buffer to advance | |
2939 over the replacement characters. | |
2940 | |
2941 1998-03-12 Richard Stallman <rms@psilocin.gnu.org> | |
2942 | |
2943 * process.c (Fstart_process): Doc fix. | |
2944 | |
2945 * s/ptx4.h (SETUP_SLAVE_PTY): New definition. | |
2946 | |
2947 * buffer.c (init_buffer): Call Fset_buffer_multibyte for *scratch*. | |
2948 | |
2949 1998-03-11 Richard Stallman <rms@psilocin.gnu.org> | |
2950 | |
2951 * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1) | |
2952 (adjust_after_replace, replace_range): | |
2953 Account for combining bytes in args to record_insert. | |
2954 (del_range_2): Make undo records for combining bytes. | |
2955 Put second call to move_gap_both before setting beg_unchanged. | |
2956 | |
2957 1998-03-12 Kenichi HANDA <handa@etl.go.jp> | |
2958 | |
2959 * coding.c (code_convert_region): Adjusted for the change of | |
2960 adjust_after_replace. | |
2961 | |
2962 * fileio.c (Finsert_file_contents): Don't do position adjustments | |
2963 and handling post-read-conversion here, they are done in | |
2964 code_convert_region. Even if a file is read by no-conversion, | |
2965 call adjust_after_replace to adjust positions. | |
2966 | |
2967 * insdel.c (adjust_before_replace): Call | |
2968 adjust_overlays_for_delete. | |
2969 (adjust_after_replace): Delete args COMBINED_BEFORE_BYTES and | |
2970 COMBINED_AFTER_BYTES. This makes the newly generated text | |
2971 following GPT_ADDR a buffer contents. | |
2972 | |
2973 1998-03-10 Richard Stallman <rms@psilocin.gnu.org> | |
2974 | |
2975 * insdel.c (adjust_markers_for_insert): Don't leave a marker within | |
2976 the combined_after_bytes. Use DEC than INC when leaving | |
2977 a marker before the insertion. | |
2978 (count_combining_before): Return number of bytes from start | |
2979 of insertion that will combine. | |
2980 (insert_1_both): Compensate for change in count_combining_before. | |
2981 Delete intervals for the combined_after_bytes. | |
2982 Compensate for that when updating other intervals. | |
2983 (insert_from_buffer_1, replace_range): Likewise. | |
2984 (adjust_after_replace): Likewise. | |
2985 (insert_from_string_1): Likewise. Also handle intervals | |
2986 for inserting just part of string. | |
2987 | |
2988 * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1): | |
2989 Count all of combined_after_bytes, not just 1, when correcting | |
2990 nchars, and in related places. | |
2991 (adjust_after_replace, replace_range): Likewise. | |
2992 | |
2993 1998-03-09 Gerd Moellmann <gerd@gnu.org> | |
2994 | |
2995 * fontset.c (fontset_pattern_regexp): `==' was used instead of `='. | |
2996 | |
2997 1998-03-09 Richard Stallman <rms@psilocin.gnu.org> | |
2998 | |
2999 * insdel.c (combine_bytes): New function. | |
3000 (insert_1_both, insert_from_string_1, insert_from_buffer_1): | |
3001 Simplify greatly by using combine_bytes near the end | |
3002 to handle all aspects of combining except for undo-recording. | |
3003 This means most of the code deals with the text as if there were | |
3004 no combining. | |
3005 (replace_range): Likewise. Also handle unibyte-multibyte conversion | |
3006 as in insert_from_string_1. | |
3007 (del_range_2): Handle combining of character before the deletion | |
3008 with strays after the deletion. | |
3009 (adjust_markers_for_delete): Delete debugging code for Z == Z_BYTE. | |
3010 (adjust_markers_for_insert): Move Z == Z_BYTE debugging code | |
3011 to before we relocate the marker. | |
3012 | |
3013 1998-03-09 Richard Stallman <rms@psilocin.gnu.org> | |
3014 | |
3015 * lisp.h (struct Lisp_Buffer_Local_Value): | |
3016 Field car renamed to realvalue. New fields check_frame, | |
3017 found_for_buffer, found_for_frame, buffer, frame. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3018 |
25865 | 3019 * data.c (store_symval_forwarding, swap_in_symval_forwarding) |
3020 (set_internal, default_value, Fset_default, Fmake_local_variable) | |
3021 (Fmake_variable_buffer_local, Fkill_local_variable): | |
3022 Handle new data structure for struct Lisp_Buffer_Local_Value. | |
3023 (Fmake_variable_frame_local): New function. | |
3024 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3025 * buffer.c (set_buffer_internal_1) |
25865 | 3026 (swap_out_buffer_local_variables): Handle new data structure |
3027 for struct Lisp_Buffer_Local_Value. | |
3028 | |
3029 * print.c (print): Handle new data structure | |
3030 for struct Lisp_Buffer_Local_Value. | |
3031 | |
3032 * alloc.c (gc_sweep, mark_object): Handle new data structure | |
3033 for struct Lisp_Buffer_Local_Value. | |
3034 | |
3035 1998-03-08 Richard Stallman <rms@psilocin.gnu.org> | |
3036 | |
3037 * insdel.c (adjust_markers_for_insert): New arg COMBINED_BEFORE_BYTES. | |
3038 Calls changed. | |
3039 | |
3040 * search.c (simple_search): Don't count a character until it matches! | |
3041 Call set_search_regs differently in a forward search. | |
3042 (boyer_moore): Fix up the code that translates the pattern | |
3043 and loops thru equivalent characters. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3044 |
25865 | 3045 1998-03-07 Richard Stallman <rms@psilocin.gnu.org> |
3046 | |
3047 * insdel.c (adjust_markers_for_insert): New arg COMBINED_AFTER_BYTES. | |
3048 Calls changed. | |
3049 (insert_1): Call insert_1_both. | |
3050 (count_combining_before): New function. | |
3051 (count_combining_after): New function. | |
3052 (insert_1_both, insert_from_string_1): Handle bytes that combine | |
3053 with chars adjacent to the inserted text. | |
3054 (insert_from_buffer_1, replace_range): Likewise. | |
3055 (adjust_after_replace): | |
3056 New args COMBINED_BEFORE_BYTES, COMBINED_AFTER_BYTES. | |
3057 | |
3058 1998-03-06 Kenichi Handa <handa@etl.go.jp> | |
3059 | |
3060 * Makefile.in (alloc.o): Depend on charset.h. | |
3061 | |
3062 * alloc.c (Fmake_string): Handle the case INIT is a multibyte | |
3063 character correctly. | |
3064 | |
3065 * buffer.c (advance_to_char_boundary): Handle the case the code | |
3066 0240..0377 is not a constituent of a multibyte sequence. | |
3067 | |
3068 * coding.c (code_convert_region): Fix previous change. Adjusted | |
3069 for the change of adjust_after_replace (see insdel.c change above). | |
3070 | |
3071 1998-03-04 Ken'ichi Handa <handa@melange.gnu.org> | |
3072 | |
3073 * coding.c (code_convert_region): Fix previous change. | |
3074 | |
3075 1998-03-04 Kenichi HANDA <handa@etl.go.jp> | |
3076 | |
3077 * buffer.c (Fset_buffer_multibyte): Fix arg for chars_in_text. | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
3078 Be sure not to have a multibyte sequence striding over the GAP. |
25865 | 3079 |
3080 * charset.c (strwidth): Make it work for invalid bytes sequence. | |
3081 (Fstring_width): Give byte length of STR to strwidth. | |
3082 | |
3083 * coding.c (code_convert_region): Handle the case that codes | |
3084 0240..0377 are generated just after a multibyte character. | |
3085 | |
3086 * editfns.c (Fformat): Format multibyte characters by "%c" | |
3087 correctly. Handle padding for multibyte characters correctly. | |
3088 | |
3089 1998-03-03 Richard Stallman <rms@psilocin.gnu.org> | |
3090 | |
3091 * puresize.h (BASE_PURESIZE): Increased. | |
3092 | |
3093 1998-03-03 Kenichi Handa <handa@etl.go.jp> | |
3094 | |
3095 * Makefile.in (dired.o): Depend on charset.h and coding.h. | |
3096 | |
3097 * callproc.c (Vdefault_file_name_coding_system): Extern it. | |
3098 (Fcall_process): Use ENCODE_FILE. | |
3099 | |
3100 * coding.h (ENCODE_FILE): Moved from fileio.c. Use | |
3101 default-file-name-coding-system if file-name-coding-system is nil. | |
3102 (DECODE_FILE): New macro. | |
3103 | |
3104 * dired.c: Include charset.h and coding.h. | |
3105 (ENCODE_FILE): This macro is moved to coding.h. | |
3106 (Vdefault_file_name_coding_system): Extern it. | |
3107 (Fdirectory_files): Use DECODE_FILE. | |
3108 (file_name_completion): Likewise. | |
3109 | |
3110 * editfns.c (Fformat): Fix previous change. | |
3111 | |
3112 * fileio.c (ENCODE_FILE): This macro is moved to coding.h. | |
3113 (Vdefault_file_name_coding_system): New variable. | |
3114 (syms_of_fileio): Defsubr it. | |
3115 (Ffile_symlink_p): Use DECODE_FILE. | |
3116 (Ffile_name_directory): Use size_byte member of XSTRING (filename). | |
3117 (Ffile_name_as_directory): Likewise. | |
3118 (Fdirectory_file_name): Likewise. | |
3119 (Fsubstitute_in_file_name): Likewise. | |
3120 (expand_and_dir_to_file): Likewise. | |
3121 (Fdo_auto_save): Likewise. | |
3122 (Fread_file_name): Likewise. | |
3123 | |
3124 * insdel.c (insert_1_both): If enable-multibyte-characters is nil, | |
3125 insert each byte as one character. | |
3126 | |
3127 * process.c (Vdefault_file_name_coding_system): Extern it. | |
3128 (create_process): Use ENCODE_FILE. | |
3129 | |
3130 1998-03-02 Kenichi Handa <handa@etl.go.jp> | |
3131 | |
3132 * callproc.c (Fcall_process): Calculate CARRYOVER correctly. | |
3133 | |
3134 * charset.h (NONASCII_INSERT_OFFSET): New macro. | |
3135 (VALID_MULTIBYTE_CHAR_P): New macro. | |
3136 | |
3137 * charset.c (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is | |
3138 moved to charset.h. | |
3139 (unibyte_char_to_multibyte): Always return a valid character. | |
3140 (Funibyte_char_to_multibyte): New function. | |
3141 (syms_of_charset): Defsubr it. Doc-string of | |
3142 nonascii-insert-offset is modified. | |
3143 | |
3144 * coding.h: Typo in comment fixed. | |
3145 | |
3146 * cmds.c (internal_self_insert): Avoid checking | |
3147 enable-multibyte-characters twice. | |
3148 | |
3149 * editfns.c (string1): Cast ARGS to `char **' to avoid | |
3150 compiler warning. | |
3151 | |
3152 * fileio.c (Ffile_name_nondirectory): Use size_byte member of | |
3153 XSTRING (filename). | |
3154 | |
3155 * fns.c (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is | |
3156 moved to charset.h. | |
3157 (concat): Use unibyte_char_to_multibyte. | |
3158 | |
3159 * insdel.c (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is | |
3160 moved to charset.h. | |
3161 (copy_text): Don't convert codes in the range 0200..0237 to | |
3162 multibyte characters. For codes in the range 0240..0377, use | |
3163 unibyte_char_to_multibyte. | |
3164 (count_size_as_multibyte): Likewise. | |
3165 (adjust_before_replace): Comment fixed. | |
3166 | |
3167 * xdisp.c (try_window_id): Use DEC_BOTH unconditionally. | |
3168 (display_text_line): Likewise. | |
3169 | |
3170 1998-03-02 Richard Stallman <rms@psilocin.gnu.org> | |
3171 | |
3172 * lisp.h (Vnonascii_translate_table, Qcharset): New variable decls. | |
3173 (Fstring_make_multibyte, Fstring_make_unibyte): New function decl. | |
3174 (Fstring_as_multibyte, Fstring_as_unibyte): New function decl. | |
3175 (list2, list3, list4, list5): New function decl. | |
3176 (Fwrite_region): Add an argument. | |
3177 (compare_window_configurations): New function decl. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3178 |
25865 | 3179 * keyboard.c: Include syntax.h. |
3180 (interrupt_signal): Save and restore gl_state | |
3181 around an immediate quit, in case debugger returns. | |
3182 | |
3183 * Makefile.in (keyboard.o): Depend on syntax.h. | |
3184 | |
3185 * syntax.h (UPDATE_SYNTAX_TABLE): | |
3186 Do nothing unless parse_sexp_lookup_properties. | |
3187 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise. | |
3188 (SYNTAX_TABLE_BYTE_TO_CHAR): If parse_sexp_lookup_properties is 0, | |
3189 return 0 right away. | |
3190 (SETUP_SYNTAX_TABLE): Add if (1) ... else. | |
3191 | |
3192 1998-03-01 Richard Stallman <rms@psilocin.gnu.org> | |
3193 | |
3194 * fileio.c (auto_save_1): Pass new arg to Fwrite_region. | |
3195 (Fwrite_region): New arg CONFIRM. If non-nil, confirm overwriting. | |
3196 | |
3197 * callproc.c (Fcall_process_region): Pass new arg to Fwrite_region. | |
3198 | |
3199 1998-03-01 Ilya Zakharevich <ilya@math.ohio-state.edu> | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3200 |
25865 | 3201 * syntax.c (update_syntax_table): Properly update `position' |
3202 field of used intervals. | |
3203 | |
3204 * interval.c (update_interval): Properly update `position' | |
3205 field of used intervals. | |
3206 | |
3207 1998-02-28 Richard Stallman <rms@psilocin.gnu.org> | |
3208 | |
3209 * fns.c (internal_equal): compare_window_configurations takes new arg. | |
3210 | |
3211 * window.c (compare_window_configurations): New arg ignore_positions. | |
3212 (Fcompare_window_configurations): New function. | |
3213 (syms_of_window): defsubr it. | |
3214 | |
3215 * keyboard.c (Fthis_command_keys_vector): New function. | |
3216 (Fread_key_sequence_vector): New function. | |
3217 (syms_of_keyboard): defsubr them. | |
3218 (Fthis_single_command_keys): Always return a vector. | |
3219 | |
3220 1998-02-27 Richard Stallman <rms@psilocin.gnu.org> | |
3221 | |
3222 * xterm.c (XTframe_up_to_date): Check that mouse_face_mouse_frame | |
3223 is non-null before calling note_mouse_highlight. | |
3224 (x_destroy_window): If f equals mouse_face_mouse_frame, | |
3225 clear that, and clear mouse_face_deferred_gc too. | |
3226 | |
3227 * xdisp.c (syms_of_xdisp): Doc fix. | |
3228 | |
3229 * data.c (store_symval_forwarding) <Lisp_Misc_Buffer_Objfwd>: | |
3230 If buffer_local_types has -1, this variable is read-only. | |
3231 | |
3232 * buffer.c (syms_of_buffer): enable-multibyte-characters is read-only. | |
3233 | |
3234 * data.c (Fset_default) <BUFFER_OBJFWDP>: | |
3235 Unconditionally set the slot in buffer_defaults. | |
3236 | |
3237 * buffer.c (reset_buffer): Initialize enable_multibyte_characters. | |
3238 | |
3239 * buffer.c (init_buffer_once): Force enable-multibyte-characters | |
3240 to be local in every buffer whether it is set or not. | |
3241 | |
3242 * fns.c (mapcar1): Handle bool-vectors. | |
3243 (Fmapconcat, Fmapcar): Doc fixes. | |
3244 (Flength): For char-table, length is based on max valid char code. | |
3245 | |
3246 * syssignal.h: Delete #endif left over from previous change. | |
3247 | |
3248 1998-02-27 Andreas Schwab <schwab@gnu.org> | |
3249 | |
3250 * indent.c (compute_motion): If we just moved over a continuation | |
3251 return contin_hpos as prevhpos. | |
3252 | |
3253 1998-02-27 Karl Heuer <kwzh@gnu.org> | |
3254 | |
3255 * insdel.c (del_range_2): Reorder args. All callers changed. | |
3256 | |
3257 1998-02-25 Karl Heuer <kwzh@gnu.org> | |
3258 | |
3259 * insdel.c (del_range_both): Reorder args. All callers changed. | |
3260 | |
3261 1998-02-24 Kenichi Handa <handa@etl.go.jp> | |
3262 | |
3263 * xdisp.c (message_dolog): Give correct args to | |
3264 message_log_check_duplicate and del_range_both. | |
3265 | |
3266 * search.c (scan_newline): Delete duplicated code. | |
3267 | |
3268 1998-02-21 Richard Stallman <rms@gnu.org> | |
3269 | |
3270 * cmds.c (Fdelete_backward_char): Count both bytes and chars. | |
3271 | |
3272 1998-02-21 Ilya Zakharevich <ilya@math.ohio-state.edu> | |
3273 | |
3274 * syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Fix condition. | |
3275 (UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise. | |
3276 (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix bounds. | |
3277 * syntax.c (update_syntax_table): Fix calculations using offset. | |
3278 (skip_chars): Fix loop termination condition. | |
3279 * textprop.c (interval_of): Handle Qt. | |
3280 | |
3281 1998-02-20 Andreas Schwab <schwab@gnu.org> | |
3282 | |
3283 * s/gnu-linux.h (LINUX_MAP_SHARED_DOES_WORK): Define for kernel | |
3284 version after 2.0. | |
3285 (UNEXEC_USE_MAP_PRIVATE): Don't define if | |
3286 LINUX_MAP_SHARED_DOES_WORK. | |
3287 | |
3288 * syssignal.h (sigmask) [POSIX_SIGNALS]: Always define our own | |
3289 version that returns a sigset_t. | |
3290 (sigpause) [POSIX_SIGNALS]: Unconditionally define in terms of | |
3291 sigsuspend. Don't redefine SIGEMPTYMASK. | |
3292 (sys_sigpause): Don't declare. | |
3293 (temp_mask): Don't declare. | |
3294 * sysdep.c (sys_sigpause): Removed. | |
3295 (new_action, old_action): Move as local variables into sys_signal. | |
3296 (old_mask, temp_mask): Removed. | |
3297 | |
3298 1998-02-20 Kenichi Handa <handa@etl.go.jp> | |
3299 | |
3300 * editfns.c (Fmessage): Check byte size (instead of char size) of | |
3301 VAL against MESSAGE_LENGTH. | |
3302 | |
3303 * fileio.c (Fwrite_region): When writing a string, give byte size | |
3304 to a_write. | |
3305 (a_write): Handle annotations correctly when writing a string. | |
3306 | |
3307 * ccl.c (Fccl_execute_on_string): Put \n\ at end-of-line of | |
3308 doc-string. | |
3309 | |
3310 1998-02-19 Kenichi Handa <handa@etl.go.jp> | |
3311 | |
96376
c3309dba6542
American English spelling fix.
Glenn Morris <rgm@gnu.org>
parents:
95848
diff
changeset
|
3312 * buffer.c (advance_to_char_boundary): Make the behavior |
25865 | 3313 consistent with INC_POS. |
3314 | |
3315 * ccl.c (Fccl_execute_on_string): Add new arg UNIBYTE-P. | |
3316 | |
3317 * charset.h (INC_POS): Use macro BASE_LEADING_CODE_P. | |
96376
c3309dba6542
American English spelling fix.
Glenn Morris <rgm@gnu.org>
parents:
95848
diff
changeset
|
3318 (DEC_POS): Make the behavior consistent with INC_POS. |
25865 | 3319 (BUF_INC_POS, BUF_DEC_POS): Likewise. |
3320 | |
3321 * charset.c (invalid_character): New function. | |
96376
c3309dba6542
American English spelling fix.
Glenn Morris <rgm@gnu.org>
parents:
95848
diff
changeset
|
3322 (chars_in_text): Make the behavior consistent with INC_POS. |
25865 | 3323 (multibyte_chars_in_text): Likewise. |
3324 (str_cmpchar_id): Likewise. | |
3325 (non_ascii_char_to_string): Call invalid_character. | |
3326 (Fchar_direction): Likewise. | |
3327 | |
3328 * coding.c (decode_coding_iso2022): Update coding->fake_multibyte. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3329 (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3330 (encode_coding_iso2022, decode_coding_sjis_big5) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3331 (encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3332 (encode_coding): Likewise. |
25865 | 3333 (shrink_decoding_region, shrink_encoding_region): Do not skip |
3334 non-ASCII code in any cases. Bug fix for getting starting address | |
3335 from BEG. | |
3336 (code_convert_region): Sync character positions correctly by | |
3337 paying attention to coding->fake_multibyte. | |
3338 (code_convert_string): Set number of character and bytes just | |
3339 processed in members of CODING. | |
3340 (code_convert_string): Adjusted for the change of | |
3341 code_convert_region. | |
3342 (code_convert_region1): Likewise. | |
3343 | |
3344 * coding.h (struct coding_system): New member fake_multibyte. | |
3345 | |
3346 * fileio.c (Finsert_file_contents): Read a file contents into the | |
3347 correct buffer (byte) position. Adjusted for the change of | |
3348 code_convert_region. | |
3349 | |
3350 * fns.c (Fset_char_table_default): For an invalid character, call | |
3351 invalid_character. | |
3352 | |
3353 * indent.c (MULTIBYTE_BYTES_WIDTH): New macro. | |
3354 (current_column_1): Don't follow a display table for a heading | |
3355 byte of a multibyte character. Use the macro | |
3356 MULTIBYTE_BYTES_WIDTH. | |
3357 (Fmove_to_column): Likewise. | |
3358 (compute_motion): Likewise. Handling of wide-column character | |
3359 fixed. | |
3360 | |
3361 * insdel.c (adjust_before_replace): Comment added. | |
3362 (adjust_after_replace): Comment added. Give correct args to | |
3363 adjust_point. Don't call signal_after_change here. | |
3364 | |
3365 * intervals.c (temp_set_point_both): Declare arg BYTEPOS as int. | |
3366 (set_point_both): Likewise. | |
3367 | |
3368 * search.c (search_buffer): Update POS_BYTE for regexp search. | |
3369 | |
3370 * xdisp.c (display_text_line): Handling of a wide-column character | |
96376
c3309dba6542
American English spelling fix.
Glenn Morris <rgm@gnu.org>
parents:
95848
diff
changeset
|
3371 fixed. Make the behavior consistent with INC_POS. |
25865 | 3372 |
3373 1998-02-18 Richard Stallman <rms@gnu.org> | |
3374 | |
3375 * editfns.c (Fchar_before): Check POS in valid range | |
3376 before calling CHAR_TO_BYTE. | |
3377 | |
3378 * search.c (search_command): Check LIM in valid range | |
3379 before calling CHAR_TO_BYTE. | |
3380 | |
3381 1998-02-15 Richard Stallman <rms@psilocin.gnu.org> | |
3382 | |
3383 * minibuf.c (read_minibuf): Do use DEFALT in place of empty input | |
3384 when when expflag is nonzero. | |
3385 (Fread_no_blanks_input): Arg INIT renamed to INITIAL. | |
3386 | |
3387 1998-02-14 Richard Stallman <rms@psilocin.gnu.org> | |
3388 | |
3389 * fileio.c (Fread_file_name): Alter the history | |
3390 to contain just the actual file name, and not any | |
3391 other preinserted text that is not really used. | |
3392 | |
3393 * search.c (simple_search): Call set_search_regs. | |
3394 (boyer_moore): New arg CHARSET_BASE says which chars | |
3395 to use the translate tables for. | |
3396 (search_buffer): Properly test which chars participate in translation. | |
48207
c1a9d25fa0b7
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
43277
diff
changeset
|
3397 |
25865 | 3398 1998-02-12 Gerd Moellmann <gerd@gnu.org> |
3399 | |
3400 * intervals.c (split_interval_right): Make sure to call | |
3401 balance_possible_root_interval in case an interval doesn't have a | |
3402 right child, because otherwise the interval tree might degenerate | |
3403 into a list. | |
3404 (split_interval_left): Ditto if an interval hasn't a left child. | |
3405 | |
3406 1998-02-12 Richard Stallman <rms@psilocin.gnu.org> | |
3407 | |
3408 * search.c (TRANSLATE): New arg OUT. Handle non-integer in TRT. | |
3409 All calls changed. | |
3410 | |
3411 * editfns.c (Fsubst_char_in_region): Don't increment pos twice. | |
3412 | |
3413 * charset.h (INC_BOTH, DEC_BOTH): In unibyte mode, | |
3414 simply increment bytepos. | |
3415 | |
3416 * syntax.c (skip_chars): Use INC_POS instead of INC_BOTH. | |
3417 (Fforward_comment): Always use both FROM and FROM_BYTE to set point. | |
3418 Use dec_bytepos not DEC_POS. | |
3419 (scan_lists): Handle unibyte buffers when decrementing temp_pos. | |
3420 (INC_FROM): Use INC_BOTH. | |
3421 (inc_bytepos, dec_bytepos): In unibyte mode, just increment bytepos. | |
3422 | |
3423 * xdisp.c (display_text_line): Use INC_BOTH for unibyte buffers too. | |
3424 | |
3425 1998-02-10 Richard Stallman <rms@psilocin.gnu.org> | |
3426 | |
3427 * keymap.c (describe_map_tree): Add the maps we have already | |
3428 handled into SUB_SHADOWS. | |
3429 | |
3430 1998-02-06 Kenichi Handa <handa@melange.gnu.org> | |
3431 | |
3432 * fns.c (Fstring_bytes): Declare arg STRING as Lisp_Object. | |
3433 | |
3434 * editfns.c (Fposition_bytes): Declare arg POSITION as | |
3435 Lisp_Object. Allow marker as arg POSITION. Use XINT for type | |
3436 consistency. | |
3437 | |
3438 1998-02-09 Andreas Schwab <schwab@gnu.org> | |
3439 | |
3440 * indent.c (compute_motion): If right margin is reached and we are | |
3441 truncating don't clobber PREV_HPOS if we are already past TO. | |
3442 | |
3443 1998-02-09 Richard Stallman <rms@psilocin.gnu.org> | |
3444 | |
3445 * fns.c (concat): Use Vnonascii_translate_table. | |
3446 | |
3447 * charset.c (Vnonascii_translate_table): New variable. | |
3448 (unibyte_char_to_multibyte): Use Vnonascii_translate_table. | |
3449 (syms_of_charset): Defvar it. | |
3450 | |
3451 * insdel.c (copy_text, count_size_as_multibyte): | |
3452 Use Vnonascii_translate_table. | |
3453 | |
3454 1998-02-08 Richard Stallman <rms@psilocin.gnu.org> | |
3455 | |
3456 * print.c (printchar): When outputting to echo area, | |
3457 update message_enable_multibyte, and convert previous text | |
3458 from unibyte to multibyte if necessary. | |
3459 | |
3460 * search.c (search_command): Fix call to search_buffer. | |
3461 | |
3462 1998-02-07 Richard Stallman <rms@psilocin.gnu.org> | |
3463 | |
3464 * dired.c (Fdirectory_files): Call compile_pattern the new way. | |
3465 | |
3466 * search.c (boyer_moore, simple_search): New subroutines. | |
3467 (search_buffer): For non-regexp, use one of those subroutines. | |
3468 Args TRT and INVERSE_TRT are now Lisp_Object. Callers changed. | |
3469 (compile_pattern_1): Arg TRANSLATE is now Lisp_Object. Calls changed. | |
3470 (compile_pattern): Arg TRANSLATE is now Lisp_Object. Calls changed. | |
3471 | |
3472 * config.in (RE_TRANSLATE_TYPE): Define as Lisp_Object. | |
3473 (RE_TRANSLATE): Use Faref to examine translate table. | |
3474 | |
3475 1998-02-06 Richard Stallman <rms@psilocin.gnu.org> | |
3476 | |
3477 * marker.c (byte_char_debug_check): New function. | |
3478 (CONSIDER, both definitions): Call it. | |
3479 (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise. | |
3480 (byte_debug_flag): New variable. | |
3481 (syms_of_marker): Set up Lisp variable. | |
3482 | |
3483 * buffer.c (advance_to_char_boundary): New function. | |
3484 (Fset_buffer_multibyte): Advance all byte-positions to char boundaries. | |
3485 Clear undo list. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3486 |
25865 | 3487 * fontset.h (GENERIC_FONT_PTR): Commented-out definition deleted. |
3488 | |
3489 1998-02-06 Kenichi Handa <handa@etl.go.jp> | |
3490 | |
3491 * window.h: Change argument number of Fdisplay_buffer to 3. | |
3492 | |
3493 1998-02-06 Richard Stallman <rms@psilocin.gnu.org> | |
3494 | |
3495 * buffer.c (Fpop_to_buffer): Pass new arg to Fdisplay_buffer. | |
3496 | |
3497 * window.c (Fdisplay_buffer): New arg FRAME. | |
3498 (temp_output_buffer_show): Pass new arg to Fdisplay_buffer. | |
3499 (Fother_window_for_scrolling): Likewise. | |
3500 | |
3501 * editfns.c (Fposition_bytes): New function. | |
3502 (syms_of_editfns): defsubr it. | |
3503 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3504 * fns.c (Fstring_bytes): New function. |
25865 | 3505 (syms_of_fns): defsubr it. |
3506 | |
3507 1998-02-05 Richard Stallman <rms@psilocin.gnu.org> | |
3508 | |
3509 * minibuf.c (read_minibuf): If input is empty, return empty string. | |
3510 (Fread_string): Return DEFAULT_VALUE here, if input is empty. | |
3511 (Fcompleting_read): Likewise. | |
3512 | |
3513 1998-02-04 Richard Stallman <rms@psilocin.gnu.org> | |
3514 | |
3515 * keymap.c (Fdescribe_bindings_internal): | |
3516 Renamed from Fdescribe_bindings. New arg NOMENU. | |
3517 (syms_of_keymap): Corresponding changes. | |
3518 (describe_buffer_bindings): Get NOMENU out of the arg list. | |
3519 Pass it along to describe_map_tree. | |
3520 Improve text of `alternate_heading'. | |
3521 | |
3522 * alloc.c (list2, list3, list4, list5): New functions. | |
3523 | |
3524 1998-02-04 Kenichi Handa <handa@etl.go.jp> | |
3525 | |
3526 * charset.c (Fiso_charset): Doc-string modified. | |
3527 | |
3528 * editfns.c (Fsubst_char_in_region): Handle character-base | |
3529 position and byte-base position correctly. | |
3530 (Fstring_to_char): Give byte size to STRING_CHAR. | |
3531 | |
3532 * insdel.c (copy_text): When copying from multibyte to unibyte, do | |
3533 not alter ASCII characters. | |
3534 | |
3535 1998-02-03 Richard Stallman <rms@psilocin.gnu.org> | |
3536 | |
3537 * editfns.c (Fformat): If MULTIBYTE is changed to 1 | |
3538 after we start computing TOTAL, jump back to `retry' (a new label). | |
3539 | |
3540 1998-02-01 Richard Stallman <rms@sucrose.gnu.org> | |
3541 | |
3542 * lread.c (read1): Handle infinities, NaN and -0.0 specially. | |
3543 (isfloat_string): Accept e+INF and e+NAN as exponents. | |
3544 | |
3545 * print.c (float_to_string): Handle infinities and NaN specially. | |
3546 | |
3547 * fns.c (concat): Handle bool-vectors correctly. | |
3548 | |
3549 * fns.c (concat): If making a string, a nonempty bool-vector is error. | |
3550 | |
3551 1998-01-30 Richard Stallman <rms@psilocin.gnu.org> | |
3552 | |
3553 * data.c (Faref, Faset): Allow indexing a char-table | |
3554 directly by numbers up to CHAR_TABLE_ORDINARY_SLOTS. | |
3555 | |
3556 * fns.c (Fset_char_table_range, Fchar_table_range): | |
3557 Allow a charset name symbol to designate a range. | |
3558 | |
3559 * callproc.c (Fcall_process): Allow creating a new buffer | |
3560 for the output. | |
3561 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3562 1998-01-30 Kenichi Handa <handa@etl.go.jp> |
25865 | 3563 |
3564 * coding.c (ENCODE_ISO_CHARACTER): Pay attention to | |
3565 CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS. | |
3566 (code_convert_region1): New function. | |
3567 (Fdecode_coding_region): Call code_convert_region1. | |
3568 (Fencode_coding_region): Likewise. | |
3569 (code_convert_string1): New function. | |
3570 (Fdecode_coding_string): Call code_convert_string1. | |
3571 (Fencode_coding_string): Likewise. | |
3572 | |
3573 * doc.c (Fsubstitute_command_keys): Declare length_byte out of | |
3574 internal block. | |
3575 | |
3576 * editfns.c (CONVERTED_BYTE_SIZE): Fix the logic. | |
3577 (Fformat): Update the variable MULTIBYTE according to the result | |
3578 of Fprin1_to_string. Free BUF after making Lisp string from it. | |
3579 | |
3580 1998-01-28 Richard Stallman <rms@psilocin.gnu.org> | |
3581 | |
3582 * search.c (search_buffer): New args pos_byte and lim_byte. | |
3583 (search_command): Pass new args. | |
3584 | |
3585 1998-01-28 Kenichi Handa <handa@etl.go.jp> | |
3586 | |
3587 * coding.c (DECODE_SJIS_BIG5_CHARACTER): Don't have to increase | |
3588 coding->produced_char here. | |
3589 (code_convert_region): Initialize LEN_BYTE correctly. | |
3590 | |
3591 * search.c (fast_string_match): Give re_search byte size of | |
3592 STRING. | |
3593 (trivial_regexp_p): Initialize LEN to byte size of REGEXP. | |
3594 (search_buffer): Give re_search_2 STARTPOS, RANGE and STOP by | |
3595 counting them by bytes. | |
3596 | |
3597 * data.c (syms_of_data): Register multibyte-string-p as a Lisp | |
3598 function. | |
3599 | |
3600 1998-01-28 Richard Stallman <rms@psilocin.gnu.org> | |
3601 | |
3602 * category.c (Fmodify_category_entry): Doc fix. | |
3603 (Fdescribe_categories): Renamed from Fdescribe_category. | |
3604 (syms_of_category): Corresponding changes. | |
3605 (Fcategory_set_mnemonics): Doc fix. | |
3606 (Fchar_category_set): Doc fix. | |
3607 (Fmake_category_set): Doc fix. | |
3608 | |
3609 1998-01-26 Richard Stallman <rms@psilocin.gnu.org> | |
3610 | |
3611 * xdisp.c (message_dolog): Cast M to unsigned char * to access bytes. | |
3612 | |
3613 * keyboard.c (command_loop_1): Run post-command-hook before, | |
3614 not after, clearing this-command-keys and updating last-command. | |
3615 | |
3616 * fns.c (string_make_multibyte): In all-ASCII case, return orig STRING. | |
3617 | |
3618 * fns.c (Fstring_as_unibyte): New function. | |
3619 (Fstring_as_multibyte): New function. | |
3620 (syms_of_fns): defsubr them. | |
3621 | |
3622 1998-01-25 Richard Stallman <rms@psilocin.gnu.org> | |
3623 | |
3624 * window.c (compare_window_configurations): New function. | |
3625 | |
3626 * fns.c (internal_equal): Use compare_window_configurations. | |
3627 | |
3628 * fileio.c (file_name_as_directory): For an empty name, return "/". | |
3629 | |
3630 1998-01-24 Richard Stallman <rms@psilocin.gnu.org> | |
3631 | |
3632 * callproc.c (Fcall_process): Test only args past args[4] | |
3633 for multibyteness. | |
3634 | |
3635 1998-01-23 Ken'ichi Handa <handa@melange.gnu.org> | |
3636 | |
3637 * charset.h: Delete garbage line "int use_dialog_box". | |
3638 | |
3639 1998-01-23 Richard Stallman <rms@psilocin.gnu.org> | |
3640 | |
3641 * lread.c (Funintern): Clear the symbol's obarray field. | |
3642 | |
3643 1998-01-21 Richard Stallman <rms@psilocin.gnu.org> | |
3644 | |
3645 * s/sol2-5.h (SYSTEM_MALLOC): Defined. | |
3646 | |
3647 1998-01-21 Ken'ichi Handa <handa@melange.gnu.org> | |
3648 | |
3649 * fileio.c (Finsert_file_contents): Fix previous change. | |
3650 | |
3651 1998-01-21 Richard Stallman <rms@psilocin.gnu.org> | |
3652 | |
3653 * syntax.c (back_comment): Move the find_defun_start call | |
3654 out of the scan_sexps_forward call. | |
3655 No need to call find_defun_start | |
3656 if we found the defun start in the initial scan. | |
3657 | |
3658 1998-01-21 Kenichi Handa <handa@etl.go.jp> | |
3659 | |
3660 * callproc.c (Fcall_process): Use raw-text instead of emacs-mule | |
3661 when enable-multibyte-characters is nil. Adjusted for the change | |
3662 of encode_coding and decode_coding. | |
3663 | |
3664 * ccl.h: Definition of macros CCL_STAT_XXX are moved from ccl.c to | |
3665 here. | |
3666 | |
3667 * charset.c (min_composite_char): New variable. | |
3668 (syms_of_charset): Declare a Lisp variable min-composite-char. | |
3669 | |
3670 * charset.h (BCOPY_SHORT): New macro. | |
3671 | |
3672 * coding.h (CODING_FINISH_XXX): New macros. | |
3673 (CODING_MODE_XXX): New macros. | |
3674 (struct coding_system): New member mode, category_idx, | |
3675 heading_ascii. Deleted members last_block, direction, selective, | |
3676 carryover, carryover_size. | |
3677 (CODING_MAY_REQUIRE_DECODING): New macro. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3678 (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3679 (CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3680 New macros. |
25865 | 3681 (Qraw_text): Extern it. |
3682 | |
95848 | 3683 * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char. |
25865 | 3684 (DECODE_CHARACTER_DIMENSION1): Likewise. |
3685 (Qraw_text, Qcoding_category): New variables. | |
3686 (syms_of_coding): Intern and staticpro them. | |
3687 (coding_system_table): New variable. | |
3688 (CHARSET_OK, SHIFT_OUT_OK): New macros. | |
3689 (detect_coding_iso2022): Detection algorithm improved. | |
3690 (decode_coding_iso2022): Arg CONSUMED deleted, and the meaning of | |
3691 return value changed. Update members produced, produced_char, | |
3692 consumed, consumed_char of the struct *coding. Pay attention to | |
3693 CODING_MODE_INHIBIT_INCONSISTENT_EOL. | |
3694 (encode_coding_iso2022): Likewise. | |
3695 (decode_coding_sjis_big5, encode_coding_sjis_big5): Likewise. | |
3696 (decode_eol, encode_eol): Likewise. | |
3697 (ENCODE_ISO_CHARACTER): Update coding->consumed_char. | |
3698 (DECODE_SJIS_BIG5_CHARACTER): Update coding->produced_char. | |
3699 (ENCODE_SJIS_BIG5_CHARACTER): Update coding->consumed_char. | |
3700 (detect_coding_mask): New args PRIORITIES and SKIP. | |
3701 (detect_coding): Adjusted for the change of detect_coding_mask. | |
3702 Update coding->heading_ascii. | |
3703 (detect_eol_type): New arg SKIP. | |
3704 (detect_eol): Adjusted for the change of detect_eol_type. | |
98444 | 3705 (ccl_coding_driver): New function. |
25865 | 3706 (decode_coding): Arg CONSUMED deleted, and the meaning of return |
3707 value changed. Update members produced, produced_char, consumed, | |
3708 consumed_char of the struct *coding. | |
3709 (encode_coding): Likewise. | |
3710 (shrink_decoding_region, shrink_encoding_region): New function. | |
3711 (code_convert_region, code_convert_string): Completely rewritten. | |
3712 (detect_coding_system): New arg HIGHEST. | |
3713 (Fdetect_coding_region): New arg HIGHEST. | |
3714 (Fdetect_coding_string): New function. | |
3715 (Fdecode_coding_region, Fencode_coding_region): Adjusted for the | |
3716 change of code_convert_region. | |
3717 (Fdecode_coding_string, Fencode_coding_string): Adjusted for the | |
3718 change of code_convert_string. | |
3719 (Fupdate_iso_coding_systems): New function. | |
3720 (init_coding_once): Initialize coding_system_table. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3721 |
25865 | 3722 * data.c (Faset): Allow setting a multibyte character in a |
3723 multibyte string as far as it doesn't change the size_byte of the | |
3724 string. | |
3725 | |
3726 * fileio.c (Finsert_file_contents): Adjusted for the change of | |
98317 | 3727 struct coding_system and function decode_coding. For normal file |
25865 | 3728 reading, use code_convert_region. |
3729 (Fwrite_region): Adjusted for the change of struct coding_system. | |
3730 (e_write): Adjusted for the change of encode_coding. | |
3731 | |
3732 * fns.c (mapcar1): Keep `i' in `i_before' before `i' is | |
3733 incremented by FETCH_STRING_CHAR_ADVANCE. | |
3734 | |
3735 * insdel.c (adjust_before_replace, adjust_after_replace): New | |
3736 functions. | |
3737 | |
3738 * lisp.h (detect_coding_system): Extern it. | |
3739 | |
3740 * process.c (Fstart_process): Use raw-text instead of emacs-mule | |
3741 if enable-multibyte-characters is nil. Initialize members | |
3742 decoding_carryover and encoding_carryover of PROC. | |
3743 (create_process): Adjusted for the change of encode_coding. | |
3744 (Fopen_network_stream): Initialize members decoding_carryover and | |
3745 encoding_carryover of PROC. | |
3746 (read_process_output): Adjusted for the change of decode_coding. | |
3747 (send_process): Adjusted for the change of encode_coding. | |
3748 | |
3749 * process.h (struct Lisp_Process): New members decoding_carryover | |
3750 and encoding_carryover. | |
3751 | |
3752 * term.c (encode_terminal_code): Adjusted for the change of | |
3753 encode_coding. | |
3754 (write_glyphs): Likewise. Adjusted for the change of struct | |
3755 coding_system. | |
3756 (insert_glyphs): Likewise. | |
3757 | |
3758 * xselect.c (selection_data_to_lisp_data): Adjusted for the change | |
3759 of decode_coding. | |
3760 (lisp_data_to_selection_data): Adjusted for the change of | |
3761 encode_coding. | |
3762 (syms_of_xselect): Initialize clipboard-coding-system to | |
3763 compound-text. | |
3764 | |
3765 1998-01-21 Kenichi Handa <handa@etl.go.jp> | |
3766 | |
3767 * fileio.c (Finsert_file_contents): Even if | |
3768 enable-multibyte-characters is nil, we must check `coding:' tag | |
3769 and `file-coding-system-alist' to handle eol-conversion. | |
3770 | |
3771 * coding.c (Vselect_safe_coding_system_function): New variable. | |
3772 (coding_category_table): This variable deleted. | |
3773 (Vcoding_category_table): New variable. | |
3774 (coding_category_name): Add "coding-category-iso-7-tight". | |
3775 (detect_coding_iso2022): Check the mask | |
3776 CODING_FLAG_ISO_DESIGNATION in CODING->FLAGS. Check a new coding | |
3777 category coding-category-iso-7-tight. | |
3778 (DECODE_DESIGNATION): Decode only such designations that CODING | |
3779 can handle. | |
3780 (check_composing_code): New function. | |
3781 (decode_coding_iso2022): Decode only such characters that CODING | |
3782 can handle. | |
3783 (encode_coding_iso2022): Before and after encoding composite | |
3784 characters, reset designation and invocation status. | |
3785 (detect_coding_sjis): Delete unnecessary check. | |
3786 (detect_coding_big5): Likewise. | |
3787 (encode_designation_at_bol): Check the validity of requested | |
3788 designation register. | |
3789 (setup_coding_system): Set requested designation registers for | |
3790 non-supported charsets to | |
3791 CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION. Set mask | |
3792 CODING_FLAG_ISO_DESIGNATION in CODING->FLAGS. Code tuned for | |
3793 no-conversion and undecided. | |
3794 (detect_coding): Adjusted for the new variable | |
3795 Vcoding_category_table. | |
3796 (syms_of_coding): Initialize Vcoding_category_table and staticpro | |
3797 it. Register select-safe-coding-system as a Lisp variable. | |
3798 | |
3799 * coding.h (CODING_FLAG_ISO_DESIGNATION): New macro. | |
3800 (struct iso2022_spec): New member. | |
3801 last_invalid_designation_register. | |
3802 (struct coding_system): New member inhibit_inconsistent_eol_type. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3803 (CODING_CATEGORY_IDX_ISO_7_TIGHT, CODING_CATEGORY_MASK_ISO_7_TIGHT): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3804 New macros. |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3805 (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_ISO_7_TIGHT. |
25865 | 3806 (coding_category_table, coding_category_name): Extern deleted. |
3807 (Vselect_safe_coding_system_function): Extern it. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3808 |
25865 | 3809 * charset.h (MAX_CHAR_COMPOSITION): New macro. |
3810 (CHAR_CHARSET): Check more strictly. | |
3811 (CODING_FLAG_ISO_DESIGNATION): New macro. | |
3812 | |
3813 1998-01-21 Kenichi Handa <handa@etl.go.jp> | |
3814 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3815 * ccl.h (struct ccl_program): New member private_state. |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3816 |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3817 * ccl.c (Vccl_translation_table_vector, Qccl_program) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3818 (Qccl_translation_table, Qccl_translation_table_id): New variables. |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3819 Append new symbols. Qccl_translation_table and |
25865 | 3820 Qccl_translation_table_id. |
3821 (CCL_Call): Fix the comment. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3822 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3823 (CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3824 (CCL_IterateMultipleMap, CCL_TranslateMultipleMap): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3825 New macros for CCL Commands. |
25865 | 3826 (EXCMD): New macro. |
98317 | 3827 (ccl_driver): New case label `CCL_Extention'. |
25865 | 3828 (setup_ccl_program): Initialize the member `private_state' of CCL. |
3829 (Fregister_ccl_program): Delete unused variable IDX. | |
3830 (Fregister_ccl_translation_table): New function. | |
3831 (syms_of_ccl): Intern and staticpro Qccl_program, | |
3832 Qccl_translation_table, and Qccl_translation_table_id. Declare | |
3833 `ccl-translation-table-vector' as a Lisp variable. Declare | |
3834 register-ccl-translation-table as a Lisp function. | |
3835 | |
3836 * charset.h (Vcharacter_unification_table_vector): Extern it. | |
3837 (UNIFICATION_ID_TABLE): New macro. | |
3838 | |
3839 * charset.c (Vcharacter_unification_table_vector): New variable. | |
3840 (syms_of_charset): Declare it as a Lisp symbol. | |
3841 (unify_char): Delete unnecessary codes. | |
3842 | |
3843 1998-01-21 Richard Stallman <rms@psilocin.gnu.org> | |
3844 | |
3845 * indent.c (current_column_1): | |
3846 Eliminate argument POS; use PT and PT_BYTE. | |
3847 When doing FETCH_BYTE, use scan_byte. | |
3848 (current_column): Check whether buffer really has multibyte chars, | |
3849 not whether they are enabled. | |
3850 | |
3851 * editfns.c (Fsave_current_buffer): Use set_buffer_if_live. | |
3852 | |
3853 * bytecode.c (Fbyte_code) <Bsave_current_buffer_1>: | |
3854 Use set_buffer_if_live. | |
3855 | |
3856 * buffer.c (set_buffer_if_live): New function. | |
3857 | |
3858 1998-01-20 Richard Stallman <rms@psilocin.gnu.org> | |
3859 | |
3860 * charset.c (nonascii_insert_offset): Variable moved from cmds.c. | |
3861 (syms_of_charset): Initialize variable. | |
3862 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3863 * cmds.c (internal_self_insert, Fself_insert_command): |
25865 | 3864 Use unibyte_char_to_multibyte. |
3865 (nonascii_insert_offset): Variable moved to charset.c. | |
3866 (syms_of_cmds): Don't initialize nonascii_insert_offset. | |
3867 | |
3868 * fileio.c (Fsubstitute_in_file_name): Use unibyte_char_to_multibyte. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3869 |
25865 | 3870 * keyboard.c (command_loop_1): Use unibyte_char_to_multibyte. |
3871 | |
3872 * xdisp.c (message_dolog): Use unibyte_char_to_multibyte. | |
3873 Pass different args to scan_newline. | |
3874 Properly compare oldpoint with Z. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
3875 |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
3876 * syntax.c (skip_chars): Use unibyte_char_to_multibyte. |
25865 | 3877 |
3878 * fns.c (concat): Use unibyte_char_to_multibyte. | |
3879 | |
3880 * charset.c (unibyte_char_to_multibyte): New function. | |
3881 (DEFAULT_NONASCII_INSERT_OFFSET): New macro definition. | |
3882 | |
3883 * lread.c (unreadchar): For unreading an ASCII char | |
3884 thru a buffer or marker, really decrement point or the marker position. | |
3885 | |
3886 * xdisp.c (display_menu_bar): Don't set maxendcol too large. | |
3887 | |
3888 * editfns.c (Fchar_equal): Fix case-conversion code. | |
3889 | |
3890 1998-01-19 Richard Stallman <rms@psilocin.gnu.org> | |
3891 | |
3892 * window.h (WINDOW_RIGHT_MARGIN): Deduct width of vertical line | |
3893 if frame has no scroll bars. | |
3894 | |
3895 * fns.c (concat): Fix lossage in installing previous patch. | |
3896 | |
3897 * window.c (window_scroll): Set opoint_byte properly. | |
3898 | |
3899 1998-01-16 Richard Stallman <rms@sucrose.gnu.org> | |
3900 | |
3901 * intervals.c (set_intervals_multibyte): New function. | |
3902 (set_intervals_multibyte_1): New function. | |
3903 | |
3904 * marker.c (clear_charpos_cache): New function. | |
3905 | |
3906 1998-01-16 Richard Stallman <rms@gnu.org> | |
3907 | |
3908 * buffer.c (Fset_buffer_multibyte): New function. | |
3909 (syms_of_buffer): defsubr it. | |
3910 | |
3911 * syntax.c (skip_chars): Fix test for end of string, looking for `-'. | |
3912 (back_comment): Don't allow quoting a comment-end. | |
3913 (scan_lists): Likewise. | |
3914 | |
3915 * .gdbinit: Make GDB not handle SIGINT. | |
3916 | |
3917 * search.c (compile_pattern_1): If representation of STRING | |
3918 does not fit MULTIBYTE, convert its contents. | |
3919 (fast_c_string_match_ignore_case): Pass 0 to compile_pattern | |
3920 as MULTIBYTE. | |
3921 (search_buffer): If representation of STRING | |
3922 does not fit MULTIBYTE, convert its contents. | |
3923 | |
3924 * print.c (print) <Lisp_String>: When multibyte is enabled, print | |
3925 single-byte non-ASCII chars using octal escapes. | |
3926 | |
3927 * lread.c (read1): Escape codes can force multibyte or single-byte. | |
3928 Otherwise buffer_defaults->enable_multibyte_characters decides. | |
3929 Only set force_singlebyte when a \-sequence is in the relevant range. | |
3930 (read_escape): New arg STRINGP. `\ ' is ignored only when STRINGP | |
3931 (normally, when reading a string). Calls changed. | |
3932 | |
3933 * fns.c (concat): Move the test for all nil in `append' | |
3934 back to the right place. | |
3935 Always compute result_len_byte as for a multibyte string. Then, | |
3936 if the result will be single-byte, don't use that computation. | |
3937 When converting single-byte to multibyte, don't use copy_text. | |
3938 Do use copy_text between single-byte string and multibyte string. | |
3939 | |
3940 (Fstring_make_multibyte, Fstring_make_unibyte): New functions. | |
3941 (syms_of_fns): defsubr them. | |
3942 | |
3943 (string_char_to_byte): Count from the beginning or the end, | |
3944 whichever is closer. Keep a cache of recent values. | |
3945 (string_byte_to_char): Likewise. | |
3946 | |
3947 (Fstring_lessp): Compare the strings char by char. | |
3948 | |
3949 * xdisp.c (display_text_line): Set pos_byte with pos | |
3950 when skipping invisible. | |
3951 | |
3952 * alloc.c (STRING_BASE_SIZE): New macro. | |
3953 (STRING_FULLSIZE): Use STRING_BASE_SIZE instead of the whole | |
3954 size of struct Lisp_String. | |
3955 (make_pure_string): Use STRING_FULLSIZE. | |
3956 | |
3957 1998-01-16 Richard Stallman <rms@psilocin.gnu.org> | |
3958 | |
3959 * window.c (Fspecial_display_p): Return the right value | |
3960 when special-display-regexps specifies frame parameters. | |
3961 | |
3962 * syntax.h (SYNTAX_TABLE_BYTE_TO_CHAR): New macro. | |
3963 | |
3964 1998-01-12 Richard Stallman <rms@sucrose.gnu.org> | |
3965 | |
3966 * keymap.c (Fkey_description): Remember to set i_before. | |
3967 and use it in all cases. | |
3968 | |
3969 1998-01-12 Kenichi Handa <handa@etl.go.jp> | |
3970 | |
3971 * minibuf.c (Fminibuffer_complete_word): Fix a bug of refering | |
3972 `i'. We must refer `i_byte' instead. | |
3973 | |
3974 * insdel.c (insert_from_string_1): Decrement GAP_SIZE by | |
3975 outgoing_nbytes. | |
3976 | |
3977 * keymap.c (push_key_description): If C >= 128, always use octal | |
3978 representation. | |
3979 | |
3980 * fns.c (concat): Check STRINGP before increasing result_len_byte. | |
3981 | |
3982 1998-01-12 Richard Stallman <rms@sucrose.gnu.org> | |
3983 | |
3984 * fileio.c (Finsert_file_contents): When not decoding, | |
3985 properly calculate number of chars in the text. | |
3986 Fix error message. | |
3987 | |
3988 * coding.c (code_convert_region): Always count chars inserted | |
3989 in accord with value of enable-multibyte-characters. | |
3990 (Fcoding_system_p): Doc fix. | |
3991 (Fcheck_coding_system): Doc fix. | |
3992 (Fterminal_coding_system): Doc fix. | |
3993 (Fkeyboard_coding_system): Doc fix. | |
3994 | |
3995 1998-01-11 Dave Love <fx@gnu.org> | |
3996 | |
3997 * charset.c (Fchar_valid_p): Fix bare newlines in doc string. | |
3998 | |
3999 1998-01-11 Richard Stallman <rms@sucrose.gnu.org> | |
4000 | |
4001 * fileio.c (file_name_as_directory): Error if arg is empty. | |
4002 (Fwrite_region): Don't flush the encoding buffer if failure is set. | |
4003 | |
4004 1998-01-10 Richard Stallman <rms@sucrose.gnu.org> | |
4005 | |
4006 * syntax.h (struct gl_state_s): New field `object'. | |
4007 (SETUP_SYNTAX_TABLE_FOR_OBJECT): Set it. | |
4008 Handle non-current buffer properly. Args renamed to all caps. | |
4009 (SETUP_SYNTAX_TABLE): Set `object'. Args renamed to all caps. | |
4010 (UPDATE_SYNTAX_TABLE): Use gl_state.object. | |
4011 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise. | |
4012 | |
4013 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Add gl_state.offset | |
4014 when using the arg FROM. Use BYTE_TO_CHAR. | |
4015 | |
4016 1998-01-09 Richard Stallman <rms@gnu.org> | |
4017 | |
4018 * callint.c (Fcall_interactively): Allocate string by bytes. | |
4019 Use message_with_string. | |
4020 | |
4021 * dired.c (Fdirectory_files): Fix arg to compile_pattern. | |
4022 | |
4023 1998-01-06 Richard Stallman <rms@sucrose.gnu.org> | |
4024 | |
4025 * emacs.c (standard_args): Add "-unibyte" aka "--unibyte". | |
4026 (main): Handle --unibyte. | |
4027 | |
4028 1998-01-05 Richard Stallman <rms@psilocin.gnu.org> | |
4029 | |
4030 * search.c (search_buffer): Handle bytes vs chars in non-RE case. | |
4031 Have two locals len and len_byte. | |
4032 | |
4033 * minibuf.c (read_minibuf): Handle bytes vs chars | |
4034 when checking for junk at end of expression. | |
4035 | |
4036 1998-01-04 Richard Stallman <rms@psilocin.gnu.org> | |
4037 | |
4038 * editfns.c (Fformat): Do all the work directly--don't use doprnt. | |
4039 Calculate the right size the first time, so no need to retry. | |
4040 Count chars and bytes in the result. | |
4041 Convert single-byte strings to multibyte as needed. | |
4042 | |
4043 * buffer.c (record_overlay_string): Totalize sizes assuming | |
4044 strings are converted to match buffer in multibyteness. | |
4045 (overlay_strings): Convert strings to match buffer in multibyteness. | |
4046 | |
4047 * search.c (fast_c_string_match_ignore_case): Use string_make_unibyte. | |
4048 | |
4049 * fns.c (string_make_unibyte): New function. | |
4050 | |
4051 * insdel.c (count_size_as_multibyte): New function. | |
4052 (insert_from_string_1, insert_from_buffer_1): Use it. | |
4053 | |
4054 * lread.c (read_escape): `\ ' stands for nothing at all. | |
4055 | |
4056 * .gdbinit (xstring): Use size_byte. | |
4057 | |
4058 * lread.c (oblookup): Take args SIZE and SIZE_BYTE. Callers changed. | |
4059 * abbrev.c (Fexpand_abbrev): Pass both kinds of size to oblookup. | |
4060 * minibuf.c (test_completion): Pass both kinds of size to oblookup. | |
4061 | |
4062 * print.c (print_string): Now static. | |
4063 (print): When multibyte is disabled, | |
4064 print multibyte string chars using hex escapes. | |
4065 | |
4066 * puresize.h (BASE_PURESIZE): Increased. | |
4067 | |
4068 * bytecode.c (Fbyte_code): Use size_byte. | |
4069 | |
4070 * filelock.c (MAKE_LOCK_NAME): Use size_byte. | |
4071 | |
4072 * lread.c (init_obarray, read1, make_symbol): | |
4073 Pass new arg to make_pure_string. | |
4074 (Fintern, oblookup, Fintern_soft, intern): Handle size_byte. | |
4075 | |
4076 * alloc.c (make_pure_string): New arg length_byte. | |
4077 Take account of size used by size_byte; store both sizes. | |
4078 (Fpurecopy): Call make_pure_string the new way. | |
4079 (compact_strings): Use size_byte field to compute string's size. | |
4080 | |
4081 1998-01-03 Richard Stallman <rms@psilocin.gnu.org> | |
4082 | |
4083 * coding.c (code_convert_region): Delete duplicate local `zv_before'. | |
4084 | |
4085 * fileio.c (Fdo_auto_save): Save and restore multibyteness of minibuffer. | |
4086 | |
4087 * process.c (read_process_output): use insert_1_both. | |
4088 | |
4089 * abbrev.c (Fexpand_abbrev): Pass new args to insert_from_string. | |
4090 (Funexpand_abbrev): Likewise. Use size_byte. | |
4091 | |
4092 * editfns.c (Ftranslate_region): Scan by chars and bytes | |
4093 using STRING_CHAR_AND_LENGTH. Replace only single-byte chars. | |
4094 | |
4095 * insdel.c (copy_text): New function. | |
4096 (insert_from_buffer_1): Call copy_text to convert between | |
4097 single-byte and multibyte text. | |
4098 (insert_from_string_1): Likewise. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4099 |
25865 | 4100 * process.c (read_process_output): New var `multibyte'. |
4101 Set it according to which coding system was used. | |
4102 | |
4103 * charset.c (multibyte_chars_in_text): New function. | |
4104 | |
4105 * fileio.c (Fwrite_region): Use message_with_string. | |
4106 (auto_save_error, Fdo_auto_save): Likewise. | |
4107 | |
4108 * print.c (printchar): Pass new arg to message_dolog. | |
4109 (strout): New arg MULTIBYTE. Callers changed. | |
4110 | |
4111 * lread.c (dir_warning): Pass new arg to message_dolog. | |
4112 | |
4113 * emacs.c (main): Pass new arg to message_dolog. | |
4114 | |
4115 * keyboard.c (echo_now): Use message2_nolog, not message1_nolog. | |
4116 (Fexecute_extended_command): Likewise. | |
4117 (read_char_minibuf_menu_prompt): Use message2_nolog, not message1. | |
4118 | |
4119 * xdisp.c (message_dolog, message2): New arg MULTIBYTE. | |
4120 Callers changed. | |
4121 (message1, message1_nolog): String must be ASCII-only. | |
4122 (message2, message2_nolog): Now static. | |
4123 | |
4124 * search.c (compile_pattern): New arg MULTIBYTE. Callers changed. | |
4125 | |
4126 * syntax.c (skip_chars): Handle multibyte and unibyte strings | |
4127 for either kind of buffer. Scan string by bytes and chars. | |
4128 | |
4129 * keymap.c (describe_vector): Unconditionally handle multibyte chars. | |
4130 | |
4131 * fns.c (map_char_table): Unconditionally consider non-ASCII charsets. | |
4132 | |
4133 * cmds.c (internal_self_insert): Simplify handling of c2; | |
4134 avoid testing enable-multibyte-characters. | |
4135 | |
4136 * callproc.c (Fcall_process): When deciding whether to encode args, | |
4137 check them for multibyteness, don't check enable-multibyte-characters. | |
4138 | |
4139 * doc.c: Include charset.h. | |
4140 | |
4141 * keymap.c (describe_vector): Pass new args to insert_from_string. | |
4142 | |
4143 * search.c (wordify): Use make_uninit_multibyte_string. | |
4144 Scan by chars and bytes. | |
4145 | |
4146 * lread.c (read1): PCH is now int *. | |
4147 Declare ch as int. | |
4148 (read0): Declare c as int. | |
4149 (read_list): Declare ch as int. | |
4150 (read0): Use Fmake_string not make_string. | |
4151 (read1): When reading a string, maybe use make_unibyte_string. | |
4152 | |
4153 * keymap.c (Ftext_char_description): Use make_multibyte_string. | |
4154 | |
4155 * keyboard.c (parse_modifiers): Use size_byte. | |
4156 (echo_char): Use size_byte. | |
4157 (parse_modifiers_uncached): Likewise. | |
4158 (record_char): Likewise. | |
4159 (parse_solitary_modifier): Likewise. | |
4160 | |
4161 * fns.c (Fsubstring): Use make_multibyte_string. | |
4162 | |
4163 * minibuf.c (Fminibuffer_complete_word): Pass new args to | |
4164 insert_from_string. Scan string by bytes and chars. | |
4165 (Ftry_completion): Use size_byte while comparing. | |
4166 (Fall_completions): Use size_byte while comparing. | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
4167 (test_completion): Pass both kinds of size to oblookup. |
25865 | 4168 |
4169 * editfns.c (syms_of_editfns): Delete defsubr for sref. | |
4170 | |
4171 * fns.c (string_make_multibyte): New function. | |
4172 | |
4173 * fileio.c (Ffile_name_directory): Maybe use make_unibyte_string. | |
4174 (Ffile_name_nondirectory): Likewise. | |
4175 (Fsubstitute_in_file_name): Convert substituted envvars to multibyte | |
4176 if necessary. Otherwise use make_unibyte_string. | |
4177 (Finsert_file_contents): Use make_unibyte_string. | |
4178 (double_dollars): Use make_uninit_multibyte_string. | |
4179 | |
4180 * doc.c (Fsubstitute_command_keys): Scan by bytes. | |
4181 | |
4182 * coding.c (code_convert_string): Maybe use make_unibyte_string. | |
4183 | |
4184 * cmds.c (internal_self_insert): Use make_multibyte_string. | |
4185 | |
4186 * charset.c (Fstring): Use make_multibyte_string. | |
4187 (Fcompose_string): Likewise. | |
4188 | |
4189 * casefiddle.c (casify_object): Scan string by bytes and chars. | |
4190 Use make_multibyte_string. | |
4191 | |
4192 * xselect.c (lisp_data_to_selection_data): Use size_byte. | |
4193 (Fx_store_cut_buffer_internal): Use size_byte. | |
4194 (selection_data_to_lisp_data): Use make_multibyte_string. | |
4195 | |
4196 * category.c (Fmake_category_set): Don't allow multibyte string. | |
4197 (describe_category): Pass new args to insert_from_string. | |
4198 (describe_category_1): Likewise. | |
4199 | |
4200 * dispnew.c (Fsend_string_to_terminal): Use size_byte. | |
4201 | |
4202 * xdisp.c (x_consider_frame_title): Use size_byte. | |
4203 (display_text_line): Likewise. | |
4204 And scan Voverlay_arrow_string by bytes and chars. | |
4205 (display_menu_bar): Call display_string with a byte size. | |
4206 (display_mode_line): Call display_string with a byte size. | |
4207 | |
4208 * frame.c (set_term_frame_name): Use size_byte. | |
4209 | |
4210 * ccl.c (Fccl_execute_on_string): Use size_byte. | |
4211 | |
4212 * xterm.c (x_load_font): Use string_byte. | |
4213 | |
4214 * keyboard.c (read_char): Use Faref on Vkeyboard_translate_table | |
4215 if it is a string. | |
4216 (apply_modifiers_uncached): New arg base_len_byte. Calls changed. | |
95848 | 4217 (read_char_minibuf_menu_prompt, read_key_sequence): Access buffer's |
4218 downcase_table with XCHAR_TABLE. | |
25865 | 4219 (Fexecute_extended_command): Use Faref to access FUNCTION. |
4220 Use size_byte of BINDING. | |
4221 (stuff_buffered_input): Use size_byte of STUFFSTRING. | |
4222 | |
4223 * xdisp.c (redisplay_window): Set pos.bytepos along with pos.bufpos. | |
4224 | |
4225 * keymap.c (Fkey_binding): Scan PREFIX a char at a time. | |
4226 (Fkey_description): Scan KEYS by chars. | |
4227 | |
4228 * xfns.c (x_create_bitmap_from_file): Use size_byte on strings. | |
4229 (x_set_name, x_set_title, validate_x_resource_name): Likewise. | |
4230 (Fx_get_resource, display_x_get_resource): Likewise. | |
4231 (x_get_resource_string): Likewise. | |
4232 | |
4233 * xmenu.c (xmenu_show): Use size_byte of strings. | |
4234 | |
4235 * callproc.c (Fcall_process): Use size_byte for the args. | |
4236 (Fcall_process_region): Likewise for temp file. | |
4237 (child_setup, getenv_internal, Fgetenv): Likewise. | |
4238 | |
4239 1998-01-02 Richard Stallman <rms@psilocin.gnu.org> | |
4240 | |
4241 * process.c (read_process_output): Handle bytes vs chars. | |
4242 (send_process): Use size_byte of OBJECT. | |
4243 (Fprocess_send_string): Pass size_byte to send_process. | |
4244 | |
4245 * lisp.h (STRING_MULTIBYTE): New macro. | |
4246 | |
4247 * print.c (strout): Take args SIZE and SIZE_BYTE; | |
4248 operate on both chars and bytes. | |
4249 (print_string): Pass new arg to strout. | |
4250 If not using strout, fetch a whole multibyte char at once. | |
4251 (write_string): Pass new arg to strout. | |
4252 (write_string_1): Likewise. | |
4253 (print) <case Lisp_String>: Scan by chars and bytes. | |
4254 (print) <case Lisp_Symbol>: Scan name by chars and bytes. | |
4255 | |
4256 * insdel.c (insert_1_both): New function. | |
4257 | |
4258 * print.c (PRINTPREPARE): Use make_multibyte_string. | |
4259 Initialize print_buffer_pos_byte. Use insert_1_both. | |
4260 (printchar): Update print_buffer_pos_byte and print_buffer_pos. | |
4261 (print_buffer_pos_byte): New variable. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4262 |
25865 | 4263 * editfns.c (general_insert_function): |
4264 Pass the additional args to INSERT_FROM_STRING_FUNC. | |
4265 (Fchar_to_string): Use make_multibyte_string. | |
4266 (Fsref): Function deleted. | |
4267 (Fformat_time_string): Use size_byte of FORMAT_STRING. | |
4268 (make_buffer_string): Use make_uninit_multibyte_string. | |
4269 (Ftranslate_region): Use TABLE's size_byte. | |
4270 (Fmessage, Fmessage_box): Update message_text based on size_byte. | |
4271 | |
4272 * insdel.c (insert_from_string): New args POS_BYTE, LENGTH. | |
95848 | 4273 (insert_from_string_before_markers, insert_from_string_1): New arg |
4274 POS_BYTE. Swap args NCHARS, NBYTES. Don't fail to use POS_BYTE! | |
25865 | 4275 (insert_from_buffer_1): Get both inschars and insbytes from NEW. |
4276 | |
4277 * alloc.c (make_uninit_multibyte_string): New function. | |
4278 (make_uninit_string): Use make_uninit_multibyte_string. | |
4279 (make_multibyte_string): New function. | |
4280 (make_unibyte_string): New function. | |
4281 (make_string): Compute number of chars from the data. | |
4282 | |
4283 * search.c (string_match_1): Convert string indices to/from bytes. | |
4284 (Freplace_match): Convert string indices to/from bytes. | |
4285 (Fregexp_quote): Convert string indices to/from bytes. | |
4286 | |
4287 * lread.c (Fread_from_string): Convert string indices to/from bytes. | |
4288 | |
4289 * data.c (Fmultibyte_string_p): New function. | |
4290 (Faref): Index string by chars. | |
4291 (Faset): Index multibyte string by chars. | |
4292 | |
4293 * charset.c (Ffind_charset_string): Handle bytes vs chars in string. | |
4294 Special case for single-byte strings. | |
4295 (Fchars_in_string): Function deleted. | |
4296 (Fstring): Renamed from Fconcat_chars. | |
4297 Handle bytes vs chars in string. | |
4298 (syms_of_charset): Corresponding changes. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4299 |
25865 | 4300 * fns.c (concat, Fsubstring, internal_equal, mapcar1): |
4301 Distinguish bytes and chars when indexing strings. | |
4302 (Fstring_equal, Fstring_lessp): Likewise. | |
4303 (substring_both): New function. | |
4304 (string_char_to_byte, string_byte_to_char): New functions. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4305 |
25865 | 4306 * charset.h (FETCH_STRING_CHAR_ADVANCE): New macro. |
4307 | |
4308 * lisp.h (struct lisp_String): New field size_byte. | |
4309 | |
4310 * charset.c (Fchar_boundary_p): Function deleted. | |
4311 (syms_of_charset): defsubr deleted. | |
4312 | |
4313 * insdel.c (make_gap): Set GPT_BYTE along with GPT. | |
4314 | |
4315 * window.c (Fselect_window): Don't set OW->pointm if OW->buffer is nil. | |
4316 (Fset_window_configuration): Set old selected window's pointm. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4317 |
25865 | 4318 * minibuf.c (Fcompleting_read): Doc fix. |
4319 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4320 * keymap.c (current_minor_maps): |
25865 | 4321 If a variable has an entry in Vminor_mode_overriding_map_alist, |
4322 and also an entry in Vminor_mode_map_alist, ignore the latter. | |
4323 | |
4324 1998-01-01 Richard Stallman <rms@psilocin.gnu.org> | |
4325 | |
49505
1aba10ab73b4
Corrected misc. typos like missing : after file names,
Kim F. Storm <storm@cua.dk>
parents:
48207
diff
changeset
|
4326 Markers now have an ordinary bytepos, not including the gap: |
25865 | 4327 |
4328 * marker.c (buf_bytepos_to_charpos): Use marker bytepos, not bufpos. | |
4329 (buf_charpos_to_bytepos, marker_byte_position): Likewise. | |
4330 (Fset_marker, set_marker_restricted, set_marker_both): Likewise. | |
4331 (set_marker_restricted_both): Likewise. | |
4332 | |
4333 * editfns.c (transpose_markers): Update marker's bytepos. | |
4334 | |
4335 * alloc.c (Fmake_marker): Initialize marker's bytepos and charpos. | |
4336 | |
4337 * lread.c (readchar): Use marker's bytepos instead of bufpos. | |
4338 | |
4339 * fns.c (internal_equal): For markers, use bytepos instead of bufpos. | |
4340 | |
4341 * insdel.c (adjust_markers_gap_motion): Now a no-op. | |
4342 (adjust_markers_for_delete): Update ->bytepos instead of ->bufpos, | |
4343 but don't adjust for the gap. | |
4344 (adjust_markers_for_insert): Likewise. | |
4345 | |
4346 * lisp.h (struct Lisp_Marker): Rename `bufpos' to `bytepos'. | |
4347 Its value no longer includes the gap space. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4348 |
25865 | 4349 * editfns.c (Fchar_after): Fix previous change. |
4350 | |
4351 * fileio.c (a_write): Fix prototype. | |
4352 | |
4353 * lisp.h (struct Lisp_Marker): New field `charpos'. | |
4354 (pos_tab_offset): Decl deleted. | |
4355 (insert_1, indented_beyond_p): Decls changed. | |
4356 (move_gap_both, del_range_byte, del_range_both, del_range_2) | |
4357 (scan_newline, Ffile_locked_p): New decls. | |
4358 | |
4359 * search.c (scan_newline): Always restore prev value of immediate_quit. | |
4360 | |
4361 1997-12-31 Richard Stallman <rms@psilocin.gnu.org> | |
4362 | |
4363 * syntax.c (scan_sexps_forward): Additional arg FROM_BYTE. | |
4364 Calls changed. | |
4365 (find_defun_start): Scan bytes and chars. Additional arg POS_BYTE. | |
4366 Save final byte pos in find_start_value_byte. | |
4367 (find_start_value_byte): New variable. | |
4368 | |
4369 * charset.c (Fchars_in_string): Update call to CHAR_HEAD_P. | |
4370 (chars_in_text, str_cmpchar_id, Fcompose_string): Likewise. | |
4371 | |
4372 * indent.c (current_column_1, Fmove_to_column): | |
4373 Update call to CHAR_HEAD_P. | |
4374 | |
4375 * fileio.c (Finsert_file_contents): Update call to CHAR_HEAD_P. | |
4376 | |
4377 * editfns.c (Fsref): Update call to CHAR_HEAD_P. | |
4378 (Fcompare_buffer_substrings. Ftranslate_region): Likewise. | |
4379 | |
4380 * doprnt.c (doprnt1): Call to CHAR_HEAD_P fixed. | |
4381 | |
4382 * charset.h (CHAR_HEAD_P): Take char, not pointer, as arg. | |
4383 | |
4384 * window.c (unshow_buffer): Set PT with TEMP_SET_PT_BOTH. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4385 |
25865 | 4386 * indent.c (indented_beyond_p): Take POS in bytes and chars. |
4387 Callers changed. | |
4388 (pos_tab_indent): Function moved to xdisp.c. | |
4389 | |
4390 1997-12-30 Richard Stallman <rms@psilocin.gnu.org> | |
4391 | |
4392 * xdisp.c (redisplay_internal): Use scan_newline. | |
4393 (display_text_line, try_window_id): Use scan_newline. | |
4394 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4395 * xdisp.c (pos_tab_indent): Moved from indent.c. Now static. |
25865 | 4396 Take POS in bytes and chars. Callers changed. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4397 |
25865 | 4398 * indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH. |
4399 (indented_beyond_p, current_column_1): Likewise. | |
4400 | |
4401 * fileio.c (Fwrite_region): Use scan_newline. | |
4402 | |
4403 * buffer.c (Fmake_indirect_buffer): Use set_marker_both. | |
4404 (set_buffer_internal_1): Likewise. | |
4405 (set_buffer_temp): Likewise. | |
4406 | |
4407 * xdisp.c (redisplay_window): Handle byte and char positions. | |
4408 (try_window): Don't move W->start if it's already at right place. | |
4409 | |
4410 * window.c (Fset_window_buffer): Use set_marker_both. | |
4411 (Fselect_window, Fscroll_other_window, save_window_save): Likewise. | |
4412 (Fset_window_configuration): Pass p->mark itself to Fset_marker | |
4413 and set_marker_restricted_both. | |
4414 (temp_output_buffer_show): Use set_marker_restricted_both. | |
4415 (window_scroll): Save and restore both kinds of pointers. | |
4416 | |
4417 * process.c (status_notify): Use byte and char pointers. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4418 |
25865 | 4419 * callint.c (Fcall_interactively) <'d', 'r'>: Use set_marker_both. |
4420 | |
4421 * emacs.c (abort): New function. | |
4422 | |
4423 1997-12-29 Richard Stallman <rms@psilocin.gnu.org> | |
4424 | |
4425 * window.c (Fdelete_other_windows): Rely on vmotion to give bytepos. | |
4426 Use set_marker_both. Use byte positions. | |
4427 (Frecenter): Likewise. | |
4428 (Fmove_to_window_line): Use set_marker_both and Fgoto_char. | |
4429 | |
4430 * s/sco4.h (LIB_MOTIF): Define, if HAVE_LIBINTL. | |
4431 (LIBX11_SYSTEM): Undo previous change. | |
4432 | |
4433 * cmds.c (forward_point): Function deleted. | |
4434 (Fforward_point): Just add. | |
4435 (Fforward_char): Don't call forward_point, just add. | |
4436 (Fforward_line): Use scan_newline. | |
4437 (Fdelete_char): No need for forward_point, just add. | |
4438 (Fdelete_backward_char): Handle bytes and chars. | |
4439 (internal_self_insert): Handle bytes and chars. | |
4440 | |
4441 * xdisp.c (display_count_lines): Several changes in args. | |
4442 Do the work directly. | |
4443 (display_scan_buffer): Function deleted. | |
4444 (decode_mode_spec): Pass new arg. | |
4445 (message_log_check_duplicate): Take charpos and bytepos args. | |
4446 (message_dolog): Use markers to update old PT, BEGV, ZV. | |
4447 Use scan_newline. Handle positions in bytes and chars. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4448 |
25865 | 4449 1997-12-28 Richard Stallman <rms@psilocin.gnu.org> |
4450 | |
4451 * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix. | |
4452 | |
4453 * coding.c (code_convert_region): Handle bytepos and charpos. | |
4454 (Fdetect_coding_region): Likewise. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4455 |
25865 | 4456 * Makefile.in (marker.o): Depend on charset.h. |
4457 | |
4458 1997-12-27 Richard Stallman <rms@psilocin.gnu.org> | |
4459 | |
4460 * casefiddle.c (casify_region): Scan in bytes and chars. | |
4461 (casify_object, casify_region): Declare str, workbuf as unsigned char. | |
4462 | |
4463 * insdel.c (move_gap): Use move_gap_both. | |
4464 (move_gap_both): New function. | |
4465 (gap_left, gap_right): Take both charpos and bytepos args. | |
4466 (adjust_markers_gap_motion): Renamed from adjust_markers | |
4467 and simplified. | |
4468 (adjust_markers_for_delete): New function. | |
4469 (adjust_markers_for_insert): Take args in chars and bytes. | |
4470 Also new arg BEFORE_MARKERS. One call does all marker updating | |
4471 needed for any insert. | |
4472 (adjust_point): Take 2 args and update PT and PT_BYTE. | |
4473 (make_gap): Handle bytes vs chars. | |
4474 (insert, insert_and_inherit): Handle bytes vs chars. | |
4475 Pass new BEFORE_MARKERS arg to insert_1. | |
4476 (insert_before_markers, insert_before_markers_and_inherit): Likewise. | |
4477 (insert_from_string, insert_from_string_before_markers): Likewise. | |
4478 (insert_from_buffer): Likewise. | |
4479 (insert_1): Handle bytes vs chars. New arg BEFORE_MARKERS. | |
4480 (insert_from_string_1, insert_from_buffer_1): Likewise. | |
4481 (replace_range): Likewise. | |
4482 (del_range_2): New subroutine, taken from del_range_1. | |
4483 (del_range_1): Use del_range_2. | |
4484 (del_range_byte, del_range_both): New functions. | |
4485 | |
4486 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos. | |
4487 Wrap in if (1) ... else. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4488 |
25865 | 4489 * minibuf.c (Fminibuffer_complete_word): Handle bytes vs characters |
4490 when comparing buffer against string. | |
4491 (temp_echo_area_glyphs): Save, update, delete text using | |
4492 byte and char positions. | |
4493 (read_minibuf): BACKUP_N counts bytes. | |
4494 | |
4495 * syntax.c (Fforward_comment): Scan by bytes and chars. | |
4496 (Fbackward_prefix_chars): Scan by bytes and chars. | |
4497 (scan_words, scan_sexps_forward): Scan bytes as well as chars. | |
4498 (skip_chars, scan_lists): Scan by bytes and chars. Now static. | |
4499 | |
4500 * buffer.h (DECODE_POSITION): New macro. | |
4501 (CHAR_TO_BYTE, BYTE_TO_CHAR): New macros. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4502 |
25865 | 4503 * buffer.h (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE) |
4504 (ZV_BYTE, Z_BYTE): New macros. | |
4505 (BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE) | |
4506 (BUF_ZV_BYTE, BUF_Z_BYTE): New macros. | |
4507 (BUF_GAP_END_ADDR): New macro. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4508 (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR): |
25865 | 4509 Use the new ..._byte buffer data. |
4510 (BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise. | |
4511 (BUF_GPT_ADDR, BUF_Z_ADDR): Likewise. | |
4512 (SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros. | |
4513 (SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT): | |
4514 Call functions with new arg order. | |
4515 (SET_BUF_BEGV, SET_BUF_BEGV_BOTH): New macros. | |
4516 (SET_BUF_PT): Macro deleted. | |
4517 (SET_BUF_ZV): Set charpos and bytepos. | |
4518 (SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH): New macros. | |
4519 (BYTE_POS_ADDR): Renamed from POS_ADDR. | |
4520 (CHAR_POS_ADDR): New macro. | |
4521 (FETCH_BYTE): Use BYTE_POS_ADDR. | |
4522 (FETCH_MULTIBYTE_CHAR): Use ..._BYTE macros. | |
4523 (BUF_CHAR_ADDRESS): Convert charpos to bytepos. | |
4524 (BUF_BYTE_ADDRESS): New macro, like the old BUF_CHAR_ADDRESS. | |
4525 (PTR_BYTE_POS): Renamed from PTR_CHAR_POS. | |
4526 (BUF_PTR_BYTE_POS): New macro. | |
4527 (BUF_FETCH_CHAR, BUF_FETCH_BYTE, BUF_FETCH_MULTIBYTE_CHAR): New macros. | |
4528 (struct buffer_text): New fields gpt_byte, z_byte. | |
4529 (struct buffer): New fields pt_byte, begv_byte, zv_byte. | |
4530 | |
4531 * syntax.c (char_quoted): Take charpos and bytepos as args. | |
4532 (back_comment): Likewise. | |
4533 (update_syntax_table): Arg renamed. | |
4534 (inc_bytepos, dec_bytepos): New functions. | |
4535 | |
4536 * abbrev.c (describe_abbrev): Return void. | |
4537 (write_abbrev): Return void. | |
4538 (Fexpand_abbrev): Scan in bytepos along with charpos. | |
4539 (Funexpand_abbrev): Use bytepos to delete the expansion. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4540 |
25865 | 4541 * charset.h (INC_POS, DEC_POS): Fix because arg is a bufpos. |
4542 (BUF_INC_POS, BUF_DEC_POS): New macros. | |
4543 (INC_BOTH, DEC_BOTH): New macros. | |
4544 | |
4545 * minibuf.c (Fread_command, Fread_variable): Fix previous change. | |
4546 | |
4547 * intervals.h (set_point, temp_set_point): Swap args in decl. | |
4548 (set_point_both, temp_set_point_both): New decls. | |
4549 | |
4550 * print.c (PRINTDECLARE): Declare old_point_byte and start_point_byte. | |
4551 (PRINTPREPARE): For a marker, set old_point_byte and start_point_byte. | |
4552 Set both kinds of PT from the marker. | |
4553 (PRINTFINISH): For a marker, use set_marker_both. | |
4554 Restore both kinds of PT. | |
4555 (print): For strings and symbols, handle multibyte chars. | |
4556 | |
4557 1997-12-26 Richard Stallman <rms@psilocin.gnu.org> | |
4558 | |
4559 * lread.c (readchar_backlog): New variable. | |
4560 (readchar): When fetching from buffer or marker, | |
4561 use readchar_backlog to fetch bytes from a character. | |
4562 (unreadchar): Increment readchar_backlog. | |
4563 (readevalloop, Fread): Init readchar_backlog. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4564 |
25865 | 4565 * charset.c (Fchar_boundary_p): Always return 0. |
4566 (Fchars_in_region): Just subtract the arguments. | |
4567 (chars_in_text): New function. | |
4568 (Ffind_charset_region): Scan in bytepos as well as charpos. | |
4569 | |
4570 * process.c (Fprocess_send_region): Make bytepos for send_process. | |
4571 (read_process_output): Save, restore, and update both kinds of ptrs. | |
4572 (send_process): OFFSET is now in bytes. | |
4573 | |
4574 * marker.c (marker_byte_position): Renamed from marker_position. | |
4575 (marker_position): New function returns the charpos. | |
4576 (Fbuffer_has_markers_at): Test the marker's charpos. | |
4577 (set_marker_restricted, Fset_marker): Set both kinds of position. | |
4578 Optimize case where POSITION is a marker. | |
4579 (set_marker_both, set_marker_restricted_both): New functions. | |
4580 (Fmarker_position): Use the charpos. | |
4581 | |
4582 * marker.c (charpos_to_bytepos, bytepos_to_charpos): New functions. | |
4583 (buf_charpos_to_bytepos, buf_bytepos_to_charpos): New functions. | |
4584 | |
4585 * textprop.c (Ftext_properties_at): Doc fix. | |
4586 | |
4587 * intervals.c (set_point_both): Renamed from set_point; | |
4588 New arg BYTE; BUFFER is now first arg; use temp_set_point_both. | |
4589 (set_point): New function; uses set_point_both. | |
4590 (temp_set_point_both): New function. | |
4591 (temp_set_point): Update BUF_PT_BYTE. | |
4592 (get_local_map): Save and restore both forms of the buffer bounds. | |
4593 | |
4594 * buffer.c (set_buffer_temp): | |
4595 Update BUF_PT_BYTE, BUF_BEGV_BYTE and BUF_ZV_BYTE. | |
4596 (Fmake_indirect_buffer, set_buffer_internal_1): | |
4597 Set up the pt, begv and zv markers with both kinds of position. | |
4598 Set BUF_PT_BYTE, BUF_BEGV_BYTE, BUF_ZV_BYTE. | |
4599 (Fget_buffer_create): Set BUF_..._BYTE. | |
4600 | |
4601 * indent.c (vmotion, compute_motion): Set up bytepos value | |
4602 to return it. ??? This is a quick hack and must be redone. | |
4603 (current_column): Handle bytepos and charpos. | |
4604 (position_indentation): Take bytepos as arg, and scan with it. | |
4605 Calls changed. | |
4606 (Fmove_to_column): Scan with bytepos and charpos. | |
4607 (pos_tab_offset): Use bytepos to do FETCH_BYTE. | |
4608 (skip_invisible): Don't worry about position in middle of character. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4609 |
25865 | 4610 * xdisp.c (try_window): Pass bytepos to and from display_text_line. |
4611 (try_window_id): Likewise. Use byte pos as well as charpos. | |
4612 (redisplay_internal): Handle bytepos for tlbufpos. | |
4613 | |
4614 * xdisp.c (message): Cast last arg to doprnt. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4615 |
25865 | 4616 * indent.h (struct position): New field bytepos. |
4617 | |
4618 * keyboard.c (command_loop_1): Use PT_BYTE when calling FETCH_BYTE. | |
4619 Instead of Fforward_point, just add. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4620 |
25865 | 4621 * search.c (looking_at_1): Use bytepos to call re_search_2. |
4622 Convert search regs to charpos, if search succeeded. | |
4623 (search_buffer): Likewise. Also convert charpos <-> bytepos | |
4624 in non-regexp case. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4625 (scan_buffer): Convert charpos <-> bytepos. |
25865 | 4626 (scan_newline): New function. |
4627 (find_next_newline): Function deleted. | |
4628 (set_search_regs): Args now in bytes; convert to charpos. | |
4629 (Freplace_match): Convert charpos <-> bytepos when scanning case. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4630 |
25865 | 4631 * fileio.c (restore_point_unwind): Now static. Use Fgoto_char. |
4632 (Funhandled_file_name_directory): Doc fix. | |
4633 (Finsert_file_contents): Handle bytes vs chars. | |
4634 (Fwrite_region): Handle bytes vs chars. | |
4635 (a_write): Take args in bytes; handle annotations labeled in chars. | |
4636 (e_write): Rename args. | |
4637 (Funhandled_file_name_directory): Doc fix. | |
4638 (a_write, e_write): Now static. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4639 |
25865 | 4640 * editfns.c (Fgoto_char): When arg is a marker, copy char and byte |
4641 positions from it. When arg is an integer, no need to worry that it | |
4642 is in middle of a character. | |
4643 (buildmark): Take 2 args (charpos and bytepos). Callers changed. | |
4644 (Fline_beginning_position): Save and restore both kinds of PT. | |
4645 (Fprevious_char): Use PT_BYTE. | |
4646 (Fbolp, Feolp): Use PT_BYTE. | |
4647 (transpose_markers): Take args in chars and bytes. | |
4648 (Ftranspose_regions): Work with byte and char positions. | |
4649 (Fchar_after, Fchar_before): Use bytepos. | |
4650 (make_buffer_string): Convert charpos to bytepos. | |
4651 (Fcompare_buffer_substrings): Work with charpos and bytepos. | |
4652 (Fsubst_char_in_region): Handle charpos and bytepos. | |
4653 (Fwiden, Fnarrow_to_region): Likewise. | |
4654 (save_restriction_restore): Update PT and PT_BYTES. | |
4655 Cast arg to doprnt_lisp. | |
4656 | |
4657 1997-12-26 Richard Stallman <rms@sucrose.gnu.org> | |
4658 | |
4659 * keymap.c (Vminor_mode_overriding_map_alist): New variable. | |
4660 (syms_of_keymap): Set up Lisp var. | |
4661 (current_minor_maps): Use Vminor_mode_overriding_map_alist first, | |
4662 then Vminor_mode_map_alist. | |
4663 | |
4664 * config.in (HAVE_STRING_H): Add #undef. | |
4665 [HAVE_STRING_H]: Include string.h. | |
4666 | |
4667 1997-12-24 Richard Stallman <rms@psilocin.gnu.org> | |
4668 | |
4669 * fileio.c (Finsert_file_contents): Don't use coding.symbol | |
4670 in unusual paths which don't set it up. | |
4671 | |
4672 * xdisp.c: Declare nonascii_insert_offset. | |
4673 | |
4674 1997-12-21 Richard Stallman <rms@psilocin.gnu.org> | |
4675 | |
4676 * xterm.c (x_display_cursor): Abort if X or Y is out of range. | |
4677 | |
4678 1997-12-20 Richard Stallman <rms@psilocin.gnu.org> | |
4679 | |
4680 * sysdep.c (sys_signal): Undo previous change. | |
4681 | |
4682 * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): New variables. | |
4683 (syms_of_emacs): Set up Lisp variables. | |
4684 (handle_USR1_signal, handle_USR2_signal): New signal handlers. | |
4685 (main): Set up signal handlers. | |
4686 | |
4687 * s/sco4.h (LIBX11_SYSTEM) [HAVE_LIBINTL and MOTIF]: Add -lintl. | |
4688 | |
4689 * config.in (HAVE_LIBINTL): Add #undef. | |
4690 | |
4691 1997-12-20 Toshiaki Nomura <dsfrsoft@yk.fujitsu.co.jp> | |
4692 | |
4693 * s/uxpds.h: New file. | |
4694 | |
4695 1997-12-19 Richard Stallman <rms@sucrose.gnu.org> | |
4696 | |
4697 * minibuf.c (Vread_buffer_function): New var. | |
4698 (syms_of_minibuf): Set up Lisp var. | |
4699 (Fread_buffer): Use Vread_buffer_function. | |
4700 | |
4701 * lisp.h (message2_nolog): Fix arg types. | |
4702 | |
4703 * xdisp.c (message2_nolog): New arg MULTIBYTE. | |
4704 (message2): Pass new arg to message2_nolog. | |
4705 (message1_nolog): Likewise. | |
4706 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4707 * keyboard.c (Fexecute_extended_command): |
25865 | 4708 Save message_enable_multibyte and pass it to message2_nolog. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4709 |
25865 | 4710 * alloc.c (Fgarbage_collect): |
4711 Save message_enable_multibyte and pass it to message2_nolog. | |
4712 | |
4713 1997-12-17 Richard Stallman <rms@sucrose.gnu.org> | |
4714 | |
4715 * syntax.c (Fparse_partial_sexp): Return nil for 9th element | |
4716 whenever not inside a string or a comment. | |
4717 | |
4718 1997-12-16 Richard Stallman <rms@sucrose.gnu.org> | |
4719 | |
4720 * minibuf.c (Fread_variable): If DEFAULT_VALUE is symbol, use its name. | |
4721 (Fread_command): Likewise. | |
4722 | |
4723 1997-12-15 Richard Stallman <rms@sucrose.gnu.org> | |
4724 | |
4725 * xdisp.c (message_dolog): Update PT and ZV properly when at end of | |
4726 buffer, when we convert between multibyte and single-byte. | |
4727 Properly initialize i. | |
4728 | |
4729 * xdisp.c (message_dolog): Convert between single-byte and multibyte | |
4730 when inserting text into *Messages*. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4731 |
25865 | 4732 1997-12-11 Richard Stallman <rms@gnu.org> |
4733 | |
4734 * sysdep.c (sys_signal): Add two casts. | |
4735 | |
4736 1997-12-09 Richard Stallman <rms@gnu.org> | |
4737 | |
4738 * callproc.c (Fcall_process): Don't clobber new_argv[0] | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4739 in the case of no args. |
25865 | 4740 |
4741 1997-12-09 Kenichi Handa <handa@etl.go.jp> | |
4742 | |
4743 * charset.c (Fget_unused_iso_final_char): New function. | |
4744 (syms_of_charset): Declare it as a Lisp function. | |
4745 | |
4746 * callproc.c (Fcall_process): Set Vlast_coding_system_used after | |
4747 reading from the process. | |
4748 | |
4749 * process.c (read_process_output): Fix previous change, i.e, if | |
4750 proc_encode_coding_system[p->outfd] is NULL, instead of allocating | |
4751 `struct coding_system' for encoding, just skip setting up coding | |
4752 system for encoding. Set Vlast_coding_system_used after some text | |
4753 is read. | |
4754 (send_process): Set Vlast_coding_system_used after deciding a | |
4755 coding system to be used for encoding. | |
4756 | |
4757 * fileio.c (Finsert_file_contents): Set Vlast_coding_system_used | |
4758 before calling Vafter_insert_file_functions. | |
4759 (Fwrite_region): Set Vlast_coding_system_used after deciding a | |
4760 coding system to be used for encoding. | |
4761 | |
4762 * coding.c (setup_coding_system): Do not set | |
4763 Vlast_coding_system_used here. | |
4764 (decode_coding_sjis_big5): Decode Big5 text of CR only end-of-line | |
4765 correctly. | |
4766 | |
4767 1997-12-08 Ken'ichi Handa <handa@delysid.gnu.org> | |
4768 | |
4769 * keyboard.c (Fexecute_extended_command): Fix previous change. | |
4770 | |
4771 1997-12-07 Karl Heuer <kwzh@gnu.org> | |
4772 | |
4773 * process.c (read_process_output): Allocate for coding system, if | |
4774 not already done. | |
4775 | |
4776 1997-12-03 Richard Stallman <rms@gnu.org> | |
4777 | |
4778 * emacs.c (main): Fix the stack-limit code to calculate | |
4779 the ratio for re_max_failures accurately and leave some extra slack. | |
4780 | |
4781 * lread.c (Feval_region): Doc correction (point does not move). | |
4782 | |
4783 1997-11-26 Richard Stallman <rms@sucrose.gnu.org> | |
4784 | |
4785 * alloc.c (malloc_warning, display_malloc_warning): Return void. | |
4786 (memory_full, free_cons, free_marker): Likewise. | |
4787 | |
4788 * xdisp.c (message): Declare a as char *[3]. | |
4789 | |
4790 * lisp.h, print.c (internal_with_output_to_temp_buffer): | |
4791 Don't declare arg type taken by 2nd arg. | |
4792 | |
4793 * eval.c (do_autoload): Return void. | |
4794 | |
4795 * sysdep.c (reset_sigio): Return void. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4796 |
25865 | 4797 * keyboard.c (Fsuspend_emacs): Cast init_sys_modes when calling |
4798 record_unwind_protect. | |
4799 | |
4800 * keymap.c (describe_map): Fix decl of arg ELT_DESCRIBER. | |
4801 | |
95848 | 4802 * process.c (create_process, deactivate_process, close_process_descs) |
25865 | 4803 (kill_buffer_processes, status_notify): Return void. |
4804 (Fstart_process): Cast arg to create_process. | |
4805 | |
95848 | 4806 * undo.c (record_insert, record_delete, record_marker_adjustment) |
25865 | 4807 (record_change, record_first_change, record_property_change): |
4808 Return void. | |
4809 | |
4810 1997-11-27 Ken'ichi Handa <handa@delysid.gnu.org> | |
4811 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4812 * undo.c (record_change, record_first_change, record_property_change): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4813 Declare them as void. |
25865 | 4814 (record_delete, record_marker_adjustment): Declare them as void. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4815 |
25865 | 4816 * indent.c (invalidate_current_column): Declare it as void. |
4817 | |
4818 * fileio.c (report_file_error): Declare it as void. | |
4819 | |
4820 * filelock.c (unlock_buffer): Declare it as void. | |
4821 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4822 * buffer.c (nsberror, record_buffer, validate_region) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4823 (fix_overlay_before): Declare them as void. |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4824 |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4825 * sysdep.c (discard_tty_input, init_baud_rate, wait_for_termination) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4826 (flush_pending_output, child_setup_tty, sys_suspend, sys_subshell) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4827 (init_sigio, request_sigio, unrequest_sigio, init_sys_modes) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4828 (get_frame_size, reset_sys_modes, setup_pty): Declare them as void. |
25865 | 4829 |
4830 * keymap.c (describe_vector): Declaration fixed (delete `.' at the | |
4831 tail of type `void'. | |
4832 (fix_submap_inheritance): Declare it as void. | |
4833 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4834 * keyboard.c (echo_now, record_auto_save, cmd_error_internal) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4835 (start_polling, stop_polling, bind_polling_period, timer_start_idle) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4836 (timer_stop_idle, gobble_input, record_asynch_buffer_change) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4837 (clear_input_pending, stuff_buffered_input, clear_waiting_for_input) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4838 (quit_throw_to_read_char): Declare these as void. |
25865 | 4839 (Fsuspend_emacs): Delete unnecessary extern declaration for |
4840 init_sys_mode. | |
4841 (Fexecute_extended_command): Give Voverriding_local_map as the | |
4842 first arg to Faref. | |
4843 | |
4844 1997-11-27 Ken'ichi Handa <handa@melange.gnu.org> | |
4845 | |
4846 * xterm.c (x_make_frame_visible): Give dummy arg to | |
4847 input_poll_signal. | |
4848 | |
4849 * xdisp.c (redisplay_preserve_echo_area): Declare it as void. | |
4850 | |
4851 * charset.c (strwidth): Remove extra argument to buffer_display_table. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
4852 |
25865 | 4853 1997-11-25 Andreas Schwab <schwab@delysid.gnu.org> |
4854 | |
4855 * charset.h (SPLIT_STRING): Remove extra argument to | |
4856 split_non_ascii_string. | |
4857 | |
4858 * window.c: Add prototypes. | |
4859 (delete_window): Fix return type. | |
4860 (set_window_height): Likewise. | |
4861 (set_window_width): Likewise. | |
4862 (change_window_height): Likewise. | |
4863 | |
4864 * xselect.c (Fx_disown_selection_internal): Fix type of EVENT. | |
4865 | |
4866 * window.h: Add prototypes. | |
4867 | |
4868 * systty.h: Add prototypes. | |
4869 | |
4870 * sysdep.c: Add prototypes. | |
4871 (save_signal_handlers): Make static. | |
4872 (restore_signal_handlers): Likewise. | |
4873 | |
4874 * syntax.h: Add prototypes. | |
4875 | |
4876 * search.c: Include "intervals.h" for prototypes. | |
4877 | |
4878 * region-cache.h: Add prototypes. | |
4879 | |
4880 1997-11-24 Paul Eggert <eggert@twinsun.com> | |
4881 | |
4882 * fontset.c (free_fontset_data): Don't free null pointer. | |
4883 | |
4884 The new GNU C library strftime needs the underlying host's | |
4885 strftime for locale dependent formats. | |
4886 | |
4887 * configure.in (AC_CHECK_FUNCS): Add strftime. | |
4888 * src/config.in (HAVE_STRFTIME): New undef. | |
4889 * src/editfns.c (emacs_strftime): New decl. | |
4890 (Fformat_time_string): Doc fix: %b, %h, %B, %a, %A, and %p depend on | |
4891 locale; don't use actual chars to describe %n and %t. | |
4892 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4893 * src/Makefile.in (strftime.o): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
4894 * src/makefile.nt ($(BLD)\strftime.obj): |
25865 | 4895 No need to compile with -Dstrftime=emacs_strftime any more. |
4896 | |
4897 1997-11-22 Richard Stallman <rms@gnu.org> | |
4898 | |
4899 * syntax.c (back_comment): Handle 2-char comment starts | |
4900 when reaching the first of the pair. | |
4901 | |
4902 1997-11-21 Andreas Schwab <schwab@delysid.gnu.org> | |
4903 | |
4904 * keymap.c (copy_keymap_1): Fix return type. | |
4905 (accessible_keymaps_char_table): Likewise. | |
4906 (where_is_internal_2): Likewise. | |
4907 (describe_vector_princ): Likewise. | |
4908 (describe_vector): Likewise. Protoize parameter. | |
4909 (Ftext_char_description): Fix type of `str'. | |
4910 | |
4911 * keyboard.h: Add prototypes and more function declarations. | |
4912 | |
4913 * intervals.h: Add prototypes and more function declarations. | |
4914 | |
4915 * intervals.c (traverse_intervals): Protoize parameter. | |
4916 | |
4917 * frame.h: Protoize function declarations. | |
4918 | |
4919 * fontset.h: Add prototypes and more function declarations. | |
4920 | |
4921 * fontset.c: Protoize functions declarations. | |
4922 | |
4923 * fns.c (map_char_table): Protoize parameter. | |
4924 | |
4925 * fileio.c (close_file_unwind): Fix return type and return nil. | |
4926 (restore_point_unwind): Likewise. | |
4927 | |
4928 * eval.c (record_unwind_protect): Protoize parameter. | |
4929 | |
4930 * editfns.c (Fchar_to_string): Declare `workbuf' as unsigned char. | |
4931 (general_insert_function): Likewise. Protoize parameters. Define | |
4932 as returning nothing. | |
4933 | |
4934 * doprnt.c (doprnt1): Declare `charbuf' as unsigned char. | |
4935 | |
4936 * disptab.h: Add prototypes. Remove declaration of obsolete | |
4937 functions. | |
4938 | |
4939 * coding.h: Add more prototypes and function declarations. | |
4940 | |
4941 * charset.h: Add more prototypes and function declarations. | |
4942 | |
4943 * ccl.c (setup_ccl_program): Define as returning nothing. | |
4944 | |
4945 * ccl.h: Add declaration of setup_ccl_program and ccl_driver. | |
4946 | |
4947 * category.h: Add declaration of word_boundary_p. | |
4948 | |
4949 * buffer.h: Add more prototypes and function declarations. | |
4950 | |
4951 * print.c (printchar): Declare `work' as unsigned char. | |
98317 | 4952 (internal_with_output_to_temp_buffer): Prototype parameter |
25865 | 4953 FUNCTION. |
4954 (Ferror_message_string): Remove extra argument of | |
4955 print_error_message. | |
4956 (write_string): Define as returning nothing. | |
4957 (write_string_1): Likewise. | |
4958 (print_error_message): Likewise. | |
4959 | |
4960 * minibuf.c (read_minibuf_unwind): Fix return type and return nil. | |
4961 (temp_echo_area_glyphs): Define as returning nothing. | |
4962 (init_minibuf_once): Likewise. | |
4963 (syms_of_minibuf): Likewise. | |
4964 (keys_of_minibuf): Likewise. | |
4965 | |
4966 * marker.c (unchain_marker): Define as returning nothing. | |
4967 (syms_of_marker): Likewise. | |
4968 | |
4969 * macros.h: Declare finalize_kbd_macro_chars and | |
4970 store_kbd_macro_char. | |
4971 | |
4972 * macros.c (store_kbd_macro_char): Define as returning nothing. | |
4973 (finalize_kbd_macro_chars): Likewise. | |
4974 (init_macros): Likewise. | |
4975 (syms_of_macros): Likewise. | |
4976 (keys_of_macros): Likewise. | |
4977 | |
4978 * lread.c (read1): Declare workbuf as unsigned char. | |
4979 (dir_warning): Define as returning nothing. | |
4980 (init_lread): Likewise. | |
4981 (mapatoms_1): Likewise. | |
4982 (map_obarray): Fix type of parameter FN. | |
4983 | |
4984 * lisp.h: Add more prototypes and declarations. Forward declare | |
4985 struct window and struct frame so that it can be used in | |
4986 prototypes. | |
4987 | |
4988 1997-11-20 Richard Stallman <rms@gnu.org> | |
4989 | |
4990 * sysdep.c (init_system_name): Don't use sysinfo. | |
4991 | |
4992 1997-11-20 Dave Love <d.love@dl.ac.uk> | |
4993 | |
4994 * syntax.c (skip_chars): Check type of `string' before using it. | |
4995 | |
4996 1997-11-20 Abraham Nahum <miko@uxsrvc.tti.co.il> | |
4997 | |
4998 * sysdep.c: Treat DGUX the same as USG. | |
4999 * s/dgux4.h (LIBS_SYSTEM): Define this. | |
5000 | |
5001 1997-11-20 Eli Zaretskii <eliz@is.elta.co.il> | |
5002 | |
5003 * frame.c (frame_name_fnn_p, set_term_frame_name): New functions. | |
5004 (store_frame_param): When the property name is "name", set the | |
5005 name of the frame to its value. | |
5006 | |
5007 1997-11-16 Richard Stallman <rms@gnu.org> | |
5008 | |
5009 * keyboard.c (Fexecute_extended_command): Fix message wording. | |
5010 Don't print a message for a binding for mouse-movement. | |
5011 | |
5012 1997-11-15 Richard Stallman <rms@gnu.org> | |
5013 | |
5014 * xdisp.c (minibuffer_scroll_overlap): New variable. | |
5015 (syms_of_xdisp): Set up Lisp var. | |
5016 (redisplay_window): Scroll minibuffer in a special way. | |
5017 | |
5018 * xdisp.c (display_text_line): Make decision about which windows | |
5019 highlight the region in just once place. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5020 When minibuffer is selected, show the region in the previous window. |
25865 | 5021 |
5022 * charset.h (ASCII_BYTE_P): New macro. | |
5023 | |
5024 * indent.c (position_indentation): Detect non-breaking space, | |
5025 in either single-byte form or multibyte form (using category ' '). | |
5026 | |
5027 1997-11-15 Karl Heuer <kwzh@gnu.org> | |
5028 | |
5029 * xselect.c (x_handle_selection_request): Use xfree, not free. | |
5030 (unexpect_property_change, x_get_window_property_as_lisp_data): Ditto. | |
5031 (x_handle_property_notify, receive_incremental_selection): Ditto. | |
5032 (selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto. | |
5033 | |
5034 1997-11-10 Eli Zaretskii <eliz@is.elta.co.il> | |
5035 | |
5036 * msdos.c: Support for Japanese display on DOS/V systems. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5037 (screen_old_address, screen_virtual_segment, screen_virtual_offset): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5038 New variables. |
25865 | 5039 (dosv_refresh_virtual_screen): New function. |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5040 (dos_direct_output, dos_set_window_size, IT_write_glyphs) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5041 (IT_clear_end_of_line, IT_clear_screen, IT_display_cursor) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5042 (IT_reset_terminal_modes, XMenuActivate, abort): Call |
25865 | 5043 dosv_refresh_virtual_screen if under DOS/V. |
5044 (IT_set_terminal_modes): If under DOS/V, update the address of | |
5045 primary screen buffer. | |
5046 (internal_terminal_init): Zero out screen_old_address, in case | |
5047 Emacs was dumped under DOS/V. | |
5048 (dos_get_saved_screen): Return failure indication if no screen was | |
5049 saved. | |
5050 | |
5051 1997-11-07 Kenichi Handa <handa@etl.go.jp> | |
5052 | |
5053 * callproc.c (Fcall_process): GCPRO infile, buffer, and | |
5054 current_dir before encoding arguments. | |
5055 | |
5056 * charset.c (find_charset_in_str): Handle the case that STR | |
5057 contains invalid multibyte-form. | |
5058 | |
5059 * coding.c (setup_coding_system): Initialize common_flags member | |
5060 instead of require_flushing member of `*coding'. | |
5061 (code_convert_region): Fix previous change. | |
5062 | |
5063 * coding.h (struct coding_system): Add member common_flags, delete | |
5064 member require_flushing. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5065 (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5066 (CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5067 New macros. |
25865 | 5068 (CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION): |
5069 These macros deleted. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5070 (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5071 (CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros. |
25865 | 5072 |
5073 * editfns.c (Fsref): If IDX points an 8-bit code which is not part | |
5074 of multibyte characters, return it. Pay attention to | |
5075 enable-multibyte-characters. | |
5076 | |
5077 * fileio.c (Finsert_file_contents): Use new macros defined in | |
5078 coding.h. | |
5079 (Fwrite_region): Likewise. | |
5080 | |
5081 * process.c (create_process): Encode arguments for the process. | |
5082 (read_process_output): Use new macros defined in coding.h. | |
5083 (send_process): Likewise. | |
5084 | |
5085 * term.c (encode_terminal_code): Use new macros defined in | |
5086 coding.h. | |
5087 (write_glyphs): Likewise. | |
5088 | |
5089 1997-10-31 Richard Stallman <rms@gnu.org> | |
5090 | |
5091 * sysdep.c (init_system_name): If gethostname gives a proper | |
5092 domain name, don't look farther for one. | |
5093 | |
5094 1997-10-29 Paul Eggert <eggert@twinsun.com> | |
5095 | |
5096 * m/alpha.h (DBL_MIN_REPLACEMENT): New macro. | |
5097 | |
5098 * print.c (DBL_MIN): Use workaround if DBL_MIN_REPLACEMENT is defined. | |
5099 | |
5100 1997-10-27 Kenichi Handa <handa@etl.go.jp> | |
5101 | |
5102 * charset.c (Fchars_in_string): Pay attention to | |
5103 enable-multibyte-characters. | |
5104 (Fchars_in_region): Likewise. Avoid error when the region ends in | |
5105 the middle of a multibyte character. | |
5106 | |
5107 * category.c (copy_category_table): Copy also the first extra slot | |
5108 (vector of docstrings). | |
5109 (Fcopy_category_table): Do not give unused second arg to | |
5110 copy_category_table. | |
5111 | |
5112 1997-10-26 Kyle Jones <kyle_jones@wonderworks.com> | |
5113 | |
5114 * buffer.c (Fkill_buffer): Don't assume buffer is current. | |
5115 | |
5116 1997-10-24 Eirik Fuller <eirik@netcom.com> | |
5117 | |
5118 * xterm.c (XTread_socket): Check for bogus (0,0) location. | |
5119 | |
5120 1997-10-24 Richard Stallman <rms@gnu.org> | |
5121 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5122 * frame.c (Fmouse_pixel_position, Fmouse_position): |
25865 | 5123 Pass -1 as INSIST arg to mouse_position_hook. |
5124 * w32term.c (w32_mouse_position): Handle INSIST < 0. | |
5125 * xterm.c (XTmouse_position): Handle INSIST < 0. | |
5126 | |
5127 1997-10-23 Simon Marshall <simon@gnu.org> | |
5128 | |
5129 * lread.c (Fload): Indicate in messages if source code is being | |
5130 loaded and don't indicate when compiled code is being loaded. | |
5131 | |
5132 1997-10-23 Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp> | |
5133 | |
5134 * coding.c (encode_designation_at_bol): Fix bug of finding graphic | |
5135 registers which should be designated at bol. | |
5136 | |
5137 1997-10-23 Kenichi Handa <handa@etl.go.jp> | |
5138 | |
5139 * charset.h (CHAR_VALID_P): Renamed from VALID_CHAR_P, new | |
5140 argument GENERICP. Call char_valid_p for a non-ASCII character. | |
5141 | |
95848 | 5142 * charset.c (char_valid_p): New function. |
25865 | 5143 (Fchar_valid_p): New function. |
5144 (syms_of_charset): Declare it as a Lisp function. | |
5145 | |
5146 * coding.h (struct iso2022_spec): New member | |
5147 charset_revision_number. | |
5148 (CODING_SPEC_ISO_SAFE_CHARSETS): This macro deleted. | |
5149 (CODING_SPEC_ISO_REVISION_NUMBER): New macro. | |
5150 (struct coding_system): Member `safe_charsets' is moved from | |
5151 struct iso2022_spec. | |
5152 | |
5153 * coding.c (Qsafe_charset): New variable. | |
5154 (syms_of_coding): Initialize and staticpro it. | |
5155 (detect_coding_iso2022): Handle SS2 and SS3 correctly. | |
5156 (DECODE_ISO_CHARACTER): Recover from incorrect encoding in less | |
5157 dangerous way. | |
5158 (ENCODE_DESIGNATION): Get charset revision number by | |
5159 CODING_SPEC_ISO_REVISION_NUMBER. | |
5160 (setup_coding_system): Initialize the member safe_charsets from | |
5161 the coding systems's safe-charsets property. Initialize the | |
5162 member charset_revision_number of struct iso2022_spec. | |
5163 (ENCODE_ISO_CHARACTER_DIMENSION1): Adjusted for the change of | |
5164 `safe_charsets' member. | |
5165 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
5166 (code_convert_region): Restore the current point after calling a | |
5167 function in coding->post_read_conversion. | |
5168 | |
5169 * fns.c (map_char_table): Do not operate on invalid characters. | |
5170 Pay attention to `enable-multibyte-characters'. | |
5171 | |
5172 1997-10-23 Richard Stallman <rms@gnu.org> | |
5173 | |
5174 * filelock.c (unlock_all_files): Don't call unlock_file; | |
5175 do the work directly, and avoid calling Fexpand_file_name. | |
5176 | |
5177 * xdisp.c (redisplay_window): If clip_changed, always run | |
5178 window-scroll-functions. | |
5179 | |
5180 1997-10-23 Paul Eggert <eggert@twinsun.com> | |
5181 | |
5182 Don't generate useless digits when converting floating point to string. | |
5183 | |
5184 * print.c (_MAXLDBL, _NMAXLDBL): | |
5185 Define to work around hpux 7 <math.h> problem. | |
5186 (<math.h>): Include. | |
5187 (<float.h>, <stdlib.h>): Include if STDC_HEADERS. | |
5188 (FLT_RADIX, DBL_MANT_DIG, DBL_DIG): Default to IEEE values. | |
5189 (DOUBLE_DIGITS_BOUND): New macro. | |
5190 (float_to_string): By default, generate the fewest number of digits | |
5191 that represent the floating point value exactly. | |
5192 | |
5193 * lisp.h (DBL_DIG): Remove; the default value is now set in print.c. | |
5194 * data.c, floatfns.c: No need to include <float.h> before "lisp.h", | |
5195 as the latter no longer defines DBL_DIG. | |
5196 | |
5197 1997-10-21 Kenichi Handa <handa@etl.go.jp> | |
5198 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
5199 * Makefile.in (xselect.o): Depend on buffer.h. |
25865 | 5200 |
5201 * coding.c (Qcoding_system_spec): Deleted. | |
5202 (Vcoding_system_list, Vcoding_system_alist): New variables. | |
5203 (setup_coding_system): Adjusted for the change in mule.el. | |
5204 (detect_eol): Likewise. | |
5205 (Fcoding_system_spec): Changed to Lisp function in mule.el. | |
5206 (Fcoding_system_p): Do not call Fcoding_system_spec. | |
5207 (Fread_coding_system): Give Vcoding_system_alist to | |
5208 Fcompleting_read as the arg TABLE. | |
5209 (Fread_non_nil_coding_system): Likewise. Give | |
5210 Vcoding_system_history to Fcompleting_read as the arg HIST. | |
5211 (syms_of_coding): Deleted codes for Qcoding_system and | |
5212 Fcoding_system_spec. Set up new Lisp variables. | |
5213 | |
5214 * xselect.c: Include buffer.h. | |
5215 (selection_data_to_lisp_data): Do not perform code conversion if | |
5216 the default value of enable-multibyte-characters is nil. | |
5217 (lisp_data_to_selection_data): Likewise. Access the array | |
5218 `charsets' in the correct way. | |
5219 | |
5220 1997-10-20 Richard Stallman <rms@gnu.org> | |
5221 | |
5222 * Makefile.in (LD_SWITCH_MACHINE_TEMACS): New macro (defaults empty). | |
5223 (ALL_LDFLAGS): Use LD_SWITCH_MACHINE_TEMACS here. | |
5224 | |
5225 * m/ibmrs6000.h (LD_SWITCH_MACHINE): Conditionalize this | |
5226 on THIS_IS_MAKEFILE instead of on emacs. | |
5227 | |
5228 1997-10-20 Paul Eggert <eggert@twinsun.com> | |
5229 | |
5230 * strftime.c: | |
5231 Switch back to GNU C Library version. | |
5232 (__tz_compute): Remove unused decl. | |
5233 (strftime): Use tm_zone even if _LIBC is defined. | |
5234 | |
5235 1997-10-19 Kurt Swanson <kurt@dna.lth.se> | |
5236 | |
5237 * window.c (syms_of_window): Doc fix. | |
5238 | |
5239 1997-10-16 Richard Stallman <rms@gnu.org> | |
5240 | |
5241 * buffer.c (init_buffer): Don't add /: to default dir if it's `/'. | |
5242 | |
5243 * keymap.c (Faccessible_keymaps): Avoid alloca for fixed-size array. | |
5244 (Fset_keymap_parent, Fcopy_keymap, Fwhere_is_internal): Likewise. | |
5245 | |
5246 * minibuf.c (read_minibuf): Return DEFALT here, if minibuffer is empty. | |
5247 (Fread_from_minibuffer, Fcompleting_read): Don't do that here. | |
5248 | |
5249 * fileio.c (Fexpand_file_name): Avoid treating // specially | |
5250 even in a relative file name. | |
5251 | |
5252 * keymap.c (Fwhere_is_internal): some minor mode bindings weren't | |
5253 being found. | |
5254 | |
5255 1997-10-15 Richard Stallman <rms@gnu.org> | |
5256 | |
5257 * window.c (replace_buffer_in_all_windows): | |
5258 Pass 1 as MINI to window_loop. | |
5259 | |
5260 * data.c (Fstring_to_number): Handle NEGATIVE for floats too. | |
5261 | |
5262 * lread.c (read_list): Don't recognize Vload_file_name | |
5263 specially if it is nil. | |
5264 | |
5265 1997-10-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5266 | |
5267 * alloc.c (gc_sweep): Free memory blocks that contain only unused | |
5268 objects. | |
5269 | |
5270 * window.c (window_scroll): When scrolling forward and point is | |
5271 inside the scroll margin put point at bottom of it, not at window | |
5272 start. | |
5273 | |
5274 1997-10-13 Andrew Innes <andrewi@harlequin.co.uk> | |
5275 | |
5276 * callproc.c (child_setup) [WINDOWSNT]: Ensure standard handles | |
5277 are reset even if spawnve fails. | |
5278 | |
5279 * w32menu.c (Fx_popup_menu): Pass menu handle by value. | |
5280 | |
5281 1997-10-13 Eli Zaretskii <eliz@melange.gnu.org> | |
5282 | |
5283 * xdisp.c (decode_mode_spec): Display non-nil title as the frame's | |
5284 name only on FRAME_WINDOW_P frames. | |
5285 | |
5286 * frame.c (set_menu_bar_lines): Make the function external instead | |
5287 of static (MS-DOS needs to call it). | |
5288 | |
5289 * emacs.c (shut_down_emacs): Call `dos_cleanup'. | |
5290 | |
98317 | 5291 * msdos.c (mouse_get_pos): Remove redundant call to `int86'. |
25865 | 5292 Clear the mouse-moved flag for all frames. Update last mouse |
5293 position. | |
5294 (IT_set_menu_bar_lines): Remove. | |
5295 (x_set_menu_bar_lines): Call `set_menu_bar_line' (from frame.c) | |
5296 instead of duplicating its code. | |
5297 (IT_set_frame_parameters): Support the `title' and `reverse' | |
5298 properties. | |
5299 | |
5300 * dosfns.h: Vdos_windows_version: declare. | |
5301 | |
5302 * dosfns.c (__tb): Define. | |
5303 (restore_parent_vm_title): New function. | |
5304 (ms_windows_version): New function. | |
95848 | 5305 (w95_set_virtual_machine_title): New function. |
25865 | 5306 (x_set_title): New function. |
95848 | 5307 (dos_cleanup): New function. |
25865 | 5308 (syms_of_dosfns): Define `dos-windows-version' Lisp variable. |
5309 (init_dosfns): Compute MS-Windows version and save the original | |
5310 title of our DOS box. | |
5311 | |
5312 1997-10-10 Richard Stallman <rms@gnu.org> | |
5313 | |
5314 * s/netbsd.h (LD_SWITCH_SYSTEM): Use -Wl,-rpath if __ELF__. | |
5315 | |
5316 1997-10-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5317 | |
5318 * unexelf.c (round_up): Make arguments and return type unsigned. | |
5319 | |
5320 * editfns.c: Repeat the argument list of format-time-string in the | |
5321 comment for make-docstring. | |
5322 | |
5323 * lread.c: Make sure that make-docfile does not see the doc string | |
5324 of the disabled function eval-current-buffer. | |
5325 | |
5326 * print.c (syms_of_print): Fix doc string of print-gensym. | |
5327 | |
5328 1997-10-01 Richard Stallman <rms@psilocin.gnu.org> | |
5329 | |
5330 * s/aix4-1.h [! HAVE_LIBXMU] (LIBXMU): Define as empty. | |
5331 [! HAVE_LIBXMU] (NO_EDITRES): Defined. | |
5332 | |
5333 1997-09-30 Hrvoje Niksic <hniksic@srce.hr> | |
5334 | |
5335 * fns.c (Qwidget_type): New variable. | |
5336 (widget-plist-member, widget-put, widget-get, widget-apply): Move | |
5337 here from lisp/wid-edit.el; translated into C for efficiency. | |
5338 (syms_of_fns): Initialize Qwidget_type; defsubr new functions. | |
5339 | |
5340 1997-09-29 Karl Heuer <kwzh@gnu.org> | |
5341 | |
5342 * s/dgux4.h: Fix name of include file to match 1996-08-24 renaming. | |
5343 | |
5344 1997-09-27 Eirik Fuller <eirik@netcom.com> | |
5345 | |
5346 * ralloc.c (relinquish): When returning memory to the system, | |
5347 watch out for the original data segment boundary. | |
5348 | |
5349 1997-09-25 Kenichi Handa <handa@etl.go.jp> | |
5350 | |
5351 * keymap.c (push_key_description): Delete useless `if' statement. | |
5352 | |
5353 1997-09-24 Kenichi Handa <handa@etl.go.jp> | |
5354 | |
5355 * charset.c (find_charset_in_str): Return also charsets in | |
5356 composite characters. | |
5357 | |
5358 1997-09-24 Dave Love <d.love@dl.ac.uk> | |
5359 | |
5360 * buffer.c (mode-line-format): Doc fix. | |
5361 | |
5362 1997-09-23 Geoff Voelker <voelker@cs.washington.edu> | |
5363 | |
5364 * callproc.c (child_setup) [WINDOWSNT]: Change directory of | |
5365 child instead of parent. | |
5366 | |
5367 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5368 | |
5369 * Version 20.2 released. | |
5370 | |
5371 * s/sol2-5.h (SYSTEM_MALLOC): Defined. | |
5372 | |
5373 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5374 | |
5375 * Version 20.1 released. | |
5376 | |
5377 * keyboard.c (command_loop_1): Add nonascii_insert_offset | |
5378 before calling direct_output_for_insert. | |
5379 | |
5380 1997-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5381 | |
5382 * indent.c (compute_motion): Ignore the display table entry for a | |
5383 base leading code when dealing with multibyte characters. | |
5384 | |
5385 1997-09-14 Kenichi Handa <handa@etl.go.jp> | |
5386 | |
5387 * fileio.c (Finsert_file_contents): If a coding system is | |
5388 specified explicitly on visiting a new file, set | |
5389 buffer-file-coding system of the new buffer to the specified one. | |
5390 | |
5391 1997-09-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5392 | |
5393 * minibuf.c (syms_of_minibuf): Doc fix. | |
5394 | |
5395 1997-09-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5396 | |
5397 * xdisp.c: When redisplaying the echo area, use the value | |
5398 of enable-multibyte-characters from when message was called. | |
5399 (message_enable_multibyte): New variable. | |
5400 (message2_nolog): Set the variable. | |
5401 (echo_area_display): Use that variable. | |
5402 (display_string): New arg MULTIBYTE. Callers changed. | |
5403 | |
5404 * print.c (Fexternal_debugging_output): On Windows, output to debugger. | |
5405 | |
5406 1997-09-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5407 | |
5408 * msdos.c: Use raw-text as coding system. | |
5409 | |
5410 1997-09-10 Eli Zaretskii <eliz@is.elta.co.il> | |
5411 | |
5412 * msdos.c (syms_of_msdos): Intern background-color and | |
5413 foreground-color, and staticpro them. | |
5414 (IT_set_frame_parameters): Use Qforeground_color and | |
5415 Qbackground_color. | |
5416 | |
5417 1997-09-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5418 | |
5419 * xdisp.c (display_menu_bar): Include WINDOW_LEFT_MARGIN in maxendcol. | |
5420 | |
5421 * process.c (create_process): Encode the new current dir. | |
5422 | |
5423 * callproc.c (Fcall_process): Encode the new current dir. | |
5424 | |
5425 1997-09-09 Paul Eggert <eggert@twinsun.com> | |
5426 | |
5427 * s/sco5.h (BROKEN_MKTIME): Define. | |
5428 | |
5429 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5430 | |
5431 * xfns.c (x_screen_planes): Fix type of argument. | |
5432 | |
5433 * syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Add missing fourth | |
5434 argument of update_syntax_table. | |
5435 (UPDATE_SYNTAX_TABLE_BACKWARD): Likewise. | |
5436 (UPDATE_SYNTAX_TABLE): Likewise. | |
5437 | |
5438 * coding.c (encode_designation_at_bol): Fix type of local vars C1, C2. | |
5439 | |
5440 1997-09-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5441 | |
5442 * fileio.c (ENCODE_FILE): New macro. | |
5443 (Vfile_name_coding_system): New variable. | |
5444 (syms_of_fileio): Set up Lisp variable. | |
5445 (Fset_visited_file_modtime): Use ENCODE_FILE. | |
5446 (Fcopy_file, Fmake_directory_internal, Fdelete_directory, Fdelete_file) | |
5447 (Frename_file, Fadd_name_to_file, Ffile_exists_p Ffile_executable_p) | |
5448 (Ffile_readable_p, Ffile_writable_p, Faccess_file, Ffile_symlink_p) | |
5449 (Ffile_directory_p, Ffile_accessible_directory_p, Ffile_regular_p) | |
5450 (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p, Fwrite_region) | |
5451 (Finsert_file_contents, Fverify_visited_file_modtime): Likewise. | |
5452 | |
5453 * fileio.c (Ffile_symlink_p): Decode the file name value. | |
5454 | |
5455 * dired.c (ENCODE_FILE): New macro. | |
5456 (Ffile_attributes): Encode the file names to operate on. | |
5457 (file_name_completion): Do completion on encoded name, then decode. | |
5458 (Fdirectory_files): Encode the argument. | |
5459 Decode all result file names using Vfile_name_coding_system. | |
5460 | |
5461 * coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5462 |
25865 | 5463 1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
5464 | |
5465 * lread.c (Feval_buffer): New arg FILENAME. | |
5466 | |
5467 * buffer.c (modify_overlay): Update overlay_modiff of proper buffer. | |
5468 | |
5469 1997-09-07 Geoff Voelker <voelker@cs.washington.edu> | |
5470 | |
5471 * firstfile.c: New file. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5472 |
25865 | 5473 1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
5474 | |
5475 * xdisp.c (display_string): Determine multibyte from current buffer, | |
5476 not from W's buffer. | |
5477 | |
5478 1997-09-07 Kenneth Stailey <kstailey@elbereth.disclosure.com> | |
5479 | |
5480 * s/openbsd.h: New file. | |
5481 | |
5482 * m/ns32000.h, m/sparc.h, m/alpha.h, m/pmax.h, unexalpha.c: | |
5483 Test __OpenBSD__ along with __NetBSD__. | |
5484 | |
5485 * unexelf.c: Test __OpenBSD__ along with __NetBSD__. | |
5486 [__OpenBSD__]: Include sys/exec_elf.h. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5487 |
25865 | 5488 1997-09-05 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> |
5489 | |
5490 * coding.c (Ffind_operation_coding_system): If a function in | |
5491 XXX-coding-system-alist returns a coding system (instead of cons | |
5492 of coding systems), return cons of it. | |
5493 | |
5494 1997-09-05 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5495 | |
5496 * coding.c (Fread_coding_system): | |
5497 New optional arg DEFAULT_CODING_SYSTEM. | |
5498 * lisp.h (Fread_coding_system): Update decl. | |
5499 | |
5500 * callint.c (Fcall_interactively): Pass new arg to Fread_coding_system. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5501 |
25865 | 5502 1997-09-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
5503 | |
5504 * m/alpha.h (PTY_OPEN): Call sigblock properly. | |
5505 | |
5506 * fileio.c (Fexpand_file_name): If default dir isn't string, use `/'. | |
5507 | |
5508 * callproc.c (Fcall_process_region): Fix previous change: | |
5509 never override Vcoding_system_for_write. | |
5510 | |
5511 * m/alpha.h (PTY_OPEN): Save and restore the SIGCHLD handler. | |
5512 | |
5513 1997-09-04 Erik Naggum <erik@naggum.no> | |
5514 | |
5515 * emacs.c (main): Update Copyright message. | |
5516 | |
5517 1997-09-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5518 | |
5519 * data.c (Faset): Simplify a statement in the char-table case. | |
5520 This is to help some compilers. | |
5521 | |
5522 * coding.c (Qcoding_system_history): New variable. | |
5523 (syms_of_coding): Initialize it. | |
5524 (Fread_coding_system): Use Qcoding_system_history. | |
5525 | |
5526 * coding.c (setup_coding_system, Ffind_operation_coding_system) | |
5527 (Fdetect_coding_region, Fread_coding_system): | |
5528 Don't initialize a Lisp_Object. | |
5529 | |
5530 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp> | |
5531 | |
5532 * emacs.c (main): Call run_time_remap earlier, before any use of stdio. | |
5533 | |
5534 1997-09-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5535 | |
5536 * minibuf.c (read_minibuf): Fix use of Ffboundp. | |
5537 | |
5538 1997-09-03 Geoff Voelker <voelker@cs.washington.edu> | |
5539 | |
5540 * lastfile.c (my_endbss) [WINDOWSNT]: New variable. | |
5541 | |
5542 1997-09-03 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5543 | |
5544 * coding.c (detect_coding_mask): Re-work previous change. | |
5545 (detect_eol): Fix use of == instead of -. | |
5546 | |
5547 1997-09-03 Kenichi Handa <handa@etl.go.jp> | |
5548 | |
5549 * coding.c (detect_coding_mask): Cancel previous change. Always | |
5550 include CODING_CATEGORY_MASK_RAW_TEXT in the return value. | |
5551 | |
5552 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk> | |
5553 | |
5554 * makefile.nt (TLIB0, TOBJ, OBJ0): New macro. | |
5555 (LINK_FLAGS): Separate debugging info from the executable. | |
5556 (LIBS): Include TLIB0. | |
5557 (TEMACS): Link with TLIB0. | |
5558 (EMACS): Copy temacs map file to emacs map file. | |
5559 Update file dependencies. | |
5560 | |
5561 * unexw32.c: Include config.h and time.h. | |
5562 Declare extern data and functions. | |
5563 (file_data): Move definition from w32heap.c. | |
5564 (_start): Add debug hook for when profiling. | |
5565 Spoof executable name when using profilers. | |
5566 Invoke sbrk immediately when undumped. | |
5567 (unexec): Print error messages when input and output dump files | |
5568 cannot be opened. | |
5569 Reset header checksum. | |
5570 (open_input_file, open_output_file): Return status instead of aborting. | |
5571 (get_section_size): Handle different linkers. | |
5572 (find_section, rva_to_section): New functions. | |
5573 (get_section_info) [SEPARATE_BSS_SECTION]: Make code for using | |
5574 a separate .bss section conditional. | |
5575 Use my_begbss and my_endbss to determine .bss size by default. | |
5576 Look for Emacs data in EMDATA section. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5577 |
25865 | 5578 * w32.c: Include stddef.h. |
5579 (getwd): Delete macro. | |
5580 (startup_dir): New variable. | |
5581 (getwd): Return directory in which Emacs started. | |
5582 (init_user_info): Set SHELL environment variable if not set. | |
5583 (parse_root, get_long_basename, w32_get_long_filename): New functions. | |
5584 (init_environment): Look for CMDPROXY. | |
5585 Make sure that PATH and COMSPEC are capitalized in the environment. | |
5586 Record startup directory. | |
5587 (get_emacs_configuration, sys_rename): Use OS_WIN95. | |
5588 (map_w32_filename): Calculate returned string correctly. | |
5589 | |
5590 (sys_fopen): Use _fdopen. | |
5591 (sys_link): Support NTFS links. | |
5592 (sys_rename): Use a long file name for temporary name. | |
5593 (sys_pipe): Make pipes binary and non-inheritable. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5594 (sys_read, sys_write): Spoof text mode translation for pipes |
25865 | 5595 and sockets. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5596 |
25865 | 5597 (hashval): Simplify. |
5598 (generate_inode_val): Use long file name version of file. | |
5599 | |
5600 (stat): Optimize by using active readdir info. | |
5601 Set fake_inode to 0 for directories. | |
5602 Set fake_inode to xor of file indexes for files. | |
5603 Don't use generate_inode_val to set inode value. | |
5604 | |
5605 (volume_info_data): Renamed from volume_info. | |
5606 (volume_info, fixed_drives, volume_cache): New variables. | |
5607 (DRIVE_INDEX, VOLINFO_STILL_VALID): New macros. | |
5608 (lookup_volume_info, add_volume_info, GetCachedVolumeInformation): | |
5609 New functions. | |
5610 (get_volume_info): Use volume_info_data. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5611 Use GetCachedVolumeInformation. |
25865 | 5612 |
5613 (init_ntproc): No longer restrict to one DOS subprocess. | |
5614 Use CRT _open and _fdopen. | |
5615 Cache fixed drive information. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5616 |
25865 | 5617 * w32.h: Remove debugging macros. |
5618 (child_process): Remove is_dos_process field, add hwnd handle field. | |
5619 (FILE_LAST_CR): New macro. | |
5620 (w32_get_long_filename): Declare extern. | |
5621 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5622 * w32console.c (DebPrint, reset_kbd, unset_kbd, take_console): |
25865 | 5623 Delete functions. |
5624 (keyboard_init_hook): Delete variable. | |
5625 (prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable. | |
5626 (reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info. | |
5627 (initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate | |
5628 screen buffer. | |
5629 (ctrl_c_handler): Only ignore interrupts when interactive. | |
5630 (set_terminal_modes): Set input mode. | |
5631 (initialize_w32_display): Record original settings. | |
5632 Don't reset cursor or clear frame. | |
5633 | |
5634 * w32fns.c: Include limits.h and errno.h. | |
5635 Declare externs from other files. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5636 (w32_in_use): New variable. |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5637 (check_w32, have_menus_p, x_set_title, w32_msg_worker) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5638 (find_deferred_msg, send_deferred_msg, complete_deferred_msg) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5639 (Fw32_focus_frame, W32-send-sys-command): New functions. |
25865 | 5640 (last_mouse_movement_time): Delete variable. |
5641 | |
5642 (x_frame_parms): Alphabetize. Add title parm. | |
5643 (x_set_icon_name): Use title if set. | |
5644 (x_set_menu_bar_lines): Ensure client area remains the same. | |
5645 (x_set_name): Don't update if the name is the same. | |
5646 Use title for name if available. | |
5647 (x_icon): Initial support for creating window iconified. | |
5648 (x_display_info_for_name): Set w32_in_use. | |
5649 (Fx_open_connection): Validate Vwindow_system. Set w32_in_use. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5650 |
25865 | 5651 (w32_create_window): Set window size to frame dimensions. |
5652 Set font width, line height, border, scrollbar indexes. | |
5653 Don't set X and Y units indexes. | |
5654 (w32_msg_pump): Renamed from windows_msg_worker. | |
5655 Make static. Don't post done message. No longer handle | |
5656 create scrollbar message. Don't abort on anomalous messages. | |
5657 Return when completion detected. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5658 (w32_wnd_proc): Keep track of button state. |
25865 | 5659 For WINDOWPOSCHANGING, force window dimensions to be multiples |
5660 of character dimensions. | |
5661 Handle CREATESCROLLBAR. | |
5662 Use correct arguments for SHOWWINDOW. | |
5663 For SETWINDOWPOS, use WINDOWPOS structure. | |
5664 | |
5665 (my_create_window): Abort if message post fails. | |
5666 (Fx_create_frame): Use title instead of name. | |
5667 GC protect frame before make_frame_without_minibuffer. | |
5668 Set icon name. | |
5669 Use courier new as default font (has bold and italic). | |
5670 Set BufferPredicate and Title default parameters. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5671 |
25865 | 5672 (x_to_w32_weight): Support semibold weight. |
5673 (x_to_w32_charset): Map # to numeric charset identifier. | |
5674 (w32_to_x_charset): Encode unknown charsets as a number. | |
5675 (enum_font_cb2): Don't restrict to ANSI and OEM charsets. | |
5676 | |
5677 (Fx_color_values): Set high and low words of color values. | |
5678 | |
5679 (syms_of_w32fns): Zero w32_in_use. defsubr new functions. | |
5680 | |
5681 * w32heap.c (os_subtype): New variable. | |
5682 (cache_system_info): Set os_subtype. | |
5683 (recreate_heap): Update system information after loading heap. | |
5684 | |
5685 * w32heap.h: Enumerate operating system types. | |
5686 Declare extern data and functions. | |
5687 Move file_data struct definition here. | |
5688 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): New macros. | |
5689 | |
5690 * w32inevt.c: Declare externs from other files. | |
5691 (w32_kbd_mods_to_emacs): New parameter KEY. | |
5692 Use w32-capslock-is-shiftlock for old behavior. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5693 (key_event): Pass in new parameter to w32_kbd_mods_to_emacs. |
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5694 |
25865 | 5695 * w32menu.c (init_menu_items): Disable code. |
5696 (x_activate_menubar): New function. | |
5697 (initialize_frame_menubar): Pass in new param to set_frame_menubar. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5698 |
25865 | 5699 * w32proc.c: Include w32heap.h. |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5700 (Vw32_start_process_share_console, Vw32_generate_fake_inodes) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5701 (Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): |
25865 | 5702 New variables. |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5703 (find_child_console, set_process_dir, Fw32_short_file_name) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5704 (Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5705 (Fw32_get_current_locale_id, Fw32_get_default_local_id) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5706 (Fw32_set_current_locale): New functions. |
25865 | 5707 (CORRECT_DIR_SEPS): New macro. |
5708 (create_child): Create a new console if subprocs don't share parent's. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5709 (reap_subprocess): Don't check for dos subprocesses. |
25865 | 5710 Add debug support. |
5711 (sys_wait): Ignore socket child_procs. | |
5712 Check for quit while waiting. | |
5713 (w32_executable_type): Renamed from w32_is_dos_binary. | |
5714 Check for dos and Cygnus executables. | |
5715 (sys_spawnve): Always use cmdproxy if spawning a dos app. | |
5716 Use quotes to quote arguments for Cygnus apps, backslashes otherwise. | |
5717 Handle escape characters. Escape quotes at start and end, too. | |
5718 (sys_select): Treat null timeout as infinite. | |
5719 Add handles of child processes. | |
5720 Loop over handles round robin to ensure fairness. | |
5721 (sys_kill): Send ctrl-break and ctrl-c keystrokes to subprocesses | |
5722 on SIGINT if not sharing consoles, otherwise generate ctrl-break event. | |
5723 On other termination signals, send WM_QUIT message to Win95 apps | |
5724 and WM_CLOSE to NT apps. | |
5725 (syms_of_ntproc): Intern new symbols. defsubr new functions. | |
5726 DEFVAR new variables. | |
5727 | |
5728 * w32term.c (SIF_*): Win95 macros defined for NT. | |
5729 (struct tagSCROLLINFO): Win95 struct defined for NT. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5730 (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5731 (vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5732 (Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5733 New variables. |
25865 | 5734 (w32_frame_up_to_date): Block input. |
5735 (do_line_dance): Use DC while erasing, release at end. | |
5736 (show_mouse_face): Use column and endcolumn calculated at start of | |
5737 loop. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5738 (my_create_scrollbar, my_show_window, my_set_window_pos, my_set_focus) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5739 [! ATTACH_THREADS]: Send message to window instead of invoking |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5740 Windows procedure. |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5741 (x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5742 (x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle. |
25865 | 5743 (x_scroll_bar_set_handle): Create proportional sized scroll handle. |
5744 (w32_set_vertical_scroll_bar): Size handle according to how much | |
5745 is showing in window. | |
5746 (x_scroll_bar_set_report_motion): Use top_range, calculated above. | |
5747 (x_scroll_bar_clear): Hide scroll bar until ready to repaint. | |
5748 (show_scroll_bars): Pass in frame to my_show_window. | |
5749 | |
5750 (w32_read_socket): Distinguish between invisible and obscured frames | |
5751 when handling PAINT messages. | |
5752 Fixup off-by-one calculation for PAINT and SIZE. | |
5753 Pass in new parameter to w32_kbd_mods_to_emacs. | |
5754 Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW, | |
5755 INITMENU, and ACTIVATEAPP messages. | |
98317 | 5756 Explicitly check for visible and obscured frames, and to see if |
25865 | 5757 any event should cause a redisplay. |
5758 | |
5759 (x_display_bar_cursor): Don't check whether frame is updating here. | |
5760 (x_display_cursor): Check it here instead. | |
5761 (x_set_offset) [HAVE_NTGUI]: Don't add border widths. | |
5762 Set NOACTIVATE when setting window position. | |
5763 (x_set_window_size): Fixup off-by-one calculation when setting | |
5764 window position. Mark frame garbaged earlier. Clear mouse | |
5765 highlighting state. | |
5766 (x_focus_on_frame): Set focus by making frame the foreground window. | |
5767 (x_raise_frame): Support frames to be raised without grabbing focus. | |
5768 (x_lower_frame): Set NOACTIVATE flag when setting window position. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5769 (x_make_frame_visible, x_make_frame_invisible): Pass in frame |
25865 | 5770 to my_show_window. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5771 (x_iconify_frame): Send a MINIMIZE message to the window. |
25865 | 5772 (x_wm_set_size_hint): Set font width, line height, border, |
5773 and scroll bar indexes instead of X and Y unit indexes. | |
5774 | |
5775 (w32_initialize): Set input mode. Use w32_msg_worker instead | |
5776 of windows_msg_worker. Dynamically link proportional scroll bar | |
5777 functions and intialize proportional scroll bar variables. | |
5778 (syms_of_w32term): DEFVAR new variables. | |
5779 | |
5780 * w32term.h (w32_output): New fields menubar_widget, menubar_active, | |
5781 and pending_menu_activation. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5782 (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables. |
25865 | 5783 (W32WindowPos): Delete definition. |
5784 (WM_EMACS_SETFOCUS, WND_*_INDEX): New macros. | |
5785 (deferred_msg): New structure. | |
5786 | |
5787 * w32xfns.c (have_menus_p): Move to w32fns.c. | |
5788 | |
5789 * s/ms-w32.h (INTERRUPT_INPUT): Don't define. | |
5790 (bcopy): Use memmove instead of memcpy. | |
5791 (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define. | |
5792 Undef system calls before redefining. Emulated calls redefined | |
5793 to sys_*, real calls redefined to _*. | |
5794 (DebPrint): Macro defined. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5795 |
25865 | 5796 1997-09-02 Michael Welsh Duggan <md5i@schenley.com> |
5797 | |
5798 * w32term.h (WM_MOUSEWHEEL): Define if not already defined. | |
5799 Necessary for pre VC5.0 distribution. | |
5800 (WM_EMACS_TRACKPOPUPMENU): New Macro. | |
5801 | |
5802 * w32term.c (construct_mouse_wheel): New function. Constructs an | |
5803 input event from a WM_MOUSEWHEEL message. | |
5804 (w32_read_socket): Handle WM_MOUSEWHEEL. | |
5805 | |
5806 * w32fns.c (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events. | |
5807 Capture and handle WM_EMACS_TRACKPOPUPMENU events. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5808 Allow a dragged selection from a popup menu started up |
25865 | 5809 by a mouse down event. |
5810 (x_to_win32_color): Support for X Windows RGB string specifications. | |
5811 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5812 * w32menu.c (get_frame_menubar_event): Check for the possibility |
25865 | 5813 of a menu-bar button. A menu-bar button is a caption on the menu |
5814 bar with no submenu. | |
5815 (set_frame_menubar): Correctly handle menu-bar buttons. | |
5816 (add_menu_item): Equiv parameter send and paid attention to. | |
5817 (keymap_panes, list_of_panes): Use CreatePopupMenu. | |
5818 (single_keymap_panes): Use CreatePopupMenu. Send key descriptions | |
5819 to add_menu_item. | |
5820 (list_of_items): Use CreatePopupMenu. Send nil description to | |
5821 add_menu_item. | |
5822 (get_menu_event): Send keymap instead of menu to get_keymap_event. | |
5823 (Fx_popup_menu): Extra parameter to mouse_position_hook. Don't | |
5824 send address of menu to win32menu_show. | |
5825 (win32menu_show): Send message to call popup menu rather than | |
5826 trying directly. get_menu_event should take an address. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5827 Call eat_mouse_events in order to get rid of any extraneous |
25865 | 5828 mouse events. |
5829 (list_of_panes): Only bring up one pane if the length of the list | |
5830 of panes is one. | |
5831 | |
5832 1997-09-02 Nico Francois <nico.francois@scala.nl> | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5833 |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5834 * w32menu.c (single_keymap_panes): Fixed problem with 'descrip' |
25865 | 5835 lisp object not being protected properly (GCPRO). |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5836 (get_single_keymap_event): Fixed problem with 'descrip' lisp |
25865 | 5837 object not being protected properly (GCPRO). |
5838 (name_is_separator): New function. | |
5839 (list_of_panes): If a pane's name is empty ("") items are now | |
5840 placed in the main popup instead of a blank-named submenu. This | |
5841 seems to be an undocumented feature of x-popup-menu. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5842 (list_of_items): New argument HMENU. |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
5843 Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item. |
25865 | 5844 |
5845 1997-09-02 Geoff Voelker <voelker@cs.washington.edu> | |
5846 | |
5847 * w32.c (init_environment): Don't look for INFOPATH. | |
5848 | |
5849 * w32fns.c (w32_wnd_proc): Pass on WM_DISPLAYCHANGE messages. | |
5850 | |
5851 * w32heap.c: Don't use data_seg pragma here. | |
5852 (_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that | |
5853 override CRT routines. | |
5854 | |
5855 * w32inevt.c (key_event): New parameter isdead. Set isdead if the | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
5856 key press was done using a dead key. |
25865 | 5857 |
5858 * w32term.c (w32_read_socket): Pass in new parameter to key_event. | |
5859 Let key_event determine whether key is dead. | |
5860 For MOVE, use x_real_positions to map to client coords. | |
5861 (x_set_mouse_pixel_position): Offset to use client area as origin. | |
5862 | |
5863 * s/ms-w32.h: Use pragmas to place Emacs initialized data in | |
5864 EMDATA segment, and Emacs uninitialized data in EMBSS segment. | |
5865 | |
5866 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk> | |
5867 | |
5868 * fileio.c (Fadd_name_to_file) [WINDOWSNT]: Remove conditional. | |
5869 | |
5870 * frame.h (FRAME_OBSCURED_P): New macro. | |
5871 (FRAME_SAMPLE_VISIBILITY): Distinguish between invisible and obscured. | |
5872 | |
5873 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: Support | |
5874 menu_bar_activate_event. | |
5875 (set-input-mode) [DOS_NT]: Do not invoke reset and init sys modes. | |
5876 | |
5877 * sysdep.c (sys_subshell) [DOS_NT]: Save and restore parent's | |
5878 working directory. | |
5879 (sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5880 (init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with |
25865 | 5881 a read_socket_hook. |
5882 | |
5883 * xdisp.c (redisplay_internal): Check to see if frame is not obscured | |
5884 as well as visible. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5885 |
25865 | 5886 1997-09-02 Michael Welsh Duggan <md5i@schenley.com> |
5887 | |
5888 * lisp.h: Declare discard_mouse_events. | |
5889 | |
5890 * keyboard.c (Qmouse_wheel) [WINDOWSNT]: New variable. | |
5891 (discard_mouse_events): New function. | |
5892 (mouse_wheel_syms) [WINDOWSNT]: New variable. | |
5893 (lispy_mouse_wheel_names) [WINDOWSNT]: New variable. | |
5894 (make_lispy_event) [WINDOWSNT]: Make mouse-wheel events. | |
5895 (syms_of_keyboard) [WINDOWSNT]: Define Qmouse_wheel and | |
5896 mouse_wheel_syms. | |
5897 | |
5898 * termhooks.h (event_kind) [WINDOWSNT]: New event type: mouse_wheel. | |
5899 | |
5900 1997-09-02 Geoff Voelker <voelker@cs.washington.edu> | |
5901 | |
5902 * fileio.c (Fexpand_file_name) [WINDOWSNT]: When stripping | |
5903 drive letter, be careful not to create a UNC filename. | |
5904 | |
5905 1997-09-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5906 | |
5907 * coding.c (detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT | |
5908 in the detect_coding_iso2022 case. | |
5909 | |
5910 * minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5911 (Fread_no_blanks_input, Fcompleting_read): Doc fixes. |
25865 | 5912 |
5913 * unexnext.c: Include unistd.h instead of libc.h. | |
5914 | |
5915 1997-09-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5916 | |
5917 * s/hpux9.h (HAVE_RINT): Add #undef. | |
5918 | |
5919 * floatfns.c (emacs_rint): Define this, | |
5920 either as a function or as a macro for rint. | |
5921 (Fround, Ffround): Use emacs_rint, not rint directly. | |
5922 | |
5923 * window.c (syms_of_window): Doc fix. | |
5924 | |
5925 * fileio.c (Finsert_file_contents): Fix previous change--don't | |
5926 call Fboundp on Vset_auto_coding_function, just check non-nil. | |
5927 | |
5928 1997-09-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5929 | |
5930 * alloc.c (free_float, free_cons): Don't use the same field for | |
5931 chaining as for marking. | |
5932 (make_float, Fcons, gc_sweep): Corresponding changes. | |
5933 | |
5934 1997-09-01 Kenichi Handa <handa@etl.go.jp> | |
5935 | |
5936 * charset.h (LEADING_CODE_PRIVATE_22): Comment fixed. | |
5937 | |
5938 * process.c (read_process_output): Index for | |
5939 proc_encode_coding_system should be p->outfd (not `channel' which | |
5940 is p->infd). | |
5941 | |
5942 * fileio.c (Vset_auto_coding_function): Name changed from | |
5943 Vauto_file_coding_system. | |
5944 (syms_of_fileio): Adjusted for the above change. Doc change. | |
5945 (Finsert_file_contents): The argument for Vset_auto_coding is a | |
5946 concatination of the heading 1K-byte and the tailing 3K-byte. | |
5947 | |
5948 * cmds.c (internal_self_insert): Only set TARGET_CLM when C2 is tab. | |
5949 When multibyte characters are disabled, | |
5950 use 1 as the width of the inserted character. | |
5951 | |
5952 1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
5953 | |
5954 * category.c (describe_category): Handle a sub-chartable. | |
5955 | |
5956 1997-08-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5957 | |
5958 * sysdep.c (init_system_name): Don't try to use getdomainname. | |
5959 | |
5960 1997-08-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5961 | |
5962 * dispnew.c (change_frame_size_1): Save current buffer | |
5963 around calling Fset_window_buffer. | |
5964 | |
5965 * lread.c (Fload): Fix doc syntax. | |
5966 | |
5967 * m/intel386.h (HAVE_ALLOCA): Do define this, if SOLARIS2. | |
5968 | |
5969 1997-08-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5970 | |
5971 * lread.c (Fload): If FILE arg ends in .el or .elc, | |
5972 don't insist on adding a suffix. | |
5973 | |
5974 1997-08-28 Eli Zaretskii <eliz@is.elta.co.il> | |
5975 | |
5976 * callproc.c (Fcall_process): Set EOL conversion type to LF when | |
5977 binary-process-output is non-nil. | |
5978 (Fcall_process_region): binary-process-XXXput only determines EOL | |
5979 conversion; if it is nil, convert LF <-> CRLF. Don't bind | |
5980 coding-system-for-read, it is done in Fcall_process. | |
5981 | |
5982 1997-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
5983 | |
5984 * alloc.c (free_marker): Call unchain_marker. | |
5985 | |
5986 1997-08-28 Kenichi Handa <handa@etl.go.jp> | |
5987 | |
5988 * coding.c (detect_eol): Do not select no-conversion even if EOL | |
5989 format of raw-text file is inconsistent. Just read it by | |
5990 raw-text-unix. | |
5991 (Fdetect_coding_region): Do not select no-conversion even if EOL | |
5992 format of raw-text file is inconsistent. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
5993 |
25865 | 5994 1997-08-28 Kenichi Handa <handa@etl.go.jp> |
5995 | |
5996 * coding.c (Qno_conversion, Qundecided): New variables. | |
5997 (syms_of_coding): Initialize and staticpro them. | |
5998 (coding_category_name): Include "coding-category-raw-test". | |
5999 (setup_coding_system): Handle coding_type_raw_text. | |
6000 (detect_coding_mask): Include CODING_CATEGORY_MASK_RAW_TEXT in the | |
6001 return value instead of CODING_CATEGORY_MASK_BINARY. | |
6002 (detect_coding): Do not check the case that `mask' is 0, which | |
6003 never happens now. | |
6004 (detect_eol_type): If EOL format is inconsistent, return | |
6005 CODING_EOL_INCONSISTENT. | |
6006 (detect_eol): If EOL format of raw-text file is inconsistent, | |
6007 detect it as no-conversion. | |
6008 (decode_coding): Handle coding_type_raw_text. | |
6009 (encode_coding): Likewise. | |
98317 | 6010 (Fdetect_coding_region): Adjusted for the above changes. |
25865 | 6011 (shrink_conversion_area): Handle coding_type_raw_text. |
6012 | |
6013 * coding.h (coding_type): New member coding_type_raw_text. | |
6014 (CODING_EOL_INCONSISTENT): New macro. | |
6015 (CODING_REQUIRE_NO_CONVERSION): Check also coding_type_raw_text. | |
6016 (CODING_MAY_REQUIRE_NO_CONVERSION): Likewise. | |
6017 (CODING_CATEGORY_IDX_RAW_TEXT): New macro. | |
6018 (CODING_CATEGORY_MASK_RAW_TEXT): New macro. | |
6019 | |
6020 1997-08-28 Eli Zaretskii <eliz@psilocin.gnu.ai.mit.edu> | |
6021 | |
6022 * msdos.c: Add coding: tag, to prevent Emacs from interpreting | |
6023 binary strings. | |
6024 | |
6025 1997-08-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6026 | |
6027 * xmenu.c (free_frame_menubar): Clear menubar_height field. | |
6028 | |
6029 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6030 | |
6031 * xdisp.c (redisplay_window): When trying to scroll conservatively, | |
6032 correctly take the scroll margin into account. | |
6033 | |
6034 * buffer.c: Include errno.h. | |
6035 (init_buffer) [HAVE_GETCWD]: Fix error message for getcwd failure. | |
6036 | |
6037 * fileio.c (Finsert_file_contents): Fix use of Fboundp. | |
6038 | |
6039 * fns.c (concat): Fix use of Fchar_bytes. | |
6040 | |
6041 * lisp.h: Declare Fchar_bytes. | |
6042 | |
6043 1997-08-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6044 | |
6045 * minibuf.c (read_minibuf): Inherit enable-multibyte-characters | |
6046 along with the input method, if requested. | |
6047 | |
6048 1997-08-26 Eli Zaretskii <eliz@is.elta.co.il> | |
6049 | |
6050 * xdisp.c (decode_mode_spec): For %Z and %z, put keyboard and | |
6051 terminal coding systems into modeline on MSDOS frames as well. | |
6052 | |
6053 1997-08-26 Kenichi Handa <handa@etl.go.jp> | |
6054 | |
6055 * minibuf.c (Qcurrent_input_method, Qactivate_input_method): New vars. | |
6056 (syms_of_minibuf): Intern and staticpro them. | |
6057 (read_minibuf): New argument INHERIT_INPUT_METHOD. If it is | |
6058 nonzero, remember the current input method in INPUT_METHOD, and | |
6059 activate it after switching to the minibuffer. | |
6060 (Fread_from_minibuffer): New argument INHERIT_INPUT_METHOD. | |
6061 (Fread_minibuffer): Call read_minibuf with INHERIT_INPUT_METHOD nil. | |
6062 (Fread_string): New argument INHERIT_INPUT_METHOD. | |
6063 (Fread_no_blanks_input): Likewise. | |
6064 (Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil. | |
95848 | 6065 (Fread_function, Fread_variable, Fread_buffer): Likewise. |
25865 | 6066 (Fcompleting_read): New argument INHERIT_INPUT_METHOD. |
6067 | |
6068 * lisp.h (DEFUN_ARGS_8): New macro. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
6069 (Fcompleting_read, Fread_from_minibuffer, Fread_string) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
6070 (Fread_no_blanks_input): Number of arguments fixed. |
25865 | 6071 |
6072 * eval.c (Feval): Handle a subr which takes 8 arguments. | |
6073 (Ffuncall): Likewise. | |
6074 | |
6075 * coding.c (Fread_non_nil_coding_system): Supply the arg | |
6076 INHERIT-INPUT-METHOD to Fcompleting_read. | |
6077 (Fread_coding_system): Likewise. | |
6078 | |
6079 * callint.c (Finteractive): Document the code letter `M'. | |
6080 (Fcall_interactively): Call Fcompleting_read, | |
6081 Fread_from_minibuffer, and Fread_string with a proper value for | |
6082 the arg INHERIT-INPUT-METHOD. Handle the code letter `M'. | |
6083 | |
6084 * fileio.c (Fwrite_region): Convert EOL format even if | |
6085 enable-multibyte-characters is nil. | |
6086 (Fread_file_name): Call Fcompleting_read with INHERIT-INPUT-METHOD | |
6087 nil. | |
6088 | |
6089 * keyboard.c (Fexecute_extended_command): Call Fread_from_minibuffer | |
6090 with INHERIT-INPUT-METHOD nil. | |
6091 | |
6092 * fns.c (Fyes_or_no_p): Likewise. | |
6093 | |
6094 * mocklisp.c (Fml_arg): Call Fread_string with | |
6095 INHERIT-INPUT-METHOD nil. | |
6096 | |
6097 * search.c (Fsearch_backward): Inherit the current input method on | |
6098 reading STRING. | |
6099 (Fsearch_forward): Likewise. | |
6100 | |
6101 1997-08-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6102 | |
6103 * frame.c (Fframe_pixel_height): Doc fix. | |
6104 | |
6105 * Makefile.in (emacs): Put dash at beginning. | |
6106 | |
6107 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp> | |
6108 | |
6109 * Makefile.in (xrdb.o): Depend on paths.h. | |
6110 | |
6111 1997-08-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6112 | |
6113 * config.in (KERBEROS5, HAVE_LIBKRB4, HAVE_LIBDES425, HAVE_LIBKRB5) | |
6114 (HAVE_LIBCRYPTO, HAVE_LIBCOM_ERR, HAVE_KRB5_H, HAVE_DES_H, HAVE_KRB_H) | |
6115 (HAVE_KERBEROSIV_DES_H, HAVE_KERBEROSIV_KRB_H, HAVE_KERBEROS_DES_H) | |
6116 (HAVE_KERBEROS_KRB_H, HAVE_COM_ERR_H): Add undefs. | |
6117 | |
6118 * callproc.c (init_callproc): Don't warn about missing | |
6119 arch-dep data directory, while preparing to dump. | |
6120 | |
6121 * puresize.h (BASE_PURESIZE): Increased by 10k. | |
6122 | |
6123 1997-08-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6124 | |
6125 * Makefile.in (LIB_MOTIF_EXTRA): New variable. | |
6126 (LIBW): Use LIB_MOTIF_EXTRA. | |
6127 * config.in (HAVE_MOTIF_2_1): Add #undef. | |
6128 | |
6129 * fileio.c (Fmake_temp_name): Doc fix. | |
6130 | |
6131 * buffer.c (syms_of_buffer): Doc fixes. | |
6132 | |
6133 1997-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6134 | |
6135 * xdisp.c (redisplay_window): Don't try using last_point_x | |
6136 if point is in the left margin of an hscroll'ed window. | |
6137 | |
6138 1997-08-21 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6139 | |
6140 * fileio.c (syms_of_fileio): Fix previous change. | |
6141 | |
6142 * coding.c (detect_eol): If the coding system is an alias, get | |
6143 eol-type from the base of it. | |
6144 | |
6145 1997-08-21 Kenichi HANDA <handa@etl.go.jp> | |
6146 | |
6147 * fileio.c (Vauto_file_coding_system_function): New variable. | |
6148 (Finsert_file_contents): Decide coding system after opening a | |
6149 file. Call functions set in Vauto_file_coding_system_function. | |
6150 (syms_of_fileio): Declare auto-file-coding-system-function as a | |
6151 Lisp variable. | |
6152 | |
6153 * fontset.c (Valternate_fontname_alist): Name changed from | |
6154 Valternative_fontname_alist. | |
6155 (syms_of_fontset): Adjusted for the above change. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6156 |
25865 | 6157 * fontset.h: Adjusted for the name change of |
6158 Valternate_fontname_alist. | |
6159 | |
6160 * xterm.c (x_list_fonts): Adjusted for the name change of | |
6161 Valternate_fontname_alist. | |
6162 | |
6163 1997-08-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6164 | |
6165 * charset.c (Fchars_in_region): Fix gap handling. | |
6166 | |
6167 * editfns.c (NULL): Define, if not defined. | |
6168 | |
6169 1997-08-19 Geoff Voelker <voelker@cs.washington.edu> | |
6170 | |
6171 * fileio.c (Finsert_file_contents): Fix previous change. | |
6172 | |
6173 1997-08-18 Ken'ichi Handa <handa@albert.gnu.ai.mit.edu> | |
6174 | |
6175 * charset.c (Fchars_in_region): Renamed form Fcount_chars_region. | |
6176 (syms_of_charset): Define Schars_in_region as a Lisp subroutine | |
6177 instead of Scount_chars_region. | |
6178 | |
6179 1997-08-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6180 | |
6181 * fileio.c (Fdo_auto_save): If open fails, make lispstream nil. | |
6182 | |
6183 1997-08-16 Geoff Voelker <voelker@cs.washington.edu> | |
6184 | |
6185 * fileio.c (Finsert_file_contents) [DOS_NT]: Set buffer_file_type | |
6186 according to eol conversion used on file. | |
6187 | |
6188 1997-08-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6189 | |
6190 * Makefile.in (xselect.o): Fix previous change. | |
6191 | |
6192 * minibuf.c (read_minibuf): New arg disable_multibyte. | |
6193 (Fcompleting_read): Pass 1 for disable_multibyte if | |
6194 the completion table is read-file-name-internal. | |
6195 | |
6196 * xrdb.c: Include paths.h. | |
6197 (get_system_app): Use PATH_X_DEFAULTS. | |
6198 | |
6199 * paths.in (PATH_X_DEFAULTS): New macro. | |
6200 | |
6201 * term.c (term_get_fkeys_1): Use kH as alternate for move-to-last-line. | |
6202 | |
6203 * charset.c: Many doc fixes. | |
6204 (Fcount_chars_region): New function. | |
6205 (min, max): New macros. | |
6206 | |
6207 * fns.c (Flength): Doc fix. | |
6208 | |
6209 * editfns.c (Fchar_before): Do range check before decrement. | |
6210 | |
6211 1997-08-16 Kenichi Handa <handa@etl.go.jp> | |
6212 | |
6213 * coding.h (CODING_FLAG_ISO_LATIN_EXTRA): New macro. | |
6214 | |
6215 * coding.c (Vmicrosoft_code_table): This variable deleted. | |
6216 (Vlatin_extra_code_table): New variable. | |
6217 (detect_coding_iso2022): Pay attention to Vlatin_extra_code_table. | |
6218 (detect_coding_mask): Likewise. | |
6219 (setup_coding_system): Handle a new FLAGS element | |
6220 ACCEPT-LATIN-EXTRA-CODE. | |
6221 (syms_of_coding): Delete code for Vmicrosoft_code_table. | |
6222 Declare latin-extra-code-table as Lisp variable, and initialize. | |
6223 | |
6224 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6225 | |
6226 * Makefile.in (xselect.o): Depend on coding.h. | |
6227 | |
6228 * s/osf1.h (SOCKLEN_TYPE): New macro definition. | |
6229 | |
6230 1997-08-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6231 | |
6232 * xdisp.c (COERCE_MARKER): Use Fmarker_position instead of | |
6233 marker_position so that it works with a marker that points nowhere. | |
6234 (redisplay_window): Check that Voverlay_arrow_position is a | |
6235 marker before accessing it as such. | |
6236 | |
6237 1997-08-14 Eli Zaretskii <eliz@is.elta.co.il> | |
6238 | |
6239 * emacs.c (main): Update re_max_failures so regex.c won't overflow | |
6240 the stack, except when dumping. | |
6241 | |
6242 1997-08-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6243 | |
6244 * xdisp.c (redisplay_window): When handling just cursor motion, | |
6245 do not subtract hscroll when accessing last_point_x. | |
6246 (display_text_line): Add WINDOW_LEFT_MARGIN into hpos | |
6247 later on, after handling hscroll and minibuffer prompt. | |
6248 | |
6249 1997-08-13 Eli Zaretskii <eliz@psilocin.gnu.ai.mit.edu> | |
6250 | |
6251 * msdos.c (syms_of_msdos): Define and bind x-bitmap-file-path and | |
6252 delete-exited-processes, to prevent cus-start.el from complaining. | |
6253 | |
6254 1997-08-13 Kazushi (Jam) Marukawa <maru@pdapsun2.trc.rwcp.or.jp> | |
6255 | |
6256 * filelock.c (lock_file): Use %lu instead of %d in sprintf because | |
6257 the variable named pid is unsigned long. | |
6258 | |
6259 * unexalpha.c (unexec): Cast arg to fprintf. | |
6260 | |
6261 1997-08-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6262 | |
6263 * alloc.c (free_marker): New function. | |
6264 | |
6265 * insdel.c (signal_before_change): Relocate START and END | |
6266 using markers for subsequent functions, when we run a function. | |
6267 | |
6268 * Makefile.in (emacs): Warn about shadowed standard libraries here. | |
6269 | |
6270 1997-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6271 | |
6272 * emacs.c (main): Fix previous change. | |
6273 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
6274 1997-08-11 Eli Zaretskii <eliz@is.elta.co.il> |
25865 | 6275 |
6276 * dosfns.c (init_dosfns): Avoid calling DOS memory-allocation | |
6277 service, NT DPMI server will crash Emacs in DOS box, if we do. | |
6278 | |
6279 * msdos.c (IT_set_frame_parameters): Actually store the frame | |
6280 parameters in the frame parameters' alist. | |
6281 | |
6282 * msdos.c (init_environment): Set Emacs root directory properly when | |
6283 the executable is in its `src' subdirectory, as under a debugger. | |
6284 (IT_set_face): If termscript is in use, print the number of the | |
6285 face as well. | |
6286 | |
6287 1997-08-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6288 | |
6289 * emacs.c (main) [__FreeBSD__ && PROFILING]: Add code for profiling. | |
6290 | |
6291 1997-08-10 Eli Zaretskii <eliz@is.elta.co.il> | |
6292 | |
6293 * msdos.c (Qbackground_color, Qforeground_color): Define vars. | |
6294 | |
6295 * dosfns.c (Finsert_startup_screen): Call `insert_char' with a | |
6296 single argument. | |
6297 | |
6298 1997-08-10 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6299 | |
6300 * coding.h (struct iso2022_spec): New member expected_charsets. | |
6301 (CODING_SPEC_ISO_EXPECTED_CHARSETS): New macro. | |
6302 | |
6303 * coding.c (Fset_terminal_coding_system_internal): Set | |
6304 CODING_FLAG_ISO_SAFE in terminal_coding.flags. | |
6305 (ENCODE_ISO_CHARACTER_DIMENSION1): Check | |
6306 CODING_SPEC_ISO_EXPECTED_CHARSETS. | |
6307 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
6308 | |
6309 1997-08-10 Kenichi Handa <handa@etl.go.jp> | |
6310 | |
6311 * term.c (encode_terminal_code): Use safe_terminal_coding if | |
6312 terminal_coding seems to encode Emacs' internal code as is. | |
6313 (write_glyphs): Likewise. | |
6314 | |
6315 * coding.c (ENCODE_ISO_CHARACTER_DIMENSION1): Pay attention to | |
6316 CODING_FLAG_ISO_SAFE. | |
6317 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
6318 (safe_terminal_coding): New variable. | |
6319 (Fset_safe_terminal_coding_system_internal): New function. | |
6320 (init_coding_once): Initilize safe_terminal_coding. | |
6321 (syms_of_coding): Declare set-safe-terminal-coding-system as a | |
6322 Lisp function. | |
6323 | |
6324 * coding.h (CODING_FLAG_ISO_SAFE): New macro. | |
6325 (CODING_INHIBIT_CHARACTER_SUBSTITUTION): New macro. | |
6326 coding.h (safe_terminal_coding): Extern it. | |
6327 | |
6328 1997-08-10 Kenichi Handa <handa@etl.go.jp> | |
6329 | |
6330 * coding.c (Vmicrosoft_code_table): New variable. | |
6331 (syms_of_coding): Declare it as a Lisp variable and initialize it. | |
6332 (detect_coding_mask): Pay attention to Vmicrosoft_code_table. | |
6333 | |
6334 * xterm.c (dumpglyphs): Pay attention to | |
6335 Vignore_relative_composition. | |
6336 | |
6337 * fontset.h (Vignore_relative_composition): Extern it. | |
6338 | |
6339 * fontset.c (Vignore_relative_composition): New variable. | |
6340 (syms_of_fontset): Doc-string of use-default-ascent modified. | |
6341 Declare ignore-relative-composition as a Lisp variable. | |
6342 | |
6343 * fns.c (concat): Pay attention to multibyte characters when | |
6344 TARGET_TYPE is Lisp_String. | |
6345 | |
6346 1997-08-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6347 | |
6348 * sysdep.c (init_system_name): If domain is null, don't add a period. | |
6349 | |
6350 1997-08-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6351 | |
6352 * buffer.c (init_buffer): Use getcwd instead of getwd, if available. | |
6353 | |
6354 * eval.c (do_autoload): Require a suffix for the file. | |
6355 | |
6356 * lread.c (read1): Handle read_escape making a multibyte character. | |
6357 | |
6358 * strftime.c (gmtime_r, localtime_r): Undef before defining. | |
6359 | |
6360 * fns.c (Frequire): Don't insist on a suffix | |
6361 if the file name argument was explicitly specified. | |
6362 | |
6363 1997-08-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6364 | |
6365 * Makefile.in (lisp, shortlisp): Add bindings.el and case-table.elc. | |
6366 | |
6367 * xdisp.c (redisplay_window): Fix access to w->last_point{,_[xy]}. | |
6368 | |
6369 * lisp.h (Flocal_variable_p, Ffind_operation_coding_system): Declared. | |
6370 (find_symbol_value): Fix declaration. | |
6371 | |
6372 1997-08-07 Erik Naggum <erik@naggum.no> | |
6373 | |
6374 * emacs.c (main): Remove call to init_filelock. | |
6375 * filelock.c (init_filelock): Function deleted. | |
6376 * paths.in (PATH_LOCK): Definition deleted. | |
6377 | |
6378 1997-08-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6379 | |
6380 * xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives. | |
6381 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6382 * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore): |
25865 | 6383 Don't set clip_changed if the new values are the same as the old. |
6384 | |
6385 * fileio.c (Fwrite_region): Turn off the feature of checking | |
6386 whether another buffer has locked this file. | |
6387 | |
6388 * xdisp.c (COERCE_MARKER): New macro. | |
6389 (redisplay_internal): Coerce Voverlay_arrow_position to a number | |
6390 to record it in last_arrow_position. | |
6391 (mark_window_display_accurate, redisplay_window): Likewise. | |
6392 (redisplay_window): Don't do the "only point has change" optimization | |
6393 if the overlay arrow is in this buffer. | |
6394 | |
6395 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6396 | |
6397 * unexelf.c (unexec): Cast 1st arg in mmap calls. | |
6398 | |
6399 * sysdep.c (init_sys_modes) [mips || HAVE_TCATTR]: | |
6400 Handle flow_control by setting VSTART and VSTOP characters. | |
6401 | |
6402 * filelock.c (lock_file_1, lock_file): Add casts. | |
6403 | |
6404 * xselect.c (syms_of_xselect): Doc syntax fixes. | |
6405 | |
6406 * coding.c (syms_of_coding): Doc syntax fixes. | |
6407 | |
6408 * xdisp.c (redisplay_internal): Count only visible frames at first. | |
6409 | |
6410 * xdisp.c (redisplay_internal): Count all visible frames in new_count. | |
6411 | |
6412 1997-08-05 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6413 | |
6414 * coding.c (detect_eol_type): Fix previous change. | |
6415 | |
6416 1997-08-05 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6417 | |
6418 * fontset.c (syms_of_fontset): Doc fixes. | |
6419 | |
6420 1997-08-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6421 | |
6422 * indent.c (current_column): Update ptr differently at newline | |
6423 so that current_column_bol_cache is set properly. | |
6424 | |
6425 1997-08-04 Kenichi Handa <handa@etl.go.jp> | |
6426 | |
6427 * coding.c (detect_eol_type): If EOL representation does not | |
6428 seem consistent, use no conversion. | |
6429 | |
6430 * process.c (Fset_process_coding_system): Doc-string modified. | |
6431 (Fprocess_coding_system): Likewise. | |
6432 | |
6433 * callproc.c (Fcall_process_region): Use cdr part (not car part) | |
6434 of Vdefault_process_coding_system for writing out text. | |
6435 | |
98317 | 6436 * coding.c (detect_coding_iso2022): Do not exclude possibility of |
25865 | 6437 7-bit encoding when designation to G1 occurs. If CSI, SS2, or SS3 |
6438 is found, return CODING_CATEGORY_MASK_ISO_8_ELSE. | |
6439 (Fdetect_coding_region): Doc-string modified. | |
6440 | |
6441 1997-08-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6442 | |
6443 * xfaces.c (merge_face_list): New function. | |
6444 (compute_char_face): Use merge_face_list. | |
6445 Allow (foreground-color . COLOR) and (background-color . COLOR) | |
6446 in place of a face. | |
6447 | |
6448 1997-08-03 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6449 | |
6450 * m/intel386.h (HAVE_ALLOCA): Don't define this | |
6451 on USG5_4 if not using GNU C. | |
6452 | |
6453 * xdisp.c (redisplay_internal): Count number of visible frames | |
6454 instead of number of frames that were redisplayed. | |
6455 | |
6456 * m/ibmrs6000.h (LD_SWITCH_MACHINE): | |
6457 Add #ifdef emacs around all the definitions of this. | |
6458 | |
6459 * lisp.h (Fload): Update declaration. | |
6460 | |
6461 1997-08-03 Kenichi HANDA <handa@etl.go.jp> | |
6462 | |
6463 * coding.h (CODING_CATEGORY_MASK_BINARY): New macro. | |
6464 | |
6465 * coding.c (detect_coding_mask): Include | |
6466 CODING_CATEGORY_MASK_BINARY in the return value if any 8-bit code | |
6467 is found. | |
6468 | |
6469 * xfns.c (x_set_frame_parameters): Heading comment fixed. | |
6470 (x_default_parameter): Likewise. | |
6471 | |
6472 * xselect.c (Vclipboard_coding_system): New variable. | |
6473 (selection_data_to_lisp_data): Decode text by | |
6474 Vclipboard_coding_system. | |
6475 (lisp_data_to_selection_data): Encode text by | |
6476 Vclipboard_coding_system. | |
6477 (syms_of_xselect): Declare clipboard-coding-system as Lisp | |
6478 variable and initialize it. | |
6479 | |
6480 1997-08-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6481 | |
6482 * coding.c: Doc fixes. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6483 |
25865 | 6484 * lread.c (Fload): New optional arg MUST-SUFFIX. |
6485 * fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload. | |
6486 * eval.c (do_autoload): Pass new arg to Fload. | |
6487 | |
6488 * indent.c (compute_motion): Correct the criterion for when to | |
6489 move back 1 space when we terminate just after continuing the line. | |
6490 | |
6491 1997-07-31 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6492 | |
6493 * coding.c (encode_coding_iso2022): When source data ends not at | |
98317 | 6494 character boundary, set data in coding->carryover correctly, and |
25865 | 6495 set SRC to SRC_END. |
6496 (encode_coding_sjis_big5): Likewise. | |
6497 (encode_coding): Don't set coding->carryover_size to 0. | |
6498 | |
6499 * fileio.c (Fwrite_region): Don't try to flush out a data twice. | |
6500 | |
6501 1997-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6502 | |
6503 * xdisp.c (redisplay_window): Fix previous change. | |
6504 | |
6505 * dispnew.c (direct_output_for_insert): Set last_point_x properly. | |
6506 | |
6507 1997-07-31 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6508 | |
6509 * xterm.c (x_list_fonts): Request at least 10 fonts by XListFonts. | |
6510 | |
6511 * coding.c (encode_coding_iso2022): Write out invalid multibyte | |
6512 forms in a buffer as is. | |
6513 (detect_coding_mask): If ISO_CODE_CSI appears in an invalid | |
6514 sequence, ignore it. | |
6515 | |
6516 1997-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6517 | |
6518 * xdisp.c (redisplay_window): Fix one-off in handling | |
6519 scroll-conservatively for scrolling up. | |
6520 | |
6521 * filelock.c (current_lock_owner): Don't try to delete lock | |
6522 if this or another existing process owns it! | |
6523 | |
6524 1997-07-31 enami tsugutomo <enami@but-b.or.jp> | |
6525 | |
6526 * process.c (read_process_output): Don't call setup_coding_system | |
6527 for proc_decode_coding_system[channel]. It is already done in | |
6528 detect_coding called via decode_coding. | |
6529 | |
6530 1997-07-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6531 | |
6532 * filelock.c (lock_if_free): Don't loop; for strange error, return -1. | |
6533 | |
6534 * s/sunos4shr.h (LIBXMU): Alternative definition if CANNOT_DUMP. | |
6535 | |
6536 * Makefile.in (LDFLAGS, CPPFLAGS): Get them from configure like CFLAGS. | |
6537 | |
6538 1997-07-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6539 | |
6540 * process.c (wait_reading_process_input): Call detect_input_pending | |
6541 whenever read_kbd is 0, not just when wait_for_cell. | |
6542 | |
6543 * xdisp.c (decode_mode_spec_coding): If multibyte chars disabled. | |
6544 display only the eol flag. | |
6545 | |
6546 1997-07-29 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6547 | |
6548 * xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6549 |
25865 | 6550 1997-07-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
6551 | |
6552 * emacs.c (sort_args): Check properly for `--'. | |
6553 | |
6554 * xdisp.c (redisplay_window): Fix previous change. | |
6555 | |
6556 * cm.h, sysdep.c, terminfo.c [HAVE_LIBNCURSES]: | |
6557 Declare ospeed as short, unless NCURSES_OSPEED_T. | |
6558 | |
6559 * xdisp.c (redisplay_window): When text has not changed, | |
6560 call compute_motion starting from the former PT if possible. | |
6561 If PT is unchanged from w->last_point, don't do compute_motion at all. | |
6562 | |
6563 1997-07-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6564 | |
6565 * editfns.c (Fformat_time_string): Don't hang if strftime produces | |
6566 an empty string. Fix arguments of second call to strftime. | |
6567 Remove check for result being negative, this cannot happen. | |
6568 | |
6569 * xterm.c (x_new_font): Follow the change in | |
6570 x_set_scroll_bar_width and make the scroll bar at least 14 pixels | |
6571 wide. | |
6572 | |
6573 * xfns.c (Fx_create_frame): Initialize fontset in output_data. | |
6574 | |
6575 1997-07-28 Dan Nicolaescu <done@ece.arizona.edu> | |
6576 | |
6577 * charset.c (non_ascii_char_to_string): Fix typos. | |
6578 | |
6579 1997-07-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6580 | |
6581 * callproc.c (syms_of_callproc): | |
6582 Don't init Vtemp_file_name_pattern here. | |
6583 | |
6584 * lread.c (map_obarray): Don't crash if something strange | |
6585 is in the obarray. | |
6586 | |
6587 1997-07-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6588 | |
6589 * xterm.c (x_term_init) [! HAVE_X11R5]: Don't try to use | |
6590 XtCvtStringToFont. | |
6591 | |
6592 * print.c (strout, printchar): Handle minibuffer_auto_raise. | |
6593 | |
6594 1997-07-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6595 | |
6596 * fileio.c (Fwrite_region): Fix previous change. | |
6597 | |
6598 1997-07-25 NIIBE Yutaka <gniibe@mri.co.jp> | |
6599 | |
6600 * indent.c (compute_motion): Handle display table correctly for | |
6601 multibyte characters. | |
6602 | |
6603 1997-07-25 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> | |
6604 | |
95848 | 6605 * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to Qnil. |
25865 | 6606 |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
6607 * coding.h (CODING_REQUIRE_TEXT_CONVERSION) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
6608 (CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted. |
25865 | 6609 (CODING_REQUIRE_NO_CONVERSION): New macro. |
6610 (CODING_MAY_REQUIRE_NO_CONVERSION): New macro. | |
6611 | |
6612 * fileio.c (Finsert_file_contents): Use new macros | |
95848 | 6613 CODING_MAY_REQUIRE_NO_CONVERSION and CODING_REQUIRE_NO_CONVERSION. |
25865 | 6614 (Fwrite_region): Correct the logic for deciding coding system. |
6615 | |
6616 * process.c (read_process_output): Use new macro | |
95848 | 6617 CODING_REQUIRE_NO_CONVERSION. |
25865 | 6618 (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION. |
6619 | |
6620 * xterm.c (dumpglyphs): Check the member `encoding' of *FONTP while | |
6621 setting `byte1' and `byte2' members of *CP. | |
6622 | |
6623 1997-07-24 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6624 | |
6625 * Makefile.in (${lispsource}TAGS): Specify ETAGS var in inner make. | |
6626 | |
6627 * print.c (Vprint_gensym_alist): Renamed from printed_gensyms. | |
6628 (Vprint_gensym): Now a Lisp_Object; Renamed from print_gensym. | |
6629 (syms_of_print): Set up both as Lisp vars. | |
6630 (PRINTPREPARE, PRINTFINISH): Don't clear Vprint_gensym_alist | |
6631 if Vprint_gensym is a cons cell. | |
6632 | |
6633 * Makefile.in (../src/$(OLDXMENU)): New target. | |
6634 | |
6635 * xselect.c (selection_data_to_lisp_data): | |
6636 Make the vector the right size, when format is 16. | |
6637 | |
6638 * emacs.c (main): Make --help msg end in newline. | |
6639 | |
6640 * xfns.c (Fx_create_frame): Don't fail to initialize `font'. | |
6641 | |
6642 * syntax.c (Fforward_comment): When count1 is negative, | |
6643 return nil if FROM reaches STOP. | |
6644 | |
6645 * editfns.c (Fcurrent_message): New function. | |
6646 (syms_of_editfns): defsubr it. | |
6647 | |
6648 1997-07-23 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> | |
6649 | |
6650 * xterm.c (XTread_socket): Trap the BadMatch error that can occur | |
6651 after a XSetInputFocus if window is not visible. | |
6652 | |
6653 1997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6654 | |
6655 * xterm.c (XTread_socket) <ClientMessage>: Use FRAME_X_WINDOW | |
6656 when calling XSetInputFocus. | |
6657 | |
6658 * buffer.c (syms_of_buffer): Doc fix. | |
6659 | |
6660 * eval.c (syms_of_eval): Doc fix. | |
6661 | |
6662 1997-07-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6663 | |
6664 * xdisp.c (display_text_line): Don't count minibuf_prompt_width | |
6665 twice in taboffset. | |
6666 | |
6667 * coding.c (syms_of_coding): Doc fix. | |
6668 | |
6669 1997-07-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6670 | |
6671 * s/sol2.h (LIBS_SYSTEM): Undo previous change. | |
6672 (HAVE_LIBKSTAT): Define it. | |
6673 | |
6674 * minibuf.c (choose_minibuf_frame_1): New function. | |
6675 (read_minibuf): Make an unwind protect to run that. | |
6676 (read_minibuf_unwind): Don't call choose_minibuf_frame here. | |
6677 | |
6678 * keyboard.c (read_char): Delete spurious UNGCPRO. | |
6679 Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf. | |
6680 Initialize c before the GCPRO1. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6681 |
25865 | 6682 * frame.c (Fdelete_frame): Undo previous change. |
6683 | |
6684 * s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this | |
6685 instead of LD_SWITCH_SYSTEM. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6686 |
25865 | 6687 * window.c (set_window_height): Allow all heights > 0 |
6688 for minibuffer windows. | |
6689 (change_window_height): Fix one-off comparing DELTA with MAXIMUM. | |
6690 | |
6691 * xfns.c (Fx_create_frame): Default vertical-scroll-bars | |
6692 as symbol, not boolean. | |
6693 | |
6694 1997-07-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6695 | |
6696 * process.c (wait_reading_process_input): Initialize total_read. | |
6697 Check for read_process_output giving back EIO. | |
6698 | |
6699 * keyboard.c (Fcommand_execute): gcpro c. | |
6700 | |
6701 1997-07-20 Geoff Voelker <voelker@cs.washington.edu> | |
6702 | |
6703 * w32term.c (w32_clear_end_of_line): Include scroll bar width. | |
6704 | |
6705 1997-07-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6706 | |
6707 * s/irix6-0.h: Undo previous change. | |
6708 | |
6709 * xterm.c (XTread_socket) <ClientMessage>: | |
6710 Don't use FRAME_XIC if it is null, here. | |
6711 | |
6712 * puresize.h (BASE_PURESIZE): Increased to 410000. | |
6713 | |
6714 * xdisp.c (redisplay_internal): Calculate new_count properly | |
6715 for non-window displays. | |
6716 | |
6717 1997-07-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6718 | |
6719 * minibuf.c (Fcompleting_read): gcpro def. | |
6720 | |
6721 * xterm.c (XTread_socket) <ClientMessage>: | |
6722 For wm_take_focus, use x_any_window_to_frame. | |
6723 | |
6724 * fileio.c (Fread_file_name): If Fcompleting_read return the default | |
6725 because the buffer want empty, replace that with an empty string. | |
6726 | |
6727 1997-07-18 Simon Marshall <simon@diazepam.gnu.ai.mit.edu> | |
6728 | |
6729 * data.c: Many doc fixes. | |
6730 | |
6731 1997-07-17 Geoff Voelker <voelker@cs.washington.edu> | |
6732 | |
6733 * coding.c (Ffind_operation_coding_system): Use Ffboundp to | |
6734 check for a function entry. | |
6735 | |
6736 * fileio.c (Finsert_file_contents) [DOS_NT]: Use the coding | |
6737 system to determine buffer_file_type. | |
6738 (Fwrite_region): Only use Qbuffer_file_coding_system | |
6739 before checking file-coding-system-alist if non-nil. | |
6740 (Fwrite_region) [DOS_NT]: Delete conditional code. | |
6741 | |
6742 1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6743 | |
6744 * dispnew.c (direct_output_forward_char): Reenable check against | |
6745 truncated text at end of line. | |
6746 | |
6747 * xdisp.c (display_string): Ignore W->left if OBEY_WINDOW_WIDTH is | |
6748 zero. | |
6749 | |
6750 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6751 | |
6752 * xterm.c (dumpglyphs): Use 8-bit output to X, rather than 16-bit, | |
6753 if the character values permit that. | |
6754 | |
6755 * .gdbinit (xcar, xcdr): Print with /x. | |
6756 | |
6757 * fileio.c (Fdo_auto_save): Temporarily clear minibuffer_auto_raise. | |
6758 | |
6759 1997-07-17 enami tsugutomo <enami@but-b.or.jp> | |
6760 | |
6761 * xdisp.c (decode_mode_spec_coding): Fix typo; use `val' instead | |
6762 of `coding-system'. | |
6763 | |
6764 1997-07-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6765 | |
6766 * xdisp.c (display_text_line): Handle the case of point being in | |
6767 the invisible part of the line beyond the left margin. | |
6768 | |
6769 1997-07-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6770 | |
6771 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix previous change. | |
6772 | |
6773 1997-07-15 Kenichi HANDA <handa@etl.go.jp> | |
6774 | |
95848 | 6775 * coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted. |
25865 | 6776 (CODING_CATEGORY_IDX_ISO_7_ELSE): New macro. |
95848 | 6777 (CODING_CATEGORY_IDX_ISO_8_ELSE): New macro. |
25865 | 6778 (CODING_CATEGORY_MASK_ISO_ELSE): This macro is deleted. |
6779 (CODING_CATEGORY_MASK_ISO_7_ELSE): New macro. | |
6780 (CODING_CATEGORY_MASK_ISO_8_ELSE): New macro. | |
6781 (CODING_CATEGORY_MASK_ANY): Adjusted for the above change. | |
6782 | |
6783 * coding.c (detect_coding_iso2022): Distinguish | |
6784 coding-category-iso-7-else and coding-category-iso-8-else. | |
6785 | |
6786 1997-07-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6787 | |
6788 * unexalpha.c (unexec): | |
6789 Don't call update_dynamic_symbols if static link. | |
6790 | |
6791 * keyboard.c (read_char): Call timer_stop_idle unconditionally | |
6792 at non_reread. | |
6793 | |
6794 * keyboard.c (make_lispy_event): Distinguish S-SPC from SPC. | |
6795 | |
6796 * cmds.c (internal_self_insert): Use replace_range when | |
6797 number_to_delete is nonzero. | |
6798 | |
6799 * insdel.c (replace_range): New function. | |
6800 | |
6801 * keyboard.c (make_lispy_event): Handle non_ascii_keystroke | |
6802 in the ASCII range. | |
6803 | |
6804 * xterm.c (XTread_socket): Treat SPC as a function key. | |
6805 | |
6806 1997-07-13 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> | |
6807 | |
6808 * xterm.c (x_draw_box): Use scratch_cursor_gc to draw the cursor | |
6809 box using the color specified by cursor_pixel. | |
6810 | |
6811 1997-07-13 Eli Zaretskii <eliz@is.elta.co.il> | |
6812 | |
6813 * fileio.c (Fwrite_region) [DOS_NT]: Always use binary mode since | |
6814 coding conversion now takes care of NL -> CRLF. | |
6815 | |
6816 * callproc.c (Fcall_process) [MSDOS]: Request EOL conversion of | |
6817 the process output, unless we were promised it is binary. | |
6818 | |
6819 * coding.c: Substantial comment changes. | |
6820 | |
6821 * lread.c (init_lread): Don't add to load-path lisp subdirectories | |
6822 of the source tree if the parent of the source was moved after | |
6823 dumping Emacs. | |
6824 | |
6825 1997-07-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6826 | |
6827 * search.c (compile_pattern_1): Don't declare val with CONST. | |
6828 | |
6829 * cmds.c (internal_self_insert): When overwriting, insert first | |
6830 and then delete. | |
6831 | |
6832 1997-07-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6833 | |
6834 * s/irix4-0.h (XPointer): Define as macro. | |
6835 | |
6836 * emacs.c (main): Use setrlimit only if RLIMIT_STACK. | |
6837 | |
6838 1997-07-11 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> | |
6839 | |
6840 * xdisp.c (decode_mode_spec): Initialize and use `p' (for the termcap | |
6841 case). | |
6842 | |
6843 * dispnew.c (init_display): Go ahead and prepare for | |
6844 a X configuration in the CANNOT_DUMP case. | |
6845 | |
6846 1997-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6847 | |
6848 * editfns.c (get_system_name): Don't crash if Vsystem_name does | |
6849 not contain a string. | |
6850 * filelock.c (lock_file_1): Don't crash if Fuser_login_name or | |
6851 Fsystem_name don't return strings. | |
6852 (current_lock_owner): Likewise. | |
6853 | |
6854 * ralloc.c (r_alloc_reinit): New function. | |
6855 * emacs.c (main) [DOUG_LEA_MALLOC]: Call it when restarting a | |
6856 dumped Emacs. | |
6857 | |
6858 1997-07-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6859 | |
6860 * m/news-r6.h: Renamed from news-risc6.h. | |
6861 | |
6862 1997-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
6863 | |
6864 * xdisp.c (display_text_line): Exit the outer loop immediately | |
6865 when the right margin has been reached. | |
6866 | |
6867 * lisp.h (EXFUN, P_): New definitions. Use them to declare | |
6868 prototypes for external functions. | |
6869 | |
6870 * xterm.c (dumpglyphs): Declare local variable first_ch as | |
6871 Lisp_Object, not int. | |
6872 * xselect.c (selection_data_to_lisp_data): Convert Fmake_vector | |
6873 and Faset arguments to Lisp_Integer. | |
6874 (clean_local_selection_data): Likewise. | |
6875 * x-list-font.c (Fx_list_fonts): Fix Fnconc argument. | |
6876 * window.c (Fcoordinates_in_window_p): Convert Fcons arguments to | |
6877 Lisp_Integer. | |
6878 (save_window_save): Convert Fset_marker argument to Lisp_Integer. | |
6879 * textprop.c (interval_of): Convert args_out_of_range arguments to | |
6880 Lisp_Integer. | |
6881 * syntax.c (init_syntax_once): Convert Fmake_vector argument to | |
6882 Lisp_Integer. | |
6883 * process.c (Fprocess_send_region): Convert move_gap argument to int. | |
6884 * mocklisp.c (Fml_arg): Add missing Fread_string arguments. | |
6885 * minibuf.c (Fread_from_minibuffer): Remove extra get_keymap argument. | |
6886 (Fminibuffer_complete): Convert Fset_window_start argument to | |
6887 Lisp_Integer. | |
6888 * keyboard.c (command_loop_1): Add missing message2 argument. | |
6889 (menu_bar_items): Add missing get_keyelt argument. | |
6890 (follow_key): Likewise. | |
6891 (read_key_sequence): Likewise. | |
6892 * intervals.c (set_point): Convert call2 arguments to Lisp_Integer. | |
6893 * fileio.c (Fwrite_region): Fix call2 argument. | |
6894 (Fread_file_name): Convert Fcons argument to Lisp_Integer. | |
6895 * editfns.c (Fcurrent_time_zone): Convert Fmake_list argument to | |
6896 Lisp_Integer. | |
6897 (Ftranspose_regions): Convert Fset_text_properties arguments to | |
6898 Lisp_Integer. | |
6899 * doc.c (Fsubstitute_command_keys): Add missing describe_map_tree | |
6900 argument. | |
6901 * coding.c (Ffind_coding_system): Use call1, not call2. | |
6902 * cmds.c (Fdelete_backward_char): Convert Finsert_char argument to | |
6903 Lisp_Integer and add missing argument. | |
6904 (internal_self_insert): Convert Fmove_to_column argument to | |
6905 Lisp_Integer and add missing argument. | |
6906 * ccl.c (Fregister_ccl_program): Convert Fmake_vector argument to | |
6907 Lisp_Integer. | |
6908 (syms_of_ccl): Likewise. | |
6909 * category.h (CATEGORY_DOCSTRING): Convert Fchar_table_extra_slot | |
6910 argument to Lisp_Integer. | |
6911 (CATEGORY_TABLE_VERSION): Likewise. | |
6912 * buffer.c (set_buffer_internal_1): Convert Fset_marker argument | |
6913 to Lisp_Integer. | |
6914 (set_buffer_temp): Likewise. | |
6915 (fix_overlays_in_range): Likewise. | |
6916 | |
6917 * xdisp.c (message2_nolog): Don't call fwrite will null string. | |
6918 | |
6919 1997-07-10 Geoff Voelker <voelker@cs.washington.edu> | |
6920 | |
6921 * w32.c (sys_shutdown): New function. | |
6922 * s/ms-win32.h: Define HAVE_SHUTDOWN. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6923 |
25865 | 6924 1997-07-10 Eli Zaretskii <eliz@pogo.gnu.ai.mit.edu> |
6925 | |
6926 * xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer | |
6927 only if HAVE_X_WINDOWS is defined. | |
6928 | |
6929 1997-07-09 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> | |
6930 | |
6931 * xdisp.c (echo_area_display): Don't offset using left-side | |
6932 scroll bar width because it is included in the width; clear | |
6933 the entire line. | |
6934 | |
6935 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6936 | |
6937 * process.c (read_process_output): Add cast. | |
6938 | |
6939 * filelock.c (current_lock_owner, lock_file_1): Add casts. | |
6940 | |
6941 * xdisp.c (redisplay_internal): Fix previous change. | |
6942 | |
6943 * s/irix4-0.h (C_SWITCH_SYSTEM): Add -Wf,-XNh option. | |
6944 | |
6945 * s/ms-w32.h: Don't define HAVE_SHUTDOWN. | |
6946 | |
6947 * frame.c (Fdelete_frame): Always err for deleting the only frame. | |
6948 | |
6949 1997-07-09 Kenichi HANDA <handa@etl.go.jp> | |
6950 | |
6951 * fontset.c (Ffont_info): Make vector of correct size. | |
6952 | |
6953 * xterm.c (x_load_font): Get value of fontp->height from | |
6954 ascent and descent members of structure font->max_bounds. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
6955 (dumpglyphs): Draw background by FillSolid if a font is too short. |
25865 | 6956 |
6957 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6958 | |
6959 * xterm.c (x_term_init): Don't use initializer for null_bits. | |
6960 | |
6961 * cm.h, sysdep.c, terminfo.c: Fix previous change. | |
6962 | |
6963 * fns.c (syms_of_fns): Fix previous change. | |
6964 | |
6965 * xdisp.c (decode_mode_spec) <z,Z>: Display buffer coding system | |
6966 last of the three. | |
6967 | |
6968 * doprnt.c: Use #ifdef to test STDC_HEADERS. | |
6969 | |
6970 * Makefile.in (shortlisp): Fix typo. | |
6971 | |
6972 1997-07-08 enami tsugutomo <enami@but-b.or.jp> | |
6973 | |
6974 * emacs.c (main) [__NetBSD__]: Round up new stack limit to page bdry. | |
6975 | |
6976 * fileio.c (Finsert_file_contents): Give up match-end only if | |
6977 coding requires conversion. Adjust end of non-matching text area | |
6978 to multibyte character boundary if enable_multibyte_character is | |
6979 non-nil. | |
6980 | |
6981 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6982 | |
6983 * xdisp.c (decode_mode_spec_coding): Really don't display | |
6984 EOL indicator when eol_flag is 0. | |
6985 (echo_area_display): Use proper width when scroll bars on left. | |
6986 | |
6987 * syntax.h (struct gl_state_s): New field `offset'. | |
6988 (SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field. | |
6989 (SETUP_SYNTAX_TABLE): Clear offset field. | |
95848 | 6990 (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD) |
25865 | 6991 (UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field. |
6992 | |
6993 * s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf. | |
6994 | |
6995 1997-07-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
6996 | |
6997 * editfns.c (Fuser_full_name): Declare p, q and r as unsigned char *. | |
6998 | |
6999 * xterm.c (XTread_socket) <KeyPress>: Call XFilterEvent. | |
7000 | |
7001 * terminfo.c (ospeed): | |
7002 Define as short, unless HAVE_TERMIOS_H and LINUX. | |
7003 | |
7004 * cm.h (ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX. | |
7005 * sysdep.c (ospeed): Likewise. | |
7006 | |
7007 * window.c: Include blockinput.h. | |
7008 (Fset_window_configuration): Block input around frobbing the frame. | |
98317 | 7009 Preserve point in the current buffer if we do not switch |
25865 | 7010 to a different one. |
7011 | |
7012 1997-07-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7013 | |
7014 * xdisp.c (redisplay_internal): Fix previous change. | |
7015 (echo_area_display): Use proper vpos when clearing extra minibuf lines. | |
7016 | |
7017 1997-07-04 Kenichi HANDA <handa@etl.go.jp> | |
7018 | |
7019 * callproc.c (Fcall_process): If enable-multibyte-characters is | |
7020 nil, do not encode arguments for process, and decode output of | |
7021 process by emacs-mule. | |
7022 (Fcall_process_region): If enable-multibyte-characters is nil, do | |
7023 not encode text to be given to process, and decode output of | |
7024 process by emacs-mule. | |
7025 | |
7026 * process.c (Fstart_process): If enable-multibyte-characters is | |
7027 nil, set coding system for decoding output of process to | |
7028 emacs-mule, and set coding system for encoding to nil. | |
7029 (Fopen_network_stream): If enable-multibyte-characters is nil, set | |
7030 coding systems for decoding and encoding to nil. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7031 |
25865 | 7032 * fileio.c (Finsert_file_contents): If enable-multibyte-characters |
7033 is nil, decode character code by emacs-mule. | |
7034 (Fwrite_region): Use buffer-file-coding-system for encoding if | |
7035 enable-multibyte-characters is nil. | |
7036 | |
7037 * coding.c (Qemacs_mule, inhibit_eol_conversion): New variables. | |
7038 (setup_coding_system): If inhibit_eol_conversion is 0, set | |
7039 coding->eol_type to CODING_EOL_LF. | |
7040 (syms_of_coding): Initialize and staticpro Qemacs_mule. Change | |
7041 error-message property of coding-system-error. Declare | |
7042 inhibit-eol-conversion as Lisp variable. | |
7043 (system_eol_type): New variable. | |
7044 (init_coding_once): Initialize it. | |
7045 (ENCODE_SJIS_BIG5_CHARACTER): Bug in encoding a BIG5 character | |
7046 fixed. | |
7047 | |
7048 * coding.h (Qemacs_mule): Extern it. | |
7049 | |
7050 * xterm.c (x_list_fonts): Initialize the variable LIST to Qnil. | |
7051 | |
7052 1997-07-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7053 | |
7054 * xdisp.c (display_menu_bar): Always pass W to display_string. | |
7055 | |
7056 * unexalpha.c (update_dynamic_symbols): Add cast when setting reladdr. | |
7057 | |
7058 * sysdep.c (init_system_name): Don't be fooled if getdomainname | |
7059 string starts with a period. | |
7060 | |
7061 1997-07-05 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7062 | |
7063 * xdisp.c (redisplay_internal): At the end, if more frames have | |
7064 become visible, repeat the redisplay. | |
7065 (decode_mode_spec): Don't display subprocess coding systems. | |
7066 Don't display EOL for keyboard and terminal coding systems. | |
7067 | |
7068 * xfns.c (x_set_font): Funcall Qface_set_after_frame_default. | |
7069 (Qface_set_after_frame_default): New variable. | |
7070 (syms_of_xfns): Initialize and staticpro it. | |
7071 | |
7072 * xterm.c (x_make_frame_visible): Don't move the frame | |
7073 if it was iconified--only if it was invisible. | |
7074 | |
7075 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7076 | |
7077 * gmalloc.c: Rename macro __P to PP. | |
7078 | |
7079 * floatfns.c, data.c, doprnt.c: Include float.h before lisp.h. | |
7080 | |
7081 * dired.c (Ffile_attributes): Use cast to avoid warnings. | |
7082 | |
7083 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer. | |
7084 | |
7085 * lread.c (Vpreloaded_file_list): New variable. | |
7086 (syms_of_lread): Set up Lisp variable. | |
7087 (Fload): Add to Vpreloaded_file_list, if dumping. | |
7088 | |
7089 1997-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
7090 | |
7091 * editfns.c (Fformat): Add second argument in call to Ftruncate. | |
7092 | |
7093 * alloc.c, buffer.c, casefiddle.c, casetab.c, category.c, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7094 * category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7095 * intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7096 * syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous |
25865 | 7097 bugs with inappropriate mixing of Lisp_Object with int. |
7098 * config.in (RE_TRANSLATE): Define to extract integers from | |
7099 array of Lisp_Objects. | |
7100 | |
7101 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7102 | |
7103 * buffer.c (overlay_strings): Finish up previous change. | |
7104 | |
7105 * Makefile.in (lisp, shortlisp): Some files moved to subdirs. | |
7106 | |
7107 1997-07-03 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7108 | |
7109 * s/sunos4shr.h (LD_SWITCH_SYSTEM_TEMACS): Add #undef. | |
7110 | |
7111 * syssignal.h [sigmask] (SIGEMPTYMASK): Define to use sigmask. | |
7112 | |
7113 * eval.c (Fsignal, find_handler_clause): If ERROR_SYMBOL | |
7114 is nil, assume it's in the car of DATA. | |
7115 * alloc.c (memory_full): Pass Qnil to Fsignal for ERROR_SYMBOL. | |
7116 | |
7117 * s/sunos4-0.h (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here. | |
7118 (LD_SWITCH_SYSTEM): Don't use -e option here. | |
7119 | |
7120 * Makefile.in (ALL_LDFLAGS): Use LD_SWITCH_SYSTEM_TEMACS. | |
7121 | |
7122 1997-07-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7123 | |
95848 | 7124 * process.c (send_process): Make buf and temp_buf `unsigned char *'. |
25865 | 7125 |
7126 * buffer.c (overlay_strings): Use unsigned char for things | |
7127 that relate to overlay_str_buf. | |
7128 | |
7129 * syssignal.h (sigpause): Don't define if already defined. | |
7130 | |
7131 * Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7132 |
25865 | 7133 1997-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> |
7134 | |
7135 * Makefile.in (lisp, shortlisp): Add widget.elc. | |
7136 | |
7137 1997-07-02 Kenichi Handa <handa@etl.go.jp> | |
7138 | |
7139 * xselect.c (selection_data_to_lisp_data): Call free instead of | |
7140 xfree. | |
7141 | |
7142 * coding.h (struct coding_system): New members | |
7143 character_unification_table_for_decode and | |
7144 character_unification_table_for_encode. | |
7145 | |
7146 * coding.c (Vstandard_character_unification_table_for_decode): | |
7147 Name changed from Vstandard_character_unification_table_for_read. | |
7148 (Vstandard_character_unification_table_for_encode): Name changed | |
7149 from Vstandard_character_unification_table_for_write. | |
7150 (Qcharacter_unification_table_for_decode): New variable. | |
7151 (Qcharacter_unification_table_for_encode): New variable. | |
7152 (decode_coding_iso2022): Adjusted for the above name change. | |
7153 (encode_coding_iso2022): Likewise. | |
7154 (ENCODE_ISO_CHARACTER): Bug of handling return value of unify_char | |
7155 fixed. | |
7156 (DECODE_SJIS_BIG5_CHARACTER): New macro. | |
7157 (decode_coding_sjis_big5): Handle character unificatoin table. | |
7158 Use macro DECODE_SJIS_BIG5_CHARACTER. | |
7159 (encode_coding_sjis_big5): Handle character unificatoin table. | |
7160 Use macro ENCODE_SJIS_BIG5_CHARACTER. | |
7161 (setup_coding_system): Handle members | |
7162 character_unification_table_for_decode and | |
7163 character_unification_table_for_encode of the variable coding. | |
7164 (Ffind_operation_coding_system): Renamed from Ffind_coding_system. | |
7165 (syms_of_coding): Initialize and staticpro | |
7166 Qcharacter_unification_table_for_decode and | |
7167 Qcharacter_unification_table_for_decode. Declare | |
7168 Ffind_operation_coding_system as Lisp functions. Declare | |
7169 Vstandard_character_unification_table_for_decode and | |
7170 Vstandard_character_unification_table_for_encode as Lisp | |
7171 variables. | |
7172 | |
7173 * charset.c (Fchar_width): Check if the current buffer has display | |
7174 table. | |
7175 | |
7176 * fileio.c (Finsert_file_contents): Doc-string fixed. Call | |
7177 Ffind_operation_coding_system. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7178 (Fwrite_region): Call Ffind_operation_coding_system. |
25865 | 7179 |
7180 * callproc.c: Call Ffind_operation_coding_system. | |
7181 | |
7182 * process.c (Fstart_process): Call Ffind_operation_coding_system. | |
7183 (Fopen_network_stream): Likewise. | |
7184 | |
7185 * fontset.h: Move "#endif /* _FONTSET_H */" at the tail. | |
7186 | |
7187 1997-07-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7188 | |
7189 * sysdep.c (init_system_name): Don't accept "(none)" as domain. | |
7190 | |
7191 * xterm.c (x_make_frame_visible): Check has_been_visible | |
7192 field before the UNBLOCK_INPUT. | |
7193 | |
7194 1997-07-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7195 | |
7196 * coding.c (syms_of_coding): Change initial values of | |
7197 eol_mnemonic_... variables. | |
7198 | |
7199 * xdisp.c (decode_mode_spec_coding): Clean up handling of | |
7200 eol conversions. | |
7201 | |
7202 * .gdbinit (xcons): Print car and cdr in hex. | |
7203 (nextcons): New command. | |
7204 | |
7205 * xfns.c (x_set_scroll_bar_width): By default, use enough | |
7206 columns to give 14 or more pixels. | |
7207 | |
7208 1997-06-30 Geoff Voelker <voelker@cs.washington.edu> | |
7209 | |
7210 * emacs.c (decode_env_path): Ensure path elements use proper | |
7211 directory separator. | |
7212 | |
7213 * keyboard.c (make_lispy_event): | |
7214 Check that ISO_FUNCTION_KEY_OFFSET is defined. | |
7215 | |
7216 * process.c (READ_CHILD_OUTPUT): Deleted. | |
7217 (read_process_output): Use read instead of READ_CHILD_OUTPUT. | |
7218 | |
7219 * makefile.nt (OBJ2): Include new source files. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7220 |
25865 | 7221 * s/ms-w32.h: Duplicate undefs from config.in to check completeness. |
7222 (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7223 (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7224 (HAVE_LIMITS_H, HAVE_STRERROR): Define. |
25865 | 7225 [HAVE_NTGUI] (HAVE_MENUS): Define. |
7226 (SYSTEM_PURESIZE_EXTRA): Increase value. | |
7227 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7228 * unexw32.c, w32heap.c: Add pragma to force zero initialized |
25865 | 7229 data into .data segment. |
7230 | |
7231 * w32console.c, w32term.c: Include charset.h. | |
7232 | |
7233 * w32fns.c (syms_of_w32fns): Delete defsubrs of Sfocus_frame and | |
7234 Sunfocus_frame. | |
7235 | |
7236 * w32heap.c (getpagesize): Define. | |
7237 | |
7238 1997-06-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7239 | |
7240 * editfns.c (Fformat_time_string): Move doc string outside DEFUN. | |
7241 | |
7242 * buffer.c (overlay_str_buf): Declare as unsigned char *. | |
7243 | |
7244 * fns.c (Fy_or_n_p, Fyes_or_no_p): Obey use_dialog_box. | |
7245 (use_dialog_box): New variable, controls whether to use dialog boxes. | |
7246 (syms_of_fns): Set up Lisp variable. | |
7247 | |
7248 1997-06-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7249 | |
7250 * buffer.c (syms_of_buffer): enable-multibyte-characters is a user var. | |
7251 | |
7252 * callproc.c (Fcall_process): Fix previous change. | |
7253 | |
7254 * fns.c (concat): Use XCONS rather than Fcar, Fcdr--for known cons. | |
7255 (Fassq, assq_no_quit, Fassoc, Frassq, Frassoc, Fdelq): Likewise. | |
7256 (Fdelete, Fplist_get, mapcar1, Fmember, Fmemq): Likewise. | |
7257 | |
7258 * lread.c (init_lread): Add leim subdir, like lisp subdir. | |
7259 | |
7260 * syntax.c (scan_sexps_forward): Split up a complex if-test. | |
7261 | |
7262 * keyboard.c (read_char): Add a call to swallow_events | |
7263 when deciding whether to redisplay. | |
7264 (swallow_events): Add forward declaration. | |
7265 | |
7266 * sysdep.c [HAVE_TERMIOS_H]: Include termios.h. | |
7267 | |
7268 * callproc.c (Fcall_process): Avoid storing alloca result | |
7269 directly into array element. | |
7270 | |
7271 * process.c (wait_reading_process_input): If wait_for_cell, | |
7272 do check for keyboard input and swallow events, just don't exit. | |
7273 (max): New macro. | |
7274 (wait_reading_process_input): Pass a smaller first arg to select. | |
7275 | |
7276 * buffer.c (Fbury_buffer): Undo previous change. | |
7277 | |
7278 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7279 | |
7280 * window.c (temp_output_buffer_show): | |
7281 Copy default-directory from current buffer. | |
7282 | |
7283 * cm.h (ospeed): Always use `extern' in the declaration. | |
7284 | |
7285 * Makefile.in (lisp, shortlisp): Some files are in international/. | |
7286 | |
7287 * unexelf.c [__NetBSD__]: Add some conditionals for NetBSD. | |
7288 | |
7289 * unexelf1.c: File deleted. | |
7290 | |
7291 1997-06-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7292 | |
7293 * s/unixware.h: New file. | |
7294 | |
7295 1997-06-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7296 | |
7297 * fileio.c (Finsert_file_contents): | |
7298 Pass new arg to prepare_to_modify_buffer. | |
7299 | |
7300 * insdel.c (prepare_to_modify_buffer, signal_before_change): | |
7301 New argument PRESERVE_PTR. | |
7302 (del_range_1): Use PRESERVE_PTR to preserve FROM. | |
7303 Save the length of the range separately. | |
7304 (NULL): Define if not defined. | |
7305 | |
7306 1997-06-23 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
7307 | |
7308 * fileio.c (Ffile_directory_p): Doc fix. | |
7309 | |
7310 1997-06-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7311 | |
7312 * buffer.c (Fbuffer_list): New optional argument FRAME. | |
7313 | |
7314 * fns.c (Freverse): Simplify. | |
7315 | |
7316 1997-06-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7317 | |
7318 * s/bsdos3.h: New file. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7319 |
25865 | 7320 * s/bsdos2.h (KERNEL_FILE): New overriding definition. |
7321 | |
7322 * keyboard.c (read_avail_input): Check for failure with EIO. | |
7323 | |
7324 * s/gnu-linux.h (LD_SWITCH_SYSTEM) [__mips__]: Alternate definition. | |
7325 | |
7326 * m/mips.h: Test __linux__ along with NEWSOS5. | |
7327 (KERNEL_FILE, UNEXEC): Don't redefine them if __linux__. | |
7328 [__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS): | |
7329 Alternate definitions. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7330 |
25865 | 7331 * emacs.c (Fdump_emacs): Bind command-line-processed to nil here. |
7332 | |
7333 * xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES. | |
7334 | |
7335 * emacs.c (Fdump_emacs): Error if not run in batch mode. | |
7336 | |
7337 * s/hpux10.h (LIBS_TERMCAP): Use -ltermcap instead of -lc. | |
7338 | |
7339 * unexelf.c [__sony_news && _SYSTYPE_SYSV]: Include sym.h | |
7340 and sys/elf_mips.h. | |
7341 (unexec): Add __sony_news && _SYSTYPE_SYSV conditionals. | |
7342 Add a _nec_ews_svr4 conditional. | |
7343 | |
7344 * s/newsos6.h: New file. | |
7345 | |
7346 * m/news-risc6.h: New file. | |
7347 | |
7348 * frame.c (Fdelete_frame): Clear echo_area_glyphs if it was | |
7349 in this frame. | |
7350 | |
7351 * process.c (wait_reading_process_input): Don't check for | |
7352 keyboard input if wait_for_cell. | |
7353 | |
7354 * minibuf.c (read_minibuf): New arg allow_props. | |
7355 If it is 0, discard text properties from the result. Callers changed. | |
7356 (minibuffer_allow_text_properties): New variable. | |
7357 (Fread_from_minibuffer): That variable controls allow_props arg. | |
7358 (syms_of_minibuf): Set up Lisp var. | |
7359 | |
7360 1997-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7361 | |
7362 * insdel.c (del_range_1): Make markers for TO and FROM | |
7363 in case prepare_to_modify_buffer changes the text. | |
7364 | |
7365 1997-06-21 Kenichi Handa <handa@etl.go.jp> | |
7366 | |
7367 * fontset.h (font_idx_temp): Extern it. | |
7368 (FS_LOAD_FONT): New macro. | |
7369 | |
98317 | 7370 * fontset.c (font_idx_temp): New temporary variable used in |
25865 | 7371 FS_LOAD_FONT. |
7372 | |
7373 * xfaces.c (Fset_face_attribute_internal): Use FS_LOAD_FONT | |
7374 instead of calling fs_load_font directly. | |
7375 | |
7376 * xterm.c (dumpglyphs): Use FS_LOAD_FONT. | |
7377 (x_new_fontset): If frame F has already using FONTSET, avoid the | |
7378 duplicated work. Use FS_LOAD_FONT. | |
7379 (x_list_fonts): Call Fassoc to search Valternate_charset_table. | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
7380 (x_load_font): Get around a buf of XListFonts. |
25865 | 7381 |
7382 1997-06-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7383 | |
7384 * print.c (Ferror_message_string): Optimize (error STRING) case. | |
7385 | |
7386 1997-06-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7387 | |
7388 * process.c (Fprocess_send_eof): Properly conditionalize prev. change. | |
7389 | |
7390 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7391 | |
7392 * process.c (Fprocess_send_eof): Use shutdown, if it's a socket. | |
7393 Don't close the output descriptor if that is also the input descriptor. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7394 |
25865 | 7395 * config.in (HAVE_SHUTDOWN): Add #undef. |
7396 | |
7397 * editfns.c (Fchar_before): Validate N after decrementing. | |
7398 Don't use POS as integer. | |
7399 | |
7400 1997-06-18 Kenichi Handa <handa@etl.go.jp> | |
7401 | |
7402 * coding.c (detect_coding_iso2022): Initilize mask correctly. | |
7403 | |
7404 * fns.c (concat): Pay attention to multibyte characters when | |
7405 TARGET_TYPE is Lisp_String. | |
7406 | |
7407 1997-06-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7408 | |
7409 * process.c (wait_reading_process_input): Fix previous change. | |
7410 | |
7411 1997-06-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7412 | |
7413 * fileio.c (Fdo_auto_save): Use stdio to write the save-list file. | |
7414 | |
7415 * fileio.c (Finsert_file_contents): Don't give up on the fast | |
7416 replace method if the coding remains undecided. | |
7417 | |
7418 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7419 | |
7420 * process.c (wait_reading_process_input): When exiting because | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7421 the process WAIT_PROC has terminated, first read all its output. |
25865 | 7422 |
7423 1997-06-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7424 | |
7425 * editfns.c (Fchar_after, Fchar_before): Make arg optional. | |
7426 | |
7427 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
7428 | |
7429 * buffer.h (point): Obsolete macro deleted in favor of PT. | |
7430 * editfns.c (Fprevious_char): Use PT, not point. | |
7431 * cmds.c (internal_self_insert): Use PT, not point. | |
7432 | |
7433 1997-06-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7434 | |
7435 * bytecode.c (Bread_char): Deleted. | |
7436 (Bsave_current_buffer_1): New byte code. | |
7437 (Fbyte_code): Delete handling Bread_char. | |
7438 Handle Bsave_current_buffer_1 like Bsave_current_buffer. | |
7439 | |
7440 1997-06-11 Paul Eggert <eggert@twinsun.com> | |
7441 | |
7442 * callproc.c (Fcall_process): Use setsid to disconnect child | |
7443 process from controlling terminal. | |
7444 | |
7445 1997-06-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7446 | |
7447 * unexalpha.c (unexec): Call update_dynamic_symbols unconditionally. | |
7448 (update_dynamic_symbols): Define unconditionally, but do nothing | |
7449 if __linux__or __NetBSD__. | |
7450 | |
7451 * s/netbsd.h (HAVE_TEXT_START, START_FILES, UNEXEC): | |
7452 Don't define these if __ELF__. | |
7453 (RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise. | |
7454 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7455 * m/alpha.h (TEXT_END, COFF, DATA_END): |
25865 | 7456 Define them if __NetBSD__ just as if LINUX. |
7457 (HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__. | |
7458 | |
7459 1997-06-10 Erik Naggum <erik@naggum.no> | |
7460 | |
7461 * fileio.c (Fwrite_region): Fix previous doc change. | |
7462 | |
7463 1997-06-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7464 | |
7465 * process.c (wait_reading_process_input): Return if unread events | |
7466 appear. | |
7467 | |
7468 * keyboard.c (kbd_buffer_get_event): When wait_reading_process_input | |
7469 returns, check Vunread_command_events. | |
7470 | |
7471 1997-06-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7472 | |
7473 * sysdep.c (init_sys_modes): Enable VSTART and VSTOP | |
7474 if flow_control. | |
7475 | |
7476 * editfns.c (Finsert_char): Check QUIT. | |
7477 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7478 * fontset.c (list_fontsets, fs_load_font): |
25865 | 7479 fast_c_string_match_ignore_case renamed. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7480 |
25865 | 7481 * xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed. |
7482 | |
7483 * search.c (fast_c_string_match_ignore_case): | |
7484 Renamed from fast_string_match_ignore_case. Set re_match_object. | |
7485 | |
7486 1997-06-09 Kenichi Handa <handa@etl.go.jp> | |
7487 | |
7488 * buffer.c (init_buffer_once): Inititialize the member | |
7489 buffer_file_coding_system. | |
7490 (syms_of_buffer): Declare Lisp variables | |
7491 default-buffer-file-coding-system and buffer-file-coding-system. | |
7492 | |
7493 * buffer.h (struct buffer): New member buffer_file_coding_system. | |
7494 | |
7495 * coding.c (Vcoding_system_alist): Deleted. | |
7496 (Qcoding_system_spec): Renamed from Qcoding_system_vector. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7497 (Vdefault_process_coding_system, Vfile_coding_system_alist) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7498 (Vprocess_coding_system_alist, Vnetwork_coding_system_alist): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7499 New variables. |
25865 | 7500 (Ffind_coding_system): Adjusted for the above change. |
7501 (syms_of_coding): Declare them as lisp variables. | |
7502 (Fcheck_coding_system): Pass list as DATA argument to Fsignal. | |
7503 | |
7504 * coding.h (Vdefault_process_coding_system): Extern it. | |
7505 | |
7506 * callproc.c (Fcall_process): Pay attention to | |
7507 Vdefault_process_coding_system. | |
7508 (Fcall_process_region): Likewise. | |
7509 | |
7510 * process.c (Fstart_process): Likewise. | |
7511 (Fopen_network_stream): Likewise. | |
7512 | |
7513 * xdisp.c (decode_mode_spec): Access the value of | |
7514 buffer-file-coding-system by b->buffer_file_coding_system. | |
7515 | |
7516 * fileio.c (Fwrite_region): Cancel the 7th argument CODING_SYSTEM | |
7517 added by the previous change. | |
7518 (auto_save_1): Adjusted for the above change. | |
7519 | |
7520 * data.c (Faset): Inherit default value correctly while creating | |
7521 sub char table. | |
7522 | |
7523 * xselect.c (selection_data_to_lisp_data): Change coding system | |
7524 name to iso-latin-1. | |
7525 (lisp_data_to_selection_data): Likewise. | |
7526 | |
98317 | 7527 * xterm.c (dumpglyphs): Shift baseline for such a font that is |
25865 | 7528 shorter but ascent or descent exceed the line height. |
7529 For a larger font, draw a small hook at right-bottom edge instead | |
7530 of a rectangle. | |
7531 | |
7532 1997-06-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7533 | |
7534 * keymap.c (Fcopy_keymap): After copying a sub-char-table, | |
7535 do store the copy. | |
7536 | |
7537 1997-06-04 Kenichi Handa <handa@etl.go.jp> | |
7538 | |
7539 * casefiddle.c (casify_object): Fix bug on handling a character | |
7540 argument. | |
7541 | |
7542 1997-06-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7543 | |
7544 * s/netbsd.h (NO_SHARED_LIBS): Test __alpha__ && ! __ELF__. | |
7545 | |
7546 * keyboard.c (syms_of_keyboard): Doc fix. | |
7547 | |
7548 * search.c (Freplace_match): If opoint is 0, that's relative to ZV. | |
7549 | |
7550 * intervals.c (find_interval): No longer inline. | |
7551 | |
7552 1997-06-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7553 | |
7554 * lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG) | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7555 (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK): |
25865 | 7556 Define regardless of NO_UNION_TYPE. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7557 |
25865 | 7558 * xfns.c (Fx_create_frame): Use XINT to access parent. |
7559 | |
7560 * syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ. | |
7561 (Fmodify_syntax_entry): Use XINT to access c. | |
7562 (describe_syntax): Use XINT to access first. | |
7563 | |
7564 * search.c (search_buffer): Use XINT around refs to trt. | |
7565 | |
7566 * lisp.h (concat3, get_truename_buffer): Declare them. | |
7567 | |
7568 * keyboard.c (read_key_sequence): Change some locals to `int'. | |
7569 | |
7570 * indent.c (compute_motion): Use XFASTINT on width_table elts. | |
7571 | |
7572 * fns.c (map_char_table): Use XSETFASTINT. | |
7573 | |
7574 * fileio.c (Fwrite_region, build_annotations): | |
7575 Set start and end using XSETFASTINT. | |
7576 | |
7577 * editfns.c (Fcompare_buffer_substrings): trt contains Lisp_Objects. | |
7578 (transpose_markers): Use marker_position, not Fmarker_position. | |
7579 | |
7580 * buffer.c (Fmove_overlay): Clean up setting o_beg and o_end. | |
7581 | |
7582 * alloc.c (Fmake_byte_code): Set val from p, not from val. | |
7583 (make_event_array): Convert nargs to Lisp_Object. | |
7584 | |
7585 * m/powerpcle.h: New file. | |
7586 | |
7587 * unexalpha.c [__NetBSD__]: Don't include filehdr.h, aouthdr.h | |
7588 scnhdr.h or syms.h. Add many other conditionalized definitions. | |
7589 | |
7590 * m/alpha.h [__NetBSD__]: Include stdlib.h, not alloca.h. | |
7591 (ORDINARY_LINK): Defined (if __NetBSD__). | |
7592 | |
7593 * s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7594 |
25865 | 7595 1997-05-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
7596 | |
7597 * lread.c (init_lread): Sometimes add to load-path | |
7598 the lisp and site-lisp dirs under the source directory. | |
7599 | |
7600 * xfaces.c: Include frame.h unconditionally. | |
7601 | |
7602 * Makefile.in (stamp-oldxmenu): Always define this | |
7603 one way or another. | |
7604 | |
7605 * search.c (Freplace_match): Fix previous change. | |
7606 | |
7607 * syntax.c (back_comment): Detect 2-char comment starts properly. | |
7608 New arg COMSTYLE; callers changed. | |
7609 (Fforward_comment): Handle unmatched two-character comment starters. | |
7610 | |
7611 * intervals.c (move_if_not_intangible): Fix previous change. | |
7612 | |
7613 * Makefile.in (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o. | |
7614 (obj): Add xfaces.o. | |
7615 (FACE_SUPPORT, SOME_MACHINE_LISP): Delete faces.elc. | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
7616 (shortlisp, lisp): Add faces.elc. |
25865 | 7617 |
7618 * emacs.c (main): Call syms_of_xfaces whenever ! HAVE_NTGUI. | |
7619 | |
7620 * xfaces.c (Fframe_face_alist, Fset_frame_face_alist): | |
7621 Define unconditionally. | |
7622 (Finternal_next_face_id, next_face_id): Likewise. | |
7623 (syms_of_xfaces): Define unconditionally, | |
7624 but conditionalize some of the contents. | |
7625 | |
7626 1997-06-01 Roderick Schertler <roderick@ibcinc.com> | |
7627 | |
7628 * sysdep.c (init_baud_rate): Use INIT_BAUD_RATE if it's defined. | |
7629 (sys_signal): Lose DGUX special case. | |
7630 | |
7631 * s/dgux.h (signal): Define only if not NO_DGUX_SIGNAL_REDEF. | |
7632 * s/dgux4.h: New file. | |
7633 | |
7634 1997-05-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7635 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7636 * xterm.c (process_expose_from_menu, XTread_socket): |
25865 | 7637 Set has_been_visible field. |
98317 | 7638 (x_make_frame_visible): Don't do XMoveWindow unless has_been_visible. |
25865 | 7639 |
7640 * xterm.h (struct x_output): New field has_been_visible. | |
7641 | |
7642 * lread.c (intern): Don't make a pure string here, | |
7643 since Fintern does that. | |
7644 | |
7645 * Makefile.in (lisp, shortlisp): Use cus-start.el, not .elc. | |
7646 | |
7647 * data.c (Farrayp): Accept bool-vectors and char-tables. | |
7648 | |
7649 * fns.c (Fchar_table_range, Fset_char_table_range): | |
7650 Make one-element vector work for RANGE. | |
7651 | |
7652 1997-05-30 NIIBE Yutaka <gniibe@mri.co.jp> | |
7653 | |
7654 * term.c (insert_glyphs): Use &, not &&. | |
7655 | |
7656 1997-05-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7657 | |
7658 * search.c (Freplace_match): Use move_if_not_intangible | |
7659 to handle intangible text better. | |
7660 | |
7661 * intervals.c (move_if_not_intangible): New function. | |
7662 | |
7663 * editfns.c (Fcurrent_time_string): Doc fix. | |
7664 | |
7665 * eval.c (Fsignal): Use call2 to call Vsignal_hook_function. | |
7666 | |
7667 1997-05-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7668 | |
7669 * dispnew.c (scrolling): If a line is not enabled, | |
7670 give it an infinite draw_cost. | |
7671 | |
7672 * data.c (Faset): Doc fix. | |
7673 | |
7674 * alloc.c (Fmake_bool_vector): Doc fix. | |
7675 | |
7676 * buffer.c (syms_of_buffer): Doc fix. | |
7677 | |
7678 1997-05-27 Kenichi Handa <handa@etl.go.jp> | |
7679 | |
7680 * fontset.h (FONT_ENCODING_NOT_DECIDED): New macro. | |
7681 | |
7682 * fontset.c (fs_load_font): Before using a fontset, be sure to | |
7683 load the ASCII font of the fontset. Size and height of a fontset | |
7684 is set to the same as those of the ASCII font of the fontset. Use | |
7685 macro FONT_ENCODING_NOT_DECIDED. | |
7686 | |
7687 * xterm.c (x_load_font): Use macro FONT_ENCODING_NOT_DECIDED. | |
7688 | |
7689 * fns.c (map_char_table): For sub char-table, index should be | |
7690 start from 0 (not from 32) considering a composite character. | |
7691 (Fmap_char_table): Doc-string adjusted. The variable indices is | |
7692 declared as an array of Lisp_Object. | |
7693 | |
7694 * coding.h (struct iso2022_spec): Member requested_designation is | |
7695 changed to array of `unsigned char'. | |
7696 (CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro. | |
7697 | |
7698 * coding.c (encode_invocation_designation): Use macro | |
7699 CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION. | |
7700 (encode_designation_at_bol, setup_coding_system): Likewise. | |
7701 (Fset_terminal_coding_system_internal): Renamed from | |
7702 Fset_terminal_coding_system. Make it non-interactive. | |
7703 Do not call Fredraw_display. | |
7704 (Fset_keyboard_coding_system_internal): Renamed from | |
7705 Fset_keyboard_coding_system. Make it non-interactive. | |
7706 | |
7707 * charset.c (Ffind_charset_string): The variable CHARSETS is | |
7708 changed to (int *). | |
7709 | |
7710 * casetab.c (case_temp1, case_temp2): New variables temporarily | |
7711 used in macros DOWNCASE and UPCASE1. | |
7712 (set_case_table): Setup canonical table correctly. Use | |
7713 map_char_table instead of compute_trt_inverse. | |
7714 (set_canon, set_identity, shuffle): New functions given to | |
7715 map_char_table. | |
7716 (compute_trt_identity, compute_trt_shuffle, compute_trt_inverse): | |
7717 Deleted. | |
7718 | |
7719 * casefiddle.c (casify_object): Handle multibyte characters. | |
7720 (casify_region): Change the way of handling multibyte characters. | |
7721 | |
7722 * lisp.h (CHAR_TABLE_REF): Do not check validity of CT. | |
7723 (CHAR_TABLE_SET): Likewise. | |
7724 (DOWNCASE_TABLE): Return case-table instead of the `contents' field. | |
7725 (UPCASE_TABLE): Likewise. | |
7726 (DOWNCASE): Use CHAR_TABLE_REF. | |
7727 (NOCASEP): Use UPCASE1. | |
7728 (UPCASE1): Use CHAR_TABLE_REF. | |
7729 | |
7730 * search.c (looking_at_1): Change using DOWNCASE_TABLE. | |
7731 (string_match_1): Likewise. | |
7732 | |
7733 * editfns.c (Fchar_equal): Make it handle case of multibyte | |
7734 characters. | |
7735 | |
7736 1997-05-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7737 | |
7738 * window.c (Fsplit_window): Ignore FRAME_NO_SPLIT_P here. | |
7739 (inhibit_frame_unsplittable): Variable deleted. | |
7740 (syms_of_window): Don't set up Lisp variable. | |
7741 | |
7742 * xterm.c (XTread_socket) <ConfigureNotify>: Don't call | |
7743 x_wm_set_size_hint if window has no parent yet. | |
7744 Simplify the call to x_real_positions. | |
7745 (x_make_frame_visible): Use win_gravity to decide whether to | |
7746 call XMoveWindow. Also, don't do it if frame already visible. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7747 |
25865 | 7748 * xfns.c (x_real_positions): Subtract border width from results. |
7749 | |
7750 1997-05-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7751 | |
7752 * window.c (syms_of_window): Initialize inhibit_frame_unsplittable. | |
7753 | |
7754 * w16select.c (Fwin16_set_clipboard_data): Pass new arg to sit_for. | |
7755 | |
7756 * fileio.c (Fdo_auto_save): Pass new arg to sit_for. | |
7757 | |
7758 * callint.c (Fcall_interactively): Pass new arg to sit_for. | |
7759 | |
7760 * keyboard.c (command_loop_1): Pass 1 as new arg to sit_for. | |
7761 (read_char): Likewise, pass 0 for it. | |
7762 | |
7763 * dispnew.c (sit_for): New arg initial_display. | |
7764 (Fsit_for): Pass new arg. | |
7765 | |
7766 * indent.c (compute_motion): Return correctly if skip_invisible | |
7767 takes us past TO. | |
7768 | |
7769 * xterm.c (XTread_socket) <UnmapNotify>: Don't make an iconify_event | |
7770 when frame was made invisible. | |
7771 (x_make_frame_visible): Put the call to x_set_offset back as it was. | |
7772 Near the end, instead call XMoveWindow, but only if original | |
7773 positions were not negative. | |
7774 | |
7775 1997-05-26 Simon Marshall <simon@diazepam.gnu.ai.mit.edu> | |
7776 | |
7777 * window.c (syms_of_window): Change frame_override_unsplittable to | |
7778 inhibit_frame_unsplittable. | |
7779 (Fsplit_window): Check inhibit_frame_unsplittable. | |
7780 | |
7781 1997-05-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7782 | |
7783 * window.c (Fdisplay_buffer): Use B not b for interactive argument. | |
7784 | |
7785 * xfns.c (x_real_positions): Directly compare the frame's window | |
7786 or parent with the root window. | |
7787 | |
7788 * xterm.c (x_make_frame_visible): Call x_set_offset only after | |
7789 mapping the window and accepting input. | |
7790 (x_calc_absolute_position): Do nothing if current position | |
7791 is already for the top-left corner. | |
7792 Handle errors in XTranslateCoordinates. | |
7793 (XTread_socket): Simplify handling of ConfigureNotify events. | |
7794 Always call x_wm_set_size_hint for them. | |
7795 No need to call XTranslateCoordinates here. | |
7796 (x_clear_errors): New function. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7797 |
25865 | 7798 1997-05-20 Erik Naggum <erik@naggum.no> |
7799 | |
7800 * editfns.c (Fformat_time_string): Doc update. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7801 |
25865 | 7802 1997-05-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
7803 | |
7804 * editfns.c (Fformat_time_string): Doc update. | |
7805 Handle emacs_strftime returning -1. | |
7806 If it returns 0, compute actual buffer size needed. | |
7807 | |
7808 * Makefile.in (shortlisp): Add custom.elc and cus-start.elc. | |
7809 | |
7810 * fns.c (internal_equal): When comparing strings, ignore text props. | |
7811 Friedman offers to fix anything that has trouble due to this. | |
7812 | |
7813 * dispnew.c (sit_for): Delete #if 0. | |
7814 | |
7815 * keymap.c (access_keymap, store_in_keymap): Don't look in a char-table | |
7816 for a character that has modifier bits. | |
7817 | |
7818 1997-05-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7819 | |
7820 * keymap.c (access_keymap): For a char-table, | |
7821 look only for chars with no modifier bits. | |
7822 | |
7823 1997-05-19 Kenichi Handa <handa@etl.go.jp> | |
7824 | |
7825 * s/osf1.h (HAVE_TERMIOS): Define it. | |
7826 | |
7827 * m/alpha.h (PTY_OPEN): Call sigblock instead of sigblockx. | |
7828 | |
7829 * Makefile.in (xdisp.o): Add coding.h in dependency list. | |
7830 | |
7831 * fontset.h (struct font_info): Change the declaration of encoding | |
7832 from `char' to `unsigned char'. | |
7833 | |
7834 * xterm.c (x_load_font): Set 4 instead of -1 in fontp->encoding[1] | |
7835 for the meaning of `can not be decided'. | |
7836 | |
7837 * fontset.c (fs_load_font): Modified to cope with the above | |
7838 change. | |
7839 | |
7840 * charset.c (Ffind_charset_region): Change the declaration of | |
7841 charsets from `char' to `int'. | |
7842 (find_charset_in_str): Likewise. | |
7843 | |
7844 * xselect.c (lisp_data_to_selection_data): Likewise. | |
7845 | |
7846 * coding.h (struct iso2022_spec): Change the declaration of | |
7847 requested_designation from `char' to `int'. | |
7848 | |
7849 1997-05-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7850 | |
7851 * callint.c (Fcall_interactively): Use num_input_events. | |
7852 | |
7853 * keyboard.h (num_input_events, num_nonmacro_input_events): | |
7854 Renamed from ..._input_chars. | |
7855 | |
7856 * eval.c (num_nonmacro_input_events): | |
7857 Renamed from num_nonmacro_input_chars. | |
7858 | |
7859 * keyboard.c (num_nonmacro_input_events): | |
7860 Renamed from num_nonmacro_input_chars. | |
7861 (syms_of_keyboard): Rename Lisp variable. | |
7862 | |
7863 1997-05-18 Erik Naggum <erik@naggum.no> | |
7864 | |
7865 * lisp.h (Vtty_erase_char): Declared. | |
95848 | 7866 * keyboard.c (Vtty_erase_char): Variable defined. |
25865 | 7867 (syms_of_keyboard): Set up Lisp variable. |
7868 Also set up `num-nonmacro-input-chars' to report actual keystrokes. | |
7869 * sysdep.c (init_sys_modes): Initialize Vtty_erase_char if | |
7870 possible from the stty settings, otherwise to nil. | |
7871 | |
7872 * lread.c (Fintern): Give keywords a value when interned. | |
7873 | |
7874 * dired.c (Ffile_attributes): Return inode number as a cons | |
7875 only if necessary. | |
7876 | |
7877 1997-05-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7878 | |
7879 * keymap.c (copy_keymap_1): Do nothing if ELT isn't a keymap. | |
7880 | |
7881 1997-05-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7882 | |
7883 * frame.c (make_terminal_frame): Don't add `Emacs' to frame name. | |
7884 | |
7885 1997-05-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7886 | |
7887 * sysselect.h (SELECT_TYPE): Don't define if already defined. | |
7888 | |
7889 * cmds.c (nonascii_insert_offset): New variable. | |
7890 (Fself_insert_command, internal_self_insert): | |
7891 Add nonascii_insert_offset to what we insert, when appropriate. | |
7892 (syms_of_cmds): Set up Lisp variable. | |
7893 | |
7894 * xdisp.c (display_text_line): Move the code to fill out the line | |
7895 with the newline's face to the end of the newline code. | |
7896 Add changes (commented out) to record ellipsis positions in charstarts. | |
7897 | |
7898 * charset.c (strwidth): Fix previous change. | |
7899 | |
7900 * ralloc.c (mallopt): Declare, if appropriate. | |
7901 (r_alloc_init) [DOUG_LEA_MALLOC]: Call mallopt, | |
7902 instead of setting __malloc_extra_blocks. | |
7903 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
7904 1997-05-15 Ken'ichi Handa <handa@diazepam.gnu.ai.mit.edu> |
25865 | 7905 |
7906 * Makefile.in (charset.o): Add disptab.h in dependency list. | |
7907 | |
7908 * charset.c: Include disptab.h. | |
7909 | |
7910 1997-05-16 Kenichi Handa <handa@etl.go.jp> | |
7911 | |
7912 * xterm.c (dumpglyphs): Draw glyphs one by one if the font for | |
7913 them is narrower than required. | |
7914 | |
7915 * fns.c (copy_sub_char_table): Declare the argument ARG as | |
7916 Lisp_Object. | |
7917 | |
7918 * fontset.c (fontset_pattern_regexp): Cast to (char *) before | |
7919 assigning to P0. | |
7920 | |
98317 | 7921 * ccl.c (struct ccl_prog_stack): Declare the member ccl_prog as |
25865 | 7922 Lisp_Object *. |
7923 | |
7924 * editfns.c: Declare Fuser_full_name as Lisp_Object in advance to | |
7925 avoid compiler error. | |
7926 | |
7927 * data.c: Declare set_internal as Lisp_Object in advance to avoid | |
7928 compiler error. | |
7929 | |
7930 * alloc.c (BYTES_USED): Put # at the beginning of line. | |
7931 (emacs_blocked_malloc): Likewise. | |
7932 | |
7933 * xterm.c (x_connection_closed): Likewise. | |
7934 (x_load_font): Cast to (char *) before assigning to FONTNAME. | |
7935 | |
7936 * keymap.c: Declare Fcopy_keymap as Lisp_Object in advance to | |
7937 avoid compiler error. | |
7938 | |
7939 1997-05-16 Kenichi Handa <handa@etl.go.jp> | |
7940 | |
7941 * charset.h (VALID_CHAR_P): New macro. | |
7942 | |
7943 * fns.c (Fset_char_table_default): New function. | |
7944 | |
7945 1997-05-15 Kenichi Handa <handa@etl.go.jp> | |
7946 | |
7947 * charset.c (non_ascii_char_to_string): Signal error if the | |
7948 argument C is an invalid character code. | |
7949 (Fconcat_chars): Use alloca instead of malloc. | |
7950 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
7951 * charset.h (CHAR_STRING): Comment reflect the above change. |
25865 | 7952 |
7953 * coding.h: Name change through the code: | |
7954 coding-category-internal => coding-category-emacs-mule, | |
7955 XXX_coding_internal => XXX_coding_emacs_mule, | |
7956 coding_type_internal => coding_type_emacs_mule, | |
7957 coding_type_automatic => coding_type_undecided, | |
7958 CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE, | |
7959 CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE, | |
7960 CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED. | |
7961 * coding.c: Likewise. | |
7962 * fileio.c: Likewise. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
7963 |
25865 | 7964 * xfns.c (Fx_create_frame): Delete unnecessary code. |
7965 | |
7966 1997-05-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7967 | |
7968 * fileio.c (Finsert_file_contents): Use xmalloc. not malloc. | |
7969 Check correctly for whether no code translation is needed. | |
7970 (Finsert_file_contents): Use xrealloc too. | |
7971 | |
7972 * charset.c (strwidth, Fchar_width): Handle display table. | |
7973 | |
7974 1997-05-15 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
7975 | |
7976 * casefiddle.c: Include charset.h. | |
7977 (Qidentity): Define this variable. | |
7978 (syms_of_casefiddle): Initialize and staticpro it. | |
7979 (casify_object, casify_region): Handle multibyte. | |
7980 | |
7981 1997-05-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
7982 | |
7983 * casetab.c (compute_trt_identity): Use make_sub_char_table. | |
7984 (compute_trt_identity, compute_trt_shuffle): | |
7985 Set up bytes[0] with the charset code. | |
7986 Check for a sub-char-table when deciding to recurse. | |
7987 Terminate the loop properly for a sub-char-table. | |
7988 | |
7989 * callint.c (Fcall_interactively): Pass extra arg to Fread_string. | |
7990 | |
7991 * minibuf.c (Fread_from_minibuffer): Add gcpro. | |
7992 | |
7993 * fns.c (Fcopy_sequence): Correctly copy the char-table contents. | |
7994 | |
7995 * keymap.c (describe_vector): Identify charset row numbers clearly. | |
7996 | |
7997 * casetab.c: Include charset.h. | |
7998 (compute_trt_inverse): Totally rewritten. | |
7999 Args are now Lisp_Object. Callers changed. | |
8000 (compute_trt_identity, compute_trt_shuffle): New subroutines. | |
8001 (init_casetab_once): Use XSETFASTINT to store into case table; | |
8002 use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8003 |
25865 | 8004 1997-05-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
8005 | |
8006 * syntax.c (describe_syntax_1): Pass new args to describe_vector. | |
8007 | |
8008 * category.c (describe_category_1): Pass new args to describe_vector. | |
8009 | |
8010 1997-05-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8011 | |
8012 * keymap.c (get_keyelt): Handle an indirect entry with meta char. | |
8013 (describe_vector): Rewrite char-table handling. | |
8014 | |
8015 * data.c (wrong_type_argument): Pass new arg to Fstring_to_number. | |
8016 | |
8017 1997-05-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8018 | |
8019 * xfns.c (Fx_create_frame): Get X resources from the display | |
8020 we are making the frame on. | |
8021 (x_get_arg): New arg DPYINFO. Callers changed. | |
8022 (display_x_get_resource): New function. | |
8023 | |
8024 1997-05-11 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> | |
8025 | |
8026 * data.c (Fstring_to_number): Handle bases 2...16. | |
8027 (digit_to_number): New subroutine. | |
8028 | |
8029 1997-05-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8030 | |
8031 * fns.c (map_char_table): New arg SUBTABLE. Callers changed. | |
8032 Pass the whole chartable to C_FUNCTION. | |
8033 Pass index character as a Lisp_Object. | |
8034 | |
8035 * keymap.c (Fmake_keymap): Make a char-table. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8036 (access_keymap, store_in_keymap): Likewise. |
25865 | 8037 (describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise. |
8038 (Fwhere_is_internal, Fcopy_keymap): Handle a char-table. | |
8039 (copy_keymap_1, accessible_keymaps_char_table): New subroutines. | |
8040 (where_is_internal_1, where_is_internal_2): New functions. | |
8041 (syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8042 |
25865 | 8043 1997-05-10 Ken'ichi Handa <handa@etl.go.jp> |
8044 | |
8045 * callproc.c (Fcall_process_region): Supply 7th new arg | |
8046 CODING_SYSTEM as Qnil to Fwrite_region. | |
8047 | |
8048 * ccl.c (Fccl_execute_on_string): Add 4th optional arg | |
8049 CONTINUE. | |
8050 | |
8051 * charset.c (unify_char): New function. | |
8052 (Fdefine_charset): Doc-string modified. | |
8053 (find_charset_in_str): Add 4th arg TABLE which is a character | |
8054 unification table. | |
8055 (Ffind_charset_region): Add optional arg TABLE which is a | |
8056 character unification table. | |
8057 (Ffind_charset_string): Likewise. | |
8058 | |
8059 * charset.h (unify_char): Extern it. | |
8060 | |
43277 | 8061 * coding.c (Valternate_charset_table): The variable deleted. |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8062 (Venable_character_unification) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8063 (Vstandard_character_unification_table_for_read) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8064 (Vstandard_character_unification_table_for_write) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8065 (Qcharacter_unification_table): New variables. |
25865 | 8066 (syms_of_coding): Initialize and declare them. |
8067 (DECODE_ISO_CHARACTER): Modified to handle a character unification | |
8068 table instead of Valternate_charset_table. | |
8069 (DECODE_DESIGNATION): Delete handling of Valternate_charset_table. | |
8070 (decode_coding_iso2022): Handle a character unification table. | |
8071 (ENCODE_ISO_CHARACTER): New macro. | |
8072 (encode_designation_at_bol): Handle a character unification table. | |
8073 Do not return -1 even if end-of-line is not in the current run. | |
8074 (encode_coding_iso2022): Handle a character unification table. | |
8075 Call macro ENCODE_ISO_CHARACTER instead of calling | |
8076 ENCODE_ISO_CHARACTER_DIMENSION1 and | |
8077 ENCODE_ISO_CHARACTER_DIMENSION2 directly. Check the size of | |
8078 carryover before copying it to destination. | |
8079 (setup_coding_system): Initialize the member | |
8080 character_unification_table of the struct coding system to Qnil. | |
8081 (Fset_keyboard_coding_system): Doc string augmented. | |
8082 | |
8083 * coding.h (CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no | |
8084 character set is invoked to PLANE. | |
8085 (struct coding_system): New member character_unification_table. | |
8086 | |
8087 * fileio.c (Fwrite_region): Add 7th optional arg | |
8088 CODING_SYSTEM. Move gap after a newline code if we are encoding | |
8089 in a coding system which requires designation sequences to be put | |
8090 at beginning of line. Set coding.last_block to 1 before calling | |
8091 a_write for an empty file. | |
8092 (build_annotations): Code tuned up for handling | |
8093 pre_write_conversion of a coding system. | |
8094 (e_write): Delete code for handling carryover of code conversion. | |
8095 It is now handled in encode_coding. | |
8096 (auto_save_1): Supply 7th new arg CODING_SYSTEM as Qnil to | |
8097 Fwrite_region. | |
8098 | |
8099 * fontset.c (Vfontset_alias_alist): New variable. | |
8100 (fontset_pattern_regexp): Delete code for handling nickname of a | |
95848 | 8101 fontset. It is now handled in Fquery_fontset by consulting |
25865 | 8102 Vfontset_alias_alist. |
8103 (Fquery_fontset): Handle Vfontset_alias_alist. | |
8104 (syms_of_fontset): Terminate each line by `\n\' in doc-string of | |
43277 | 8105 alternate-fontname-alist. Declare Lisp variable |
25865 | 8106 fontset-alias-alist. Doc-string of highlight-wrong-size-font |
8107 and clip-large-size-font modified. | |
8108 | |
8109 * xfns.c (Fx_create_frame): Delete code for handling the X | |
98317 | 8110 resource "Fontset". |
25865 | 8111 |
8112 * xselect.c (selection_data_to_lisp_data): If TYPE is `STRING' | |
8113 and DATA contains 8-bit codes, decode them as Latin-1 characters. | |
8114 (lisp_data_to_selection_data): Supply 4th arg TABLE as Qnil to | |
8115 find_charset_in_str. | |
8116 | |
8117 * xterm.c (dumpglyphs): Even if font (not fontset) is used, | |
8118 display Latin1 characters correctly if the font contains glyphs | |
8119 for them. Fix bug of displaying cursor on a composite character. | |
8120 | |
8121 1997-05-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8122 | |
8123 * keyboard.c (Fexecute_extended_command): | |
8124 Pass new arg to Fcompleting_read. | |
8125 (command_loop_1): Use an int for last_command_char. | |
8126 | |
8127 * lisp.h (read_minibuf): Declaration deleted. | |
8128 | |
8129 * callint.c (Fcall_interactively): Pass new arg to | |
8130 Fread_from_minibuffer and Fread_variable. | |
8131 | |
8132 * fns.c (Fyes_or_no_p): Pass new arg to Fread_from_minibuffer. | |
8133 | |
8134 * minibuf.c (Fread_command): New optional arg DEFAULT-VALUE. | |
8135 Callers changed. | |
8136 (Fread_variable, Fread_string, Fread_from_minibuffer): Likewise. | |
8137 (read_minibuf): Now static. New arg DEFALT. Callers changed. | |
8138 Bind minibuffer-default here. | |
8139 (read_minibuf_unwind): Now static. | |
8140 (Fcompleting_read): Past DEF to Fread_from_minibuffer; | |
8141 no need to use it directly here. | |
8142 | |
8143 * fileio.c (Fread_file_name): Finish previous change. | |
8144 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8145 * coding.c (Fread_coding_system, Fread_non_nil_coding_system): |
25865 | 8146 Pass new arg to Fcompleting_read. |
8147 | |
8148 * callint.c (Fcall_interactively): Pass new arg to Fcompleting_read. | |
8149 | |
8150 * xmenu.c (Fx_popup_menu): Doc fix. | |
8151 | |
8152 1997-05-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8153 | |
8154 * Makefile.in (TAGS): Fix typo. | |
8155 | |
8156 * xdisp.c (mark_window_display_accurate, redisplay_internal): | |
8157 Test highlight_nonselected_windows. | |
8158 (display_text_line): Likewise (in more places). | |
8159 (syms_of_xdisp): Initialize highlight_nonselected_windows to 0. | |
8160 | |
8161 * keyboard.c (Qtimer_event): Variable deleted. | |
8162 (Qtimer_event_handler): New variable. | |
8163 (syms_of_keyboard): Don't initialize Qtimer_event. | |
8164 Do initialize Qtimer_event_handler. | |
8165 (read_char): Don't check for timer event. | |
8166 (swallow_events): Don't handle timer events. | |
8167 (timer_check): Likewise. | |
8168 (make_lispy_event): Likewise. | |
8169 | |
8170 1997-05-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8171 | |
8172 * s/bsd386.h: Delete the code that was trying to define BSD "right" | |
8173 now that Emacs doesn't use the symbol BSD this way. | |
8174 | |
8175 1997-05-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8176 | |
8177 * Makefile.in (MOUSE_SUPPORT): Delete menu-bar.elc. | |
8178 (lisp): Move menu-bar.elc here. | |
8179 Add custom.elc and cus-start.elc. | |
8180 | |
8181 * m/intel386.h (LIBS_MACHINE): Add -lelf. | |
8182 | |
8183 1997-05-05 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8184 | |
8185 * xdisp.c (display_text_line): Clear region_showing to Qnil if the | |
8186 window should not show a region. | |
8187 (redisplay_internal): Do update region_showing when ! all_windows. | |
8188 | |
8189 * window.c (Fset_window_configuration): Set last_selected_window | |
8190 in the new selected window's new buffer. | |
8191 | |
8192 * xdisp.c (display_text_line): Set w->region_showing to the mark | |
8193 position if there's a mark; to nil, otherwise. | |
8194 | |
8195 * w32fns.c (x_set_mouse_color): Fix previous change. | |
8196 | |
8197 * xselect.c (x_reply_selection_request): Delete the inner | |
8198 unbind_to call, since x_uncatch_errors does the job. | |
8199 | |
8200 1997-05-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8201 | |
8202 * minibuf.c (Fcompleting_read): New arg DEF. | |
8203 Callers changed. | |
8204 (Qminibuffer_default): New variable. | |
8205 (syms_of_minibuf): Initialize it. | |
8206 | |
8207 * fileio.c (Fread_file_name): Pass default to Fcompleting_read. | |
8208 | |
8209 1997-05-03 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8210 | |
8211 * w32fns.c (x_set_mouse_color): Update calls to x_catch_errors | |
8212 and x_uncatch_errors. | |
8213 | |
8214 * xfns.c (x_set_scroll_bar_width): If arg is too small, round it up. | |
8215 | |
8216 * window.c (Fdisplay_buffer): If we give up and try other frames, | |
8217 look again for a window in those frames already showing BUFFER. | |
8218 | |
8219 1997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8220 | |
8221 * xselect.c (x_reply_selection_request): Fix previous change. | |
8222 | |
8223 1997-04-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8224 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8225 * xterm.c (XTmouse_position, x_term_init): |
25865 | 8226 Save value from x_catch_errors and pass to x_uncatch_errors. |
8227 | |
8228 * xselect.c (x_own_selection, x_reply_selection_request) | |
8229 (x_get_foreign_selection): | |
8230 Save value from x_catch_errors and pass to x_uncatch_errors. | |
8231 | |
8232 * xfns.c (x_real_positions, x_set_mouse_color, Fx_list_fonts): | |
8233 Save value from x_catch_errors and pass to x_uncatch_errors. | |
8234 | |
8235 * xterm.c (x_catch_errors): Use specpdl so can be nested. | |
8236 Use a Lisp string to as the buffer for the X message. | |
8237 (x_uncatch_errors, x_had_errors_p, x_check_errors): Related changes. | |
8238 (x_catch_errors_unwind): New function. | |
8239 (x_error_quitter): Call x_error_catcher if appropriate. | |
8240 (x_error_message_string): New variable. | |
8241 (syms_of_xterm): Defvar it. | |
8242 (x_caught_error_message): Variable deleted. | |
8243 (X_ERROR_MESSAGE_SIZE): Renamed from X_CAUGHT_ERROR_MESSAGE_SIZE. | |
8244 (x_error_handler): New function, calls x_error_quitter or ..._checker. | |
8245 (x_initialize): Use x_error_handler as error handler for X. | |
8246 | |
8247 1997-04-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8248 | |
8249 * fileio.c (Fexpand_file_name): Check length > 0 when necessary. | |
8250 | |
8251 1997-04-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8252 | |
8253 * syntax.c (skip_chars): Fix previous change in syntax/backward case. | |
8254 | |
8255 * lread.c (init_lread): Don't add ../lisp to the dump-time load path. | |
8256 | |
8257 * buffer.c (Fbury_buffer): If buffer is in selected window, remove it. | |
8258 Otherwise, remove it from other windows. | |
8259 | |
8260 * fileio.c (Fsubstitute_in_file_name): Use xnm uniformly, never nm, | |
8261 when handling /~ and // at the end. | |
8262 | |
8263 * process.c (read_process_output): Update opoint, old_begv and old_zv | |
8264 based on actual buffer change rather than size of string. | |
8265 old_begv and old_zv are now ints. | |
8266 (status_notify): Likewise for opoint. | |
8267 | |
8268 1997-04-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8269 | |
8270 * xterm.c (x_destroy_window): Free saved_menu_event, if any. | |
8271 | |
8272 * frame.c (Fdelete_frame): Free FRAME_MESSAGE_BUF. | |
8273 | |
8274 * xrdb.c (get_user_app): Free the gethomedir value. | |
8275 | |
8276 * buffer.c (reset_buffer): Initialize clip_changed field. | |
8277 | |
8278 1997-04-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8279 | |
8280 * emacs.c (sort_args): Free the malloc'd memory. | |
8281 | |
8282 * fileio.c (Fwrite_region): GCPRO `start' near the beginning. | |
8283 | |
8284 * xfns.c (x_set_menu_bar_lines): Increment windows_or_buffers_changed. | |
8285 | |
8286 1997-04-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8287 | |
8288 * syntax.c (skip_chars): Merge mule changes back in. | |
8289 | |
8290 1997-04-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8291 | |
8292 * window.c (frame_override_unsplittable): New variable. | |
8293 (Fsplit_window): Ignore `unsplittable' if frame_override_unsplittable. | |
8294 (syms_of_window): Set up Lisp var. | |
8295 | |
8296 * xmenu.c (set_frame_menubar): When widget is new, | |
8297 forget records of old contents. | |
8298 | |
8299 1997-04-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8300 | |
8301 * xterm.c (x_set_offset): Turn off the code that added the border_width | |
8302 to modified_left and modified_top; it seems incorrect to do that. | |
8303 | |
8304 1997-04-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8305 | |
8306 * keymap.c (Faccessible_keymaps): Convert PREFIX to a vector | |
8307 at the beginning, if it has any definition. | |
8308 | |
8309 1997-04-19 Erik Naggum <erik@naggum.no> | |
8310 | |
8311 * keymap.c (describe_vector): Test for suppressed commands in | |
8312 all cases. Call get_keyelt with two arguments. | |
8313 | |
8314 1997-04-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8315 | |
8316 * print.c (print): Symbols like e2 and 2e are not confusing. | |
8317 | |
8318 1997-04-17 Andrew Innes <andrewi@harlequin.co.uk> | |
8319 | |
8320 * fileio.c (Fexpand_file_name): Fix expansion of "/foo/../". | |
8321 | |
8322 1997-04-15 Ken'ichi Handa <handa@etl.go.jp> | |
8323 | |
8324 * coding.c (setup_coding_system): Setup coding->eol_type as LF | |
8325 for a invalid coding system. | |
8326 | |
8327 1997-04-14 Ilya Zakharevich <ilya@math.ohio-state.edu> | |
8328 | |
8329 * dired.c (Fdirectory_files): Set re_match_object. | |
8330 | |
8331 * intervals.c (update_interval): New function. | |
8332 | |
8333 * intervals.h (update_interval): New function declaration. | |
8334 | |
8335 * regex.c (PTR_TO_OFFSET): New macro. | |
8336 (POS_AS_IN_BUFFER): New macro. | |
8337 (SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text | |
8338 property into account when doing SYNTAX (c). | |
8339 (re_compile_fastmap): disable fastmap if any of wordbound | |
8340 notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen. | |
8341 (re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start. | |
8342 (re_match_object): New variable. | |
8343 (re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start. | |
8344 (re_match_2_internal): For any of wordbound notwordbound wordbeg | |
8345 wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before | |
8346 doing SYNTAX (c). | |
8347 | |
8348 * regex.h (re_match_object): New variable. | |
8349 | |
8350 * search.c (looking_at_1): Set re_match_object. | |
8351 (string_match_1): Set re_match_object. | |
8352 (fast_string_match): Set re_match_object. | |
8353 (Fskip_chars_forward): Move to syntax.c. | |
8354 (Fskip_chars_backward): Move to syntax.c. | |
8355 (Fskip_syntax_forward): Move to syntax.c. | |
8356 (Fskip_syntax_backward): Move to syntax.c. | |
8357 (skip_chars): Move to syntax.c. | |
8358 (search_buffer): Set re_match_object. | |
8359 (syms_of_search): Move initialization of skip* to syntax.c. | |
8360 | |
8361 * syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' | |
8362 text property into account when doing SYNTAX (c). | |
8363 (ST_COMMENT_STYLE, ST_STRING_STYLE): New codes to denote | |
8364 delimiters for new types of strings and comments. | |
8365 (Vparse_sexp_lookup_properties): New variable. | |
8366 (struct lisp_parse_state): Comment updated. | |
8367 (gl_state): New global variable. | |
8368 (update_syntax_table): New function. | |
8369 (char_quoted): Move earlier, update gl_state when needed. | |
8370 (find_defun_start): Update gl_state when needed. | |
8371 (back_comment): New function. | |
98317 | 8372 (Scomment_fence, Sstring_fence): New delimiter char classes |
25865 | 8373 denoted by `!' and `|'. |
8374 (Fchar_syntax, Fmatching_paren): Update gl_state to whole-buffer state. | |
8375 (scan_words): Update gl_state when needed. | |
8376 (Fskip_chars_forward): Move from search.c. | |
8377 (Fskip_chars_backward): Move from search.c. | |
8378 (Fskip_syntax_forward): Move from search.c. | |
8379 (Fskip_syntax_backward): Move from search.c. | |
8380 (skip_chars): Move from search.c. | |
8381 (Fforward_comment, scan_lists): Update gl_state when needed. | |
8382 Handle Scomment_fence, Sstring_fence. | |
8383 (Fbackward_prefix_chars) update gl_state when needed. | |
8384 (scan_sexps_forward): update gl_state when needed. | |
8385 Handle Scomment_fence, Sstring_fence. | |
8386 If comment_stop==-1, stop at start or end of comment or string. | |
8387 (Fparse-partial-sexp): Doc fix. | |
8388 (syms_of_syntax): Move initialization of skip* from search.c. | |
8389 | |
8390 * syntax.h (enum syntaxcode): | |
8391 New members Scomment_fence, Sstring_fence. | |
8392 (SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY | |
8393 may do a lookup for syntax table in gl_state. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8394 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8395 (UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8396 (SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros. |
25865 | 8397 (struct gl_state_s): New struct. |
8398 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8399 * textprop.c: Style of comments corrected. |
25865 | 8400 (interval_of): New function. |
8401 | |
8402 1997-04-14 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> | |
8403 | |
8404 * w16select.c: New file, MS-Windows clipboard support from | |
8405 Emacs running as MSDOS application. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8406 |
25865 | 8407 * s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'. |
8408 | |
8409 * Makefile.in (MSDOS_OBJ): Add w16select.o. | |
8410 (dependencies): Add dependencies for w16select.o. | |
8411 | |
8412 1997-04-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8413 | |
8414 * undo.c (Fprimitive_undo): When inserting, always insert | |
8415 after markers (the ordinary kind of insertion). | |
8416 | |
8417 * insdel.c (adjust_markers): Don't be confused by the gap | |
8418 when computing the arg to record_marker_adjustment. | |
8419 | |
8420 1997-04-11 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
8421 | |
8422 * category.c (Fmodify_category_entry): Delete second arg in call | |
8423 to make_sub_char_table. | |
8424 | |
8425 * lisp.h (DOWNCASE): Return int, not Lisp_Object. | |
8426 (UPPERCASEP): Use DOWNCASE. | |
8427 (UPCASE_TABLE): New macro. | |
8428 (NOCASEP, UPCASE1): Use UPCASE_TABLE. | |
8429 [!NO_UNION_TYPE] (make_number): Declare. | |
8430 | |
8431 1997-04-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8432 | |
8433 * minibuf.c (read_minibuf): Get the string from the minibuffer | |
8434 even if the user has selected a different buffer. | |
8435 | |
8436 * fileio.c (Finsert_file_contents): Do call signal_after_change | |
8437 when REPLACE is handled by reading directly from the file. | |
8438 Use insert_1 to insert replacement text, to avoid | |
8439 query about whether to modify the buffer. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8440 |
25865 | 8441 1997-04-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> |
8442 | |
8443 * Makefile.in (mallocobj): Make non-REL_ALLOC configuration work | |
8444 with glibc's malloc--do use vm-limit.o. | |
8445 | |
8446 1997-04-10 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
8447 | |
8448 * cmds.c (internal_self_insert): Fix return value. | |
8449 * category.c (Fmake_category_set): Use XSETFASTINT. | |
8450 * minibuf.c (scmp): Fix Lisp_Object/integer confusion. | |
8451 (Fdisplay_completion_list): Likewise. | |
8452 * insdel.c (Fcombine_after_change_execute): Likewise. | |
8453 * xselect.c (expect_property_change): Likewise. | |
8454 * xterm.c (construct_menu_click, note_mouse_highlight): Likewise. | |
8455 (fast_find_position): Likewise. | |
8456 * ccl.c (ccl_driver): Likewise. | |
8457 * coding.c (Ffind_coding_system): Likewise. | |
8458 * charset.c (Fconcat_chars, ONE_BYTE_CHAR_WIDTH): Likewise. | |
8459 * xmenu.c (Fx_popup_menu, set_frame_menubar): Likewise. | |
8460 * disptab.h (DISP_TABLE_P): Likewise. | |
8461 * xdisp.c (display_text_line): Likewise. | |
8462 * dispnew.c (Fframe_or_buffer_changed_p): Likewise. | |
8463 * window.c (Fset_window_buffer, Fdisplay_buffer): Likewise. | |
8464 (delete_window): Don't return value from void function. | |
8465 | |
8466 1997-04-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8467 | |
8468 * s/freebsd.h (BSD_SYSTEM): Alternate definition for FreeBSD v3. | |
8469 | |
8470 * systty.h (GETPGRP_NO_ARG): If Glibc 2.1 or later, | |
8471 don't define this if _BSD_SOURCE is defined. | |
8472 | |
8473 1997-04-08 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> | |
8474 | |
8475 * emacs.c (malloc_get_state, malloc_set_state): New declarations. | |
8476 (main): Restore internal malloc state when loading from dumped image. | |
8477 (Fdump_emacs): Copy internal malloc state for dumping, then free it. | |
8478 | |
8479 * alloc.c: For glibc's malloc, include <malloc.h> for mallinfo, | |
8480 mallopt, struct mallinfo, and mallopt constants. | |
8481 (BYTES_USED): New macro. | |
8482 (memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED. | |
8483 (emacs_blocked_malloc): Set sbrk padding value for glibc, as is | |
8484 done with gmalloc. | |
8485 (allocate_vectorlike, make_uninit_string): | |
8486 Prevent using mmap for possible large chunks. | |
8487 (init_alloc_once): Set trim and mmap malloc parms, when using glibc. | |
8488 | |
8489 * config.in (DOUG_LEA_MALLOC): Add #undef. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8490 |
25865 | 8491 * Makefile.in (mallocobj): Don't add gmalloc if using glibc. |
8492 Drop check for `old malloc'; it isn't distributed with Emacs. | |
8493 | |
8494 1997-04-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8495 | |
8496 * casetab.c (init_casetab_once): Initialize the purpose slot. | |
8497 | |
8498 1997-04-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8499 | |
8500 * keyboard.c (read_key_sequence): New argument FIX_CURRENT_BUFFER. | |
8501 Restore the current buffer from selected window on occasion. | |
8502 All callers changed. | |
8503 | |
8504 1997-04-07 Kenichi HANDA <handa@etl.go.jp> | |
8505 | |
8506 * Makefile.in (lisp, shortlisp): Include english.elc and | |
8507 tibetan.elc. | |
8508 | |
8509 * alloc.c (Fmake_char_table): Adjusted for the new structure of | |
8510 Lisp_Char_Table. | |
8511 (make_sub_char_table): New function. | |
8512 | |
8513 * category.c (category-table-p): Check only type and purpose. | |
8514 (copy_category_table, Fmodify_category_entry): Adjusted for the | |
8515 new structure of Lisp_Char_Table. | |
8516 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8517 * ccl.c (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump. |
25865 | 8518 |
8519 * charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly. | |
8520 (SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1 | |
8521 characters. | |
8522 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8523 * charset.c (non_ascii_char_to_string, update_charset_table) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8524 (Fsplit_char): Adjusted for the above change. |
25865 | 8525 |
8526 * coding.c (detect_coding_iso2022, detect_coding_mask): Ignore | |
8527 invalid ESC sequence for ISO 2022. | |
8528 (Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of | |
8529 SPLIT_CHAR. | |
8530 | |
8531 * data.c (Faref, Faset): Adjusted for the new structure of | |
8532 Lisp_Char_Table. | |
8533 | |
8534 * disptab.c (disp_char_vector): Extern it. | |
8535 (DISP_CHAR_VECTOR): Handle multibyte characters. | |
8536 | |
8537 * fns.c (copy_sub_char_table): New function. | |
8538 (Fcopy_sequence): Call copy_sub_char_table for copying a sub char | |
8539 table. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8540 (Fchar_table_range, Fset_char_table_range, map_char_table) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8541 (Fmap_char_table): Handle multibyte characters correctly. |
25865 | 8542 |
8543 * fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font): | |
8544 New variables. | |
8545 (syms_of_fontset): Declare them as Lisp variables. | |
8546 | |
8547 * fontset.h (Vhighlight_wrong_size_font, Vclip_large_size_font): | |
8548 Extern them. | |
8549 | |
8550 * keymap.c (describe_vector): Adjusted for the new structure of | |
8551 Lisp_Char_Table. | |
8552 | |
8553 * lisp.h (CHAR_TABLE_STANDARD_SLOTS): Now 4 more slots than | |
8554 CHAR_TABLE_ORDINARY_SLOTS for top, defalt, parent, and purpose. | |
8555 (SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS): | |
8556 New macros. | |
8557 (CHAR_TABLE_REF, CHAR_TABLE_SET): Enclose args by parenthesis. | |
8558 (struct Lisp_Char_Table): New member `top'. The member `defalt' | |
8559 is moved before `contents' so that XCHAT_TABLE (val)->defalt can | |
8560 also be used for a sub char table. | |
8561 (SUB_CHAR_TABLE_P): New macro. | |
8562 (make_sub_char_table): Extern it. | |
8563 | |
8564 * lread.c (read1): Adjusted for the new structure of | |
8565 Lisp_Char_Table. | |
8566 | |
8567 * print.c (print): Likewise. | |
8568 | |
8569 * xdisp.c (disp_char_vector): New function to be used from the | |
8570 macro DISP_CHAR_VECTOR for multibyte characters. | |
8571 | |
8572 * xterm.c (dumpglyphs): Clip and highlight glyphs displayed with | |
8573 fonts of wrong size. | |
8574 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
8575 1997-04-06 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> |
25865 | 8576 |
8577 * emacs.c (init_cmdargs) [MSDOS]: Make the change that sets | |
8578 `installation-directory' if `info' is found as its subdirectory or | |
8579 sibling, be conditioned on MSDOS (it makes trouble on Unix). | |
8580 | |
8581 1997-04-05 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8582 | |
8583 * coding.c (Ffind_coding_system): Doc fix. | |
8584 | |
8585 1997-04-03 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
8586 | |
8587 * fns.c (Fcopy_sequence): Delete unused variable. | |
8588 (Fchar_table_extra_slot, Fset_char_table_extra_slot): Doc fix. | |
8589 (map_char_table): When expanding indices, don't increase depth; | |
8590 that's amount used, not amount allocated. | |
8591 | |
8592 * category.h [!__GNUC__] (CATEGORY_SET): Fix syntax error. | |
8593 | |
8594 * lisp.h (CHAR_TABLE_REF): Fix syntax error. | |
8595 (LOWERCASEP): Use NOCASEP instead of its expansion. | |
8596 (UPCASE): Use UPPERCASEP instead of its expansion. | |
8597 | |
8598 1997-04-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8599 | |
8600 * fileio.c (Finsert_file_contents): When handling REPLACE, | |
8601 first try comparing block by block; if we discover a need for | |
8602 nontrivial code conversion, give up and try convert-whole-file method. | |
8603 | |
8604 * fileio.c (Fcopy_file): Fix error message. | |
8605 | |
8606 * fileio.c (Finsert_file_contents): Handle non-regular files. | |
8607 | |
8608 1997-04-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8609 | |
8610 * search.c (skip_chars): Make `c' an unsigned int. | |
8611 | |
8612 1997-04-01 Erik Naggum <erik@naggum.no> | |
8613 | |
8614 * eval.c (Fuser_variable_p): If not a symbol, return nil. | |
8615 | |
8616 1997-03-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8617 | |
8618 * fileio.c (Fcopy_file): Use Qfile_date_error if can't set file date. | |
8619 (Qfile_date_error): New variable. | |
8620 (syms_of_fileio): Set it up. | |
8621 (Fcopy_file): Fix previous change. | |
8622 (Finsert_file_contents): Determine the character coding | |
8623 before we see if REPLACE can be handled. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8624 Do handle REPLACE even if code conversion is needed. |
25865 | 8625 |
8626 1997-03-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8627 | |
8628 * keymap.c (Faccessible_keymaps): When metizing, convert a | |
8629 string to a vector. But don't metize a character that is | |
8630 part of PREFIX. | |
8631 | |
8632 * window.c (Qwindow_configuration_change_hook): New variable. | |
8633 (Vwindow_configuration_change_hook): New variable. | |
8634 (syms_of_window): Initialize; set up Lisp var. | |
8635 (delete_window): New subroutine, from Fdelete_window. | |
8636 Most callers changed. | |
8637 (Fdelete_window): Call Vwindow_configuration_change_functions. | |
8638 (Fset_window_buffer, Fenlarge_window, Fshrink_window): | |
8639 Call the Vwindow_configuration_change_functions. | |
8640 (Fset_window_configuration): Likewise. | |
8641 | |
8642 * dispnew.c (change_frame_size_1): Call Fset_window_buffer, | |
8643 so that Vwindow_configuration_change_hook gets run. | |
8644 | |
8645 1997-03-25 Erik Naggum <erik@naggum.no> | |
8646 | |
8647 * process.c (Fopen_network_stream): Use same socket for in and out. | |
8648 | |
8649 1997-03-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
8650 | |
8651 * frame.c (frames_bury_buffer): New function. | |
8652 * buffer.c (Fbury_buffer): Call frames_bury_buffer. | |
8653 | |
8654 1997-03-22 Mark W. Eichin <eichin@kitten.gen.ma.us> | |
8655 | |
8656 * keyboard.c (make_lispy_event): Use iso_lispy_function_keys for | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8657 XK_ISO_* keys found in XFree86. |
25865 | 8658 (ISO_FUNCTION_KEY_OFFSET): New macro. |
8659 (iso_lispy_function_keys): New table. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8660 |
25865 | 8661 * xterm.c (XTread_socket): Accept XK_ISO_* keys. |
8662 | |
8663 1997-03-19 Kenichi Handa <handa@etl.go.jp> | |
8664 | |
8665 * xterm.c (dumpglyphs): Set a clipping region when we draw glyphs | |
8666 with a font of inappropriate size. | |
8667 (x_list_fonts): Try alternative fonts if we can't find a font of an | |
8668 appropriate size. | |
8669 | |
8670 * fontset.c (Valternative_fontname_alist): New variable. | |
8671 (syms_of_fontset): Declare Lisp variable alternative-fontname-alist. | |
8672 | |
8673 * fontset.h (Valternative_fontname_alist): Extern it. | |
8674 | |
8675 * term.c (insert_glyphs): Fix a bug which turns up when | |
8676 TS_ins_multi_chars is 0. | |
8677 | |
8678 1997-03-18 Kenichi Handa <handa@etl.go.jp> | |
8679 | |
8680 * xterm.c (x_list_fonts): Comment about cached font list added. | |
8681 | |
8682 * fns.c (map_char_table): Handle multibyte characters. | |
8683 | |
8684 * lisp.h (CHAR_TABLE_ORDINARY_SLOTS): Change to 384 (== 256 + 128). | |
8685 (CHAR_TABLE_STANDARD_SLOTS): Adjusted for the above change. | |
8686 (CHAR_TABLE_SINGLE_BYTE_SLOTS): New macro. | |
8687 (CHAR_TABLE_REF, CHAR_TABLE_SET): New macros. | |
8688 | |
8689 * data.c (Faref, Faset): Adjusted for the above change. | |
8690 | |
8691 * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Likewise. | |
8692 | |
8693 * category.h (CATEGORY_SET): Likewise. | |
8694 | |
8695 * category.c (Fmodify_category_entry): Likewise. | |
8696 | |
8697 * keymap.c (describe_vector): Likewise. | |
8698 (push_key_description): A key code less than 512 is printed with 3 | |
8699 octal numbers. Print only entries of valid charsets. | |
8700 | |
8701 * disptab.h (GLYPH_FOLLOW_ALIASES): Assure that the resulting G | |
8702 contains valid character code. | |
8703 | |
8704 * xdisp.c (copy_part_of_rope): Declare glyph as type GLYPH. For a | |
8705 invalid character code, use ' ' (space). | |
8706 (display_string, display_text_line): Check validity of character | |
8707 code before calling fix_glyph. | |
8708 | |
8709 * term.c (encode_terminal_code): Check validity of character code. | |
8710 | |
8711 * charset.h (MAX_CHARSET): Definition changed to the actual | |
8712 maximum valid charset. | |
8713 (MAX_CHAR): New macro. | |
8714 | |
8715 * charset.c, coding.h, coding.c, fontset.h, fontset.c, xselect.c: | |
8716 Adjusted for the above change. | |
8717 | |
8718 * charset.c (str_cmpchar_id): Return -1 if we have no more room | |
8719 for a new composite character. | |
8720 (Fmake_char_internal): Docstring is moved to lisp/mule.el. | |
8721 | |
8722 * fontset.h (struct font_info): Typo in comment of | |
8723 `relative_compose' fixed. | |
8724 | |
8725 1997-03-14 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
8726 | |
8727 * window.c (change_window_height): Handle shrink as well as enlarge. | |
8728 | |
8729 1997-03-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
8730 | |
8731 * buffer.c (reset_buffer): Initialize display_count slot. | |
8732 | |
8733 * search.c (Freplace_match): Give error if | |
8734 NEWTEXT uses backslash in an invalid way. | |
8735 | |
8736 1997-03-10 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
8737 | |
8738 * lisp.h (FAST_MAKE_GLYPH): Don't cast CHAR arg; character codes | |
8739 are now wider than C chars. | |
8740 | |
8741 1997-03-09 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
8742 | |
8743 * buffer.c (Fkill_buffer): Call frames_discard_buffer. | |
8744 (record_buffer): Move buffer to front of frame_buffer_list. | |
8745 (Fother_buffer): Use frame_buffer_list. | |
8746 | |
8747 * frame.h (struct frame): New field buffer_list. | |
8748 | |
8749 * frame.c (frame_buffer_list, set_frame_buffer_list): New functions. | |
8750 (store_frame_param): Handle buffer-list parameter. | |
8751 (Qbuffer_list): New variable. | |
8752 (syms_of_frame_1): Initialize it. | |
8753 (make_frame): Initialize buffer_list field. | |
8754 (Fframe_parameters): Handle buffer-list parameter. | |
8755 (frames_discard_buffer): New function. | |
8756 (make_frame): Initialize buffer_list. | |
8757 | |
8758 * alloc.c (mark_object): Mark the buffer_list field. | |
8759 | |
8760 1997-03-05 Ken'ichi Handa <handa@etl.go.jp> | |
8761 | |
8762 * coding.c (decode_eol): Fix bug of converting CRLF to LF. | |
8763 | |
8764 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp> | |
8765 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8766 * indent.c (compute_motion): When POS >= TO, don't call |
25865 | 8767 find_before_next_newline as it assumes POS < TO. |
8768 | |
8769 1997-03-02 Ken'ichi Handa <handa@etl.go.jp> | |
8770 | |
8771 * category.h (CATEGORY_SET): Cast arg C to | |
8772 `unsigned char' before indexing category table directly. | |
8773 | |
8774 1997-03-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
8775 | |
8776 * process.c (wait_reading_process_input): If wait_for_cell, | |
8777 ignore subprocess input and respond only to keyboard. | |
8778 (non_process_wait_mask): New variable. | |
8779 (add_keyboard_wait_descriptor): Update it. | |
8780 (delete_keyboard_wait_descriptor): Update it. | |
8781 (init_process): Initialize it. | |
8782 | |
8783 1997-03-01 NIIBE Yutaka <gniibe@mri.co.jp> | |
8784 | |
8785 * gmalloc.c [__GLIBC__ >= 2]: Don't declare __getpagesize. | |
8786 | |
8787 1997-02-28 Tomohiko MORIOKA <morioka@jaist.ac.jp> | |
8788 | |
8789 * coding.c (create_process, Fopen_network_stream): Typo in indexes | |
8790 of array proc_encode_coding_system fixed. | |
8791 | |
8792 1997-02-28 Kenichi HANDA <handa@etl.go.jp> | |
8793 | |
8794 * Makefile.in (lisp, shortlisp): Add lao.elc. | |
8795 | |
8796 * buffer.c (init_buffer_once): Make member | |
8797 enable_multibyte_characters of struct buffer not always local. | |
8798 (reset_buffer): Do not reset b->enable_multibyte_characters. | |
8799 (syms_of_buffer): Declare default-enable-multibyte-characters. | |
8800 | |
8801 * category.h (CATEGORY_SET): For a composite character, return | |
8802 category set of the first component. | |
8803 | |
8804 * ccl.c (Fregister_ccl_program): Escape newlines in docstring. | |
8805 | |
8806 * coding.h (struct iso2022_spec): Member requested_designation is | |
8807 changed to array of `char' just for saving memory. | |
8808 (CODING_FLAG_ISO_INIT_AT_BOL, CODING_FLAG_ISO_DESIGNATE_AT_BOL): | |
8809 New macros. | |
8810 | |
8811 * coding.c (setup_coding_system): Now, flags of ISO2022 coding | |
8812 systems contains charsets instead of charset IDs. Correct setting | |
8813 coding->symbol and coding->eol_type. The performance improved. | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
8814 (encode_coding): Fix typo ("=" -> "=="). |
25865 | 8815 (detect_coding_iso2022, decode_coding_iso2022): Make the code |
8816 robust against invalid SI and SO. | |
8817 (ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is deleted. | |
8818 Don't call ENCODE_DESIGNATION if nothing designated initially. | |
8819 (encode_designation_at_bol) New function. | |
8820 (encode_coding_iso2022): Handle CODING_FLAG_ISO_INIT_AT_BOL and | |
8821 CODING_FLAG_ISO_DESIGNATE_AT_BOL. | |
8822 (detect_coding_iso2022): Detect coding-category-iso-8-2 more | |
8823 precisely. | |
8824 (Ffind_coding_system, syms_of_coding): Escape newlines in | |
8825 docstring. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8826 |
25865 | 8827 * charset.h (INC_POS, DEC_POS): Don't increase or decrease too |
8828 much if there's binary code (invalid character code). | |
8829 | |
8830 * data.c (Faref, Faset): Handle a composite char correctly in | |
8831 char-table. | |
8832 | |
8833 * disptab.h (DISP_CHAR_VECTOR): Allow bare 8-bit in display-table. | |
8834 | |
8835 * charset.c (Fcmpchar_cmp_rule): Escape newlines in docstring. | |
8836 | |
8837 * editfns.c (Fuser_full_name): Likewise. | |
8838 | |
8839 * fileio.c (Finsert_file_contents, Fwrite_region): Do not perform | |
8840 character code conversion if enable-multibyte-characters is nil. | |
8841 | |
8842 * fontset.h (Vuse_default_ascent): Extern. | |
8843 | |
8844 * fontset.c (syms_of_fontset): Intern Qfontset. Declare new lisp | |
8845 variable use-default-ascent. | |
8846 (Vuse_default_ascent): New variable. | |
8847 (Ffont_info): Return also the value of default-ascent of a font. | |
8848 (fs_load_font): Disable updating fontsetp->height by non-ASCII | |
8849 character sets. This should be enabled when Emacs supports | |
8850 variable height lines. | |
8851 (fs_load_font, Fset_fontset_font): Bug fix to cope | |
8852 with the change of charsets to symbols. | |
8853 | |
8854 * keymap.c (describe_vector): Do not describe deeper char-table if | |
8855 enable-multibyte-characters is nil. | |
8856 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8857 * process.c (proc_decode_coding_system, proc_encode_coding_system): |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8858 Changed to array of pointers to struct coding_system to reduce the |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8859 size of dumped Emacs. |
25865 | 8860 (create_process, Fopen_network_stream): Allocate them dynamically. |
8861 (init_process): Initialize these pointers to NULL. | |
8862 (Fstart_process, Fopen_network_stream): Do not perform character | |
8863 code conversion if enable-multibyte-characters is nil. | |
8864 | |
8865 * search.c (skip_chars): If enable-multibyte-characters is nil, | |
8866 don't handle multibyte characters. | |
8867 | |
8868 * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Cast arg C to | |
8869 `unsigned char' before indexing syntax table directly. | |
8870 | |
8871 * syntax.c (init_syntax_once): Add trick to avoid compiler warning | |
8872 of "comparison is always 1 ...". | |
8873 (describe_syntax): Handle the case that the argument VALUE is | |
8874 char-table. | |
8875 | |
8876 * xdisp.c (display_mode_line): Avoid error while compiling with | |
8877 --with-x=no. | |
8878 | |
8879 * xfns.c (syms_of_xfns): Documentation of | |
8880 x-pixel-size-width-font-regexp modified. | |
8881 | |
8882 * xselect.c (lisp_data_to_selection_data, selection_data_to_lisp_data): | |
8883 Remove prefix "coding-system-" from coding system symbol names. | |
8884 | |
8885 * xterm.h (struct x_display_info): New member | |
8886 Xatom_MULE_DEFAULT_ASCENT. | |
8887 | |
8888 * xterm.c (dumpglyphs): Pay attention to characters registered in | |
8889 use-default-ascent. Fill background in advance if font has | |
8890 non-zero _MULE_BASELINE_OFFSET property. | |
8891 (x_load_font, x_term_init): Handle font property | |
8892 _MULE_DEFAULT_ASCENT. | |
8893 | |
8894 1997-02-28 NIIBE Yutaka <gniibe@mri.co.jp> | |
8895 | |
8896 * sysdep.c: `ospeed' should be short if not HAVE_TERMIO_H. | |
8897 | |
8898 * xdisp.c (display_text_line): Correct displaying multi-column | |
8899 binary data. | |
8900 (try_window_id): Display blank lines from the next line, when | |
8901 xp.bufpos == ZV. (This bug is introduced by changes of Mule). | |
8902 Compare height against xp.vpos instead of xp.bufpos. | |
8903 | |
8904 1997-02-27 Erik Naggum <erik@naggum.no> | |
8905 | |
8906 * lread.c (Fload): Call Vload_source_file_function with 4 args. | |
8907 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8908 1997-02-22 Tsugutomo ENAMI <enami@ba2.so-net.or.jp> |
25865 | 8909 |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
8910 * regex.c: Include charset.h and category.h. |
25865 | 8911 |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8912 [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8913 (SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8914 (STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2): |
25865 | 8915 New dummy macros. |
8916 | |
8917 (enum re_opcode_t): New member categoryspec and | |
8918 notcategoryspec. | |
8919 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8920 (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8921 (CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8922 (CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8923 (CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABL) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8924 (CHARSET_PAST_RANGE_TABLE): New macros. |
25865 | 8925 |
8926 (TRANSLATE): Cast return value to unsigned char, not char. | |
8927 | |
8928 (struct range_table_work_area): New structure. | |
8929 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8930 (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8931 (FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8932 (RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros. |
25865 | 8933 (FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA. |
8934 | |
8935 (regex_compile): Declare `c' and `c1' as int to store | |
8936 multibyte characters. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
8937 Declare range_table_work and initialize it. |
25865 | 8938 Initialize bufp->multibyte to 0 if not emacs. |
8939 For case '[' and `default', code re-written to handle | |
8940 multibyte characters. | |
8941 Add code for case 'c' and 'C' to handle category spec. | |
8942 | |
8943 (re_compile_fastmap): New local variables k, simple_char_max, | |
8944 and match_any_multibyte_characters. | |
8945 Use macro CHARSET_BITMAP_SIZE. | |
8946 Handle multibyte characters in cases charset, charset_not, | |
8947 wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec, | |
8948 categoryspec, notcategoryspec. | |
8949 | |
8950 (STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros. | |
8951 | |
8952 (re_search_2): Code re-written to handle multibyte characters. | |
8953 | |
8954 (AT_WORD_BOUNDARY): Macro disabled. | |
8955 | |
8956 (re_match_2_internal): New local variable multibyte. `d' is | |
8957 incremented while paying attention to multibyte characters if | |
8958 necessary. | |
8959 For case charset, charsetnot, wordbound, notwordbound, | |
8960 wordbeg, wordend, matchsyntax, and matchnotsyntax, code | |
8961 re-written to handle multibyte characters. | |
8962 Add code for case categoryspec and notcategoryspec. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
8963 |
25865 | 8964 * regex.h (struct re_pattern_buffer): New member multibyte. |
8965 | |
8966 1997-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
8967 | |
8968 * window.c (Fset_window_buffer): Increment display_count | |
8969 if it is an integer. | |
8970 | |
8971 * buffer.c (init_buffer_once): Set up display_count. | |
8972 (syms_of_buffer): Set up Lisp variable. | |
8973 | |
8974 * buffer.h (struct buffer): New field display_count. | |
8975 | |
8976 1997-02-20 NIIBE Yutaka <gniibe@mri.co.jp> | |
8977 | |
8978 * dispnew.c (direct_output_forward_char): #if-0-out redundant | |
8979 check against truncated text at end of line. | |
8980 Add giving-up for buffers with reverse direction. | |
8981 (remake_frame_glyphs): Use FRAME_MESSAGE_BUF_SIZE | |
8982 instead of FRAME_WIDTH, as the message may include multi-byte | |
8983 character and the length may be longer than width. | |
8984 (width_run_cache_on_off): Disable width-run-cache when | |
8985 multi-byte characters are enabled. | |
8986 (skip_invisible): Don't put the boundary in the middle of | |
8987 multibyte characters. | |
8988 | |
8989 * indent.c (current_column_bol_cache): New variable. This makes | |
8990 move_to_column faster. | |
8991 (current_column): Set current_column_bol_cache. | |
8992 (current_column_1): Likewise. | |
8993 (Fmove_to_column): Use current_column_bol_cache. | |
8994 | |
8995 * xdisp.c (display_text_line): Introduce new local variable | |
8996 rev_dir_bit to display right to left characters (not yet used). | |
8997 * xdisp.c (message): Use FRAME_MESSAGE_BUF_SIZE. | |
8998 (redisplay_internal): Add canceling code for continuation at | |
8999 wide-column. | |
9000 (display_text_line): Don't just decrement left_edge->bufpos, | |
9001 it may be multi-byte character, use DEC_POS instead. | |
9002 | |
9003 1997-02-20 NIIBE Yutaka <gniibe@mri.co.jp> | |
9004 | |
9005 Handle multi-byte and wide-column character in computing columns. | |
9006 Note that we will find the continuation (linebreak) _AFTER_ it | |
9007 occurs. | |
9008 | |
9009 * indent.c (current_column): When the buffer may have multi-byte | |
9010 characters, call current_column_1. | |
9011 (compute_motion): Handle multi-byte characters. | |
9012 (current_column_1): Likewise. | |
9013 (Fmove_to_column): Likewise. | |
9014 | |
9015 1997-02-20 NIIBE Yutaka <gniibe@mri.co.jp> | |
9016 | |
9017 Tab offset calculation changes. We need this change because the | |
9018 line may be less than WIDTH columns because of wide-character | |
9019 continuation. | |
9020 | |
9021 * indent.h (struct position): New member tab_offset to accumulate | |
9022 tab offset. | |
9023 | |
9024 * xdisp.c (try_window): Change the way of calculation of tab | |
9025 offset. We now use val.tab_offset to maintain tab offset. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9026 Removed local variable tab_offset. |
25865 | 9027 (try_window_id): Likewise. |
9028 | |
9029 * indent.c: Include "charset.h". | |
9030 (compute_motion): Remove the variable PREV_VPOS. | |
9031 Introduce new local variables (multibyte, wide_column, prev_pos, | |
9032 contin_hpos, prev_tab_offset) to handle multi-byte characters and | |
9033 wide-column characters. | |
9034 | |
9035 (pos_tab_offset): Return COL (Modulo is no longer valid). | |
9036 Add the line to set tab_offset member. | |
9037 Use pos.tab_offset. | |
9038 | |
9039 1997-02-20 NIIBE Yutaka <gniibe@mri.co.jp> | |
9040 | |
9041 * window.c (Fpos_visible_in_window_p): Bug fix. Specify big | |
9042 negative number for the argument TOHPOS of compute_motion. | |
9043 We don't need to calculate to (HPOS==0), but can stop immediately | |
9044 when VPOS pasts HEIGHT. | |
9045 * xdisp.c (redisplay_window): Likewise. | |
9046 (try_window_id): Likewise. | |
9047 | |
9048 * indent.c (pos_tab_offset): Specify "- (1 << (BITS_PER_SHORT - 1))" | |
9049 to express big negative number (for consistency with xdisp.c). | |
9050 | |
9051 1997-02-20 NIIBE Yutaka <gniibe@mri.co.jp> | |
9052 | |
9053 * indent.c (vmotion): Specify "1 << (BITS_PER_SHORT - 1)" to | |
9054 express "Don't care". | |
9055 * xdisp.c (tri_window_id): Likewise. | |
9056 | |
9057 * dispnew.c (direct_output_forward_char): Bug fix. Add | |
9058 XFASTINT (w->left) for losing cursor check. | |
9059 | |
9060 1997-02-20 Kenichi HANDA <handa@etl.go.jp> | |
9061 | |
9062 * Makefile.in: The following changes are for new source codes | |
9063 related to Mule. | |
9064 (XOBJ): Include fontset.o. | |
9065 (obj): Include charset.o, coding.o, category.o, and ccl.o. | |
9066 (lisp, shortlisp): Include Mule related elc files. | |
9067 (buffer.o, cmds.o, dispnew.o, doprnt.o): Depend on charset.h. | |
9068 (editfns.o, indent.o, insdel.o, keymap.o): Depend on charset.h. | |
9069 (minibuf.o, xdisp.o, xfaces.o, xselect.o): Depend on charset.h. | |
9070 (data.o, print.o, lread.o): Depend on charset.h. | |
9071 (callproc.o, fileio.o, process.o, term.o): Depend on charset.h and | |
9072 coding.h. | |
9073 (regex.o, search.o, syntax.o): Depend on charset.h and category.h. | |
9074 (fontset.o): Depend on charset.h and fontset.h. | |
9075 (xterm.o): Depend on charset.h, ccl.h, and fontset.h. | |
9076 (category.o, ccl.o, charset.o, coding.o, fontset.o): New targets. | |
9077 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9078 * alloc.c (Fmake_char_table): Typo in doc-string fixed. |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9079 Handle the case that PURPOSE is nil (in a deeper char-table). |
25865 | 9080 (Fmake_bool_vector): Make correct size of Lisp_Object for |
9081 bool-vector. | |
9082 | |
9083 * buffer.c: Include charset.h. | |
9084 (Fget_buffer_create): Allocate an extra byte for a buffer, and | |
9085 make it always 0 for anchoring. | |
9086 (reset_buffer): Handle a new member `enable_multibyte_characters' | |
9087 in the struct buffer. | |
9088 (fix_overlay_before): New function. | |
9089 (init_buffer_once): Handle new members in the struct buffer. | |
9090 (syms_of_buffer): Declare new buffer local variables | |
9091 `enable-multibyte-characters' and `direction-reserved'. | |
9092 | |
9093 * buffer.h (BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR. | |
9094 (Z_ADDR, BUF_GPT_ADDR, BUF_Z_ADDR): New macros. | |
9095 (struct buffer): New members `category_table', | |
9096 `direction_reserved', and `enable-multibyte-characters'. | |
9097 (POS_ADDR): New macro used at all places instead of &FETCH_CHAR. | |
9098 (FETCH_BYTE): New macro used at any places to check the argument | |
9099 against an ASCII character. | |
9100 (FETCH_MULTIBYTE_CHAR): New macro used at any places to get a | |
9101 character code of the argument when it is known to be a multibyte | |
9102 character. | |
9103 (_fetch_multibyte_char_p, _fetch_multibyte_char_len): New | |
9104 variables. | |
9105 (FETCH_CHAR): Use macros FETCH_MULTIBYTE_CHAR and FETCH_BYTE. | |
9106 | |
9107 * callint.c (doc-string of `interactive'): Describe new code | |
9108 letters `i', `z', and `Z'. | |
9109 (Fcall_interactively): Handle them. | |
9110 | |
9111 * callproc.c: Include charset.h and coding.h. | |
9112 (Fcall_process): Perform character code conversion of a process | |
9113 arguments and the process output. | |
9114 (Fcall_process_region): Encode coding of a text given to a | |
9115 process. | |
9116 | |
9117 * cmds.c: Include charset.h. | |
9118 (forward_point, Fforward_point): New functions. | |
9119 (Fforward_char, Fdelete_char): Handle multibyte characters by | |
9120 calling forward_point. | |
9121 (Fdelete_backward_char): Pay attention to multibyte characters | |
9122 in overwrite-mode. | |
9123 (internal_self_insert): Handle self inserting a multibyte | |
9124 character. | |
9125 (syms_of_cmds): Handle the new function Fforward_point. | |
9126 | |
9127 * data.c: Include charset.h. | |
9128 (Qprocess): Now extern, not static. | |
9129 (Faref, Faset): Enable indexing a char table by a multibyte | |
9130 character. | |
9131 | |
9132 * dispextern.h (struct face): New members `non_ascii_gc' and | |
9133 `fontset'. | |
9134 [HAVE_FACES]: New macros FACE_NON_ASCII_GC and FACE_FONTSET. | |
9135 | |
9136 * dispnew.c: Include charset.h. | |
9137 (update_line): Handle wide-column characters. | |
9138 | |
9139 * disptab.h (DISP_CHAR_VECTOR): Always return nil for multibyte | |
9140 characters. | |
9141 | |
9142 * doprnt.c: Include charset.h. | |
9143 (doprn1): Handle multibyte characters. | |
9144 | |
9145 * editfns.c: Include charset.h. | |
9146 (Fchar_to_string, Fstring_to_char): Handle multibyte characters. | |
9147 (Fsref): New function. | |
9148 (Fgoto_char): Force point to be at a character boundary. | |
9149 (Ffollowing_char, Fpreceding_char): Handle multibyte characters. | |
9150 (Fchar_after): Handle multibyte characters. | |
9151 (Fchar_before): New function. | |
9152 (general_insert_function): New function. | |
9153 (Finsert, Finsert_and_inherit, Finsert_before_markers): Use it. | |
9154 (Finsert_char): Doc-string refer to markers of | |
9155 before-insertion-type. Handle multibyte characters. | |
9156 (Fsubst_char_in_region): Handle multibyte characters. | |
9157 (Fchar_equal): Don't consider `case' of multibyte characters. | |
9158 (syms_of_editfns): Handle the new function `char-before'. | |
9159 | |
9160 * emacs.c (main): Call several initialization function introduced | |
9161 by Mule. | |
9162 | |
9163 * eval.c (init_eval_once): Increase max_lisp_eval_depth to 300. | |
9164 | |
9165 * fileio.c: Include charset.h and coding.h. | |
9166 (READ_BUF_SIZE): New macro. | |
9167 (Finsert_file_contents): Refer to a coding system in the docstring. | |
9168 Perform character code conversion of a text read in. | |
9169 (Fwrite_region): Refer to a coding system in the docstring. | |
9170 Setup a coding system for character code conversion. | |
9171 Pass a new arg `pre_write_conversion' (Lisp function) to | |
9172 build_annotations. | |
9173 Pass a new arg `coding' to a_write. | |
9174 (build_annotations): Handle the new arg. | |
9175 (a_write): Handle the new arg `coding' by passing it to e_write. | |
9176 (WRITE_BUF_SIZE): New macro. | |
9177 (e_write): Perform character code conversion of a text to write | |
9178 out according to the new arg `coding'. | |
9179 | |
9180 * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray): | |
9181 Fix a bug of miscalculation of `size_in_chars' of a bool vector. | |
9182 (Fset_char_table_range): When range is vector, make the original | |
9183 char table deeper if necessary. | |
9184 | |
9185 * frame.c: Include "charset.h" | |
9186 [HAVE_WINDOW_SYSTEM]: Include fontset.h. | |
9187 (make_frame): Allocate member `fontset_data' of the struct frame. | |
9188 (Fdelete_frame): Free the area for the member. | |
9189 | |
9190 * frame.h (struct frame): New member `fontset_data'. | |
9191 (FRAME_MESSAGE_BUF_SIZE): New macro. | |
9192 | |
9193 * insdel.c: Include charset.h. | |
9194 (gap_left, gap_right): Put an anchor `\0' at the end of GAP. | |
9195 (adjust_markers_for_insert): If any markers are adjusted, check | |
9196 and fix the order of overlays in overlays_before. | |
9197 (make_gap): Allocate an extra byte and set to `\0' for anchoring. | |
9198 (insert1, insert_from_buffer_1): Put an anchor `\0' at the head of | |
9199 GAP. | |
9200 | |
9201 * keyboard.c (command_loop_1): Pay attention to a multibyte | |
9202 character while handling forward-char and backward-char. | |
9203 [!HAVE_NTGUI && XK_kana_A] (lispy_kana_keys): New variable. | |
9204 [!HAVE_NTGUI] (lispy_function_keys): New variable. | |
9205 (make_lispy_event) [XK_kana_A]: Handle kana keys. | |
9206 | |
9207 * keymap.c: Include charset.h. | |
9208 (push_key_description): If enable-multibyte-characters is t, use | |
9209 octal representation for a code of range 128..255 as binary. | |
9210 (Ftext_char_description): Handle multibyte characters. | |
9211 (describe_vector): Provide prettier description of a char table | |
9212 which contains multibyte characters. | |
9213 | |
9214 * lisp.h (CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros. | |
9215 (GLYPH_MASK_PADDING, GLYPH_MASK_FACE, GLYPH_MASK_CHAR): New macros. | |
9216 [HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE): | |
9217 Use CHARACTERBITS. | |
9218 [!HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE): | |
9219 New macros. | |
9220 [!HAVE_FACES] (GLYPH_CHAR, GLYPH_FACE): Mask appropriate bits. | |
9221 (Fcoding_system_p, Fcheck_coding_system): Declare external. | |
9222 (Fread_coding_system, Fread_non_nil_coding_system): Likewise. | |
9223 | |
9224 * lread.c: Include charset.h. | |
9225 (Vload_source_file_function): New variable. | |
9226 (Fload): Call Vload_source_file_function if defined while loading | |
95848 | 9227 an Emacs Lisp source file. |
25865 | 9228 (read_multibyte): New function. |
9229 (read_escape): Handle multibyte characters. | |
9230 (read1): Correct the value of size_in_chars of a bool vector. | |
9231 Handle the case `?' is followed by a multibyte character. | |
9232 (Vload_source_file_function): New variable. | |
9233 | |
9234 * minibuf.c: Include charset.h. | |
9235 (read_minibuf): Pay attention to multibyte characters in the arg | |
9236 INITIAL while handling the arg BACKUP_N. | |
9237 (scmp, Fminibuffer_complete_word): Handle multibyte characters. | |
9238 | |
9239 * print.c: Include charset.h. | |
9240 (printchar, strout): Handle multibyte characters. | |
9241 (print): Correct the value of size_in_chars of a bool vector. | |
9242 | |
9243 * process.c: Include charset.h and coding.h. | |
9244 (proc_decode_coding_system, proc_encode_coding_system): New | |
9245 variables. | |
9246 (Fstart_process, create_process, Fopen_network_stream): Setup | |
9247 coding systems for character code conversion. | |
9248 (READ_CHILD_OUTPUT): New macro. | |
9249 (read_process_output): Perform character code conversion of a | |
9250 process output. | |
9251 (send_process): Perform character code conversion of a text sent | |
9252 to a process. | |
9253 (Fset_process_coding_system, Fprocess_coding_system): New | |
9254 functions. | |
9255 (syms_of_process): Handle them. | |
9256 | |
9257 * process.h (struct Lisp_Process): New members | |
9258 decode_coding_system, decoding_buf, encode_coding_system, and | |
9259 encoding_buf. | |
9260 | |
9261 * puresize.h (BASE_PURESIZE): Increase. | |
9262 | |
9263 * search.c: Include category.h and charset.h. | |
9264 (compile_pattern_1): Handle new argument `multibyte'. | |
9265 (compile_pattern): Handle the flag `enable-multibyte-characters'. | |
9266 (Vascii_downcase_table): Declare external. | |
9267 (fast_string_match_ignore_case): New function. | |
9268 (skip_chars): Handle multibyte characters. | |
9269 (trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC" | |
9270 for category. | |
9271 | |
9272 * syntax.c: Include charset.h and category.h. | |
9273 (Vsyntax_code_object): New variable. | |
9274 (Fmodify_syntax_entry): Handle multibyte characters. A multibyte | |
9275 character in matching parenthesis is also handled correctly. Use | |
9276 shared object in the vector Vsyntax_code_object for an ASCII | |
9277 character. | |
9278 (describe_syntax): Handle a multibyte character in matching | |
9279 parenthesis. | |
9280 (describe_syntax_1): Describe also parent syntax tables. | |
9281 (scan_words, Fforward_comment): Handle multibyte characters. | |
9282 (scan_lists, char_quoted, Fbackward_prefix_chars): Likewise. | |
9283 (scan_sexps_forward): Likewise. | |
9284 (init_syntax_once): Initialize Vsyntax_code_object. | |
9285 Initialize Vstandard_syntax_table by share objects in | |
9286 Vsyntax_code_object. | |
9287 (syms_of_syntax): Staticpro Vsyntax_code_object. | |
9288 | |
9289 * syntax.h (SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte | |
9290 characters. | |
9291 (SYNTAX_ENTRY_FOLLOW_PARENT): New macro. | |
9292 (SYNTAX_ENTRY): Handle syntax of multibyte characters. | |
9293 (SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Don't signal error even | |
9294 if a syntax entry is not cons. | |
9295 | |
9296 * term.c: Include charset.h and coding.h. | |
9297 (TS_end_italic_mode, TS_italic_mode, TS_bold_mode): New variables. | |
9298 (TS_end_bold_mode, TS_end_underscore_mode): New variables. | |
9299 (TS_underscore_mode): New variable. | |
9300 (encode_terminal_code): New function. | |
9301 (write_glyphs, insert_glyphs): Perform character code conversion | |
9302 on output to a terminal. | |
9303 (term_init): Initialize TS_bold_mode, TS_end_bold_mode, | |
9304 TS_end_underscore_mode, and TS_underscore_mode. | |
9305 | |
9306 * xdisp.c: Include charset.h, coding.h, and process.h. | |
9307 (display_text_line): Handle multibyte characters. | |
9308 (display_mode_line): Pay attention to wide-column characters. | |
9309 (decode_mode_spec_coding): New function. | |
9310 (decode_mode_spec): Handle %-constructs `%z' and `%Z' to print | |
9311 coding system mnemonics. | |
9312 (display_string): Handle multibyte characters. | |
9313 | |
9314 * xfaces.c: Include charset.h. | |
9315 (allocate_face, copy_face, face_eq1): Handle member `fontset' of | |
9316 struct face, i.e. initialize, copy, and check it. | |
9317 (intern_face, clear_face_cache): Handle member `non_ascii_gc' of | |
9318 struct face, i.e. initialize and free it. | |
9319 (free_frame_faces): Unload font only when fontset is not used. | |
9320 Free non_ascii_gc. | |
9321 (frame_update_line_height, merge_faces, compute_base_face): Handle | |
9322 fontset. | |
9323 (recompute_base_faces): Free non_ascii_gc. | |
9324 (Fset_face_attribute_internal): Handle fontset. | |
9325 | |
9326 * xfns.c: Include charset.h and fontset.h. | |
9327 (Vx_pixel_size_width_font_regexp): New variable. | |
9328 (x_set_font): Handle fontset. | |
9329 (Fx_create_frame): Create fontsets in Vglobal_fontset_alist. | |
9330 (Fx_list_fonts): Handle fontset. | |
9331 (syms_of_xfns): Initialize Vx_pixel_size_width_font_regexp. | |
9332 Setting callback functions for fontset handler. | |
9333 | |
9334 * xselect.c: Include charset.h and coding.h. | |
9335 (QCOMPOUND_TEXT): New variable. | |
9336 (symbol_to_x_atom): Handle it. | |
9337 (selection_data_to_lisp_data): Decode a selection data if | |
9338 selection type is TEXT or COMPOUND_TEXT. | |
9339 (lisp_data_to_selection_data): Encode a text to COMPOUND_TEXT if | |
9340 it contains multibyte characters. | |
9341 (syms_of_xselect): Initialize and staticpro QCOMPOUND_TEXT. | |
9342 | |
9343 * xterm.c: Include charset.h, ccl.h, and fontset.h. | |
9344 (PER_CHAR_METRIC): New macro. | |
9345 (dumpglyphs): New argument CMPCHARP. Handle multibyte characters. | |
9346 (XTwrite_glyphs, redraw_previous_char, redraw_following_char): | |
9347 Supply argument CMPCHARP to dumpglyphs. | |
9348 (dumprectangle): Display whole glyph of wide-column characters. | |
9349 Supply argument CMPCHARP to dumpglyphs. | |
9350 (show_mouse_face): Supply argument CMPCHARP to dumpglyphs. | |
9351 (x_draw_box): Pay attention to wide-column characters. | |
9352 (x_draw_single_glyph): Supply argument CMPCHARP to dumpglyphs. | |
9353 (x_new_font): Call fs_load_font for actual font loading work. | |
9354 (x_new_fontset): New function. | |
9355 (x_get_font_info, x_list_fonts, x_load_font, x_query_font): New | |
9356 functions providing API to fontset handler. | |
9357 (x_term_init): Initialize several new members of struct x_display_info. | |
9358 | |
9359 * xterm.h (struct font_info): This definition is moved to | |
9360 fontset.h. | |
9361 (struct x_display_info): New members Xatom_PIXEL_SIZE, | |
9362 Xatom_MULE_BASELINE_OFFSET, Xatom_RELATIVE_COMPOSE, and null_pixel. | |
9363 (x_list_fonts, x_get_font_info, x_load_font, x_query_font): | |
9364 Declare external. | |
9365 (struct x_output): New members font_baseline and fontset. | |
9366 (FRAME_FONTSET, FRAME_X_FONT_TABLE): New macros. | |
9367 | |
9368 * category.h, category.c, ccl.h, ccl.c, charset.h: New files. | |
9369 * charset.c, coding.h, coding.c, fontset.h, fontset.c: New files. | |
9370 | |
9371 1997-02-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9372 | |
9373 * print.c (print): Generate a backslash in \2e10. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9374 |
25865 | 9375 1997-02-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
9376 | |
9377 * window.c (change_window_height): Take size from multiple siblings, | |
9378 nearest ones first, when that can be done without deleting any of them. | |
9379 | |
9380 1997-02-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9381 | |
9382 * minibuf.c (Fminibuffer_message): New function. | |
9383 (syms_of_minibuf): Set up Lisp function. | |
9384 | |
9385 * syntax.c (scan_lists): Signal errors using scan-error. | |
9386 (syms_of_syntax): Set up Qscan_error. | |
9387 | |
9388 1997-02-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9389 | |
9390 * lread.c (Feval_buffer): Doc fix. | |
9391 | |
9392 1997-02-03 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9393 | |
9394 * window.c (scroll_preserve_screen_position): New variable. | |
9395 (keys_of_window): Set up Lisp var. | |
9396 (window_scroll): If scroll_preserve_screen_position is 0, | |
9397 behave the old way (advancing point the minimum distance). | |
9398 | |
9399 1997-02-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9400 | |
9401 * emacs.c (main): Don't extend stack limit too far. | |
9402 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
9403 1997-02-02 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> |
25865 | 9404 |
9405 * msdos.c (dos_rawgetc): When international keyboard doesn't have | |
9406 to be supported, recognize Alt-key combinations even if the Alt | |
9407 key is no longer pressed. | |
9408 | |
9409 1997-01-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9410 | |
9411 * xfns.c (Vx_resource_class): New variable. | |
9412 (syms_of_xfns): Set up Lisp variable. | |
9413 (Fx_get_resource, x_window): Use Vx_resource_class. | |
9414 (validate_x_resource_name): Ensure Vx_resource_class is a string. | |
9415 | |
9416 1997-01-27 Paul Eggert <eggert@twinsun.com> | |
9417 | |
9418 * data.c (isnan): Define even if LISP_FLOAT_TYPE is not defined, | |
9419 since fmod might need it. | |
9420 (fmod): Ensure that the magnitude of the result does not exceed that | |
9421 of the divisor, and that the sign of the result does not disagree with | |
9422 that of the dividend. This does not yield a | |
9423 particularly accurate result, but at least it will be in the | |
9424 range promised by fmod. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9425 |
25865 | 9426 * doprnt.c: Include <float.h> if STDC_HEADERS. |
9427 (DBL_MAX_10_EXP): Define if not defined; default is IEEE double. | |
9428 (doprnt1): Allocate enough buffer space to handle very large floating | |
9429 point numbers, or very large field widths or precisions. | |
9430 Detect overflow in field widths or precisions. | |
9431 | |
9432 1997-01-26 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
9433 | |
9434 * config.in (HAVE_RINT, HAVE_CBRT): Add undefs. | |
9435 | |
9436 1997-01-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9437 | |
9438 * lread.c (openp): Handle remote file names in path. | |
9439 Don't use the path for an absolute name. | |
9440 (Fload): Handle openp finding a remote file name. | |
9441 | |
9442 1997-01-25 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
9443 | |
9444 * floatfns.c [!HAVE_RINT] (rint): Convert macro to an actual | |
9445 function, so we can take its address. | |
9446 | |
9447 1997-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | |
9448 | |
9449 * indent.c (pos_tab_offset): Take the width of the minibuffer | |
9450 prompt into account. | |
9451 (vmotion): In calls to compute_motion use a value for tab_offset | |
9452 that is corrected by the minibuffer prompt width. | |
9453 | |
9454 * xdisp.c (try_window): Remove frobnication of tab_offset in a | |
9455 minibuffer window. | |
9456 (display_text_line): Likewise, for the taboffset parameter. | |
9457 | |
9458 1997-01-24 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9459 | |
9460 * lread.c (Qinhibit_file_name_operation): New variable. | |
9461 (syms_of_lread): Initialize and staticpro. | |
9462 (Fload): Bind inhibit-file-name-operation to nil. | |
9463 | |
9464 1997-01-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9465 | |
9466 * eval.c (unbind_to, specbind): Use set_internal. | |
9467 | |
9468 * data.c (set_internal): New subroutine. New arg BINDFLAG. | |
9469 Don't make a new buffer-local binding if BINDFLAG is 0. | |
9470 (Fset): Use set_internal. | |
9471 | |
9472 1997-01-21 Paul Eggert <eggert@twinsun.com> | |
9473 | |
9474 * editfns.c (set_time_zone_rule_tz1, set_time_zone_rule_tz2): | |
9475 Put "+" in value; needed if we are a Solaris 1 executable | |
9476 running under Solaris 2. | |
9477 Define these variables only if LOCALTIME_CACHE is defined. | |
9478 | |
9479 1997-01-21 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9480 |
25865 | 9481 * msdos.c (run_msdos_command): Remove unused variables. |
9482 (crlf_to_lf): Remove unused variables. | |
9483 (Fmsdos_downcase_filename): Remove unused variable. | |
9484 (IT_set_frame_parameters): Declare prototypes for external functions. | |
9485 (IT_set_frame_parameters): Correct format specifier. | |
9486 (IT_set_terminal_modes): Remove unused variable. | |
9487 (top level): Add header files which declare used functions. | |
9488 | |
9489 1997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9490 | |
9491 * Makefile.in (stamp-oldxmenu): New target. | |
9492 (temacs): Depend on stamp-oldxmenu, not on ${OLDXMENU}. | |
9493 | |
9494 1997-01-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9495 | |
9496 * lisp.h (FAST_MAKE_GLYPH): Rename args to CHAR and FACE. | |
9497 Cast CHAR to unsigned char before using it. | |
9498 | |
9499 * xterm.c (dumpglyphs): Declare g as GLYPH. | |
9500 | |
9501 1997-01-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9502 | |
9503 * term.c (fatal): Print a newline at the end. | |
9504 (term_init): Calls to fatal changed. | |
9505 | |
9506 * eval.c (Fsignal): Call fatal if no error handlers and no catch. | |
9507 | |
9508 * dispnew.c (init_display): Check for overflow in screen size. | |
9509 Use `fatal'. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9510 |
25865 | 9511 1997-01-19 Geoff Voelker <voelker@cs.washington.edu> |
9512 | |
9513 * w32.c (init_environment): Rebuild Vsystem_configuration at startup. | |
9514 | |
9515 * w32gui.h: Update include conditionals to use new name. | |
9516 | |
9517 * w32gui.h: Renamed from win32.h. | |
9518 * dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h. | |
9519 * makefile.nt: Update header comment. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9520 |
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9521 * w32console.c (initialize_w32_display): Renamed from |
25865 | 9522 initialize_win_nt_display. |
9523 * term.c (term_init): Use new name initialize_w32_display. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9524 |
25865 | 9525 * w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c, |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9526 * w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9527 * w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95, |
25865 | 9528 winnt, and win32 into Windows 95, Windows NT, and W32, respectively. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9529 Expand "win" substring in variables referring to Microsoft Windows |
25865 | 9530 constructs into "windows". |
9531 Canonicalize header comments to use same terminology. | |
9532 | |
9533 1997-01-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9534 | |
9535 * search.c (skip_chars): Optimize by not calling SET_PT in the loop. | |
9536 | |
9537 1997-01-16 Erik Naggum <erik@naggum.no> | |
9538 | |
9539 * keymap.c (push_key_description): Print C-j, not LFD. | |
9540 | |
9541 1997-01-16 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> | |
9542 | |
9543 * msdos.c (XMenuActivate): Don't allow non-positive menu | |
9544 coordinates. | |
9545 | |
9546 1997-01-15 Eli Zaretskii <eliz@is.elta.co.il> | |
9547 | |
9548 * keyboard.c (interrupt_signal): Make emergency exit work on MSDOS | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9549 frames. Block further SIGINTs while `interrupt_signal' runs. |
25865 | 9550 |
9551 * msdos.c (sigprocmask, sig_suspender): New functions, implement | |
9552 signal blocking on MSDOS. | |
9553 | |
9554 1997-01-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9555 | |
9556 * s/hpux9.h (HAVE_PSTAT_GETDYNAMIC): New definition. | |
9557 | |
9558 1997-01-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9559 | |
9560 * w32.c (get_emacs_configuration): Return windows95 instead of win95. | |
9561 | |
9562 1997-01-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9563 | |
9564 * dispnew.c (change_frame_size_1): Reject new sizes if they cause | |
9565 overflow. | |
9566 | |
9567 1997-01-13 Eli Zaretskii <eliz@is.elta.co.il> | |
9568 | |
9569 * emacs.c (init_cmdargs) [MSDOS]: Allow `installation-directory' | |
9570 to be set if either `lib-src' or `info' are found as its | |
9571 subdirectories or siblings. | |
9572 | |
9573 1997-01-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9574 | |
9575 * fns.c (concat): Take modulus of thisindex before shifting. | |
9576 Declare thisindex as unsigned. | |
9577 | |
9578 1997-01-12 Geoff Voelker <voelker@cs.washington.edu> | |
9579 | |
9580 * w32menu.c (x-popup-menu): Pass in insist flag to mouse_position_hook. | |
9581 | |
9582 1997-01-11 Paul Eggert <eggert@twinsun.com> | |
9583 | |
9584 * floatfns.c (rounding_driver): New function for systematic support of | |
9585 2-argument rounding functions, so that `floor' isn't the only one | |
9586 that supports 2 arguments. | |
9587 (Fceiling, Ffloor, Fround, Ftruncate): Use it. | |
9588 (ceiling2, floor2, round2, truncate2, double_identity): New functions. | |
9589 (syms_of_floatfns): Define ceiling, round, and truncate even if | |
9590 LISP_FLOAT_TYPE is not defined. | |
9591 | |
9592 1997-01-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9593 | |
9594 * lread.c (read1): Round size of bool-vector properly. | |
9595 | |
9596 * print.c (print): Round size of bool-vector properly. | |
9597 | |
9598 * lread.c (read1): Fix error messages. | |
9599 | |
9600 1997-01-09 Steve Nygard <nygard@telusplanet.net> | |
9601 | |
9602 * unexnext.c: Include <mach-o/reloc.h>. | |
9603 (fgrowth): Initialize to zero. | |
9604 (vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables. | |
9605 [NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables. | |
9606 (unexec_doit): Adjust file offsets of segments that follow the | |
9607 enlarged data segment. Adjust vmaddr of the SEG_LINKEDIT segment that | |
9608 follows the data segment. | |
9609 [NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load | |
9610 command that follows the data segment. Zero out relocation entries | |
9611 that fall within the data segment. | |
9612 | |
9613 1997-01-07 Karl Berry <karl@cs.umb.edu> | |
9614 | |
9615 * filelock.c (LOCK_PID_MAX): Use sizeof (unsigned long) instead | |
9616 of hardwiring 21. | |
9617 (lock_file_1): Use LOCK_PID_MAX when allocating lock_info_str | |
9618 instead of hardwiring 21. | |
9619 | |
9620 1997-01-06 Eli Zaretskii <eliz@is.elta.co.il> | |
9621 | |
9622 * msdos.c (bright_bg): Save the original state of video blink bit. | |
9623 (maybe_enable_blinking): New function, restores the original state | |
9624 of the blink bit. | |
9625 (IT_reset_terminal_modes): Restore the original state of the blink | |
9626 bit when suspending/exiting. | |
9627 (run_msdos_command): Make sure bright background colors are again | |
9628 enabled after subsidiary program returns. | |
9629 | |
9630 1997-01-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9631 | |
9632 * data.c (Fset_default): For a BUFFER_OBJFWD, store into | |
9633 buffer_defaults even if mask < 0. | |
9634 | |
9635 1997-01-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9636 | |
9637 * keyboard.c (command_loop_1, read_char): | |
9638 Run Qecho_area_clear_hook when clearing echo area. | |
9639 (Qecho_area_clear_hook): New variable. | |
9640 (syms_of_keyboard): Initialize it. | |
9641 | |
9642 * buffer.c (Fpop_to_buffer): New arg NORECORD. | |
9643 | |
9644 1997-01-04 Geoff Voelker <voelker@cs.washington.edu> | |
9645 | |
9646 * w32proc.c (compare_env, merge_and_sort_env): New functions. | |
9647 (sys_spawnve): Sort environment variables for subprocess. | |
9648 (ppid_env_var_buffer): Variable deleted. | |
9649 | |
9650 1997-01-02 Karl Berry <karl@cs.umb.edu> | |
9651 | |
9652 * filelock.c (lock_info_type): Declare pid as unsigned long | |
9653 instead of int. | |
9654 (lock_file_1): Use %lu instead of %d in printf. | |
9655 | |
9656 1997-01-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9657 | |
9658 * cmds.c (internal_self_insert): Check the property | |
9659 on the hook, not on the abbrev symbol. | |
9660 | |
9661 * dispnew.c (update_frame): Call detect_input_pending | |
9662 for X as well as for termcap frames. | |
9663 | |
9664 1996-12-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9665 | |
9666 * bytecode.c (HANDLE_RELOCATION): New macro. | |
9667 (MAYBE_GC): Call HANDLE_RELOCATION. Swallow following semicolon. | |
9668 (Fbyte_code): Use HANDLE_RELOCATION. | |
9669 | |
9670 1996-12-31 Paul Eggert <eggert@twinsun.com> | |
9671 | |
9672 * s/nextstep.h, s/sco4.h (BROKEN_MKTIME): New macro. | |
9673 * Makefile.in (MKTIME_OBJ), config.in (mktime): | |
9674 Use BROKEN_MKTIME to determine whether mktime is broken. | |
9675 | |
9676 1996-12-30 Paul Eggert <eggert@twinsun.com> | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9677 |
25865 | 9678 * data.c, floatfns.c: <float.h>: Include if STDC_HEADERS. |
9679 (IEEE_FLOATING_POINT): New symbol. | |
9680 * data.c (float_arith_driver, Fmod), floatfns.c (Ffloor): | |
9681 Test for division by 0 only if ! IEEE_FLOATING_POINT. | |
9682 * floatfns.c (fmod_float): New function. | |
9683 | |
9684 * Makefile.in (MKTIME_OBJ): Use our mktime instead of SCO | |
9685 3.2v4.2's, since SCO's botches time arithmetic as used by display-time. | |
9686 | |
9687 1996-12-30 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9688 | |
9689 * bytecode.c (Fbyte_code): Add error check for jumping out of range. | |
9690 | |
9691 * s/hiuxmpp.h, m/sr2k.h: New files. | |
9692 | |
9693 1996-12-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9694 | |
9695 * Makefile.in (process.o): Depend on blockinput.h. | |
9696 | |
9697 * process.c: Include blockinput.h. | |
9698 (create_process): Block input around the fork. | |
9699 | |
9700 1996-12-27 Karl Berry <karl@owl.HQ.Ileaf.COM> | |
9701 | |
9702 * filelock.c: Total rewrite. | |
9703 | |
9704 1996-12-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9705 | |
9706 * data.c (Ffset): Change argument name and doc string. | |
9707 (Fdefalias): Likewise. | |
9708 | |
9709 1996-12-26 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
9710 | |
9711 * xterm.c (x_iconify_frame): Clear visible when we set iconified. | |
9712 | |
9713 1996-12-25 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
9714 | |
9715 * window.c (window_scroll): Preserve vpos of point | |
9716 if we cannot preserve the actual position of it. | |
9717 Make it static. New arg WHOLE; callers changed. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9718 |
25865 | 9719 * keyboard.c (read_char_x_menu_prompt): Unread and record all the |
9720 input events from here. | |
9721 (record_menu_key): New subroutine. | |
9722 | |
9723 * xmenu.c (single_keymap_panes): New arg DEPTH. | |
9724 Cut off recursion at that depth. Callers changed. | |
9725 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9726 1996-12-23 Eli Zaretskii <eliz@is.elta.co.il> |
25865 | 9727 |
9728 * msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed | |
9729 for international keyboard support. | |
9730 (dos_get_modifiers): If international keyboard support is NOT | |
9731 required, make both Right and Left Alt key behave like Meta key. | |
9732 | |
9733 1996-12-22 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
9734 | |
9735 * emacs.c (standard_args): Add -find-file and -visit. | |
9736 | |
9737 * cmds.c (internal_self_insert): If the abbrev has no expansion, | |
9738 just a hook, inhibit the insertion of the character. | |
9739 | |
9740 * abbrev.c (Fexpand_abbrev): Return the abbrev symbol, | |
9741 or nil if no expansion. | |
9742 | |
9743 1996-12-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9744 | |
9745 * xdisp.c (try_window): Add error check for POS. | |
9746 | |
9747 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9748 | |
9749 * s/nextstep.h (LD_SWITCH_SYSTEM): Use just -X. | |
9750 (LIB_STANDARD): Alternate definition if NS_TARGET. | |
9751 | |
9752 * xfns.c (x_set_title): Check data type of NAME. | |
9753 | |
9754 * search.c (Fmatch_data): Doc fix. | |
9755 | |
9756 1996-12-19 Werner Benger <werner@ast1.uibk.ac.at> | |
9757 | |
9758 * keyboard.c (modify_event_symbol): | |
9759 Don't index thru name_table if it is null. | |
9760 | |
9761 1996-12-19 Erik Naggum <erik@naggum.no> | |
9762 | |
9763 * process.c (read_process_output, exec_sentinel): | |
9764 * w32menu.c (set_frame_menubar): | |
9765 * xdisp.c (prepare_menu_bars, update_menu_bar): | |
9766 * xmenu.c (set_frame_menubar): | |
9767 Call Fmatch_data with new explicit arguments. | |
9768 | |
9769 1996-12-18 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9770 | |
9771 * search.c (Fmatch_data): New args INTEGERS and REUSE. | |
9772 | |
9773 * process.c (send_process) [EMACS_HAS_USECS]: | |
9774 When we wait for the buffer to clear, wait just .02 second. | |
9775 | |
9776 * intervals.c (adjust_intervals_for_insertion): | |
9777 Be smarter about when to split an interval | |
9778 for properties that are not sticky on either side. | |
9779 | |
9780 * intervals.h (FRONT_NONSTICKY_P): New macro. | |
9781 | |
9782 * intervals.c (set_point): Use virtual bounds, not real bounds, | |
9783 in the abort test for POSITION. | |
9784 Skip the intangibility test if POSITION is at either end of buffer. | |
9785 | |
9786 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com> | |
9787 | |
9788 * config.in (HAVE_LIBMAIL, HAVE_MAILLOCK_H, HAVE_TOUCHLOCK): | |
9789 Add #undefs. | |
9790 | |
9791 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9792 | |
9793 * fileio.c (Finsert_file_contents): Handle BEG and END non-nil | |
9794 when REPLACE is non-nil. | |
9795 | |
9796 1996-12-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9797 | |
9798 * intervals.c (merge_properties_sticky): Don't discard explicit nil | |
9799 properties. Don't put on a front-sticky property if we inherit | |
9800 one from the category that does the job. | |
9801 | |
9802 * config.in (HAVE_LIMITS_H): Add #undef. | |
9803 | |
9804 1996-12-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9805 | |
9806 * intervals.c (set_point): Check for intangible properties | |
9807 on overlays. | |
9808 | |
9809 * textprop.c (Fnext_char_property_change): New function. | |
9810 (Fprevious_char_property_change): New function. | |
9811 (syms_of_textprop): defsubr them. | |
9812 | |
9813 1996-12-14 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> | |
9814 | |
9815 * editfns.c (Fuser_full_name): Return nil if the specified user | |
9816 doesn't exist. | |
9817 (init_editfns): Set Vuser_full_name to "unknown" if the user name | |
9818 can't be resolved. | |
9819 | |
9820 1996-12-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9821 | |
9822 * strftime.c: Replace this with the version from libc. | |
9823 | |
9824 1996-12-12 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9825 | |
9826 * xfns.c (x_set_scroll_bar_width): Reject a width that's too small. | |
9827 | |
75601 | 9828 1996-12-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
25865 | 9829 |
9830 * buffer.c (syms_of_buffer): Doc fix (transient-mark-mode). | |
9831 | |
9832 1996-12-10 Andrew Innes <andrewi@harlequin.co.uk> | |
9833 | |
9834 * fileio.c (Fwrite_region): Be careful not to destroy contents of | |
9835 existing file when appending. | |
9836 | |
9837 1996-12-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9838 | |
9839 * fileio.c (Fread_file_name_internal): Verify STRING is a string. | |
9840 (Fread_file_name): Don't insert DIR or INITIAL if it isn't a string. | |
9841 | |
9842 1996-12-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9843 | |
9844 * s/aix4-2.h: New file. | |
9845 | |
9846 1995-12-08 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> | |
9847 | |
9848 * editfns.c (Fuser_full_name): Use build_string instead of make_string. | |
9849 | |
9850 1996-12-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
9851 | |
9852 * callproc.c (Fcall_process_region): Define missing local `count'. | |
9853 | |
9854 * xdisp.c (message2_nolog): Handle minibuffer_auto_raise. | |
9855 | |
9856 * minibuf.c (syms_of_minibuf): Doc fix. | |
9857 | |
9858 1996-12-07 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> | |
9859 | |
9860 * editfns.c (Fuser_full_name): Accept a string (the login name) as | |
9861 a parameter. Do ampersand expansion, if required. | |
9862 (init_editfns): Use it. | |
9863 | |
9864 1996-12-06 Eli Zaretskii <eliz@is.elta.co.il> | |
9865 | |
9866 * msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor | |
9867 is in echo area. | |
9868 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9869 1996-12-05 Erik Naggum <erik@naggum.no> |
25865 | 9870 |
9871 * keyboard.c (syms_of_keyboard): Doc fix. | |
9872 | |
9873 1996-11-28 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
9874 | |
9875 * callproc.c (Vtemp_file_name_pattern): New variable. | |
9876 (syms_of_callproc): Set up Lisp variable. | |
9877 (init_callproc): Initialize it. | |
9878 (Fcall_process_region): Use it. | |
9879 | |
9880 * bytecode.c (MAYBE_GC): New macro. | |
9881 (Fbyte_code): Use MAYBE_GC in every goto opcode. | |
9882 | |
9883 1996-11-25 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
9884 | |
9885 * editfns.c (Fline_beginning_position, Fline_end_position): New fns. | |
9886 * cmds.c (Fend_of_line, Fbeginning_of_line): | |
9887 Use Fline_beginning_position, Fline_end_position. | |
95848 | 9888 * lisp.h (Fend_of_line, Fbeginning_of_line): Declared. |
25865 | 9889 |
9890 1996-11-23 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
9891 | |
9892 * window.c (window_scroll): Don't set w->start or w->force_start | |
9893 if signaling an error. | |
9894 | |
9895 * xmenu.c (Vmenu_updating_frame): New variable. | |
9896 (syms_of_xmenu): Set up Lisp var. | |
9897 (Fx_popup_menu, set_frame_menubar): Initialize it. | |
9898 | |
9899 1996-11-23 Erik Naggum <erik@naggum.no> | |
9900 | |
9901 * keyboard.c (syms_of_keyboard): Doc fix for num-input-keys. | |
9902 | |
9903 1996-11-22 Lars Magne Ingebrigtsen <larsi@ifi.uio.no> | |
9904 | |
9905 * editfns.c (Fuser_full_name): Accept an optional UID and return | |
9906 the full name of that user instead. | |
9907 | |
9908 1996-11-20 Andrew Innes <andrewi@harlequin.co.uk> | |
9909 | |
9910 * w32fns.c (w32_wnd_proc): Use dummy message to wake up thread on | |
9911 quit_char. | |
9912 | |
9913 1996-11-19 Eli Zaretskii <eliz@is.elta.co.il> | |
9914 | |
9915 * msdos.c [__DJGPP__ >= 2] (dos_direct_output): Faster method of | |
9916 writing characters to the screen. | |
9917 (SCREEN_SET_CURSOR): Remove. | |
9918 (IT_display_cursor): New function, to turn the cursor on and off. | |
9919 (IT_cmgoto): New function, sets the cursor to its final position | |
9920 whenever frame update is complete. | |
9921 (internal_terminal_init): Set IT_cmgoto as the hook to be called | |
9922 when frame is up to date. | |
9923 (dos_rawgetc): Call IT_cmgoto instead of the SCREEN_SET_CURSOR | |
9924 macro (which is gone now). | |
9925 (XMenuActivate): Turn off the cursor while the menu is displayed, | |
9926 to prevent it from showing through the menu panes. | |
9927 | |
9928 1996-11-19 Geoff Voelker <voelker@cs.washington.edu> | |
9929 | |
9930 * w32.c, w32.h: Renamed from nt.c, nt.h. | |
9931 * w32heap.c, w32heap.h: Renamed from ntheap.c, ntheap.h. | |
9932 * w32inevt.c, w32inevt.h: Renamed from ntinevt.c, ntinevt.h. | |
9933 * w32proc.c: Renamed from ntproc.c. | |
9934 * w32console.c: Renamed from w32term.c. | |
9935 * unexw32.c: Renamed from unexnt.c. | |
9936 * s/ms-w32.h: Renamed from s/windowsnt.h. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
9937 |
25865 | 9938 * dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system. |
9939 | |
9940 * Makefile.in, callproc.c, makefile.nt: Use new names for w32 files. | |
9941 | |
9942 1996-11-18 Geoff Voelker <voelker@cs.washington.edu> | |
9943 | |
9944 * emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h, | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9945 * ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9946 * termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c, |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
9947 * w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h: |
25865 | 9948 Change identifiers of the form win32* to w32*. |
9949 | |
9950 * window.c (special-display-p, same-window-p): Add missing | |
9951 newlines and backslashes in help strings. | |
9952 | |
9953 1996-11-12 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9954 | |
9955 * xdisp.c (redisplay_window): When handling scroll_conservatively, | |
9956 scroll a little farther for the sake of scroll_margin. | |
9957 | |
9958 1996-11-11 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9959 | |
9960 * abbrev.c (Fexpand_abbrev): If the abbrev's expansion is nil, | |
9961 don't expand it, but do still call the hook. | |
9962 (Fdefine_abbrev): Allow anything for EXPANSION. | |
9963 | |
9964 * frame.c (Fmodify_frame_parameters): Use alist in reverse order. | |
9965 | |
9966 1996-11-10 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9967 | |
9968 * process.c (status_notify): Test p->infd > 0 | |
9969 before each call to read_process_output. | |
9970 (read_process_output): Handle match data properly in recursive calls. | |
9971 (exec_sentinel): Likewise. | |
9972 | |
9973 * window.c (window_scroll): Handle scroll_margin | |
9974 by putting point at a place that won't force recentering. | |
9975 | |
9976 * xdisp.c (scroll_margin): New variable. | |
9977 (init_xdisp): Set up Lisp variable. | |
9978 (redisplay_window): Implement scroll_margin; don't use old start pos | |
9979 if point is inside the margin. | |
9980 | |
9981 1996-11-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
9982 | |
9983 * window.h (struct window): New field optional_new_start. | |
9984 * xdisp.c (redisplay_window): Handle optional_new_start. | |
9985 * window.c (Fdelete_other_windows): Set optional_new_start | |
9986 instead of force_start. | |
9987 | |
9988 * insdel.c (signal_after_change): If Vcombine_after_change_calls, | |
9989 save up changes in combine_after_change_list. | |
9990 (Fcombine_after_change_execute) | |
9991 (Fcombine_after_change_execute_1): New subroutines. | |
9992 (syms_of_insdel): New function. | |
9993 | |
9994 * emacs.c (main): Call syms_of_insdel. | |
9995 | |
9996 * fns.c: Include frame.h and window.h. | |
9997 (Fy_or_n_p): Handle minibuffer_auto_raise here. | |
9998 | |
9999 * Makefile.in (fns.o): Depend on frame.h and window.h. | |
10000 | |
10001 1996-11-08 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10002 | |
10003 * macros.c (Fcall_last_kbd_macro): Set this_command from last_command | |
10004 on entry and again on exit. | |
10005 | |
10006 1996-11-07 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10007 | |
10008 * frame.c (Fmodify_frame_parameters): Doc fix. | |
10009 | |
10010 * fileio.c (USG5 or BSD_SYSTEM or LINUX): Include fcntl.h. | |
10011 (Ffile_readable_p): Return immediately if stat fails. | |
10012 Call S_ISFIFO correctly. | |
10013 | |
10014 1996-11-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10015 | |
10016 * editfns.c (Fencode_time): Doc fix. | |
10017 | |
10018 1996-11-06 John F. Carr <carrj@polaroid.com> | |
10019 | |
10020 * dired.c (Ffile_attributes): Represent inode number as a pair of | |
10021 integers in case inode numbers do not fit in a Lisp integer. | |
10022 | |
10023 1996-11-06 Eli Zaretskii <eliz@is.elta.co.il> | |
10024 | |
10025 * msdos.c [__DJGPP_MINOR__ == 0] (_rename): New function, a | |
10026 substitute for library low-level file-renaming function which | |
10027 works around Windows 95 bug. | |
10028 | |
10029 1996-11-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10030 | |
10031 * window.c (window_loop, case GET_BUFFER_WINDOW): | |
10032 Don't find any minibuffer window | |
10033 except the one that is currently in use. | |
10034 | |
10035 1996-11-05 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10036 | |
10037 * fileio.c (S_ISFIFO): Default definition (if S_IFIFO is defined). | |
10038 | |
10039 * editfns.c (Fencode_time): Use xfree, not free. | |
10040 | |
10041 * print.c (PRINTFINISH): Use xfree, not free. | |
10042 | |
10043 1996-11-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10044 | |
10045 * xfns.c (Fx_create_frame): Look for X-resource for minibuffer. | |
10046 | |
10047 * alloc.c (Fgarbage_collect): Use Vhistory_length | |
10048 for truncating Vcommand_history. | |
10049 | |
10050 * print.c (PRINTPREPARE): Really do set free_print_buffer. | |
10051 | |
10052 * xdisp.c (scroll_conservatively): New variable. | |
10053 (redisplay_window): Obey it. | |
10054 (syms_of_xdisp): Set up Lisp var. | |
10055 | |
10056 1996-11-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10057 | |
10058 * minibuf.c (choose_minibuf_frame): Don't change selected_frame's | |
10059 selected window even if it is a minibuffer window, | |
10060 if it is active. | |
10061 | |
10062 1996-11-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10063 | |
10064 * print.c (PRINTDECLARE): Declare specpdl_count and free_print_buffer. | |
10065 (PRINTPREPARE): If print_buffer is nonzero, | |
10066 save its contents in a string using record_unwind_protect. | |
10067 (PRINTFINISH): Restore old print_buffer contents. | |
10068 Free it only if this PRINTPREPARE malloc'd it. | |
10069 (print): Don't call PRINTFULLP after all. | |
10070 (print_unwind): New function. | |
10071 | |
10072 * print.c (printchar, strout): Do QUIT for echo area output. | |
10073 (PRINTFULLP): New macro. | |
10074 (print): Exit if PRINTFULLP. | |
10075 When printing a symbol, don't save a pointer to the name. | |
10076 (PRINTFINISH): Null out print_buffer after freeing it. | |
10077 | |
10078 1996-10-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10079 | |
10080 * xterm.c (cancel_mouse_face): New function. Code copied from | |
10081 x_set_window_size, fixing a bug. | |
10082 (x_set_window_size): Use cancel_mouse_face. | |
10083 (XTread_socket): When frame size has changed, call cancel_mouse_face. | |
10084 | |
10085 * widget.c (EmacsFrameResize): Use cancel_mouse_face. | |
10086 | |
10087 1996-10-31 Erik Naggum <erik@naggum.no> | |
10088 | |
10089 Reorganize function definitions so etags finds them. | |
10090 * abbrev.c (Finsert_abbrev_table_description). | |
10091 * editfns.c (Finsert_and_inherit_before_markers). | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10092 * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10093 (Frun_hook_with_args_until_failure). |
25865 | 10094 * window.c (Fcurrent_window_configuration). |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10095 * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10096 (Fx_disown_selection_internal). |
25865 | 10097 |
10098 1996-10-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10099 | |
10100 * emacs.c (main): Clear out *Messages* before init_callproc. | |
10101 | |
10102 * keyboard.c (command_loop_1): Update selected buffer again | |
10103 after read_key_sequence. | |
10104 | |
10105 1996-10-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10106 | |
10107 * callproc.c (init_callproc): Use dir_warning. | |
10108 | |
10109 * lread.c (dir_warning): New function. | |
10110 (init_lread): Use dir_warning. | |
10111 | |
10112 1996-10-28 Erik Naggum <erik@naggum.no> | |
10113 | |
10114 * alloc.c (Fmake_char_table): Doc fix. | |
10115 | |
10116 1996-10-25 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
10117 | |
10118 * keymap.c (describe_buffer_bindings): Pass 1 for PARTIAL | |
10119 in some calls to describe_map_tree. | |
10120 | |
10121 1996-10-24 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
10122 | |
10123 * process.c (status_notify): Update p->tick again | |
10124 just before running the sentinel, in case it dies. | |
10125 | |
10126 1996-10-23 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
10127 | |
10128 * xdisp.c (decode_mode_spec): In the `L' case, | |
10129 remove a buffer from base_line_pos if window has switched buffers. | |
10130 | |
10131 1996-10-15 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10132 | |
10133 * minibuf.c (read_minibuf_unwind): Don't restore minibuf_window; | |
10134 instead call choose_minibuf_frame. | |
10135 (choose_minibuf_frame): Don't let any other frame keep its minibuf | |
10136 window selected. | |
10137 | |
10138 * xterm.c (XTread_socket, KeyPress case): Clear compose_status | |
10139 if the key has the meta modifier. | |
10140 | |
10141 1996-10-14 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10142 | |
10143 * eval.c (Vdebug_on_signal): Renamed from Vdebug_force. | |
10144 | |
10145 1996-10-13 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10146 | |
10147 * m/pmax.h (BROKEN_O_NONBLOCK): Define only if Ultrix. | |
10148 (LIBS_MACHINE, KERNEL_FILE): Don't define if __NetBSD__. | |
10149 (C_SWITCH_X_MACHINE): Define only if Ultrix. | |
10150 [__NetBSD__] (START_FILES, CANNOT_DUMP): New definitions. | |
10151 [__NetBSD__] (RUN_TIME_REMAP, UNEXEC): Undef them. | |
10152 | |
10153 * m/mips.h (UNEXEC): Undef before defining. | |
10154 | |
10155 * fileio.c (Fexpand_file_name): | |
10156 No longer discard .../ before another / or ~. | |
10157 That is now only in Fsubstitute_in_file_name. | |
10158 | |
10159 1996-10-12 Simon Marshall <simon@duality.gnu.ai.mit.edu> | |
10160 | |
10161 * data.c (Fdefine_function): Function definition deleted. | |
10162 (syms_of_data): Don't call defsubr for it. | |
10163 | |
10164 1996-10-12 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10165 | |
10166 * xterm.c (XTwrite_glyphs, XTclear_end_of_line, XTclear_frame) | |
10167 (clear_cursor, x_display_bar_cursor, x_display_box_cursor) | |
10168 (x_set_window_size): Use phys_cursor_on field in frame. | |
10169 (x_update_cursor): Negative phys_cursor_x no longer means anything. | |
10170 | |
10171 * frame.h (struct frame): New field phys_cursor_on. | |
10172 | |
95780
4538778f611d
Fix committer names and other typos.
Juanma Barranquero <lekktu@gmail.com>
parents:
94701
diff
changeset
|
10173 1996-10-08 David KÃ¥gedal <davidk@lysator.liu.se> |
25865 | 10174 |
10175 * xmenu.c (Fx_popup_menu): Give the menu a title when the menu is | |
10176 a single keymap. | |
10177 | |
10178 1996-10-07 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10179 | |
10180 * s/ptx.h (POSIX_SIGNALS): New definition. | |
10181 | |
10182 * dispnew.c (init_display): If not yet initialized, | |
10183 we can't really use X, so we must do the real work. | |
10184 | |
10185 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10186 | |
10187 * xdisp.c (display_text_line): New arg ovstr_done. (Callers changed). | |
10188 Ignore that many chars from start of overlay strings. | |
10189 Return updated value in ovstring_chars_done field. | |
10190 | |
10191 * indent.c (vmotion, compute_motion): Fill in ovstring_chars_done | |
10192 in the return value. | |
10193 | |
10194 * indent.h (struct position): New field ovstring_chars_done. | |
10195 | |
10196 1996-10-06 Erik Naggum <erik@naggum.no> | |
10197 | |
10198 * window.c (Fspecial_display_p, Fsame_window_p): New functions. | |
10199 (Fdisplay_buffer): Use them, instead of doing the work here. | |
10200 (syms_of_window): Defsubr them. | |
10201 | |
10202 1996-10-05 Marcus G. Daniels <marcus@coulee.tdb.com> | |
10203 | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10204 * xfns.c (x_set_internal_border_width): Only change |
25865 | 10205 an edit_widget's internal_border_width for the toolkit case. |
10206 | |
10207 1996-10-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10208 | |
10209 * lread.c (openp): Omit /: from start of file name. | |
10210 | |
10211 1996-10-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10212 | |
10213 * buffer.c (init_buffer): Add /: to dir names that could be magic. | |
10214 * emacs.c (decode_env_path): Add /: to dir names that could be magic. | |
10215 (init_cmdargs): Add /: to argv[0] if it could be magic. | |
10216 | |
10217 1996-10-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10218 | |
10219 * xfns.c (syms_of_xfns): For x-sensitive-text-pointer-shape, use | |
10220 DEFVAR_LISP. | |
10221 | |
10222 1996-10-01 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
10223 | |
10224 * frame.c (store_frame_param): Allow setting a frame's minibuffer | |
10225 to the value that it already has. | |
10226 | |
10227 1996-10-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10228 | |
10229 * buffer.c (syms_of_buffer): Doc fix. | |
10230 | |
10231 1996-09-28 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10232 | |
10233 * xterm.c (show_mouse_face): Undo 1996-08-30 change. | |
10234 | |
10235 * s/irix5-0.h (ospeed): New definition. | |
10236 * s/irix6-0.h (ospeed): New #undef to counteract that definition. | |
10237 | |
10238 1996-09-27 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10239 | |
10240 * xterm.c (XTflash): Don't flash in the internal borders. | |
10241 or between a scroll bar and the edge. | |
10242 | |
10243 * eval.c (Vdebug_force): New variable. | |
10244 (syms_of_eval): Set up Lisp var. | |
10245 (find_handler_clause): If Vdebug_force, call debugger | |
10246 even if there are handlers. | |
10247 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98444
diff
changeset
|
10248 1996-09-26 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25865 | 10249 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10250 * xfns.c (x_set_scroll_bar_width): Move cursor to the |
25865 | 10251 left margin, past a scroll bar, if any. |
10252 | |
10253 1996-09-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10254 | |
10255 * lread.c (isfloat_string): Accept E like e. | |
10256 | |
10257 * callint.c (Fcall_interactively): Bind cursor-in-echo-area to t | |
10258 for `k' and `K'. | |
10259 | |
10260 * s/hpux10.h (KERNEL_FILE): Redefine it here. | |
10261 | |
10262 1996-09-25 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10263 | |
10264 * textprop.c (Fset_text_properties, Fadd_text_properties) | |
10265 (Fremove_text_properties): Call modify_region and signal_after_change | |
10266 only for buffers, not for strings. | |
10267 | |
10268 * xterm.c (XTflash): Flash just top and bottom screen line. | |
10269 | |
10270 * window.c (syms_of_window): Doc fixes. | |
10271 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98444
diff
changeset
|
10272 1996-09-25 Marcus G. Daniels <marcus@sysc.pdx.edu> |
25865 | 10273 |
10274 * s/irix5-0.h (sigsetmask, _longjmp, _setjmp): #undef them. | |
10275 (_BSD_SIGNALS): Definition deleted. | |
10276 | |
10277 1996-09-25 Eli Zaretskii <eliz@is.elta.co.il> | |
10278 | |
10279 * dosfns.c (init_dosfns): When setting `__opendir_flags' value, | |
10280 override the bits recorded when dumping. | |
10281 | |
10282 1996-09-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10283 | |
10284 * w32term.c (w32_read_socket): Delete WAITP arg. | |
10285 | |
10286 * keyboard.c (read_avail_input): Don't pass WAITP to read_socket_hook. | |
10287 | |
10288 * xterm.c (XTread_socket): Delete WAITP arg. | |
10289 | |
10290 * config.in (HAVE_GETCWD): Add #undef. | |
10291 | |
10292 * fileio.c (Vuser_login_name): Declared extern. | |
10293 (minibuf_level): extern decl moved to top level. | |
10294 (Fwrite_region): Query before writing to a file that is locked, | |
10295 even if it is locked by the same user. | |
10296 | |
10297 * textprop.c (set_properties, add_properties, remove_properties): | |
10298 Don't call modify_region or signal_after_change here. | |
10299 (Fset_text_properties, Fadd_text_properties, Fremove_text_properties): | |
10300 Call them here when appropriate. | |
10301 | |
10302 * Makefile.in (LIBES): Add LOADLIBES and LDLIBS. | |
10303 | |
10304 1996-09-24 Eli Zaretskii <eliz@is.elta.co.il> | |
10305 | |
10306 * msdos.c (run_msdos_command): When testing whether a shell | |
10307 belongs to the MSDOS family, convert its name to lower-case. | |
10308 | |
10309 1996-09-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10310 | |
10311 * eval.c (Vsignal_hook_function): New variable. | |
10312 (syms_of_eval): Set up Lisp variable. | |
10313 (Fsignal): Call that function. | |
10314 | |
10315 * xfns.c (x_set_internal_border_width, Fx_create_frame): | |
10316 Call widget_store_internal_border. | |
10317 (Fx_create_frame): Don't use a superclass when | |
10318 checking for an internalBorder resource. | |
10319 | |
10320 * widget.c (widget_store_internal_border): New function. | |
10321 (EmacsFrameSetValues): Undo previous change. | |
10322 | |
10323 1996-09-23 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10324 | |
10325 * xfns.c (x_window): With Motif, double extra_borders. | |
10326 Use a preprocessor conditional to test for Motif. | |
10327 | |
10328 * frame.h (struct frame): New field window_width. | |
10329 (FRAME_WINDOW_WIDTH): Refer to window_width field. | |
10330 (SET_FRAME_WIDTH): Set window_width field as well as width field. | |
10331 | |
10332 1996-09-22 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10333 | |
10334 * eval.c (syms_of_eval): Initialize Vrun_hooks here. | |
10335 Don't make it a Lisp variable. | |
10336 | |
10337 * frame.c (Fdelete_frame): Set update_mode_lines. | |
10338 | |
10339 * emacs.c (main): Add copyright etc. to --version output. | |
10340 | |
10341 1996-09-21 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10342 | |
10343 * bytecode.c (Bsave_current_buffer): New macro. | |
10344 (Fbyte_code): Handle Bsave_current_buffer. | |
10345 | |
10346 * editfns.c (Fsave_current_buffer): New function. | |
10347 (syms_of_editfns): defsubr it. | |
10348 | |
10349 * search.c (REGEXP_CACHE_SIZE): Increase to 20. | |
10350 (compile_pattern): Check for size match before calling Fstring_equal. | |
10351 | |
10352 1996-09-21 Paul Eggert <eggert@twinsun.com> | |
10353 | |
10354 * editfns.c: For time zone difference calculations, use the same | |
10355 code as the GNU C Library; this fixes a bug with large negative years. | |
10356 (tm_diff): Renamed from difftm. Yield int, not long. | |
10357 (TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN. | |
10358 | |
10359 1996-09-21 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10360 | |
10361 * xdisp.c (echo_area_display): Clear the left-side scroll bar columns. | |
10362 | |
10363 1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10364 | |
95848 | 10365 * xterm.c (x_scroll_bar_create, x_scroll_bar_move) |
25865 | 10366 (x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM. |
10367 | |
10368 * xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from | |
10369 LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM. | |
10370 (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM. | |
10371 | |
10372 * widget.c (EmacsFrameSetValues): Copy internal_border_width | |
10373 from the Emacs frame if caller isn't changing it. | |
10374 | |
10375 * xfns.c (Fx_create_frame): Default Qinternal_border_width to 1. | |
10376 | |
10377 * xterm.c (XTchange_line_highlight, dumpglyphs, XTclear_end_of_line) | |
10378 (do_line_dance, pixel_to_glyph_coords): Use FRAME_WINDOW_WIDTH. | |
10379 | |
10380 * xfns.c (x_set_scroll_bar_width): Default the width to 3 cols. | |
10381 Call change_frame_size. | |
10382 | |
10383 * xterm.c (x_scroll_bar_move, x_scroll_bar_create): | |
10384 Add a border around the actual window. | |
10385 | |
10386 * dispnew.c (make_frame_glyphs, update_line, update_frame) | |
10387 (scroll_frame_lines, char_ins_del_cost): Use FRAME_WINDOW_WIDTH. | |
10388 | |
10389 * minibuf.c (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH | |
10390 to set the cursor position at the end. | |
10391 | |
10392 * xterm.c (x_scroll_bar_expose): Don't trim the width here. | |
10393 | |
10394 * xdisp.c (display_mode_line): Use faces for inverse video mode line | |
10395 whenever that possible. | |
10396 | |
10397 * xfns.c (Fx_create_frame): Default Qvertical_scroll_bars to `left'. | |
10398 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98444
diff
changeset
|
10399 1996-09-20 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25865 | 10400 |
10401 * xterm.c (XTclear_end_of_line): Shift end-of-line when there is a | |
10402 left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH. | |
10403 (do_line_dance): Take into account the width of a left-side scroll bar. | |
10404 (dumprectangle): Trim at FRAME_WINDOW_WIDTH instead of FRAME_WIDTH. | |
10405 (fast_find_position): Use new macro WINDOW_LEFT_MARGIN. | |
10406 (show_mouse_face): Likewise. | |
10407 (x_scroll_bar_set_handle): VERTICAL_SCROLL_BAR_INSIDE_WIDTH now | |
10408 requires the frame as an argument. | |
10409 (x_scroll_bar_expose): Narrow the box slightly for a left-side | |
10410 scroll bar. | |
10411 | |
95848 | 10412 * xfns.c: Add the symbol `right'; this symbol is used to indicate |
25865 | 10413 that a right-side scroll bar is wanted. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10414 (x_set_vertical_scroll_bars): Check for left<->right<->none |
25865 | 10415 scroll bar changes, and modify the vertical scroll bar type |
10416 as appropriate. | |
10417 (x_figure_window_size): Use new SET_FRAME_WIDTH macro. | |
10418 (Fx_create_frame): Likewise. | |
10419 (Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN. | |
10420 | |
10421 * xdisp.c (echo_area_display): Shift display_string past a | |
10422 left-side scroll bar. | |
10423 (redisplay_window): Likewise. | |
10424 (redisplay_internal): Shift cursor past a left-side scroll bar. | |
10425 (redisplay_window): Likewise. | |
10426 (try_window_id): Likewise. | |
10427 (display_text_line): Likewise. | |
10428 (redisplay_internal): Shift charstarts past a left-side scroll bar. | |
10429 (display_text_line): Likewise. | |
10430 (redisplay_internal): Use new macro WINDOW_FULL_WIDTH_P. | |
10431 (redisplay_window): Likewise. | |
10432 (display_text_line): Likewise. | |
10433 (display_text_line): Shift output past left-side scroll bar. | |
10434 (display_text_line): Use new WINDOW_RIGHTMOST_P macro. | |
10435 (display_text_line): Don't pad right columns unless using | |
10436 a right-side scroll bar. Don't draw vertical bars unless there | |
10437 isn't any kind of scroll bar. | |
10438 (display_string): Likewise. | |
10439 (display_mode_line): Use new macros WINDOW_LEFT_MARGIN, | |
10440 WINDOW_RIGHT_MARGIN, and WINDOW_FULL_WIDTH_P. | |
10441 (display_string): Use new macro WINDOW_RIGHTMOST_P. | |
10442 | |
10443 * window.c (Fwindow_edges): Use new WINDOW_RIGHT_EDGE macro. | |
10444 (coordinates_in_window): Use WINDOW_LEFT_MARGIN, WINDOW_RIGHT_MARGIN, | |
10445 and WINDOW_RIGHT_EDGE. Adjust for left-side scroll bar margin. | |
10446 (window_loop, Fdisplay_buffer): Use new WINDOW_FULL_WIDTH_P macro. | |
10447 (window_internal_width): Window width now always includes the | |
10448 scroll bar, if any. Use WINDOW_RIGHTMOST_P and WINDOW_FULL_WIDTH_P. | |
10449 | |
10450 * w32term.c (fast_find_position, show_macro_face): Use new | |
10451 WINDOW_LEFT_MARGIN macro. | |
10452 | |
10453 * w32fns.c (Qright): New variable. | |
10454 (syms_of_win32fns): Initialize and staticpro Qright. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10455 (x_set_vertical_scroll_bars): Check for left<->right<->none |
25865 | 10456 scroll bar changes, and modify the vertical scroll bar type |
10457 as appropriate. | |
10458 (x_figure_window_size): Use new SET_FRAME_WIDTH macro. | |
10459 (Fx_create_frame): Likewise. | |
10460 | |
10461 * term.c (term_init): Use new vertical scroll bar enumerated type. | |
10462 (term_init): Use new macro SET_FRAME_WIDTH. | |
10463 | |
10464 * sunfns.c (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro. | |
10465 | |
10466 * ntterm.c (initialize_win_nt_display): Use SET_FRAME_WIDTH. | |
10467 | |
10468 * keyboard.c (make_lispy_event): When converting from pixel to | |
10469 glyph coordinates, offset by WINDOW_LEFT_MARGIN instead of XINT | |
95848 | 10470 (XWINDOW (window)->left); this is necessary when there are |
25865 | 10471 left-side scrollbars. |
10472 | |
10473 * frame.c (make_frame): Switch from boolean | |
10474 `has_vertical_scrollbars' integer to an enumerated type. | |
10475 Use new macro SET_FRAME_WIDTH. | |
10476 | |
10477 * dispnew.c (preserve_other_columns, preserve_my_columns): Use new | |
10478 macros WINDOW_LEFT_MARGIN and WINDOW_RIGHT_EDGE. | |
10479 (adjust_window_charstarts, verify_charstarts, cancel_my_columns): | |
10480 Use new macro WINDOW_LEFT_MARGIN instead of w->left. | |
10481 (direct_output_for_insert, direct_output_forward_char): Likewise. | |
10482 (buffer_posn_from_coords): Likewise. | |
10483 (verify_charstarts): Use new macro WINDOW_FULL_WIDTH_P. | |
10484 (update_frame): For determining when to wrap the cursor, use the | |
10485 new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't | |
10486 necessarily the same any more. | |
10487 (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes. | |
10488 Give `set_window_width' the window width value. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10489 Use new macro SET_FRAME_WIDTH. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10490 |
25865 | 10491 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an |
10492 argument, and use it to decrease the width in the case of a | |
10493 left-side scroll bar; this prevents the bar and adjacent text | |
10494 from scrunching together. | |
10495 (LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant. | |
10496 | |
10497 * frame.h (vertical_scroll_bar_type): Add enumerated | |
10498 none/left/right type for identifying vertical scroll bars. | |
10499 (struct frame): Use vertical_scroll_bar_type. | |
10500 (FRAME_HAS_VERTICAL_SCROLL_BARS): Use vertical scroll bar type. | |
10501 (FRAME_VERTICAL_SCROLL_BAR_TYPE): New macro. | |
10502 (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT): New macros. | |
10503 (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT): New macros. | |
10504 (FRAME_SCROLL_BAR_WIDTH, FRAME_LEFT_SCROLL_BAR_WIDTH): New macros. | |
10505 (FRAME_WINDOW_WIDTH, FRAME_WINDOW_WIDTH_ARG): New macros. | |
10506 (SET_FRAME_WIDTH): New macro for assigning to both | |
10507 `external_width' and `width'. | |
10508 (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side | |
10509 scroll bars too. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10510 |
25865 | 10511 * window.h (WINDOW_LEFT_MARGIN): New macro. |
10512 (WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros. | |
10513 (WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros. | |
10514 | |
10515 1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10516 | |
10517 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used). | |
10518 (VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used). | |
10519 * xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT | |
10520 and VERTICAL_SCROLL_BAR_TOP_RANGE. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10521 |
25865 | 10522 * sysdep.c (init_system_name): Retry gethostbyname only 5 times |
10523 and don't sleep after the last time. | |
10524 | |
10525 1996-09-19 Eli Zaretskii <eliz@is.elta.co.il> | |
10526 | |
10527 * dired.c (file_name_completion): Remove code which sets and | |
10528 restores the `stat' control flags (they might not be restored if | |
10529 C-g is pressed during completion). | |
10530 (file_name_completion_stat): Set and restore flags that make | |
10531 `stat' faster here instead of in `file_name_completion'. | |
10532 | |
10533 1996-09-18 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10534 | |
10535 * buffer.c (overlay_strings): Declare pstr using unsigned char. | |
10536 | |
10537 * xdisp.c (display_text_line): Declare ovstr as unsigned char *. | |
10538 | |
10539 * minibuf.c (Fcompleting_read): Doc fix. | |
10540 | |
10541 1996-09-17 Erik Naggum <erik@naggum.no> | |
10542 | |
10543 * lisp.h: Declare make_symbol. | |
10544 | |
10545 * lread.c (init_obarray): staticpro Qvariable_documentation. | |
10546 | |
10547 * keymap.c (syms_of_keymap): staticpro global_map. | |
10548 | |
10549 * keyboard.c (syms_of_keyboard): Initialize and staticpro | |
10550 internal_last_event_frame and read_key_sequence_cmd. | |
10551 | |
10552 * fileio.c (syms_of_fileio): staticpro Qset_visited_file_modtime. | |
10553 | |
10554 * dired.c (syms_of_dired): staticpro Qdirectory_files, | |
10555 Qfile_name_completion, Qfile_name_all_completions, and Qfile_attributes. | |
10556 | |
10557 * casetab.c (syms_of_casetab): staticpro Vascii_canontable, | |
10558 Vascii_eqv_table, and Vascii_upcase_table. | |
10559 | |
10560 * alloc.c (Fmake_symbol): Initialize `obarray' field. | |
10561 | |
10562 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
10563 | |
10564 * Makefile.in: Replaced symbol BSD with BSD_SYSTEM. | |
10565 * emacs.c, floatfns.c, keyboard.c, mem-limits.h, process.c: Likewise. | |
10566 * sysdep.c, syssignal.h, syswait.h, xterm.c: Likewise. | |
10567 * s/bsd386.h, s/bsd4-1.h, s/bsd4-2.h, s/bsd4-3.h, s/dgux.h: Likewise. | |
10568 * s/freebsd.h, s/msdos.h, s/rtu.h, s/umax.h, s/umips.h: Likewise. | |
10569 * m/intel386.h, m/mips.h, m/mips4.h, m/vax.h: Likewise. | |
10570 | |
10571 1996-09-16 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10572 | |
10573 * buffer.c (Fget_buffer_create): Initialize BUF_OVERLAY_MODIFF. | |
10574 | |
10575 * minibuf.c (read_minibuf_unwind): Clear last_overlay_modified field. | |
10576 | |
10577 * msdos.c (IT_set_menu_bar_lines): Clear last_overlay_modified field. | |
10578 | |
10579 * w32term.c (note_mouse_highlight): Test last_overlay_modified field. | |
10580 | |
10581 * xterm.c (note_mouse_highlight): Test last_overlay_modified field. | |
10582 | |
10583 * window.c (Fset_window_start): Clear last_overlay_modified field. | |
10584 (set_window_height, set_window_width, Fset_window_buffer) | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10585 (change_window_height, window_scroll, Fset_window_configuration): |
25865 | 10586 Clear last_overlay_modified field. |
10587 (Fpos_visible_in_window_p): Test last_overlay_modified field. | |
10588 | |
10589 * Makefile.in (frame.o, textprop.o, abbrev.o): Depend on window.h. | |
10590 | |
10591 * process.c (stream_process): Variable deleted. | |
10592 (syms_of_process): staticpro deleted. | |
10593 | |
10594 1996-09-15 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10595 | |
10596 * sysdep.c: Don't explicitly Include termios.h. | |
10597 (ospeed): Use HAVE_TERMIOS to decide whether to use speed_t. | |
10598 | |
10599 * s/hpux9.h (C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include. | |
10600 (LD_SWITCH_X_DEFAULT): Add -L/usr/contrib/X11R5/lib. | |
10601 | |
10602 1996-09-14 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10603 | |
10604 * buffer.h (struct buffer): New field overlay_modiff. | |
10605 (MODIFF, BUF_OVERLAY_MODIFF): New macros. | |
10606 * window.h (struct window): New field last_overlay_modified. | |
10607 | |
10608 * xdisp.c (redisplay_internal, mark_window_display_accurate) | |
10609 (redisplay_window): Test and update last_overlay_modified field | |
10610 along with last_modified. | |
10611 | |
10612 * dispnew.c (direct_output_for_insert): Set last_overlay_modified | |
10613 field in window. | |
10614 | |
10615 * keyboard.c (command_loop_1): Test last_overlay_modified | |
10616 along with last_modified. | |
10617 | |
10618 * xdisp.c (overlay_unchanged_modified): New variable. | |
10619 (redisplay_internal): Set overlay_unchanged_modified. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10620 * insdel.c (gap_left, gap_right, modify_region): |
25865 | 10621 Compare overlay_unchanged_modified with OVERLAY_MODIFF. |
10622 | |
10623 * buffer.c (modify_overlay): Renamed from redisplay_region | |
10624 moved here from xdisp.c, and made static. Callers changed. | |
10625 Update OVERLAY_MODIFF instead of MODIFF. | |
10626 * xdisp.c (redisplay_region): Renamed and moved to buffer.c. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10627 |
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10628 * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): |
25865 | 10629 Don't define them if using GCC. |
10630 | |
10631 1996-09-13 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10632 | |
10633 * keyboard.c (recursive_edit_1): Handle a string as the | |
10634 throw value. | |
10635 | |
10636 * minibuf.c (read_minibuf): If not in minibuffer window, | |
10637 cancel the active minibuffer. | |
10638 | |
10639 1996-09-12 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10640 | |
10641 * frame.c (Fmake_terminal_frame): Use Vdefault_frame_alist. | |
10642 | |
10643 * s/hpux9.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT): | |
10644 Don't specify dirs for X, only for Motif. | |
10645 | |
10646 1996-09-11 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10647 | |
10648 * lread.c (Fload): Move ... to ends of messages. | |
10649 | |
10650 * puresize.h (BASE_PURESIZE): Increased. | |
10651 | |
10652 * s/sco5.h (LIBX11_SYSTEM): Don't use ..._s libraries. | |
10653 | |
10654 1996-09-10 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10655 | |
10656 * insdel.c (signal_before_change): Fix previous change. | |
10657 | |
10658 * lisp.h (struct Lisp_Symbol): New field `obarray'. | |
10659 | |
10660 * xterm.c (x_connection_closed): Call XtCloseDisplay. | |
10661 | |
10662 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10663 | |
10664 * keyboard.c (Fexecute_extended_command): Delete junk lines. | |
10665 Print the key bindings after the command, temporarily; | |
10666 then bring back the previous message. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10667 |
25865 | 10668 * buffer.c (syms_of_buffer): Doc fixes. |
10669 | |
10670 * filelock.c (lock_superlock): Delete superlock file if it stayed | |
10671 locked for 20 seconds. | |
10672 | |
10673 1996-09-08 Erik Naggum <erik@naggum.no> | |
10674 | |
10675 * lread.c: Add #n=object, #n#, and #:symbol constructs to reader. | |
10676 (readevalloop, read, Fread_from_string): Empty list of read objects | |
10677 before read0 call. | |
10678 (read1): New variable `uninterned_symbol', which controls how to | |
10679 make symbols. Support #:, #n=object and #n#. | |
95848 | 10680 (make_symbol): New function, used in read1 to make uninterned symbols. |
25865 | 10681 (Fintern): Set `obarray' field of interned symbols. |
10682 (init_obarray): Explicit set `obarray' field of symbol `nil'. | |
10683 (syms_of_lread): staticpro read_objects, the list of read objects. | |
10684 | |
10685 * print.c: Add #n=object, #n#, and #:symbol constructs to printer. | |
10686 (PRINTDECLARE): New macro to declare required variables. | |
10687 (PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10688 (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1) |
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10689 (Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE. |
25865 | 10690 (print): Print uninterned symbols readable. |
10691 (syms_of_print): Defvar `print-gensym', staticpro printed_gensyms. | |
10692 | |
10693 1996-09-05 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
10694 | |
10695 * editfns.c (Finsert_buffer_substring): Check for deleted buffer. | |
10696 (Fcompare_buffer_substrings): Likewise. | |
10697 | |
10698 1996-09-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10699 | |
10700 * lisp.h: Add many declarations. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10701 |
25865 | 10702 * lisp.h (BITS_PER_EMACS_INT): New macro. |
10703 (XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition. | |
10704 * m/alpha.h (BITS_PER_EMACS_INT): New definition. | |
10705 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
10706 * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm. |
25865 | 10707 |
10708 * process.c (create_process): Test HAVE_SETPGID for using setpgid. | |
10709 | |
10710 * config.in (HAVE_SETPGID): Add #undef. | |
10711 | |
85960
71ce838e9a10
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
78260
diff
changeset
|
10712 * keymap.c (syms_of_keymap): staticpro current_global_map. |
25865 | 10713 |
10714 * intervals.c (get_local_map): Call indirect-function. | |
10715 | |
10716 * m/alpha.h (UNEXEC): Use unexelf.c. | |
10717 | |
10718 * unexelf.c: unexelf1.c merged into this file. | |
10719 | |
10720 * terminfo.c: Include config.h. | |
10721 [HAVE_TERMIOS_H]: Include termios.h. | |
10722 (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t. | |
10723 | |
10724 * process.c (create_process_1, sigchld_handler) [POSIX_SIGNALS]: | |
10725 Don't reestablish handler. | |
10726 | |
10727 * keyboard.c (input_available_signal) [POSIX_SIGNALS]: | |
10728 Don't reestablish handler. | |
10729 (interrupt_signal) [POSIX_SIGNALS]: Likewise. | |
10730 | |
10731 * data.c (arith_error) [POSIX_SIGNALS]: Don't reestablish handler. | |
10732 | |
10733 * config.in (HAVE_TERMIOS_H): Add #undef. | |
10734 | |
10735 * cm.h, sysdep.c [HAVE_TERMIOS_H]: Include termios.h. | |
10736 (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t. | |
10737 | |
10738 * eval.c (Fmacroexpand): Don't declare `form' as register. | |
10739 | |
10740 * frame.c (Fredirect_frame_focus): Don't call Ffocus_frame. | |
10741 | |
10742 * keyboard.c (Fexecute_extended_command): Fix previous change. | |
10743 | |
10744 * intervals.c (copy_intervals_to_string): Take arg as buffer. | |
10745 | |
10746 * keyboard.c (Fcommand_execute): gcpro cmd and prefixarg | |
10747 while calling do_autoload. | |
10748 | |
10749 * eval.c (Fmacroexpand): gcpro form while calling do_autoload. | |
10750 (do_autoload): gcpro fun, funname, fundef. | |
10751 | |
10752 1996-09-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10753 | |
10754 * keyboard.c (Fexecute_extended_command): gcpro prefixarg. | |
10755 | |
10756 * xfns.c, w32fns.c (x_set_frame_parameters): | |
10757 Make height and width ints. | |
10758 | |
10759 * fns.c (map_char_table): Declare depth as int. | |
10760 | |
10761 * xterm.c (note_mouse_highlight): | |
10762 Pass POS argument to fast_find_position as int. | |
10763 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10764 * textprop.c (set_properties, add_properties, remove_properties): |
25865 | 10765 Call modify_region with ints. |
10766 | |
10767 * insdel.c (prepare_to_modify_buffer): Take integer arguments. | |
10768 (signal_before_change): Take integer arguments. | |
10769 | |
10770 * alloc.c (Fmake_byte_code): Call make_pure_vector using nargs. | |
10771 | |
10772 * alloc.c (Fpurecopy): Cast arg to make_pure_vector. | |
10773 (Fmake_byte_code): Use XFASTINT when calling make_pure_vector. | |
10774 | |
10775 * doprnt.c (doprnt1): If lispstrings, accept a string | |
10776 as a `struct Lisp_String *'. | |
10777 | |
10778 * editfns.c (Fformat): Pass a string using XSTRING. | |
10779 | |
10780 * xdisp.c (message): Cast size arg to doprnt. | |
10781 | |
10782 * term.c (term_init): Avoid type-mismatch calling get_frame_size. | |
10783 (OUTPUT_IF, OUTPUT): Cast frame height to int. | |
10784 | |
10785 * search.c (search_buffer): Use EMACS_UINT. | |
10786 | |
10787 1996-09-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
10788 | |
10789 * emacs.c (sort_args): Don't rearrange any args that follow "--". | |
10790 | |
10791 1996-09-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10792 | |
10793 * xfns.c, w32fns.c (Ffocus_frame, Funfocus_frame): Functions deleted. | |
10794 | |
10795 * xfns.c (x_get_and_record_arg): New function. | |
10796 (x_icon): Use that, for Qicon_top and Qicon_left. | |
10797 (x_report_frame_params): Report the Qparent_id parameter. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10798 |
25865 | 10799 1996-09-03 Paul Eggert <eggert@twinsun.com> |
10800 | |
10801 * config.in (mktime): Define to emacs_mktime if we are using our own | |
10802 mktime, since Nextstep doesn't let Emacs redefine the builtin mktime. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10803 * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's, |
25865 | 10804 since NEXTSTEP's wrongly ignores TZ. |
10805 (mktime): #undef, to avoid messing up the file name mktime.c. | |
75621
5aaeaf94d0ef
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
75601
diff
changeset
|
10806 * editfns.c (Fencode_time): Remove NEXTSTEP workaround; |
25865 | 10807 we now use our mktime instead. |
10808 | |
10809 1996-09-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10810 | |
10811 * process.c (create_process): Undo previous change. | |
10812 | |
10813 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10814 | |
10815 * editfns.c (Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE. | |
10816 | |
49505
1aba10ab73b4
Corrected misc. typos like missing : after file names,
Kim F. Storm <storm@cua.dk>
parents:
48207
diff
changeset
|
10817 Make region highlighting show in just one window. |
25865 | 10818 * xdisp.c (redisplay_internal): Test last_selected_window slot. |
10819 (mark_window_display_accurate, display_text_line): Likewise. | |
10820 * window.c (unshow_buffer): Clear last_selected_window slot, maybe. | |
10821 (Fset_window_buffer): Set last_selected_window slot. | |
10822 (Fselect_window): Set last_selected_window slot. | |
10823 (delete_all_subwindows): Maybe call unshow_buffer. | |
10824 * buffer.c (reset_buffer): Initialize last_selected_window slot. | |
10825 * buffer.h (strict buffer): New slot last_selected_window. | |
10826 | |
10827 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10828 | |
10829 * process.c (Fprocess_contact): New function. | |
10830 (NETCONN_P): Use GC_CONSP. | |
10831 (list_processes_1): Use new childp format. | |
10832 (Fopen_network_stream): Store a cons cell in childp. | |
10833 | |
10834 * keyboard.c (record_asynch_buffer_change, gobble_input): | |
10835 Use sigblock instead of sigblockx. | |
10836 | |
10837 * syssignal.h (sigunblockx): Definitions deleted. | |
10838 (sigpausex, sigblockx, sigholdx): Definitions deleted. | |
10839 | |
10840 * process.c (create_process): Test defined (TIOCSCTTY) | |
10841 and defined (HAVE_SETSID) instead of DONT_REOPEN_PTY. | |
10842 | |
10843 * fileio.c (Faccess_file): New function. | |
10844 (Qaccess_file): New variable. | |
10845 (syms_of_fileio): defsubr function; init and staticpro Qaccess_file. | |
10846 | |
10847 1996-09-01 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
10848 | |
10849 * config.in (MULTI_FRAME): Obsolete macro deleted. | |
10850 * Makefile.in: Removed support for !MULTI_FRAME. | |
10851 * dispextern.h, frame.h, keyboard.h, lisp.h, puresize.h: Likewise. | |
10852 * alloc.c, buffer.c, data.c, dispnew.c, frame.c: Likewise. | |
10853 * keyboard.c, minibuf.c, print.c, sysdep.c, w32faces.c: Likewise. | |
10854 * window.c, xdisp.c, xfaces.c: Likewise. | |
10855 | |
10856 * abbrev.c, bytecode.c: Change all references from point to PT. | |
10857 * callint.c, casefiddle.c, cmds.c, dispnew.c, editfns.c: Likewise. | |
10858 * fileio.c, indent.c, lread.c, print.c, process.c: Likewise. | |
10859 * search.c, syntax.c, undo.c, window.c: Likewise. | |
10860 | |
10861 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10862 | |
10863 * Makefile.in (TAGS): Use $(srcdir) in deps. | |
10864 | |
10865 1996-08-31 Boris Goldowsky <boris@gnu.ai.mit.edu> | |
10866 | |
10867 * fileio.c (build_annotations): Remember original buffer that the | |
10868 region came from; pass this to `format-annotate-function'. | |
10869 | |
10870 1996-08-31 Geoff Voelker <voelker@cs.washington.edu> | |
10871 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10872 * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP): |
25865 | 10873 Include dos-nt.elc. |
10874 | |
10875 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10876 | |
10877 * keyboard.c (requeued_events_pending_p): New function. | |
10878 | |
10879 * config.in (HAVE_SETRLIMIT): Add #undef. | |
10880 | |
10881 * emacs.c [HAVE_SETRLIMIT]: Include time.h and resource.h. | |
10882 (main) [HAVE_SETRLIMIT]: Call setrlimit to extend the stack limit. | |
10883 New local `rlim'. | |
10884 | |
10885 * lread.c (Fload): Add "source is newer" info to the "loading" and | |
10886 "done" messages. | |
10887 | |
10888 1996-08-31 Paul Eggert <eggert@twinsun.com> | |
10889 | |
10890 * config.in (HAVE_SYS_SYSTEMINFO_H, HAVE_GETDOMAINNAME, HAVE_SYSINFO): | |
10891 New macros. | |
10892 * sysdep.c (<sys/systeminfo.h>): | |
10893 Include if HAVE_SYS_SYSTEMINFO_H is defined. | |
10894 (init_system_name): Use sysinfo or getdomainname to append domain name | |
10895 if host name is not already fully qualified. | |
10896 | |
10897 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10898 | |
10899 * xfns.c (Fx_list_fonts): New optional arg MAXIMUM. | |
10900 | |
10901 1996-08-31 Erik Naggum <erik@naggum.no> | |
10902 | |
10903 * alloc.c (Fgarbage_collect): Report used and free intervals. | |
10904 | |
10905 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10906 | |
10907 * xterm.h (struct x_display_info): Add element Xatom_FONT. | |
10908 * xterm.c (x_term_init): Initialize Xatom_FONT member. | |
10909 (x_new_font): Use Xatom_FONT member. | |
10910 | |
10911 1996-08-31 Kevin Layer <layer@Franz.COM> | |
10912 | |
10913 * ntproc.c (Vwin32_start_process_show_window): New variable. | |
10914 (create_child): Conditionally force subprocess to hide window. | |
10915 (syms_of_ntproc): DEFVAR it. | |
10916 | |
10917 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10918 | |
10919 * s/nextstep.h (LD_SWITCH_SYSTEM): Add alternate definition if | |
10920 not __NeXT. | |
10921 | |
10922 1996-08-30 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10923 | |
10924 * xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer flag. | |
10925 * xterm.c (XTupdate_end): Always clear mouse_face_defer flag. | |
10926 | |
10927 * xterm.c (do_line_dance, dumprectangle): Use x_update_cursor. | |
10928 (show_mouse_face, clear_cursor): Likewise. | |
10929 (x_display_cursor): New args X and Y. | |
10930 (XTupdate_end, XTcursor_to, XTwrite_glyphs): Pass new args. | |
10931 (XTupdate_begin): Initialize curs_x, curs_y here. | |
10932 | |
10933 * xfns.c (x_set_cursor_color): Use x_update_cursor. | |
10934 | |
10935 1996-08-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10936 | |
10937 * xterm.c (XTread_socket): Fix previous change. | |
10938 | |
10939 * keyboard.c (cmd_error): Clear executing_macro. | |
10940 | |
10941 1996-08-29 David Byers <byers@lysator.liu.se> | |
10942 | |
10943 * minibuf.c (Fminibuffer_complete_word): Check for | |
10944 unexpected data type returned by Ftry_completion. | |
10945 | |
10946 1996-08-29 Erik Naggum <erik@psilocin.gnu.ai.mit.edu> | |
10947 | |
10948 * macros.c (init_macros): Initialize executing_macro, too. | |
10949 | |
10950 1996-08-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10951 | |
10952 * xterm.c (XTread_socket): Call XFilterEvent on all events, | |
10953 if HAVE_X_I18N and FRAME_XIC nonzero. | |
10954 | |
10955 * keyboard.c (cmd_error): Add number of kbd macro iterations | |
10956 to the error message. | |
10957 | |
10958 * macros.h (executing_macro_iterations, executing_macro): Declared. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
10959 |
25865 | 10960 * macros.c (executing_macro_iterations, executing_macro): New vars. |
10961 (Fexecute_kbd_macro): Set them. | |
10962 | |
10963 1996-08-28 Morten Welinder <terra@diku.dk> | |
10964 | |
10965 * minibuf.c (Vhistory_length, Qhistory_length): New variables. | |
10966 (syms_of_minibuf): Register and initialise these. | |
10967 (read_minibuf): Truncate history list if needed. | |
10968 | |
10969 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10970 | |
10971 * fns.c (Fsubstring): Handle vectors as well as strings. | |
10972 | |
10973 * callint.c (Fcall_interactively): For `N' and `n', | |
10974 if we don't get a number, try again. | |
10975 | |
10976 1996-08-28 Lars Magne Ingebrigtsen <larsi@dain.ifi.uio.no> | |
10977 | |
10978 * alloc.c (syms_of_alloc): Set up Lisp variables ...-consed, | |
10979 such as Vcons-cells-consed. | |
10980 | |
10981 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
10982 | |
10983 * emacs.c (main): Add bug report info in --help message. | |
10984 | |
10985 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10986 | |
10987 * term.c (Vring_bell_function): New variable. | |
10988 (syms_of_term): Set up Lisp variable. | |
10989 (ring_bell): Use Vring_bell_function. | |
10990 | |
10991 1996-08-25 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
10992 | |
10993 * xterm.c (fast_find_position): Fix previous change. | |
10994 | |
10995 * keyboard.c (command_loop_1): Cancel echoing etc. | |
10996 before running post-command-hook and such. | |
10997 | |
10998 * xterm.c (fast_find_position): Minor fix in handling maybe_next_line. | |
10999 | |
11000 * config.in (HAVE_LIBKRB, HAVE_LIBDES): Add #undefs. | |
11001 | |
11002 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> | |
11003 | |
49505
1aba10ab73b4
Corrected misc. typos like missing : after file names,
Kim F. Storm <storm@cua.dk>
parents:
48207
diff
changeset
|
11004 Renamings to avoid conflicting names on MSDOS. |
25865 | 11005 * s/riscix12.h: Renamed from s/riscix12.h. |
11006 * s/sunos413.h: Renamed from s/sunos4-1-3.h. | |
11007 * s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h. | |
11008 * s/sunos4-1-2.h: File deleted. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49505
diff
changeset
|
11009 |
25865 | 11010 * xmenu.c (set_frame_menubar): Don't add ibw to menubar_size. |
11011 | |
11012 * xfns.c (x_window): Don't add ibw to menubar_size. | |
11013 | |
11014 1996-08-24 Paul Eggert <eggert@twinsun.com> | |
11015 | |
11016 * editfns.c (Fencode_time, Fset_time_zone_rule): | |
11017 Use UTC if the zone is t. | |
11018 | |
11019 1996-08-24 Erik Naggum <erik@naggum.no> | |
11020 | |
11021 * print.c (print-quoted): New variable. | |
11022 (print): Print certain expressions more compactly when set. | |
11023 Also use XCAR and XCDR directly -- we know we have conses. | |
11024 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98444
diff
changeset
|
11025 1996-08-23 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25865 | 11026 |
11027 * xterm.c (x_term_init): If the default Xt font does not exist on | |
11028 the X server, add a resource so that dialog boxes use a common font. | |
11029 | |
11030 1996-08-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11031 | |
11032 * window.c (Fsplit_window): Treat width just like height; | |
11033 no special handling for scroll bars. | |
11034 | |
11035 1996-08-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11036 | |
11037 * Makefile.in (paths.h, config.h): Targets deleted. | |
11038 (../config.status): Add two new rules to check need for reconfigure. | |
11039 | |
11040 * keyboard.c (command_loop_1): Check column_number_displayed | |
11041 in the selected window, not Vcolumn_number_mode. | |
11042 (Vcolumn_number_mode): Variable deleted. | |
11043 (syms_of_keyboard): Delete Lisp variable column-number-mode. | |
11044 | |
11045 1996-08-22 Erik Naggum <erik@psilocin.gnu.ai.mit.edu> | |
11046 | |
11047 * dispnew.c (change_frame_size_1): Clean up conditional. | |
11048 | |
11049 1996-08-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11050 | |
11051 * xmenu.c (xdialog_show): Don't allow 9 buttons. | |
11052 | |
11053 1996-08-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11054 | |
11055 * process.c (send_process): GCPRO object. | |
11056 | |
11057 * unexalpha.c: Conditionalize previous changes on not __linux__. | |
11058 | |
11059 * xfns.c (x_set_scroll_bar_width): Call x_set_window_size | |
11060 when arg is nil. | |
11061 | |
11062 1996-08-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11063 | |
11064 * unexalpha.c: Include reloc.h and elf_abi.h. | |
11065 (rel_dyn_section, dynstr_section, dynsym_section): New variables. | |
11066 (old_data_scnhdr): New variable. | |
11067 (CHECK_SCNHDR): Compare just 8 chars of section name. | |
11068 (unexec): Check for rel_dyn_section, dynsym_section, dynstr_section. | |
11069 Do call update_dynamic_symbols. | |
11070 (update_dynamic_symbols): Finish it up and take away #if 0. | |
11071 | |
11072 1996-08-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11073 | |
11074 * unexalpha.c (unexec): Copy the .got section. | |
11075 | |
11076 1996-08-16 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
11077 | |
11078 * cmds.c (Fdelete_backward_char): Fix off-by-one error. | |
11079 Treat deleted newline specially. | |
11080 | |
11081 1996-08-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11082 | |
11083 * bytecode.c (Fbyte_code): For relative gotos, force signed arithmetic. | |
11084 | |
11085 1996-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
11086 | |
11087 * xfns.c (Fx_open_connection): Don't set Vx_resource_name. | |
11088 | |
11089 See ChangeLog.6 for earlier changes. | |
39627 | 11090 |
95780
4538778f611d
Fix committer names and other typos.
Juanma Barranquero <lekktu@gmail.com>
parents:
94701
diff
changeset
|
11091 ;; Local Variables: |
4538778f611d
Fix committer names and other typos.
Juanma Barranquero <lekktu@gmail.com>
parents:
94701
diff
changeset
|
11092 ;; coding: utf-8 |
4538778f611d
Fix committer names and other typos.
Juanma Barranquero <lekktu@gmail.com>
parents:
94701
diff
changeset
|
11093 ;; End: |
4538778f611d
Fix committer names and other typos.
Juanma Barranquero <lekktu@gmail.com>
parents:
94701
diff
changeset
|
11094 |
106815 | 11095 Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
11096 Free Software Foundation, Inc. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11097 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11098 This file is part of GNU Emacs. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11099 |
94701
0cd73f056781
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
11100 GNU Emacs is free software: you can redistribute it and/or modify |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11101 it under the terms of the GNU General Public License as published by |
94701
0cd73f056781
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
11102 the Free Software Foundation, either version 3 of the License, or |
0cd73f056781
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
11103 (at your option) any later version. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11104 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11105 GNU Emacs is distributed in the hope that it will be useful, |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11106 but WITHOUT ANY WARRANTY; without even the implied warranty of |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11107 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11108 GNU General Public License for more details. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11109 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75621
diff
changeset
|
11110 You should have received a copy of the GNU General Public License |
94701
0cd73f056781
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
11111 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
52401 | 11112 |
11113 ;;; arch-tag: 3b03e091-1123-4031-b67d-41683932cc48 |