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)

qwerty12 2008-04-30 14:54

Re: Announcing port of emacs for maemo
 
Here, I've also modified Ulysses's port of aspell with the en dictionaries already :)

http://www.mediafire.com/?n9gkhm1ated

Ulysses 2008-05-06 11:25

Re: Announcing port of emacs for maemo
 
Qwerty12's packages are now availabe on garage.

The links can be found on the emacs-for-maemo homepage:

http://danielsz.freeshell.org/code/m...acs-for-maemo/

Thanks, qwerty12, for the good work.

sarahn 2008-05-11 06:17

Re: Announcing port of emacs for maemo
 
If anyone is interested I recompiled microEMACS http://www.jasspa.com/downlatest.html ; it is only command line for now. Size is 6.5MB I think.

maillaxa 2008-05-24 13:48

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by Ulysses (Post 178350)
Qwerty12's packages are now availabe on garage.

The links can be found on the emacs-for-maemo homepage:

http://danielsz.freeshell.org/code/m...acs-for-maemo/

Thanks, qwerty12, for the good work.


Ah ah ah ! THey did it, I love you :)

bron84 2008-05-26 14:23

Re: Announcing port of emacs for maemo
 
Hi everybody...
Today, I compiled emacs-23.0.60 with CVS080525-sources and it works fine with XFT font-backend ...
You'll get it above and It is bzip2-compressed tar archive ,so please do "bzcat -cd emacs23_cvs20080525.tbz2 |tar xvpf - -C / " .
And now you'll see emacs-23.0.60 under "/usr/local/bin" ...

http://chillopium.s272.xrea.com/maem...cvs080525.tbz2

Ulysses 2008-07-05 03:56

Re: Announcing port of emacs for maemo
 
OK, so here's the update on emacs in diablo.

You will need the ncurses-base package for the no X package.
It can be found here until they (Nokia) integrate it in diablo repo's:

web addr: http://repository.maemo.org/
distrib: chinook
components: free non-free

I haven't tried the X emacs package, you'll likely to have to hunt for libxaw7.

Good luck.

Ulysses

maillaxa 2008-07-08 23:28

Re: Announcing port of emacs for maemo
 
What is people feedback on using emacs on the tablet ? Is it usable with the built-in keyboard of the n810 ? I have tried once to install but it failed due to lack of space :)

Thank you

maillaxa 2008-07-09 21:41

Re: Announcing port of emacs for maemo
 
Ok I finally installed it. I have a very noobish question: what is the Meta key on the N810 tablet ? :)

vinc17 2008-07-09 22:56

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by maillaxa (Post 201064)
Ok I finally installed it. I have a very noobish question: what is the Meta key on the N810 tablet ? :)

Just like everywhere else: it's ESC. Indeed, there's no Meta key in text terminals, or if you want, on desktop computers, xterm can be configured to generate an ESC character when Meta is pressed.

maillaxa 2008-07-10 03:07

Re: Announcing port of emacs for maemo
 
I don't have an ESC key here.

vinc17 2008-07-10 08:28

Re: Announcing port of emacs for maemo
 
The N810 has an ESC key: this is the bottom key on the left of the screen (the key that is used for Cancel).

Ulysses 2008-07-10 10:34

Re: Announcing port of emacs for maemo
 
With an external (bluetooth) keyboard, the Nokia tablet is an awesome emacs machine. Whether you write novels with it, program code on it, check email, plan your schedule, or whatever it is that you use emacs for... A comfortable keyboard seems to me mandatory though...

I also recommend the no X version. Stick to the terminal, use the bitstream vera font, get rid of scrollbars and toolbars, and get some work done.


Ulysses

maillaxa 2008-07-10 19:10

Re: Announcing port of emacs for maemo
 
Could you shqre you configuration file ?

vinc17 2008-07-11 01:04

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by Ulysses (Post 201204)
With an external (bluetooth) keyboard, [...]

if you can carry one.

Quote:

