Ah, you're right man, my mistake, I missed one `1' when compiling it /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs
will make it run.
Ahhh... I wanted to help everybody, damn it... so many errors. If you bear with me a couple of hours, I'll rebuild the package, fix the errors, and make it start from the icon and everything.
You'd then have to uninstall this one, in the way specified above, and reinstall the new one...
Edit a file on the PC, make it have the following text: (set-clipboard-coding-system 'utf-8)
(setq x-select-enable-clipboard t)
Save it as .emacs (note the DOT in front of the `e').
Copy it to the N900.
In the terminal, move it to /home/user
Or just run emacs, then: C-x C-f .emacs Then type the text, then save with C-x C-s
Then restart Emacs, and you it'll work.
you mean use notepad? and save as (set-clipboard-coding-system 'utf-8).emacs?
Ah, you're right man, my mistake, I missed one `1' when compiling it /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs
will make it run.
Ahhh... I wanted to help everybody, damn it... so many errors. If you bear with me a couple of hours, I'll rebuild the package, fix the errors, and make it start from the icon and everything.
You'd then have to uninstall this one, in the way specified above, and reinstall the new one...
thank you for your patiatence, i will stay for couple hours, thank you
you mean use notepad? and save as (set-clipboard-coding-system 'utf-8).emacs?
If you use notepad, create a file named .emacs (with a DOT in front of the `emacs')
and make it contain the following text: (set-clipboard-coding-system 'utf-8)
(setq x-select-enable-clipboard t) Then copy it to the N900 and in the terminal move it to /home/user
im very confused of how to use chinese input in emacs, so in the buffer scrach mode, then i press ctrl+x then enter, press ctrl+/, then chinese?
then tab tab? how do i do that on n900?
worked, i finally opened emacs, but is there a simple way to run it? like click the icon on desktop instead of xterminal every time?
Yeah, when I fix it, it'll run.
If you got this far, you could probably fix it yourself, here's how:
create a file called emacs.sh
and make it containt the following text cd ~
/opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs Copy it to your Documents folder, then in the terminal as root, i.e. after sudo gainroot
type mv /home/user/MyDocs/emacs.sh /usr/bin/
chmod 755 /usr/bin/emacs.sh
Now, when you click the Emacs icon in the app menu, it'll work.
im very confused of how to use chinese input in emacs, so in the buffer scrach mode, then i press ctrl+x then enter, press ctrl+/, then chinese?
then tab tab? how do i do that on n900?
Yeah, press ctrl+x then enter then ctrl+\ (not /), that's C-x RET C-\ in Emacs notation, then, for tab you need to remap one of the keys to be tab, I'll post about that later, in the meantime, you need to type the full name of the input method without tab.
For chinese, GNU Emacs has the following input methods:
chinese-4corner
chinese-array30
chinese-b5-quick
chinese-b5-tsangchi
chinese-ccdospy
chinese-cns-quick
chinese-cns-tsangchi
chinese-ctlau
chinese-ctlaub
chinese-ecdict
chinese-etzy
chinese-punct
chinese-punct-b5
chinese-py
chinese-py-b5
chinese-py-punct
chinese-py-punct-b5
chinese-qj
chinese-qj-b5
chinese-sisheng
chinese-sw
chinese-tonepy
chinese-tonepy-punct
chinese-ziranma
chinese-zozy
So after C-x RET C-\ just type one of these full names and hit RET.
GNU Emacs will then switch into the input method and you'll be able to type Chinese.
To switch back and forth between the selected method and English then, just hit C-\
If you need to select another one, do C-x RET C-\ again.