changeset 46880:12873c268a23

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Wed, 14 Aug 2002 00:58:23 +0000
parents f7c325954eca
children 970ca194ce9a
files lisp/ChangeLog src/ChangeLog
diffstat 2 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Aug 14 00:57:55 2002 +0000
+++ b/lisp/ChangeLog	Wed Aug 14 00:58:23 2002 +0000
@@ -1,3 +1,11 @@
+2002-08-14  Kenichi Handa  <handa@etl.go.jp>
+
+	* select.el (xselect-convert-to-string): If TYPE is non-nil,
+	encode the selection data string.  Always return cons of type and
+	string.
+	(selection-converter-alist): Add (UTF8_STRING .
+	xselect-convert-to-string).
+
 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
 
 	* newcomment.el (comment-region): Force `lines' when `block' is set.
--- a/src/ChangeLog	Wed Aug 14 00:57:55 2002 +0000
+++ b/src/ChangeLog	Wed Aug 14 00:58:23 2002 +0000
@@ -1,3 +1,21 @@
+2002-08-14  Kenichi Handa  <handa@etl.go.jp>
+
+	* xselect.c (QUTF8_STRING): New variable.
+	(symbol_to_x_atom): Pay attention to QUTF8_STRING.
+	(x_atom_to_symbol): Likewise.
+	(x_get_local_selection): New argument local_request.  If it is
+	nonzero, call handler_fn with the second arg nil.
+	(x_handle_selection_request): Call x_get_local_selection with
+	local_request 0.
+	(lisp_data_to_selection_data): Don't encode the string here.
+	(Fx_get_selection_internal): Call x_get_local_selection with
+	local_request 1.
+	(syms_of_xselect): Intern and staticpro QUTF8_STRING.
+
+	* xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING.
+
+	* xterm.h (struct x_display_info): New member Xatom_UTF8_STRING.
+
 2002-08-13  Richard M. Stallman  <rms@gnu.org>
 
 	* minibuf.c (Fminibufferp): New function.