]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKenichi Handa <handa@m17n.org>
Tue, 17 Jun 2003 11:14:25 +0000 (11:14 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 17 Jun 2003 11:14:25 +0000 (11:14 +0000)
etc/NEWS
lisp/ChangeLog
src/ChangeLog

index aa7547ac07a4bdc4ac0cb3da9e2c38dc3ec13c96..8866dd79d2ed7294a29333fd3418324ef28c3e79 100644 (file)
--- 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
index f8e46dcc148e4d531ab79b505251c0d739b9d0ca..cf4c24bdd2a7383a979c5162b6a60b0e1abc5971 100644 (file)
@@ -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.
index 08b9ec389281f76cfd9e8e4ffb86018152bc87b6..c3c2ed1dd390555eadfb5ffff3edba4f16f7f235 100644 (file)
@@ -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.