| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
(Fcall_process): Doc-string modified. Set CODING_MODE_LAST_BLOCK
bit in argument_coding.mode to tell encoding procedure to flush
data. While encoding arguments, if argument_coding uses CCL
program, initialize it again after encoding.
(Fcall_process_region): Doc-string modified. Handle the case that
NARGS is 3.
|
| |
|
|
|
|
|
|
|
| |
(ccl_driver) <CCL_End>: Pretend that all source text is consumed.
Set `ic' to the head of this command.
(ccl_driver) <CCL_ReadMultibyteChar2>: Return a single byte 8-bit
code for an invalid code.
(setup_ccl_program): If the arg VEC is nil, skip setting ups
based on VEC.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(init_charset_once): Intern and staticpro Qunknown. Initialize
all elements of Vcharset_symbol_table to Qunknown.
(find_charset_in_str): New arg MULTIBYTE. If it is zero, check
unibyte characters only. For an invalid composition sequence, set
CHARSETS[1] to 1.
(Ffind_charset_region): Call find_charset_in_str with an
appropriate MULTIBYTE arg. If undefined charsets are found,
include `unknown' is the return value.
(Ffind_charset_string): Likewise.
(Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'.
(str_cmpchar_id): Max composite character code should be less than
GENERIC_COMPOSITION_CHAR.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
final_char is invalid.
(decode_coding): If coding->type is coding_type_ccl, call
ccl_coding_driver even if SRC_BYTES is zero.
(code_convert_region): Update `inserted' correctly after calling
coding->post_read_conversion. Even after the code converter
consumed all source text, call it once more if it is
coding_type_ccl to flush out data.
|
| |
|
|
| |
echo area, always set message_enable_multibyte to 1.
|
| |
|
|
|
|
|
| |
CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it
and try decoding again.
(Fprocess_send_eof): If the coding system of PROCESS
requires flushing, call send_process with null-string at first.
|
| |
|
|
| |
CODING is handled by CCL program, call code_convert_region.
|
| |
|
|
|
| |
correctly.
(string_byte_to_char): Likesize.
|
| |
|
|
|
|
| |
to search for an invalid multibyte code.
In unibyte case, no need to check whether there are translations
in more than one charset; just set charset_base to 0.
|
| |
|
|
| |
with MULTIBYTE arg 0.
|
| |
|
|
| |
with MULTIBYTE arg 0.
|
| |
|
|
| |
with MULTIBYTE arg 0.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
of output from conversion to multibyte even when input
is split across the gap.
|
| |
|
|
| |
elements for all possible unibyte chars (except newline).
|
| | |
|
| |
|
|
| |
characters, only convert CRLF to LF.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(syms_of_msdos): DEFVAR_LISP it.
(IT_insert_glyphs, IT_delete_glyphs): New functions which abort
Emacs.
(internal_terminal_init): Set up insert_glyphs_hook and
delete_glyphs_hook to call them. Explicitly set char_ins_del_ok
to 0.
(unibyte_display_via_language_environment): New variable.
(syms_of_msdos): Devfar it.
(IT_write_glyphs): Honor glyph aliasing via Vglyph_table.
Encode the character codes of the glyphs according to the
terminal_coding in effect.
|
| | |
|
| | |
|
| |
|
|
|
| |
(IT_reset_terminal_modes): Don't restore the screen if we exit too
fast after startup (aka crash).
|
| | |
|
| | |
|
| |
|
|
| |
using EMACSLOADPATH.
|
| | |
|
| |
|
|
|
|
| |
Use FONT_MAX_WIDTH to detect and fudge proportional fonts
for various languages.
Compensate for fonts that have underhangs (e.g., Thai).
|
| | |
|
| |
|
|
|
| |
mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause.
(w32_console_toggle_lock_key): New function.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): New
variables.
(syms_of_w32fns): Init and register them.
(reset_modifiers): Use a more precise test for whether Emacs has
keyboard focus. Synchronize state of all keys that can be used as
modifiers, to overcome problems arising from hot-keys.
(w32_key_to_modifier): Be careful not to call intern() to avoid
requiring thread synchronization.
(w32_msg_pump): Handle new WM_EMACS_TOGGLE_LOCK_KEY message.
(w32_wnd_proc): Ensure lock key indicator lights are updated
promptly on Windows 9x, by passing key events on to the system.
(w32_wnd_proc): Use Vw32_phantom_key_code to stop system
responding to Windows key events when not wanted.
(w32_wnd_proc): Undo the mapping of Ctrl-Pause into cancel and
Ctrl-NumLock into pause by the system.
(w32_wnd_proc): Don't translate key combinations containing any
modifiers other than shift (and capslock).
(w32_wnd_proc): Reset modifier key states when receiving focus (we
can't determine the key states until we have keyboard focus).
(Fw32_toggle_lock_key): New function.
(syms_of_w32fns): Defsubr it.
|
| | |
|
| |
|
|
| |
language_change_event.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
(syms_of_keyboard): Init it.
(kbd_buffer_get_event) [WINDOWSNT]: Generate language-change
events.
(lispy_function_keys) [HAVE_NTGUI]: Remove names for modifier
keys; add name for Escape key; extend to 256 elements.
(parse_modifiers): Make non-static.
|
| |
|
|
|
| |
(syms_of_xfns): Initialize it.
(x_report_frame_params): Set up outer-window-id parameter.
|
| |
|
|
| |
where point is in the middle of the text to be replaced.
|
| |
|
|
| |
if compute_motion fails to advance at all, don't back it up.
|
| | |
|
| |
|
|
| |
Clear text properties in the new string.
|
| | |
|
| |
|
|
|
| |
if the charset is ascii.
(ccl_driver) <CCL_TranslateCharacterConstTbl>: Likewise.
|
| |
|
|
|
|
| |
make an appropriate one byte string.
(char_bytes): Handle the case that C is a single byte char or has
modifier bits.
|
| | |
|
| |
|
|
| |
appropriate one byte char.
|
| | |
|
| | |
|
| | |
|