I also recommend the no X version. Stick to the terminal, use the bitstream vera font, get rid of scrollbars and toolbars, and get some work done.
A hildonized X version would be more practical. Here I use the monospace font (the one provided with diablo, I don't know which one, there aren't others, no mention to bitstream vera fonts), 10pt to have the conventional 80 columns (even a bit more). The scrollbar is useful with the shell and doesn't take much space, so I keep it. Also, I use a black background, and to have fonts that are visible enough, I needed to activate the bold attribute (Tools → Settings → Font → Formatting).

chaoyi 2009-01-25 21:46

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by vinc17 (Post 201555)
if you can carry one.


A hildonized X version would be more practical. Here I use the monospace font (the one provided with diablo, I don't know which one, there aren't others, no mention to bitstream vera fonts), 10pt to have the conventional 80 columns (even a bit more). The scrollbar is useful with the shell and doesn't take much space, so I keep it. Also, I use a black background, and to have fonts that are visible enough, I needed to activate the bold attribute (Tools → Settings → Font → Formatting).

ProFont looks good too.
http://content.screencast.com/users/...8/00000002.png

frisket 2009-06-24 22:41

Re: Announcing port of emacs for maemo
 
Thanks to everyone who worked on this. I just installed emacs_22.1-1_armel.deb on my N800 and it needed very little to get it working.

For the record, I needed to install it on an SD card: it simply isn't possible to fit it into the internal memory AFAIK.

# mkdir /media/mmc1/emacs
# apt-get install ncurses-base
# dpkg -v --instdir=/media/mmc1/emacs emacs_22.1-1_armel.deb
# chown -r user /media/mmc1/emacs
# chgrp -r users /media/mmc1/emacs

Run with /media/mmc1/emacs/usr/bin/emacs

Mods needed (the absence of the first directory mentioned, arm-linux-gnueabi, is puzzling: without it you get an immediate error message from Emacs)

# mkdir -p /media/mmc1/emacs/usr/libexec/emacs/22.1/arm-linux-gnueabi
# mkdir -p /usr/libexec/emacs/
# ln -s /media/mmc1/emacs/usr/libexec/emacs/22.1/ /usr/libexec/emacs/
# ln -s /media/mmc1/emacs/usr/share/emacs/ /usr/share/

plus adding (setq dired-use-ls-dired nil) to your .emacs as recommended in this forum.

I still need to try and install the X version when I have time.

I'm now editing LaTeX and XML documents with psgml-mode with full Unicode support, writing my XSLT files with xsltide-mode, and executing the processes with Saxon. I've had a few gasps from colleagues too :-)

Laptop? We don' need no steeking laptop...

///Peter

belanger 2009-06-25 03:48

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by frisket (Post 299466)
For the record, I needed to install it on an SD card: it simply isn't possible to fit it into the internal memory AFAIK.

I had no trouble installed the whole thing in internal memory, but perhaps at the time I didn't have as much on my n800 as you do. I did move the share/emacs directory to an SD card, though, in case I need the room in the future.

I never needed the mods that you mentioned; perhaps the different installation directory caused problems.

Quote:

I still need to try and install the X version when I have time.
Even though I have a bluetooth keyboard, I don't want to need it. I would think the X version on an n800 wouldn't be any good without the bluetooth keyboard. I don't see the advantage of it on the n800 anyhow, but I may well just be missing something.

I recently reflashed my n800, so I reinstalled emacs, of course. I agree with your post: emacs on the n800 is cool. Thanks again, Daniel!

ballfresno 2009-07-03 19:35

Re: Announcing port of emacs for maemo
 
Hi!

My first post... please excuse any newbie violations!

I picked up an N800 last week with the express purpose of
running emacs, specifically with org-mode, to finally have a replacement for my defunct Psion.,

I have a couple of questions:

1. where can I get the libxaw7 dependency for the X version of emacs? I've searched here and elsewhere with no luck.

2. Has anybody installed wanderlust?

Only 3 days since I got my tablet but I'm already hooked!

Thanks for any pointers,

eric

