Reply
Thread Tools
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#41
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...
 
Posts: 68 | Thanked: 0 times | Joined on Dec 2009
#42
Originally Posted by 白い熊 View Post
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?
 
Posts: 68 | Thanked: 0 times | Joined on Dec 2009
#43
Originally Posted by 白い熊 View Post
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
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#44
Originally Posted by urmybaby View Post
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
 
Posts: 68 | Thanked: 0 times | Joined on Dec 2009
#45
yes, /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs

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?
 
Posts: 68 | Thanked: 0 times | Joined on Dec 2009
#46
im in buffer mode, but i dont exactly know how to change to chinese input. do i type C-x RET C-\chinese TAB TAB or do i do it out actually?
 
Posts: 68 | Thanked: 0 times | Joined on Dec 2009
#47
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?
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#48
Originally Posted by urmybaby View Post
yes, /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs

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.
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#49
Originally Posted by urmybaby View Post
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.
 
Posts: 68 | Thanked: 0 times | Joined on Dec 2009
#50
maybe im too dumb to use emacs.....
i can do ctrl+x+enter, but n900 doesn't have a \ key. i still cant figure out how to type chinese in emacs.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:35.