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: Fri, 28 May 2004 08:44:07 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.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 1085764866 1075 80.91.224.253 (28 May 2004 17:21:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 May 2004 17:21:06 +0000 (UTC) Cc: Eli Zaretskii , sds@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 28 19:20:51 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 1BTl2J-0008RY-00 for ; Fri, 28 May 2004 19:20:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTl2J-0004r9-00 for ; Fri, 28 May 2004 19:20:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTduj-0005A5-3Q for emacs-devel@quimby.gnus.org; Fri, 28 May 2004 05:44:33 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BTdWr-00017V-Ah for emacs-devel@gnu.org; Fri, 28 May 2004 05:19:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BTc3A-0001bK-UR for emacs-devel@gnu.org; Fri, 28 May 2004 03:45:43 -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 1BTc2X-0001R5-0J; Fri, 28 May 2004 03:44:29 -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 i4S7iQU9028669; Fri, 28 May 2004 08:44:27 +0100 Original-Received: from NYAUMO (nyaumo.jasonrumney.net [10.0.0.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id BB13BDDD41; Fri, 28 May 2004 08:44:26 +0100 (BST) Original-To: Benjamin Riefenstahl In-Reply-To: (Benjamin Riefenstahl's message of "Thu, 27 May 2004 11:45:42 +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.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:24087 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24087 Benjamin Riefenstahl writes: > - Posting: Post CF_UNICODETEXT. Test if CF_TEXT is there now. If > CF_TEXT is not automatically provided by Windows, post CF_TEXT > ourself in additiona to CF_UNICODETEXT. Note that this last > situation would triple the amount of memory required. Andrew Innes always had the intention to make the clipboard work on-demand, the same way it does on X. So the memory would only be used if the clipboard text was actually pasted (and then only for the format the client wanted). Another thing worth considering, if we are making major changes to the clipboard code, is that Kenichi Handa pointed out some time ago that the encoding part of the X clipboard support is now done in Lisp (xselect.el). Windows could do this too. But now we are in feature freeze. It is probably worth letting Emacs support CF_UNICODETEXT in some way, but I think the ideal solution is too much. If you can find a simple solution that does not introduce new user variables, even if it requires manual work by the user to force unicode, then lets install that. > Anyway, what happens to the MULE problem in this unified scenario? Do > all problems go away with unify-8859-on-{de,en}coding? What MULE problem?