| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Remove alias and obsolete declaration.
|
|
|
|
| |
previous change.
|
|
|
|
|
| |
check consistency with coding: spec, etc if raw-text or
no-conversion was found to be safe.
|
|
|
|
| |
eval-when-compile
|
|
|
|
|
|
| |
AppleLanguages, and variable mac-system-locale for default locale. On
Mac OS Classic, use mac-system-coding-system for default coding
systems.
|
| |
|
|
|
|
|
| |
(set-display-table-and-terminal-coding-system): Add coding-system arg.
(set-locale-environment): Use it.
|
|
|
|
|
|
|
| |
format of elements and add more entries.
(locale-preferred-coding-systems): Add more entries.
(set-locale-environment): Adjusted for the change of
locale-language-names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* w32select.c: Summary: Thorough rework to implement Unicode
clipboard operations and delayed rendering.
Drop last_clipboard_text and related code, keep track of
ownership via clipboard_owner instead. Drop old #if0
sections.
(DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP)
(clipboard_owner, modifying_clipboard, cfg_coding_system)
(cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text)
(current_coding_system, current_requires_encoding)
(current_num_nls, current_clipboard_type, current_lcid): New
static variables.
(convert_to_handle_as_ascii, convert_to_handle_as_coded)
(render, render_all, run_protected, lisp_error_handler)
(owner_callback, create_owner, setup_config)
(enum_locale_callback, cp_from_locale, coding_from_cp): New
local functions.
(term_w32select, globals_of_w32select): New global functions.
(Fw32_set_clipboard_data): Ignore parameter FRAME, use
clipboard_owner instead. Use delayed rendering and provide
all text formats. Provide CF_LOCALE if necessary.
(Fw32_get_clipboard_data): Handle CF_UNICODETEXT and
CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not
available. Force DOS line-ends for decoding.
(Fx_selection_exists_p): Handle CF_UNICODETEXT.
(syms_of_w32select): Init and register new variables.
* w32.h: Add prototypes for globals_of_w32select and
term_w32select. Make the neighboring K&R declarations into
prototypes, too.
* emacs.c: Include w32.h to get function prototypes.
(main): Call globals_of_w32select.
* w32.c (term_ntproc): Call term_w32select.
* mule-cmds.el (set-locale-environment): Remove call to
set-selection-coding-system on Windows.
* s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef.
|
|
|
|
|
| |
(set-default-coding-systems): Don't set default-file-name-coding-system
on Darwin systems.
|
|
|
|
|
| |
any more since it's now special cased in the C code.
Don't "do&undo" setting for 160 (especially, don't undo incorrectly).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
New function extracted from select-safe-coding-system.
(select-safe-coding-system): Use it.
|
|
|
|
| |
Don't use interactive-p. Add arg INTERACTIVE.
|
| |
|
| |
|
|
|
|
| |
coding-systems. Set up paper sizes for Windows 3 letter languages.
|
| |
|
|
|
|
| |
coding-system and auto-cs before comparing them.
|
|
|
|
| |
fontset-related functions if fontset-list is not fboundp.
|
|
|
|
|
|
|
| |
set-overriding-fontspec-internal with nil.
(set-language-environment): Call set-overriding-fontspec-internal
if the language environment specify `overriding-fontspec'.
(language-info-alist): Doc added.
|
|
|
|
|
| |
ucs-set-table-for-input for all buffers that don't have local
value of buffer-file-coding-system.
|
|
|
|
| |
Cancel the standard-display-table setting for ` and '.
|
|
|
|
| |
Don't rely on nil being a coding system.
|
|
|
|
|
|
|
|
| |
(default-input-method): Add :link, improve :type.
(locale-charset-language-names): Fix utf-8 pattern.
(locale-charset-match-p, locale-charset-alist)
(locale-charset-to-coding-system): New.
(set-locale-environment): Deal with codeset part of locale specs.
|
|
|
|
| |
Simplify regex by removing unused grouping.
|
| |
|
|
|
|
|
|
|
| |
Don't use char code for Latin-1 NBSP.
<XFree86 4>: Unfrob NBSP display table. Set display table to use
U+2018, U+2019 for `'.
(select-safe-coding-system): Message fix.
|
| |
|
| |
|
|
|
|
| |
current-language-environment to the correct string.
|
|
|
|
| |
Delete duplicate aset on standard-display-table.
|
|
|
|
|
| |
* international/mule-cmds.el (set-display-table-and-terminal-coding-system):
Don't break bootstrap if standard-display-table isn't setup yet.
|
|
|
|
| |
Use explicit loop instead of calling standard-display-default.
|
|
|
|
| |
conflict markers and some code.
|
| |
|
|
|
|
| |
`mouse-set-fonts' here from Options/Mule submenu.
|
|
|
|
| |
xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
|
|
|
|
| |
explaining why we futz with display tables.
|
|
|
|
| |
default-buffer-file-coding-system too for automatic selection.
|
|
|
|
| |
default-enable-multibyte-characters is non-nil.
|
|
|
|
| |
mule-utf-16-be-with-signature and mule-utf-16-le.-with-signature.
|
|
|
|
| |
first, require all necessary features.
|
|
|
|
| |
in coding-category-list.
|
|
|
|
| |
priorities of all utf-16 base coding systems.
|
|
|
|
|
| |
Use find-coding-systems-string instead of looking up
char-coding-system-table.
|
|
|
|
| |
default-file-name-coding-system to iso-latin-1.
|