# HG changeset patch # User Kenichi Handa # Date 1055848465 0 # Node ID 5dccfdd80acb3821b09d1ca2fe56c5d27f408de2 # Parent c2c18aa16be3188be60ea2fe72728b0ca2ebb04a *** empty log message *** diff -r c2c18aa16be3 -r 5dccfdd80acb etc/NEWS --- a/etc/NEWS Tue Jun 17 10:56:24 2003 +0000 +++ b/etc/NEWS Tue Jun 17 11:14:25 2003 +0000 @@ -364,6 +364,11 @@ 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 -r c2c18aa16be3 -r 5dccfdd80acb lisp/ChangeLog --- a/lisp/ChangeLog Tue Jun 17 10:56:24 2003 +0000 +++ b/lisp/ChangeLog Tue Jun 17 11:14:25 2003 +0000 @@ -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 -r c2c18aa16be3 -r 5dccfdd80acb src/ChangeLog --- a/src/ChangeLog Tue Jun 17 10:56:24 2003 +0000 +++ b/src/ChangeLog Tue Jun 17 11:14:25 2003 +0000 @@ -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.