From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Post-22.1 development? Date: Fri, 08 Jun 2007 20:01:49 +0200 Message-ID: <4669998D.90402@swipnet.se> References: <878xb05ras.fsf@stupidchicken.com> <864plnorgn.fsf@lola.quinscape.zz> <85ps4ap0kh.fsf@lola.goethe.zz> <18023.8888.790251.607253@kahikatea.snap.net.nz> <4667AAD8.5040502@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181325724 12380 80.91.229.12 (8 Jun 2007 18:02:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2007 18:02:04 +0000 (UTC) Cc: cyd@stupidchicken.com, eliz@gnu.org, nickrob@snap.net.nz, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 08 20:02:01 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hwime-0004Ec-GX for ged-emacs-devel@m.gmane.org; Fri, 08 Jun 2007 20:02:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hwime-0008P6-6f for ged-emacs-devel@m.gmane.org; Fri, 08 Jun 2007 14:02:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hwimb-0008P1-Oa for emacs-devel@gnu.org; Fri, 08 Jun 2007 14:01:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hwimb-0008Op-7o for emacs-devel@gnu.org; Fri, 08 Jun 2007 14:01:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hwimb-0008Om-5e for emacs-devel@gnu.org; Fri, 08 Jun 2007 14:01:57 -0400 Original-Received: from av9-2-sn3.vrr.skanova.net ([81.228.9.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HwimZ-00063q-3X; Fri, 08 Jun 2007 14:01:55 -0400 Original-Received: by av9-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 0EF8537FE0; Fri, 8 Jun 2007 20:01:53 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av9-2-sn3.vrr.skanova.net (Postfix) with ESMTP id ECC5E37FD7; Fri, 8 Jun 2007 20:01:52 +0200 (CEST) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 4190037E44; Fri, 8 Jun 2007 20:01:52 +0200 (CEST) User-Agent: Thunderbird 1.5.0.12 (X11/20070604) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72503 Archived-At: Richard Stallman skrev: > Gmome libraries - If Emacs where to use more Gnome libraries instead of having > its own version of some code (session management, font handling, dialogs, > configuration, themes, widgets, printing), Emacs would benefit automatically > when these libraries are updated. > > To eliminate Emacs's own code is out of the question unless we wanted > to make Emacs work ONLY with Gnome. We could make Emacs use Gnome > facilities optionally, in the cases where it is worth the trouble. > > - Printing, basically Emacs does not have a "modern" print dialog. > > I find those print dialogs inconvenient if every print operation has > to use them. However, it would be nice to be able to use such a > dialog to do print configuration when one wants to do it. > Usually it is split into two commands, "Print" and Print/Page setup/settings". Also is seems that invoking print from the tool bar justs print without showing any dialog. What commands we choose to have dialogs or not is of course up to us. > How hard is that to implement? It is some work. Gtk+ from 2.10 onvards has printing support (ready made dialogs and such), but the bad news is that the print data is to rendered with Cairo. I don't know how hard that is. > > - Fonts, AA fonts and respecting the fonts selected by the user in his desktop > preferences, including switching fonts on the fly when the user changes his > preferences. A font dialog chooser is missing. > > Would it make sense to use that font dialog > to configure faces in Emacs? Yes, this is quite easy to do. The only reason it is not in 22.1 is that the dialog can't filter out non-AA fonts. Since Emacs 22.1 can't do AA fonts, it would be confusing to have a dialog where most fonts the user selects doesn't work. > > - Session management. We have that now in 22.1, but Emacs does not restore > the frame layout as it was. > > Could you explain that failure more clearly? Say I have 2 or more frames when the session exits. When the session is started again (i.e. I log in again in Gnome), the frames are not restored, only one new initial frame is created. > > Drag and drop - We can't drag text or images from Emacs to another application. > > That is definitely a bug. Have you implemented this? Only for text, and only for Gtk+, since there is considerably API support there. I don't think images would be very hard in Gtk+ though. It is a bit of work to it in pure X11, but not overly much so. > > Now some of these are being done (AA fonts), some I have patches for (better > theme handling, dnd), > > What aspect of theme handling have you improved? I can detect if the font changes, but I currently haven't the code to change the faces, that requires the unicode2 merged in (i.e. AA fonts). Themes that changes tool bar icons also changes the corresponding icons in Emacs. Both are Gtk+ only. Jan D.