changeset 51602:5dccfdd80acb

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Tue, 17 Jun 2003 11:14:25 +0000
parents c2c18aa16be3
children 978e262c8f3a
files etc/NEWS lisp/ChangeLog src/ChangeLog
diffstat 3 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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  <handa@m17n.org>
+
+	* 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  <teirllm@mail.auburn.edu>
 
 	* simple.el (vis-mode): New function.
--- 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  <handa@m17n.org>
+
+	* 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  <monnier@cs.yale.edu>
 
 	* termhooks.h (EVENT_INIT): New macro.