* small emacs for using org on Android @ 2009-08-28 18:00 news 2009-08-29 13:35 ` Scot Becker ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: news @ 2009-08-28 18:00 UTC (permalink / raw) To: emacs-orgmode 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: small emacs for using org on Android 2009-08-28 18:00 small emacs for using org on Android news @ 2009-08-29 13:35 ` Scot Becker 2009-08-29 22:32 ` news 2009-08-31 21:51 ` Sven Bretfeld 2009-09-02 3:17 ` Torsten Wagner 2 siblings, 1 reply; 8+ messages in thread From: Scot Becker @ 2009-08-29 13:35 UTC (permalink / raw) To: news; +Cc: emacs-orgmode 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, <news@aleblanc.cotse.net> 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 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: small emacs for using org on Android 2009-08-29 13:35 ` Scot Becker @ 2009-08-29 22:32 ` news 0 siblings, 0 replies; 8+ messages in thread From: news @ 2009-08-29 22:32 UTC (permalink / raw) To: emacs-orgmode Scot Becker <scot.becker@gmail.com> 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, <news@aleblanc.cotse.net> 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: small emacs for using org on Android 2009-08-28 18:00 small emacs for using org on Android news 2009-08-29 13:35 ` Scot Becker @ 2009-08-31 21:51 ` Sven Bretfeld 2009-09-02 2:54 ` news 2009-09-02 3:17 ` Torsten Wagner 2 siblings, 1 reply; 8+ messages in thread From: Sven Bretfeld @ 2009-08-31 21:51 UTC (permalink / raw) To: emacs-orgmode <news@aleblanc.cotse.net> writes: > 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. If you have a flatrate and if you don't mind to have a computer constantly running at home, you can use the Android app ConnectBot (or normal ssh on Debian) to do your Emacs work including org stuff. This is much easier and faster than running Emacs on the phone itself. Greetings Sven ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: small emacs for using org on Android 2009-08-31 21:51 ` Sven Bretfeld @ 2009-09-02 2:54 ` news 2009-09-03 8:03 ` Sven Bretfeld 0 siblings, 1 reply; 8+ messages in thread From: news @ 2009-09-02 2:54 UTC (permalink / raw) To: emacs-orgmode "Sven Bretfeld" <sven.bretfeld@gmx.ch> writes: > <news@aleblanc.cotse.net> writes: > >> 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. > > If you have a flatrate and if you don't mind to have a computer > constantly running at home, you can use the Android app ConnectBot (or > normal ssh on Debian) to do your Emacs work including org stuff. This is > much easier and faster than running Emacs on the phone itself. > Actually I find it significantly slower using ssh - there is a noticeable lag. I only really want to use it for org-mode so I don't need any heavy computation. However I must admit I get a more reliable cursor position using SSH (with a local connection it is sometimes off by a line). -- aleblanc ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: small emacs for using org on Android 2009-09-02 2:54 ` news @ 2009-09-03 8:03 ` Sven Bretfeld 0 siblings, 0 replies; 8+ messages in thread From: Sven Bretfeld @ 2009-09-03 8:03 UTC (permalink / raw) To: emacs-org <news@aleblanc.cotse.net> writes: > Actually I find it significantly slower using ssh - there is a > noticeable lag. I only really want to use it for org-mode so I don't > need any heavy computation. > However I must admit I get a more reliable cursor position using SSH > (with a local connection it is sometimes off by a line). Just checked the exact time: It takes 10 seconds to have Emacs ready via ssh. Within the same time an app like the music player starts. How long would a native Emacs running on the phone take to start? I use ssh with key authentication, no password-typing: 8 sec. to connect. Additional 2 seconds to type a bash-alias for emacsclient -t. For me, it's fast enough for adding a note via org-remember, even during a conversation. Greetings Sven ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: small emacs for using org on Android 2009-08-28 18:00 small emacs for using org on Android news 2009-08-29 13:35 ` Scot Becker 2009-08-31 21:51 ` Sven Bretfeld @ 2009-09-02 3:17 ` Torsten Wagner 2009-09-02 15:14 ` news 2 siblings, 1 reply; 8+ messages in thread From: Torsten Wagner @ 2009-09-02 3:17 UTC (permalink / raw) To: emacs-orgmode; +Cc: news [-- Attachment #1.1: Type: text/plain, Size: 429 bytes --] Hi, please remember a org-file is still (and thankfully and amazingly) a plain text file. As long as you are not going to make big changes, any other (smaller) text editor will do, e.g., nano, pico, *cough* vim *cough*. I found myself comfortable to export the org-file to html and display it in my E-ink Ebook reader. Not able to edit it but reading my notes and thought like on printed paper is nice :) Greetings Totti [-- Attachment #1.2: Type: text/html, Size: 1441 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: small emacs for using org on Android 2009-09-02 3:17 ` Torsten Wagner @ 2009-09-02 15:14 ` news 0 siblings, 0 replies; 8+ messages in thread From: news @ 2009-09-02 15:14 UTC (permalink / raw) To: emacs-orgmode Torsten Wagner <torsten.wagner@gmail.com> writes: > > please remember a org-file is still (and thankfully and amazingly) a plain text > file. As long as you are not going to make big changes, any other (smaller) > text editor will do, e.g., nano, pico, *cough* vim *cough*. > I found myself comfortable to export the org-file to html and display it in my > E-ink Ebook reader. Not able to edit it but reading my notes and thought like > on printed paper is nice :) > Good point. However some of my org entries are encrypted, and navigation is much easier with org. I wonder if anyone is working on an Android version of Emacs? -- aleblanc ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-09-03 8:03 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-08-28 18:00 small emacs for using org on Android news 2009-08-29 13:35 ` Scot Becker 2009-08-29 22:32 ` news 2009-08-31 21:51 ` Sven Bretfeld 2009-09-02 2:54 ` news 2009-09-03 8:03 ` Sven Bretfeld 2009-09-02 3:17 ` Torsten Wagner 2009-09-02 15:14 ` news
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).