1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 14:01:43 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Karl Heuer
6f3110433a Discuss C-w. 1998-11-11 18:49:47 +00:00
Karl Heuer
ec44193a26 (vc-toggle-read-only): Doc fix. 1998-11-11 18:47:32 +00:00
Karl Heuer
945fcb39c1 (ispell-dictionary-alist-2): Removed svenska,
renamed svenska8 to svenska, and fixed and extended CASECHARS
for it.
1998-11-11 18:35:26 +00:00
Andrew Innes
9bf0a58762 (ps-print-prologue-1): Only use old LandscapeMode handling if
setpagedevice is not available.

(ps-begin-file): Fix typo.
1998-11-11 14:35:27 +00:00
Eli Zaretskii
4b2e75e6ad (MAX_ALLOCA): New macro.
(Fbase64_encode_region, Fbase64_encode_string,
Fbase64_decode_region, Fbase64_decode_string):  Don't allocate
more than MAX_ALLOCA bytes with alloca; otherwise use xmalloc.
1998-11-11 11:12:09 +00:00
Kenichi Handa
ea12aa2bf9 (byte_combining_error): Error message improved. 1998-11-11 10:37:09 +00:00
Kenichi Handa
32278fd599 (char_valid_p): Handle a composite character correctly. 1998-11-11 10:31:24 +00:00
Kenichi Handa
08cb5a0ee8 (compose-chars-component): Signal
error if CH is a rule-based composition character.
(compose-chars): Signal error if an already compsed character is
going to be composed by rule-base.
1998-11-11 03:36:15 +00:00
Kenichi Handa
c879698564 If a resolved ASCII font name doesn't conform to
full XLFD, don't try get information of WEIGHT and SLANT from that
font name.
1998-11-11 03:36:15 +00:00
Kenichi Handa
9b4d1fe69d (str_cmpchar_id): Check the byte sequence for
composition more rigidly.
(Fcompose_string): Allow DEL to be composed.  Signal error if STR
contains an invalid multibyte sequence.
1998-11-11 03:36:15 +00:00
Kenichi Handa
861bf815f3 (x_list_fonts): Don't change the value of maxnames. 1998-11-11 03:36:15 +00:00
Geoff Voelker
8de1edce6a (main): Set environment size only when running
command.com.
1998-11-10 21:07:13 +00:00
Geoff Voelker
5dbd225734 (set-default-process-coding-system): Use function on
before-init-hook to set default-process-coding-system based on
enable-multibyte-characters.
1998-11-10 21:06:50 +00:00
Geoff Voelker
ccc2d29c56 (Vw32_pass_optional_keys_to_system): Variable removed.
(Vw32_pass_lwindow_to_system):
(Vw32_pass_rwindow_to_system):
(Vw32_lwindow_modifier):
(Vw32_rwindow_modifier):
(Vw32_apps_modifier):
(Vw32_enable_num_lock):
(Vw32_enable_caps_lock):
(Vw32_scroll_lock_modifier): New variables.
(modifier_set): Return toggle state for Scroll Lock.
(w32_key_to_modifier): New function.  Returns chosen modifier bit
for given key.
(w32_get_modifiers): Returns modifier flags for
non-keyboard input events.
(construct_console_modifiers): Renamed from construct_modifiers;
recognize Windows and Apps keys as modifiers.
(w32_get_key_modifiers): New function.  Returns modifier flags for
keyboard input events.
(map_keypad_keys): Make non-static.  Use second arg as extended
flag.
(w32_grabbed_keys): New variable.
(HOTKEY, HOTKEY_ID, HOTKEY_VK_CODE, HOTKEY_MODIFIERS): New macros.
(register_hot_keys):
(unregister_hot_keys):
(lookup_vk_code):
(w32_parse_hot_key):
(Fw32_register_hot_key):
(Fw32_unregister_hot_key):
(Fw32_registered_hot_keys):
(Fw32_reconstruct_hot_key): New functions to support hotkeys.
(post_character_message): New function.
(w32_msg_pump): Handle new messages for using hotkeys and changing
keyboard layout/language.
(w32_wnd_proc): Major rework of keyboard input handling:
optionally recognize Windows keys and Apps key as modifiers;
optionally treat NumLock, CapsLock and ScrollLock as function
keys; let system translate keystrokes to characters to avoid
system bugs relating to dead-key handling; preserve shift
distinction for control characters; forward keyboard
layout/language changes to lisp; detect and convert hot-key events
to normal keystrokes.
(syms_of_w32fns): Register new functions and variables.
(w32_last_error): New function for use in debugging.
1998-11-10 20:54:46 +00:00
Geoff Voelker
f791da1d45 ($(BLD)\w32inevt.obj): Add dependencies on w32term.h
and w32heap.h.
1998-11-10 20:54:31 +00:00
Geoff Voelker
29a2c30ff6 Include w32term.h and w32heap.h.
(map_keypad_keys):
(Vw32_enable_caps_lock):
(Vw32_enable_num_lock):
(Vw32_pass_lwindow_to_system):
(Vw32_pass_rwindow_to_system):
(Vw32_lwindow_modifier):
(Vw32_rwindow_modifier):
(Vw32_apps_modifier):
(Vw32_scroll_lock_modifier):
(w32_key_to_modifier): Add externs.
(w32_kbd_mods_to_emacs): Recognize Windows keys, Apps key, and
Scroll Lock as potential modifiers; exclude numpad keys from
effect by CapsLock; act on Vw32_enable_caps_lock; remove obsolete
code.
(is_dead_key): Copy from w32fns.c.
(w32_kbd_patch_key): Comment attempt to improve handling of
dead-keys, and system bug relating to same on Windows NT.  Work
around the bug by calling ToUnicode and then converting to the
correct codepage.
(map_virt_key): Removed obsolete variable.
(lispy_function_keys): Add extern.
(key_event): Major rework of keyboard input handling: optionally
recognize Windows keys and Apps key as modifiers; optionally treat
NumLock, CapsLock and ScrollLock as function keys; let system
translate keystrokes to characters to avoid system bugs relating
to dead-key handling; preserve shift distinction for control
characters.  Remove some obsolete code.
1998-11-10 20:52:20 +00:00
Geoff Voelker
0eaf592609 (sys_kill): Set extended key flag when faking
Ctrl-Break keystrokes.
(Fw32_get_locale_info): Allow LONGFORM parameter to specify an
arbitrary locale property using a numerical index.
(Vw32_valid_codepages): New variable.
(enum_codepage_fn):
(Fw32_get_valid_codepages):
(Fw32_get_console_codepage):
(Fw32_set_console_codepage):
(Fw32_get_console_output_codepage):
(Fw32_set_console_output_codepage):
(Fw32_get_codepage_charset):
(Fw32_get_valid_keyboard_layouts):
(Fw32_get_keyboard_layout):
(Fw32_set_keyboard_layout): New functions, exposing Windows locale
handling functions.
(syms_of_ntproc): Register them.
1998-11-10 20:50:40 +00:00
Geoff Voelker
f98169a023 (convert_to_key_event): Removed.
(is_dead_key): Copied to w32fns.c.
(w32_read_socket): Generate language_change_event.  Modify to work
with keyboard handling changes in w32_wnd_proc.
1998-11-10 20:50:08 +00:00
Geoff Voelker
bb35543459 (struct w32_display_info): New element faked_key.
(WM_EMACS_SETKEYBOARDLAYOUT):
(WM_EMACS_REGISTER_HOT_KEY):
(WM_EMACS_UNREGISTER_HOT_KEY): New message definitions.
(LEFT_WIN_PRESSED):
(RIGHT_WIN_PRESSED):
(APPS_PRESSED): New console keyboard modifier flags.
1998-11-10 20:49:30 +00:00
Geoff Voelker
a73c80a31d ([language-change]): For now ignore
keyboard language-change events.
1998-11-10 20:49:04 +00:00
Eli Zaretskii
daafb0e383 (ediff-make-temp-file): Run the prefix through
convert-standard-file-name, but leave the results of
make-temp-name unaltered.  For MS-DOS, truncate the prefix to 2
characters if the original name already exists, or has a special
handler.
1998-11-10 11:26:34 +00:00
Karl Heuer
2192e5202f Delete autoload cookies. 1998-11-10 07:18:43 +00:00
Karl Heuer
628eac44d7 Add autoload cookies. 1998-11-10 07:18:07 +00:00
Karl Heuer
8062d993f4 (ispell-get-coding-system): Default to iso-latin-1.
(ispell-process-line): Don't treat multibyte
1998-11-10 07:06:12 +00:00
Karl Heuer
3583e969a4 (regex_compile): Handle translation of multibyte
exact-match characters.
1998-11-10 07:03:05 +00:00
Kenichi Handa
c61bca6a28 (CATEGORY_SET): Adjusted for the change of cmpchar_component.
(CATEGORY_SET): Likewise.
1998-11-10 00:24:40 +00:00
Kenichi Handa
de54b0d5ec (cmpchar_component): New arg NOERROR. Check
composition char ID more strictly.
(Fcmpchar_component): Call cmpchar_component with NOERROR arg
zero.
(Fcmpchar_cmp_rule): If CHARACTER should be composed relatively,
return 255.
(Fcompose_string): Signal error if STR contains a rule-based
composition character.
1998-11-10 00:24:40 +00:00
Kenichi Handa
cf36cf3f21 (cmpchar_component): Proto-type adjusted. 1998-11-10 00:24:40 +00:00
Andrew Innes
f8c707612e (ps-print-prologue-1): In BeginDoc procedure, call setpagedevice to
specify the page size if setpagedevice is available.  This is
necessary to select the correct paper tray on Level 2 printers with
multiple paper sizes available.

