From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Giannis Georgalis Newsgroups: gmane.emacs.devel Subject: porting GNU Emacs to kde (?) Date: 11 Mar 2004 17:55:16 +0200 Organization: University of Crete Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <877jxr1iqj.fsf@isis.myth> Reply-To: jgeorgal@uoc.gr NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079100590 314 80.91.224.253 (12 Mar 2004 14:09:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Mar 2004 14:09:50 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 12 15:09:36 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 1B1nLz-0003iV-00 for ; Fri, 12 Mar 2004 15:09:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1nLt-0004nA-00 for ; Fri, 12 Mar 2004 15:09:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1nHl-0006Sw-QK for emacs-devel@quimby.gnus.org; Fri, 12 Mar 2004 09:05:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B1hvd-0005eQ-3b for emacs-devel@gnu.org; Fri, 12 Mar 2004 03:22:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B1SZ5-0005r4-Rf for emacs-devel@gnu.org; Thu, 11 Mar 2004 10:58:15 -0500 Original-Received: from [147.52.80.1] (helo=mail.uoc.gr) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B1SZ4-0005q2-80 for emacs-devel@gnu.org; Thu, 11 Mar 2004 10:57:42 -0500 Original-Received: (qmail 22752 invoked from network); 11 Mar 2004 15:57:34 -0000 Original-Received: from ppp82.dial-up.uoc.gr (HELO isis.myth) ([147.52.8.82]) (envelope-sender ) by ns.uoc.gr (qmail-ldap-1.03) with SMTP for ; 11 Mar 2004 15:57:34 -0000 Original-Received: from localhost ([127.0.0.1] helo=isis.myth) by isis.myth with esmtp (Exim 3.36 #1 (Debian)) id 1B1SWj-0000cL-00 for ; Thu, 11 Mar 2004 17:55:17 +0200 Original-To: emacs-devel@gnu.org Original-Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:20354 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20354 Hello ! I was thinking of trying to port GNU Emacs to the KDE[1] environment in the near future. The main incentive for this decision, is my desire to start using kdevelop[2] as my IDE (which is impossible without Emacs ;-)). This is possible in KDE (and kdevelop in specific) through the KPart[3] interface. This roughly means that Emacs should become a shared object and export some functionality that implements a well defined Editor interface. This way, Emacs can be used throughout the KDE environment WHEREVER an editor is needed[4]. This is quite a complex task. And as I see it, it could be done in two steps: a) Make Emacs use the kde libraries as done with the gtk2 port. b) "Organize" Emacs in a way that it can elegantly implement the Editor interface mentioned above. Note, that I'm familiar with the effort of Marco Correia (that also send a mail to this list with a similar context), who begun (but stopped eventually) to implement an Emacs KPart[3], using the emacs-server interface. Though Marco's approach (as he told me) is possible, IMHO it is better to follow the former method because it can achieve far better integration with the kde environment, while implementing all the necessary "hooks" (and knowledge/code base) for a similar integration with the GNOME environment (ORBit(?)), which I suspect, follows a similar pattern. As I'm not able to estimate the difficulties/complexity of such an approach (I'm not familiar with the emacs internals), I firstly would like to ask your opinion on the above matters and whether you think this whole project would be useful from the "Emacs perspective". Lastly, are there any other parameters, that would make this project more difficult/impossible (eg. policy / ideological issues)? Thank you, Giannis References: [1] http://www.kde.org [2] http://kdevelop.org [3] http://en.wikipedia.org/wiki/KPart [4] see also vimpart. -- question = ( to ) ? be : ! be; -- Wm. Shakespeare