From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: bug in xselect-convert-to-string Date: Mon, 3 May 2004 09:17:59 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405030017.JAA10308@etlken.m17n.org> References: <200405021901.i42J15x05343@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1083543611 23954 80.91.224.253 (3 May 2004 00:20:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 00:20:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 03 02:20:00 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKRBg-0005rD-00 for ; Mon, 03 May 2004 02:20:00 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKRBg-00039W-00 for ; Mon, 03 May 2004 02:20:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKRAt-0006iO-LP for emacs-devel@quimby.gnus.org; Sun, 02 May 2004 20:19:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKRAd-0006dq-5a for emacs-devel@gnu.org; Sun, 02 May 2004 20:18:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKRA3-0005eJ-AZ for emacs-devel@gnu.org; Sun, 02 May 2004 20:18:51 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKRA2-0005Wf-2U for emacs-devel@gnu.org; Sun, 02 May 2004 20:18:18 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i430I0820229; Mon, 3 May 2004 09:18:00 +0900 (JST) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i430I0924032; Mon, 3 May 2004 09:18:00 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA10308; Mon, 3 May 2004 09:17:59 +0900 (JST) Original-To: teirllm@dms.auburn.edu In-reply-to: <200405021901.i42J15x05343@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 2 May 2004 14:01:05 -0500 (CDT)) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22571 In article <200405021901.i42J15x05343@raven.dms.auburn.edu>, Luc Teirlinck writes: > Trying to yank text with read-only properties into say, a gnome > terminal, yields an error. The following patch fixes this. It seems > like an obvious change to make, but I post the patch before > installing, just to make sure that there are no objections. If not, I > will install. I agree with that change. --- Ken'ichi HANDA handa@m17n.org > ===File ~/select-diff======================================= > *** select.el.~1.21.~ Tue Sep 2 07:36:12 2003 > --- select.el Sun May 2 13:00:26 2004 > *************** > *** 177,182 **** > --- 177,183 ---- > (setq coding (coding-system-base coding)) > (setq coding 'raw-text)) > ;; Suppress producing escape sequences for compositions. > + (let ((inhibit-read-only t)) > (remove-text-properties 0 (length str) '(composition nil) str) > (cond > ((eq type 'TEXT) > *************** > *** 216,222 **** > (t > (error "Unknow selection type: %S" type)) > ! )) > (setq next-selection-coding-system nil) > (cons type str)))) > --- 217,223 ---- > (t > (error "Unknow selection type: %S" type)) > ! ))) > (setq next-selection-coding-system nil) > (cons type str)))) > ============================================================ > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://mail.gnu.org/mailman/listinfo/emacs-devel