maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Announcing port of emacs for maemo (https://talk.maemo.org/showthread.php?t=16189)

Julian 2008-02-07 15:11

Re: Announcing port of emacs for maemo
 
Strange, the dired-use-ls-dired set to nil is working for me. Are you sure that you are doing ^Xd (dired) and not ^X^D (list-directory)? list-directory is still not working, I think you need to set list-directory-brief-switches to get that to work.

Ulysses 2008-02-07 17:08

Re: Announcing port of emacs for maemo
 
You are right, Julian, I was doing C-x C-d, not C-x d.
C-x d works like advertised after setting the said variable.

Maybe you can enlighten us about the list-directory-brief-switches bit?

When this project gets its homepage, we should compile that information for the benefit of the emacs using maemo community...

Still not a word from garage.maemo.org people....

Later, Ulysses

hgtablet 2008-02-08 01:50

Re: Announcing port of emacs for maemo
 
Hey Ulysses,

I suspect they were a little resource constrained, take a look here:
http://maemo.org/news/announcements/...els_breet.html

Niels may be able to help now.

Ulysses 2008-02-08 08:52

Re: Announcing port of emacs for maemo
 
Perfect, hgtablet, I'll take contact with him. thanks.

Ulysses 2008-02-08 09:18

Re: Announcing port of emacs for maemo
 
The following tip will be compiled on the homepage of the project.

Many GNU applications store their documentation in /usr/share/info. They are called info files and are gzipped. However, when you install an application in maemo with Application Manager, a post-install script will delete all files found in /usr/share/info. The rationale is to save space, but that's not necessarily what you want, especially if you want to use info functionality (Meta-x info) in the emacs port that you just installed.

The solution is easy, edit the post-install script to skip /usr/share/info when doing its cleanup. (I don't have the name of the script in memory, anyone cares to refresh it? Thanks.)

Ideally, you will do this before you install emacs, but if you haven't, you don't have to de-install and re-install, just copy the info files you're interested in from a desktop computer to /usr/share/info on the device.

Ok, now you're in emacs and you press Meta-X info, and you see a list of info books you'd like to browse, you press on one, say Coreutils, and what you get is:

Opening input file: error uncompressing coreutils.info.gz, /usr/share/info/core\
utils.info.gz

What happens is that the gzip that ships with busybox doesn't support a switch that emacs uses when it tries to decompress the info files. Solution? Install the expected GNU gzip on your device (I will ready the package soon), and put it in your PATH before anything else in your .ashrc or your .profile, like this:
export PATH=/usr/bin/gzip:$PATH

When you now start emacs in the terminal, and browse the info files, it will use the gzip that it needs.

Hope this helps.

Ulysses

Ulysses 2008-02-08 10:49

Re: Announcing port of emacs for maemo
 
Hi,

Concerning that new person appointed by Nokia to help the maemo community,
does anybody know what the best way would be to contact him?

His name is Niels Breet, but I can't find an email address.

Thanks, Daniel

Julian 2008-02-08 13:13

Re: Announcing port of emacs for maemo
 
Ulysses, the way to get list-directory (C-x C-d) to work is to add

(setq list-directory-brief-switches "-C")

This gets rid of the -F option which bysybox ls does not support.

Julian

hgtablet 2008-02-08 15:05

Re: Announcing port of emacs for maemo
 
Try: maemo @ breet . com

Source: http://www.gossamer-threads.com/list...914;list=maemo

Ulysses 2008-02-08 17:28

Re: Announcing port of emacs for maemo
 
Thanks Julian.

Thanks hgtablet.

This kind of rounds it up for now.

C-u, Ulysses

Ulysses

stats 2008-02-09 01:15

Re: Announcing port of emacs for maemo
 
How much space does the installed package take up?
Is there a way to install to another path than the internal
flash ram?

Cheers,
Rich


All times are GMT. The time now is 15:56.

vBulletin® Version 3.8.8