belanger 2009-07-03 20:11

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by ballfresno (Post 301861)
1. where can I get the libxaw7 dependency for the X version of emacs? I've searched here and elsewhere with no luck.

I think that might just be in the standard repository; try (as root)

apt-get install libxaw7

Jay

ballfresno 2009-07-04 19:50

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by belanger (Post 301866)
I think that might just be in the standard repository; try (as root)

apt-get install libxaw7

Jay

Thanks but I've tried this already (although new to the tablet, I have many years' experience with Debian):


~ $ sudo apt-get install libxaw7
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libxaw7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libxaw7 has no installation candidate
~ $


The repositories I currently have included are:

~ $ cat /etc/apt/sources.list.d/hildon-application-manager.list
deb http://catalogue.tableteer.nokia.com/certified/ diablo user
deb http://catalogue.tableteer.nokia.com/non-certified/ diablo user
deb http://catalogue.tableteer.nokia.com/updates/diablo-2/ ./
deb http://repository.maemo.org/extras/ diablo free non-free
deb http://repository.maemo.org/extras-devel/ diablo free non-free
~ $


My guess is that I'm missing a repository?

Thanks again,
eric

belanger 2009-07-04 23:23

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by ballfresno (Post 302015)
Thanks but I've tried this already (although new to the tablet, I have many years' experience with Debian):

Sorry, I've just heard about that working for others. But I suppose that was in the past, when chinook was being used.
There is a version for chinook at

http://repository.maemo.org/pool/chi...e/libx/libxaw/

perhaps that will work.

ballfresno 2009-07-04 23:49

Re: Announcing port of emacs for maemo
 
Ah ha! Fantastic. I didn't think of looking at the older repositories (something I would never have done with Debian). I have found not only libxaw7 but also the dependencies it has (libxmu6 and libxpm4) there. They seem to have installed just fine.

I'm now off to try emacs with X but need to re-download the deb for that so it'll be a little while.

Thanks again,
eric

ballfresno 2009-07-05 00:14

Re: Announcing port of emacs for maemo
 
Well, it works! Many thanks again!

Now I just need to figure out how to interact with non-hildonised X applications without a keyboard etc etc (but I think I have pointers to all I need).

Thanks again,
eric

belanger 2009-07-05 01:57

Re: Announcing port of emacs for maemo
 
What pointers? I use the non-X version because I don't want to have to rely on a bluetooth keyboard, and I didn't think that the X version was usable on the N800 without one. (Although I'm perfectly happy with the non-X version, and probably wouldn't switch regardless. I am a bit curious, though.)

ballfresno 2009-07-06 08:23

Re: Announcing port of emacs for maemo
 
Quote:

Originally Posted by belanger (Post 302039)
What pointers? I use the non-X version because I don't want to have to rely on a bluetooth keyboard, and I didn't think that the X version was usable on the N800 without one. (Although I'm perfectly happy with the non-X version, and probably wouldn't switch regardless. I am a bit curious, though.)

By "pointers" I was referring specifically to the xkbd on-screen keyboard which allows for input to X applications. I've been playing with this and although it can be quirky at times, it does seem to work. I'm using a keyboard layout which puts all the keys on the left of the screen (overlaying the icons). I am also trying to track down the download for xvkbd, an alternative on-screen keyboard that may be more suitable. This is on-going...

xkbd works well for org-mode when I simply want to browse my agenda and take small notes but for larger text input, I am finding it easier to use the non-X version of Emacs with the full screen "finger" keyboard.

I'm also still trying to get wanderlust onto my N800 so that I can do email within Emacs.

HTH.

eric

KristianW 2009-07-26 13:27

Re: Announcing port of emacs for maemo
 
Many THANKS for emacs !

At the moment I try the X version (to shorten the learning curve).

Problem :
( N810, OS .43-7 )

Font size does not change with the font menu under Options.
"Font not found" appears at the bottom line.

When I type "emacs" in Xterm I get:

Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct

Have I messed up my installation ?
Should fonts be installed separately ?

Thanks for any help !


All times are GMT. The time now is 20:06.

vBulletin® Version 3.8.8