| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Call force-window-update after read-event and delete-region
to signal that window is not accurate.
|
|
|
|
| |
" *code-converting-work*" buffer for work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Change development version from 21.3.50 to 22.0.50.
|
|
|
|
|
| |
(set-default-coding-systems): Don't set default-file-name-coding-system
on Darwin systems.
|
|
|
|
| |
I-WITH-DOT-ABOVE and DOTLESS-i
|
| |
|
| |
|
|
|
|
| |
Y-WITH-DIAERESIS, I-WITH-DOT-ABOVE, DOTLESS-i.
|
|
|
|
|
| |
any more since it's now special cased in the C code.
Don't "do&undo" setting for 160 (especially, don't undo incorrectly).
|
|
|
|
| |
Fix setting of the element of encoded-kbd-iso2022-invocations.
|
|
|
|
|
| |
Renambed for explicit-buffer-file-coding-system.
(after-insert-file-set-coding): Adjusted for the above change.
|
|
|
|
|
| |
buffer local variable.
(after-insert-file-set-coding): Set it to coding-system-for-read.
|
|
|
|
| |
barf if `buffer-undo-list' is already set to `t'.
|
| |
|
|
|
|
| |
Set buffer-undo-list in a correct and optimal way.
|
|
|
|
| |
coding-system-for-read to nil while loading subst-*.
|
|
|
|
|
|
|
| |
string for the case if input-method-use-echo-area being non-nil.
(quail-start-conversion): Likewise.
(quail-show-guidance): Don't show guidance if
input-method-use-echo-area is non-nil.
|
|
|
|
|
|
| |
Use `isearch-message' as initial input for `read-string' instead
of adding it to the minibuffer prompt. After reading a string
remove the initial value of `isearch-message' from the string.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(after-insert-file-set-coding): Pass that new arg.
Prevent set-buffer-multibyte from trying to lock the file.
|
| |
|
|
|
|
| |
Remove > after <html to allow HTML attributes.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
New function extracted from select-safe-coding-system.
(select-safe-coding-system): Use it.
|
| |
|
|
|
|
| |
Don't use interactive-p. Add arg INTERACTIVE.
|
| |
|
| |
|
|
|
|
| |
Unicode ranges.
|
| |
|
|
|
|
|
|
|
|
| |
New variable.
(utf-translate-cjk-set-unicode-range): New function.
(utf-translate-cjk-unicode-range): Make it customizable.
(utf-8-post-read-conversion): Use
utf-translate-cjk-unicode-range-string.
|
|
|
|
| |
as a front end of translate-region-internal.
|
| |
|
| |
|
|
|
|
| |
buffer is unibyte, temporarily set it multibyte.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
utilize key-translation-map instead of minor mode map.
(encoded-kbd-iso2022-non-ascii-map): Delete it.
(encoded-kbd-coding, encoded-kbd-handle-8bit): Delete them.
(encoded-kbd-last-key): New function.
(encoded-kbd-iso2022-single-shift): New function.
(encoded-kbd-iso2022-designation)
(encoded-kbd-self-insert-iso2022-7bit)
(encoded-kbd-self-insert-iso2022-8bit)
(encoded-kbd-self-insert-sjis, encoded-kbd-self-insert-big5)
(encoded-kbd-self-insert-ccl): Make them suitable for bindings in
key-translation-map.
(encoded-kbd-setup-keymap): Setup key-translation-map.
(saved-key-translation-map): New variable.
(encoded-kbd-mode): Save/restore key-translation-map. Adjusted
for the change of encoded-kbd-setup-keymap.
|
| |
|
| |
|
|
|
|
| |
set last-coding-system-used here.
|
|
|
|
| |
for several characters.
|
| |
|
|
|
|
| |
(ccl-untranslated-to-ucs): Fix typo.
|