(linenum→info "unix/slp.c:2238")

emacs/22.1/src/ChangeLog.7

    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.
    6: 
    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: 
   25:         * ccl.c (CCL_READ_CHAR): If eof is encounterd while processing the
   26:         last block, don't just finish but processes eol block of the
   27:         current CCL program.
   28:         (ccl_driver): Add a new jump label ccl_repeat for the above change.
   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.
   43:         (read_key_sequence): Do not bind input-method-function.
   44: 
   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.
   80:         (syms_of_charset): Defsubr it.
   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.
   86: 
   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: 
  127:         * w32.c (stat): Fall-back to default behaviour when we cannot get
  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: 
  203:         * minibuf.c (Fminibuffer_complete):
  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.
  213: 
  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.
  269: 
  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.
  281: 
  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
  315:         coding system priority `valid-codes' for CCL based coding systesm.
  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.
  323:         (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT)
  324:         (CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by one.
  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>
  333: 
  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
  375:         the coding system whithout checking file-coding-system-alist.
  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: 
  424:         * w16select.c (set_clipboard_data, get_clipboard_data)
  425:         (Fw16_set_clipboard_data, Fw16_get_clipboard_data)
  426:         (Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT.
  427: 
  428: 1998-07-12  Andrew Innes  <andrewi@delysid.gnu.org>
  429: 
  430:         * w32select.c (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
  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.
  452: 
  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,
  488:         if the sencond byte is invalid, produce the first byte as is.
  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.
  511:         (GENERIC_COMPOSITION_CHAR): New macro.
  512: 
  513:         * charset.c (Vgeneric_character_list): New variable.
  514:         (init_charset_once): Init and staticpro it.
  515:         (Fgeneric_character_list): New function.
  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.
  552:         (Finsert_and_inherit, Finsert_before_markers)
  553:         (Finsert_and_inherit_before_markers): Likewise.
  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.
  632: 
  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.
  648: 
  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: 
  710: 1998-06-20  Per Starback  <starback@strindberg.ling.uu.se>
  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
  726:         NULL.  While displaing cursor with non-default face, if the
  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: 
  739:         * w32.c (is_unc_volume, open_unc_volume, read_unc_volume)
  740:         (close_unc_volume, unc_volume_file_attributes): New functions.
  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: