From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: small emacs for using org on Android Date: Sat, 29 Aug 2009 23:32:40 +0100 Message-ID: <874orqz1x3.fsf@it.com> References: <87eiqvizsl.fsf@it.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhWTy-0000RX-Ak for emacs-orgmode@gnu.org; Sat, 29 Aug 2009 18:33:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhWTt-0000Pq-FO for emacs-orgmode@gnu.org; Sat, 29 Aug 2009 18:33:14 -0400 Received: from [199.232.76.173] (port=40412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhWTt-0000PX-8i for emacs-orgmode@gnu.org; Sat, 29 Aug 2009 18:33:09 -0400 Received: from lo.gmane.org ([80.91.229.12]:59746) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MhWTs-00007m-FT for emacs-orgmode@gnu.org; Sat, 29 Aug 2009 18:33:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MhWTo-0003BD-Kt for emacs-orgmode@gnu.org; Sun, 30 Aug 2009 00:33:04 +0200 Received: from 67.159.44.184 ([67.159.44.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Aug 2009 00:33:04 +0200 Received: from news by 67.159.44.184 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Aug 2009 00:33:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Scot Becker writes: How do I remove unwanted modes? Is it just a case of removing the .el files? > I'm not the most qualified person to answer this, since I'm only an > observer to emacs development, but I have some experience trying to > compile a reduced-size version of Emacs 23, so I'll add my two pence > until someone can inform you better. > > I tried to cut down emacs for my own use (basically, an older laptop > in which I was running TinyCore linux from RAM, and wanted to put > emacs+org into RAM as well). I found that GNU Emacs seems not to be > designed with modularity in mind. In fact, my read of the devel list > is that the opposite virtue is espoused: reuse existing code where > possible. Add to this that the program (as I'm sure you know) is > quite complex. Even if there were a smaller Lisp interpreter, it > probably would fail at a number of points to do the things that > org-mode (and the Emacs parts org depends on) needs. In this case, I > don't think you'll get a smaller engine to drive the same car. Sorry. > > What you might have some luck with is slicing away gingerly at your > existing Emacs distribution. For example, you might try: (1) making > sure that there are no Lisp source files for libraries which exist as > byte compiled files (delete blah.el where there is a blah.elc). (2) > slicing the info documentation down to the bone, and gzipping the > remainder. (3) removing modes you don't need. This will take some > experimentation. org-mode won't compile without 'calc' 'calendar' and > even Gnus, but might run without gnus if you don't need whatever > feature it borrows. Also, other modes derive from more basic modes or > other wise re-use other modes' code. So you may run into errors, > which you'll have to fix by adding the missing pieces back in. (4) > You can cut out input methods and terminal types you don't need. (5) > I expect Emacs 22 is smaller than emacs 23, and you may even find that > Emacs 21 meets your needs, though org-mode apparently has some > limitations on it. > > I suspect that judicious experimental cutting is the only way (aside > from compression) that you'll get a smaller GNU Emacs and org mode. > Good luck. > > HTH, > Scot > > > On Fri, Aug 28, 2009 at 7:00 PM, wrote: >> Hi, >>   can anyone recommend a small emacs implementation that will run org? >>   I have Debian running on my G1 phone (see here: >>   http://www.emacswiki.org/emacs/EmacsOnAndroid), >>   and have been running Emacs 22 on it successfully. >>   However it doesn't leave me much memory for other apps. >> >>   I have had a look through some of the implementations listed here: >> >>   http://www.emacswiki.org/emacs-en/EmacsImplementations >> >>   but it seems that most of them are not full elisp interpreters and so >>   I'm not sure that org-mode will work. >> >> -- >> aleblanc >> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode Hi Scot, -- aleblanc