(ps-begin-file): Cope with font names that contain spaces, and
call BeginDoc in a BeginSetup/EndSetup block.
1998-11-09 15:05:23 +00:00
Kenichi Handa
1dca54f61e (string_to_non_ascii_char): Return correct length for
a charset of dimension 2 and composition character.
1998-11-09 07:06:11 +00:00
Eli Zaretskii
5f1af2d872 (symbol-file): Run fns-VERSION.el through
convert-standard-filename.
1998-11-08 17:24:16 +00:00
Eli Zaretskii
9741697386 (buffer-undo-list): Run fns-VERSION.el through
convert-standard-filename.
1998-11-08 17:23:52 +00:00
Eli Zaretskii
80106caa42 (SHELL, MAKESHELL): Don't use `override'. 1998-11-08 17:18:55 +00:00
Karl Heuer
31cd7d0079 (Fprocess_status): Doc fix. 1998-11-07 16:55:41 +00:00
Karl Heuer
8dc9e2ef68 (line-number-mode): Doc fix. 1998-11-07 02:08:40 +00:00
Karl Heuer
e1acbda2a6 (find-variable-noselect): Autoload. 1998-11-07 02:05:38 +00:00
Karl Heuer
f66f0ee8ff (texinfo-format-scan):
Detect the case of two @-commands in a row; process just the first.
(texinfo-append-refill): If line has a @c, insert the @refill
before it.
(texinfo-format-refill): Return with point where the @refill was.
1998-11-07 02:03:33 +00:00
Karl Heuer
aa5fcebf0d (hack-local-variables): Test local-enable-local-variables.
(hack-local-variables-prop-line): Likewise.
(set-auto-mode): Don't test local-enable-local-variables here.
(enable-local-variables): Doc fix.
(local-enable-local-variables): Doc fix.
(normal-mode): Doc fix.
1998-11-07 02:01:59 +00:00
Kenichi Handa
6038393415 (init_charset_once): Fix previous change. 1998-11-07 01:42:20 +00:00
Kenichi Handa
86e411c97c (create-fontset-from-fontset-spec): Give correct arg to `error'. 1998-11-06 10:59:09 +00:00
Kenichi Handa
bb63e573a8 (string_to_non_ascii_char): Fix previous change.
(char_valid_p): The the validity of CHARSET by CHARSET_DEFINED_P.
1998-11-06 10:59:09 +00:00
Kenichi Handa
dfd57aa70f (SPLIT_NON_ASCII_CHAR): Check dimension of an invalid
character correctly.
(STRING_CHAR): Handle an invalid charater correctly.
1998-11-06 10:59:09 +00:00
Andreas Schwab
7be38f7dba (html-mode): Doc fix.
(sgml-name-8bit-mode): Fix missing format character in message
string.
1998-11-06 09:31:52 +00:00
Kenichi Handa
f35b0e56f0 (MULTIBYTE_BYTES_WIDTH): Check validity of a multibyte character. 1998-11-06 00:44:16 +00:00
Kenichi Handa
d9d851ea28 (Fstring_to_char): Don't return a multibyte character
if STRING is a unibyte string.
1998-11-06 00:44:16 +00:00
Kenichi Handa
a6c253264f (string_to_non_ascii_char): Fix previous change. 1998-11-06 00:44:16 +00:00
Kenichi Handa
d6127b83e3 (MAKE_NON_ASCII_CHAR): Check validity of CHARSET. 1998-11-06 00:44:16 +00:00
Kenichi Handa
a688bb2444 (display_text_line): Check validity of a multibyte
character.
(display_string): Likewise.  Handle an invalid character
correctly.
1998-11-06 00:44:16 +00:00
Karl Heuer
101e446fa0 (Fcombine_after_change_execute): Return nil, not junk.
If nothing to do, return immediately.
(syms_of_insdel): Initialize combine_after_change_buffer.
1998-11-05 20:06:22 +00:00
Karl Heuer
63b896163c (sendmail-send-it): Check for failure. 1998-11-05 19:31:09 +00:00