From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Unicode support for the MS Windows clipboard Date: Mon, 26 Jul 2004 20:45:42 +0100 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <9681-Thu27May2004100522+0300-eliz@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090871180 10482 80.91.224.253 (26 Jul 2004 19:46:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2004 19:46:20 +0000 (UTC) Cc: Eli Zaretskii , Kenichi Handa , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 21:46:05 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BpBQC-0002T4-00 for ; Mon, 26 Jul 2004 21:46:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpBTF-0005Ss-EX for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2004 15:49:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BpBT2-0005Gu-4e for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:49:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BpBT0-0005DM-1V for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:48:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpBSz-0005D0-RO for emacs-devel@gnu.org; Mon, 26 Jul 2004 15:48:57 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BpBPt-0005c3-NJ; Mon, 26 Jul 2004 15:45:46 -0400 Original-Received: from wanchan.jasonrumney.net (i-195-137-77-250.freedom2surf.net [195.137.77.250]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id i6QJjinF001783; Mon, 26 Jul 2004 20:45:44 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id DEEA1DDD4B; Mon, 26 Jul 2004 20:45:43 +0100 (BST) Original-To: Benjamin Riefenstahl In-Reply-To: (Benjamin Riefenstahl's message of "Mon, 26 Jul 2004 21:17:13 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25987 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25987 Benjamin Riefenstahl writes: >> I get the feeling that the C code does too much, and that it should >> delegate major parts of the processing to Lisp. I am not yet sure >> how to structure that, though. > > After thinking about it, making more interfaces between Lisp and C > doesn't seem too usefull. Windows is pretty firm about what is what > here, so there is not much to customize. Via the > selection-coding-system variable, the algorithm is already more > tinkerable from the Lisp side than strictly necessary. It would be useful do the clipboard rendering from Lisp, like the clipboard support for X does. This could enable other formats (rich text, images) to be supported without C code changes. This was actually one of the main reasons for implementing delayed rendering.