diff --git a/etc/NEWS b/etc/NEWS index aa7547ac07a..8866dd79d2e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -364,6 +364,11 @@ these extensions, and is now used by default for encoding and decoding X selections. If you don't want this support, set `selection-coding-system' to `compound-text'. +** The new variable `x-select-request-type' controls how Emacs +requests X selection. The default value is nil, which means that +Emacs requests X selection with types COMPOUND_TEXT and UTF8_STRING, +and use the more appropriately result. + +++ ** The parameters of automatic hscrolling can now be customized. The variable `hscroll-margin' determines how many columns away from diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f8e46dcc148..cf4c24bdd2a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,15 @@ +2003-06-17 Kenichi Handa + + * term/x-win.el (x-select-request-type): New variable. + (x-select-utf8-or-ctext): New function. + (x-selection-value): New function. + (x-cut-buffer-or-selection-value): Call x-selection-value to get + a selection data. Set next-selection-coding-system to nil. + + * select.el (x-get-selection): If the string returned by + x-get-selection-internal has text property `foreign-selection', + decode it while preserving that property. + 2003-06-16 Luc Teirlinck * simple.el (vis-mode): New function. diff --git a/src/ChangeLog b/src/ChangeLog index 08b9ec38928..c3c2ed1dd39 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2003-06-17 Kenichi Handa + + * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, + composite.h. + + * xselect.c: Don't include charset.h, coding.h, composite.h. + (Qforeign_selection): New variable. + (syms_of_xselect): Intern and static it. + (selection_data_to_lisp_data): Return a unibyte string made from + data with `foreign-selection' text property. + 2003-06-15 Stefan Monnier * termhooks.h (EVENT_INIT): New macro.