Author Topic: New Emacs 23 W/ Xft And Cjk Support!  (Read 53334 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« on: March 12, 2007, 08:16:54 am »
Hello there,

Finally after many trials and failures (thanks to the wrong pointers in many headers ...    ), i got the latest CVS XftGnuEmacs (23.0.0.1) compiled with Gtk and Xft support.

My target is to get this work on my Z: http://www003.upp.so-net.ne.jp/quasi/red/p...browser-en.html

Previous discussions about compiling this version are here:
https://www.oesf.org/forums/index.php?showtopic=23386

It's a giant build -- 80MB in total! Built with the native zgcc 3.4.6 on Beta3, and optimized with "-O2 -mcpu=xscale -mtune=iwmmxt". Binaries stripped.

Just played it for a few minutes. It feels quite responsive and things seem to be working well.

So before I put it in the "New Package Announcement" thread, I would like to put it here for those interested to try it out and test to see if it is really stable enough.  

Also I've got a couple of questions:
1) For now I simply make it in one giant package. But it's a monstrous 80MB with tons and tons of scripts and modes (the .el). The binaries themselves are not so small either -- roughy 30MB.
So my question is: what would be the best way to break this giant build down into several smaller ones?

2) Still wondering if scim/gcin/uim can work in this Emacs build. Please tell me if you got it working!

Strange. Despite the forum upload limit is 50MB, I just can't get the package (around 30MB) uploaded successfully. After the forum seems to finish uploading my package the window flashes to the forum main page leaving the post unmodified.
So for the time being please use this link:
http://www.sharebigfile.com/file/108645/em...mv5tel-ipk.html

(There is also an alternative RapidShare download link in Post #7)


And here are some screenshots:
(1) About this Emacs:

(2) Chinese (Big5) Help file!  

(3) What... the emacs psychotherapist!?  
 [ Invalid Attachment ]
« Last Edit: March 29, 2007, 01:05:58 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

deckard73

  • Newbie
  • *
  • Posts: 33
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #1 on: March 12, 2007, 12:19:12 pm »
Quote
Hello there,
...
Also I've got a couple of questions:
1) For now I simply make it in one giant package. But it's a monstrous 80MB with tons and tons of scripts and modes (the .el). The binaries themselves are not so small either -- roughy 30MB.
So my question is: what would be the best way to break this giant build down into several smaller ones?

2) Still wondering if scim/gcin/uim can work in this Emacs build. Please tell me if you got it working!

Strange. Despite the forum upload limit is 50MB, I just can't get the package (around 30MB) uploaded successfully. After the forum seems to finish uploading my package the window flashes to the forum main page leaving the post unmodified.
So for the time being please use this link:
http://www.sharebigfile.com/file/108645/em...mv5tel-ipk.html

Hi

use the split tool. Its in the coreutils package. Should be installed on every Z

User can cat then together after downloading
Should work like this.

split -b XXXXX bigfile.zip
cat bigfile01 bigfile02 bigfile03 > bigfile.zip

Good work. I am using beta1. Let me know if edict works

Bye
Enno

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #2 on: March 12, 2007, 12:41:51 pm »
Quote
Hi

use the split tool. Its in the coreutils package. Should be installed on every Z

User can cat then together after downloading
Should work like this.

split -b XXXXX bigfile.zip
cat bigfile01 bigfile02 bigfile03 > bigfile.zip

Good work. I am using beta1. Let me know if edict works

Bye
Enno
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Perhaps I wasn't being very clear  
What I want is to turn the giant package into several smaller individual packages: one working standalone base (minimal install), some extras, some docs, etc.
I just dig up pgas' post of emacs 21.4: [a href=\"https://www.oesf.org/forums/index.php?showtopic=15331]https://www.oesf.org/forums/index.php?showtopic=15331[/url]
I will following his division and upload the packages here soon.
« Last Edit: March 12, 2007, 12:42:16 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #3 on: March 12, 2007, 01:20:27 pm »
More cool links to planner mode:

PlannerMode QuickStart:
http://www.emacswiki.org/cgi-bin/wiki/PlannerModeQuickStart

Sacha Chua's (the maintainer of planner.el) page with lots of practical and insightful tips:
http://sacha.free.net.ph/notebook/wiki/PlannerMode.php

