From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: GTK question (was Re: Gtk patch version 3, part 1) Date: Wed, 1 Jan 2003 23:01:11 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <89AA5A00-1DD4-11D7-B029-00039363E640@swipnet.se> References: <86k7hox4dr.fsf@asgard.in.mykungfuisthebest.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1041458516 16589 80.91.224.249 (1 Jan 2003 22:01:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 1 Jan 2003 22:01:56 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Tqvy-0004JP-00 for ; Wed, 01 Jan 2003 23:01:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Tqxn-00031j-00 for ; Wed, 01 Jan 2003 23:03:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TqwB-0000l4-00 for emacs-devel@quimby.gnus.org; Wed, 01 Jan 2003 17:02:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Tqvo-0000MA-00 for emacs-devel@gnu.org; Wed, 01 Jan 2003 17:01:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18TqvU-0007fA-00 for emacs-devel@gnu.org; Wed, 01 Jan 2003 17:01:31 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TqvS-0007XX-00; Wed, 01 Jan 2003 17:01:22 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h01Muu0U014445; Wed, 1 Jan 2003 23:56:57 +0100 Original-To: wmperry@gnu.org (William M. Perry) In-Reply-To: <86k7hox4dr.fsf@asgard.in.mykungfuisthebest.net> X-Mailer: Apple Mail (2.482) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10398 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10398 > This talk of the file selector leads me to wonder - are you using the stock > GTK file selector? If so, doesn't that mean that EFS and friends will no > longer be available? Is that really desirable? Are they available with the Motif/Lesstif file selector? > When I did the XEmacs GTK work, I got a lot of complaints about this, and > ended up implementing my own file selector in lisp that used the Emacs > primitives for file access, so EFS/ange-ftp/URL could hook into it. Don't that require the ability to create widgets from inside lisp? I guess one could write a special lisp <-> C bridge just for the file dialog. I plan to replace the file dialog anyway, because it does not handle files and directorynames correctly that aren't UTF-8. In fact, if you start Emacs in a directory that has some Latin-1 character in it and bring up the file dialog, the file dialog will promptly exit with a failed assertion. The GTK people does not think this is a bug, "convert all your files, tools and directories to UTF-8" is their solution. Being in Europe, using Latin-1 alot, I can't just switch to UTF-8, so the file dialog must change. When I come around to it, I will consider your strategy of doing a file dialog from lisp. Sounds like a good idea anyway, regardles of EFS. > Just curious! Good point to bring up, Jan D.