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: 09 Mar 2004 23:34:15 +0200 Organization: University of Crete Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <878yi9r9go.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 1079046411 20102 80.91.224.253 (11 Mar 2004 23:06:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 23:06:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 12 00:06:42 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 1B1ZGE-0000Mf-00 for ; Fri, 12 Mar 2004 00:06:42 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1ZGE-0001A6-00 for ; Fri, 12 Mar 2004 00:06:42 +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 1B1Z61-0007jO-6R for emacs-devel@quimby.gnus.org; Thu, 11 Mar 2004 17:56:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B12ck-000061-3f for emacs-devel@gnu.org; Wed, 10 Mar 2004 07:15:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B12aE-0008M5-Ie for emacs-devel@gnu.org; Wed, 10 Mar 2004 07:13:41 -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 1B12aD-0008LI-K6 for emacs-devel@gnu.org; Wed, 10 Mar 2004 07:13:09 -0500 Original-Received: (qmail 19759 invoked from network); 10 Mar 2004 11:40:56 -0000 Original-Received: from ppp129.dial-up.uoc.gr (HELO isis.myth) ([147.52.8.129]) (envelope-sender ) by ns.uoc.gr (qmail-ldap-1.03) with SMTP for ; 10 Mar 2004 11:40:56 -0000 Original-Received: from localhost ([127.0.0.1] helo=isis.myth) by isis.myth with esmtp (Exim 3.36 #1 (Debian)) id 1B0orf-0001kW-00 for ; Tue, 09 Mar 2004 23:34:15 +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:20316 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20316 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