Here is a [span style=\'font-size:14pt;line-height:100%\']newbie[/span] guide to planner mode! Very nice!
http://eclair.bizhat.com/emacs/plannernewbie.html
http://eclair.bizhat.com/emacs/plannerscreen1.html
http://eclair.bizhat.com/emacs/plannerscreen2.html


Ok, let's kick off ...
« Last Edit: March 12, 2007, 07:01:38 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #4 on: March 12, 2007, 01:24:54 pm »
How do I download from the link to sharebigfile? I can't see how to get the file - just lots of adverts.....

Seems I needed to input the code - carefully disguised in the middle of the screen - then I get a big mystical URL. Which when I apsted it back into Firefox is now downloading - very slowly (10Kbps)....

Thnx
« Last Edit: March 12, 2007, 01:31:08 pm by tanjian2 »
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #5 on: March 12, 2007, 01:34:45 pm »
Scroll down the page.
Type in the random key.
Click "submit".
Wait 20~30 seconds.
Click "Download File Now". There you go

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #6 on: March 12, 2007, 01:40:07 pm »
An alternative link (RapidShare):  http://rapidshare.com/files/20698947/emacs...mv5tel.ipk.html
This one may be faster. Enjoy.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #7 on: March 12, 2007, 01:41:51 pm »
Quote
Scroll down the page.
Type in the random key.
Click "submit".
Wait 20~30 seconds.
Click "Download File Now". There you go
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156037\"][{POST_SNAPBACK}][/a][/div]

So whats in the download? Just binaries or the whole lot? I already have the 21.4 version installed already...

Now getting 12Kbps now .........
« Last Edit: March 12, 2007, 01:43:07 pm by tanjian2 »
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #8 on: March 12, 2007, 01:43:56 pm »
It's a giant whole. I'm gonna split it up either tonight or tomorrow.
It's important to backup your saved files before trying.
Also this build is installed in the same location as the current 21.4a package. That means it's better to uninstall 21.4a before trying.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #9 on: March 12, 2007, 01:45:23 pm »
Quote
It's a giant whole. I'm gonna split it up either tonight or tomorrow.
It's important to backup your saved files before trying.
Also this build is installed in the same location as the current 21.4a package. That means it's better to uninstall 21.4a before trying.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Ok - I'll backup while I'm waiting  :-). Better hurry though the second url you posted is coming down at 180-200kBps... way to go....

Its downloaded and installed - but now it complains about needing libasound and I can't seem to find it on any of my usual feeds. Anyone know where I can get libasound...

Sorted it from the r121 feed  as mentioned here [a href=\"https://www.oesf.org/forums/index.php?showtopic=23097&pid=152700&mode=threaded&show=&st=&#entry152700]alsa-lib[/url]

Emacs works very well. Tried html/c/shell/eshell/calc modes..... also ediff and vc operations. Dired failed ... but tetris and life are both fine... Fraid English is my one and only language so I can't comment on input methods or the unicode characters etc..

Thnx for the update

TIA
« Last Edit: March 12, 2007, 04:17:36 pm by tanjian2 »
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #10 on: March 12, 2007, 03:57:20 pm »
Quote
Strange. Despite the forum upload limit is 50MB, I just can't get the package (around 30MB) uploaded successfully.

 [ Invalid Attachment ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156002\"][{POST_SNAPBACK}][/a][/div]


I've been having this problem with my emacs22 build too for months now. Any idea why?
« Last Edit: March 12, 2007, 04:00:43 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #11 on: March 12, 2007, 04:14:58 pm »
Quote
Its downloaded and installed - but now it complains about needing libasound and I can't seem to find it on any of my usual feeds. Anyone know where I can get libasound...

TIA
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156042\"][{POST_SNAPBACK}][/a][/div]

Yes, it's built with sound (alsa) support. You can get libasound from the alsa-lib package.
Sorry for not listing the dependencies here.
If someone comes up with any other dependency issue (there shouldn't be many), do keep me posted.
That's also why I said the build is for testing, instead of "announcing" it right away.  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #12 on: March 12, 2007, 04:29:58 pm »
Quote
Dired failed ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156042\"][{POST_SNAPBACK}][/a][/div]

I think putting

Code: [Select]
(setq dired-use-ls-dired nil)  
and
Code: [Select]
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)  


in /home/root/.emacs  should make dired-mode work.   How was it failing?
« Last Edit: March 12, 2007, 04:32:52 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #13 on: March 12, 2007, 04:33:43 pm »
Update:

I got SCIM to input Chinese characters!    

It's done in GtkTerm2. No special tweak.
Run emacs -nw (without --enable-font-backend)

 [ Invalid Attachment ]

If this really works then I will also build a lighter one without X and GTK support.
« Last Edit: March 12, 2007, 04:34:38 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #14 on: March 12, 2007, 05:21:30 pm »
Quote
Quote
Dired failed ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156042\"][{POST_SNAPBACK}][/a][/div]

I think putting

Code: [Select]
(setq dired-use-ls-dired nil)  
and
Code: [Select]
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)  


in /home/root/.emacs  should make dired-mode work.   How was it failing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156055\"][{POST_SNAPBACK}][/a][/div]

That did indeed sort dired - thanks.
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD