![]() |
GNU Emacs 23.1.1 for Nokia N900
I've compiled and packaged GNU Emacs 23.1.1 for the Nokia N900 GNU mobile phone:
http://sumoudou.org/0/14.html The install package is fully optified. UPDATE: 2009-12-15-174333 Installation deb package on the GNU Emacs page in the link updated and uploaded again. |
Re: GNU Emacs 23.1.1 for Nokia N900
what is gmu emacs and does someone in general need this or is it for programming?
|
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
|
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
It's mostly for programmers and other bit-twiddling geeks. |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
I can't live without it... |
Re: GNU Emacs 23.1.1 for Nokia N900
First of all I would like to thank you so much for compiling this! :)
Secondly, I have some problems with the install. I followed your new instructions for basic installation found on http://sumoudou.org/相撲外:GNU%20Emacs%...ia%20N900.html. It does install but gives me the following message: Code:
Failed to open connection to "session" message bus: (null) A bigger problem seems to be related to the input method. Have you compiled it with some specific setting regarding input method? Unlike in other native maemo apps the Fn and Shift keys are not "sticky" -- you have to hold them down when hitting other keys and cannot just press them, release them and then hit the key they shall modify. This is rather annoying on the small keyboard. There is also a problem related to the tool bar. As long as it is turned on, I cannot se the mini-buffer (no big problem since I always put "(tool-bar-mode -1)" in my .emacs). Finally, I cannot open a directory in emacs (just individual files). If I try to, I get the following message: Code:
Listing directory failed but `acces-file' worked The very best regards and many thanks:) |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
So: Quote:
Quote:
Currently, I can propose that you either: edit the /usr/share/applications/hildon/emacs.desktop file and change emacs to /opt/emacs...whatever - give it full path, or add: export PATH=/opt/*/bin:$PATH to /home/user/.profile Quote:
Quote:
http://sumoudou.org/0/20.html Quote:
I've solved this issue very elegantly. I've developped a framework which allows me with a set of scripts to install any self-compiled program into any user directory, not messing with the base system and only dynamically exporting paths etc. This has the beauty, that you can have a number of version of one program installed, user and root can have different apps installed and you never mess anything up, because nothing gets overwritten or deleted. And no root privileges are necessary for any program linking... I'm in the process of documenting my scripts and would like to post a writeup of this on my site. They are already packaged into one directory and easily installable. Just need to write the how to. After this, you can just copy over further packages I've compiled, like the base utils and only dynamically export their paths, and it'll work. You'll then be able to use dired in GNU Emacs etc., which you're not able to now. BTW, that's how I have also Emacs itself setup, as I use my system for "optification"... Once I post it, I'll also write here. |
Re: GNU Emacs 23.1.1 for Nokia N900
Thanks a lot for your prompt answers :)
Quote:
Nice solution with maxframe, I had allready thought of this, but hadn't tried it out. I am looking much forward to your write up on the solution regarding coreutils etc., since the use of busybox is one of my only disappointments about the n900 (and one of the reasons behind my quite frequent use of easy debian). Once again, thanks for all the stuff you do for the community, including the nice guides and howtos on your website! |
Re: GNU Emacs 23.1.1 for Nokia N900
Thanks a lot! I have further configured your .emacs to avoid calling maximize-frame by hand.
http://turingmachine.org/blog/index....-the-N900.html --dmg |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
easy to fix: (setq dired-use-ls-dired nil) (setq list-directory-brief-switches "-C") It makes for a hell of a file browser. --dmg |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
Have you guys done a lot of keyboard remapping? I remapped Escape to Shift+Space, but will have to make other remappings as well (e.g. adding Tab). As of right now I still find vim more usefull on this little device, but hope that will change since I prefer emacs on my other computers (with full keyboards) |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
thanks in advance. --dmg |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
This thread may also be of interest: http://talk.maemo.org/showthread.php...ight=remapping |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
Unless you use Dvorak, like me, use qole's rx-51, it's the best. But inspire yourself, you can remap it the way you want. On qole's rx-51, Esc is Fn-Left etc. you'll see in the discussion. My guide for Dvorak on the N900 at: http://sumoudou.org/0/8.html Let's see if we get at least one other brave soul, who treads the unknown with me and types on Dvorak on the N900 :) |
Re: GNU Emacs 23.1.1 for Nokia N900
Thanks! One nice thing is that I can use emacs from my laptop/desktop and start doing real configuration of my n900. I can't with other editors ;)
--dmg p.s. I also use tramp and ssh to edit files from my desktop/laptop too. |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
BTW, (setq mf-max-width 800) (setq mf-max-height 380) needs to be quoted out in my setup, otherwise the minibuffer ends up gigantic, 6 lines vertically or so, and will not change proportion. The working setup is: (add-to-list 'load-path "/path/to/maxframe.el") ;; for instance (add-to-list 'load-path "~/elisp/maxframe") (require 'maxframe) (add-hook 'window-setup-hook 'maximize-frame t) (maximize-frame) |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
http://sumoudou.org/0/12.html |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
that after I did. --dmg |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
I'm trying to figure out how to make Emacs really go fullscreen, to cover the N900 top hildon bar, so far no luck will all combinations and approaches, I've tried. Don't know how to do it. If you have any ideas, let's hear them! |
Re: GNU Emacs 23.1.1 for Nokia N900
I've uploaded a fixed GNU Emacs 23.1.1 installation deb package to:
http://sumoudou.org/n900/emacs_23.1.1_armel.deb Also, the setup instructions have been updated, taking into account remapping etc.: http://sumoudou.org/0/14.html |
Re: GNU Emacs 23.1.1 for Nokia N900
There is also the mg(editor) http://en.wikipedia.org/wiki/Mg_%28editor%29 which is emacs but small size.
|
Re: GNU Emacs 23.1.1 for Nokia N900
Who has tried teTeX on N900? If you have emacs, you may want to edit & compile a tex file.
|
Re: GNU Emacs 23.1.1 for Nokia N900
Any chance of pushing this to extras-devel or -testing if so inclined?
|
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
|
Re: GNU Emacs 23.1.1 for Nokia N900
Btw, if someone manages to get the shift and fn keys sticky, could you please make the Ctrl key sticky too? Thanks :-)
|
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
Give me a pointer to the code or script, that I can incorporate into the emacs build somehow... |
Re: GNU Emacs 23.1.1 for Nokia N900
You could signal the window to go fullscreen with wmctrl
http://www.mail-archive.com/maemo-us.../msg13950.html http://www.mail-archive.com/maemo-us.../msg13911.html or perhaps signal gtk_window_fullscreen when needed http://wiki.maemo.org/Documentation/...orial/Toolbars ps. another info about Emacs on N900 http://www.natisbad.org/N900/n900-apps-emacs-22.2.html |
Re: GNU Emacs 23.1.1 for Nokia N900
Thank you, man, for this, seriously...
I've previously already built wmctrl for the N900, but only tried running it from elisp and wasn't working. Tried from the eshell, and lo and behold, the goddamn' Emacs is FULSCREEN... Yes! |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
Also, it was only 22, this one is 23.1. |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
|
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
I notice a minor bug in org-mode (org-remember is broken) that I know was fixed in a 23.1.1 update (I saw it on Fedora 12 GA but it was fixed shortly after in an update). Any chance you could respin your version from the latest 23.1.1 release branch? Alternatively, are your Makefile and build instructions available anywhere? Thanks much, --Hugh P.S. Anyone else using org-mode on n900? |
Re: GNU Emacs 23.1.1 for Nokia N900
I use org-mode, but not org-remember, therefore I haven't run into problems.
Tried compiling 23.1.1 some time ago and it wouldn't, don't remember why, so no plans for this one on the N900. |
Re: GNU Emacs 23.1.1 for Nokia N900
Actually, I take it back, it is now working fine. Must have been a bug in my .emacs. It has something to do with the number of args in the config list for C-c-r-t (remember a Task item).
Anyway, thanks again for the effort! |
Re: GNU Emacs 23.1.1 for Nokia N900
Actually, I take it back too...
This is 23.1.1, I meant I had problems with 23.1.90, aka 23.2... |
Re: GNU Emacs 23.1.1 for Nokia N900
First off, thank you!
I was wondering if you know how to make emacs display unicode characters when running in the terminal? They just show up as question marks. edit: Nevermind, set-terminal-coding-system fixed it. Also I was playing with the maemo 5 sdk the other day and I can't get emacs to compile with the target set to armel. qemu segfaults when it tries running temacs.... Is that normal? how did you get it to compile? |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
I'd appreciate help in getting a visible minibuffer. Best regards, Jan [1] http://sumoudou.org/%E7%9B%B8%E6%92%...ia%20N900.html [2] As a micro-improvement, I've appended "$*" to the line in emacs.sh, so additional command line parameters are passed through to emacs |
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
|
Re: GNU Emacs 23.1.1 for Nokia N900
Quote:
Make sure, you got ttf-droid installed. Then add this to .emacs: (set-default-font "-unknown-Droid Sans Mono-normal-normal-normal-*-20-*-*-*-m-0-iso10646-1") (require 'maxframe) (add-hook 'window-setup-hook 'maximize-frame t) (maximize-frame) |
Re: GNU Emacs 23.1.1 for Nokia N900
1 Attachment(s)
Quote:
I have ttf-droid installed: Code:
~ $ dpkg -l '*droid*' Code:
(set-default-font "-unknown-Droid Sans Mono-normal-normal-normal-*-20-*-*-*-m-0- [CODE ]mf is an alias for `maximize-frame' in `maxframe.el'. (mf) Maximizes the frame to fit the display if under a windowing system. [/CODE] Also, changing the "20" in the set-default-font statement does change the font size, so I know that the startup file is processed. The attached screenshot shows the emacs window I'm getting. Either I'm stupidly missing something obvious, or the frame size problem has changed somehow. I'd appreciate any pointers. Best regards & thanks in advance, Jan |
Re: GNU Emacs 23.1.1 for Nokia N900
For me it works, if I simply put the following in my .emacs:
Code:
(set-default-font "Droid Sans Mono-10") |
All times are GMT. The time now is 05:38. |
vBulletin® Version 3.8.8