PDA

View Full Version : Poll: Emacs in the Command Line


akpoff
02-24-2006, 06:20 PM
Doing a full hildon-port of emacs is more work than I can tackle for now but a command-line port/compile may not take a lot of work. Anyone interested?

--Aaron

neiljerram
02-24-2006, 06:54 PM
Doing a full hildon-port of emacs is more work than I can tackle for now but a command-line port/compile may not take a lot of work. Anyone interested?

--Aaron

I'm an avid Emacs user on all the other platforms that I use, but I can't see how it would help me on the 770 - at least, not without a keyboard, which I don't currently plan to acquire. The thing that makes Emacs so effective is its vast array of extensions combined with the fluency in using it that one accumulates from experience - but that fluency depends I think on a traditional keyboard.

Sorry that this doesn't really help, but that's what I thought when reading your post. I'd be interested to hear if others agree or disagree. - Neil

akpoff
02-24-2006, 08:26 PM
You're right about the keyboard. I'm thinking for those times when I ssh into the 770 and with my ThinkOutside bt keyboard. That's a big part of the reason I'm not too worried about not having a hildonized version.

Thanks for the feedback!

--Aaron

lon
02-25-2006, 06:01 PM
Actually, I've been using the debian packages (emacs21-{nox,common,bin-common}_21.4a-3_arm.deb) without any trouble. I even relocated it to /usr/local without having to rebuild the packages. Of course, I wouldn't even think of trying to use emacs with the on-screen keyboard.

One annoying thing, even outside of emacs, is that the maemo xterm uses control-C/V/Q as commands. If anyone knows of an easy way to remedy this, then I'd be most interested. It's really quite silly; if one doesn't have a keyboard, then control keys don't exist and do not function as a short cut. If one does have a keyboard, one probably wants to be able to use the control keys within a terminal window as data (e.g. typing control-C to interrupt a running program, and not to paste the contents of the clipboard).

Lon

msaunby
02-25-2006, 06:09 PM
I have a port of micro-emacs that I use in preference to vi. It uses meta-z rather that ctl-s ctl-c for a simple save exit, so even using the on screen keyboard is easy. I'll post it tomorrow as I'm off to bed now.

akpoff
02-25-2006, 08:19 PM
Actually, I've been using the debian packages (emacs21-{nox,common,bin-common}_21.4a-3_arm.deb) without any trouble. I even relocated it to /usr/local without having to rebuild the packages. Of course, I wouldn't even think of trying to use emacs with the on-screen keyboard.

Lon
Sweet! I'll give that a try first.

msaunby
02-26-2006, 07:04 AM
Well, if anyone fancies trying micro-emacs it's at http://saunby.net/download/nokia770/ No GUI so you'll need xterm.

luminaix
02-26-2006, 02:41 PM
I've used micro-emacs on a zaurus with the matchbox virtual keyboard under openzaurus/gpe. micro-emacs works fine on the nokia 770 (many thanks for the link :) ) with a bt or usb keyboard. But is it possible to produce the escape and control keys - essential for emacs - with nokia's version of the virtual keyboard?

msaunby
02-26-2006, 03:09 PM
The button with the clockwise arrow on it is the escape key and the left, right, up, down keys work. The xterm menu gives access to ctrl keys. It's not perfect but it's better than nothing for now. Esc Z will save and exit.

Perhaps one day I'll create a window with menu for it. For now you might like to try binding more things to Esc {some letter}.

hczim
03-01-2006, 03:05 PM
I'm thinking for those times when I ssh into the 770You can always edit files and directories on your Nokia with an Emacs running on your PC over the net. I've done some small patches to tramp to allow this. Simply open /root@nokia:/etc/fstab or whatever you lke on your PC. The patches will be included in the next tramp release. Until then, you can get them from me. (Addition: Use tramp from CVS, it's in there.)

akpoff
03-04-2006, 12:29 AM
You can always edit files and directories on your Nokia with an Emacs running on your PC over the net. I've done some small patches to tramp to allow this. Simply open /root@nokia:/etc/fstab or whatever you lke on your PC. The patches will be included in the next tramp release. Until then, you can get them from me. (Addition: Use tramp from CVS, it's in there.)
Cool -- thanks. I'll hit the CVS server.