OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ZDevil on March 12, 2007, 08:16:54 am

Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil 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 (http://www003.upp.so-net.ne.jp/quasi/red/planner-browser/planner-browser-en.html)

Previous discussions about compiling this version are here:
https://www.oesf.org/forums/index.php?showtopic=23386 (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 (http://www.sharebigfile.com/file/108645/emacs-23-0-0-1-armv5tel-ipk.html)

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


And here are some screenshots:
(1) About this Emacs:
 [ You are not allowed to view attachments ]
(2) Chinese (Big5) Help file!  
 [ You are not allowed to view attachments ]
(3) What... the emacs psychotherapist!?  
 [ You are not allowed to view attachments ]
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: deckard73 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 (http://www.sharebigfile.com/file/108645/emacs-23-0-0-1-armv5tel-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
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil 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] (http://index.php?act=findpost&pid=156028\")

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.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 12, 2007, 01:20:27 pm
More cool links to planner mode:

PlannerMode QuickStart:
http://www.emacswiki.org/cgi-bin/wiki/PlannerModeQuickStart (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 (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/plannernewbie.html)
http://eclair.bizhat.com/emacs/plannerscreen1.html (http://eclair.bizhat.com/emacs/plannerscreen1.html)
http://eclair.bizhat.com/emacs/plannerscreen2.html (http://eclair.bizhat.com/emacs/plannerscreen2.html)


Ok, let's kick off ...
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 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
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil 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
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 12, 2007, 01:40:07 pm
An alternative link (RapidShare):  http://rapidshare.com/files/20698947/emacs...mv5tel.ipk.html (http://rapidshare.com/files/20698947/emacs_23.0.0.1_armv5tel.ipk.html)
This one may be faster. Enjoy.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 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 .........
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil 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.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 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] (http://index.php?act=findpost&pid=156041\")

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
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: radiochickenwax 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.

 [ You are not allowed to view attachments ]
[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?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil 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.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: radiochickenwax 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?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil 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)

 [ You are not allowed to view attachments ]

If this really works then I will also build a lighter one without X and GTK support.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 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.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 13, 2007, 01:22:36 pm
Add a new screenshot:

Now GtkTerm2 runs with a better font (notice the letter "m" in the old and the new screencaps).
Just edit ~/.gtkterm2rc
Change terminalFont= Terminal 12 to something like
terminalFont= Lucida Console 14 or terminalFont= Bitstream Vera Sans Mono 14.

Seems SCIM fully works in this version of Emacs! No tampering with the commands or setting within Emacs is needed.
Buffer can be saved and loaded properly.

 [ You are not allowed to view attachments ]

Tonight I will go build a lighter version without x and gtk. Will package separately if there is a noticeable size difference.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 14, 2007, 08:30:57 am
[UPDATED]

Here are the packages. Please test. Have fun!    

Again (!), please change the filenames from emacs_base... to emacs-base... and so on.

I have done some update and (minor) adjustments of some of the packages. Please see this post for details[/b] (https://www.oesf.org/forums/index.php?act=ST&f=73&t=23455&hl=emacs-pim-suite+1\.2&view=findpost&p=156590).

emacs-base: This is the minimal install.

 [ You are not allowed to view attachments ]

emacs-extra: Some important addons. Recommended.

 [ You are not allowed to view attachments ]

emacs-lisp: Big bunch of elisp files (.el and .elc).

 [ You are not allowed to view attachments ]

emacs-leim: Many input methods for various international character scripts. CJK supported.  

 [ You are not allowed to view attachments ]

emacs-doc: tutorials, man pages, info pages [New: info pages are added.]

 [ You are not allowed to view attachments ]

emacs-lisp-source: Source files (.gz of the uncompiled .el elisp codes) of the byte-compiled .elc files in the emacs-lisp package.

 [ You are not allowed to view attachments ]
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 14, 2007, 11:09:34 am
I've got a question:

In both my build and pgas' 21.4a, there are two emacs binaries, emacs and emacs-2x.x.x, both having the same size and running the same way. Can anyone tell me if they are actually identical and only one of these is enough? If so I will take it out and that will trim down the size of the base package tremendously.  

Now studying two wonderfully well-written guides to using Planner Mode and doing GTD:

GTD with Emacs PlannerMode (http://pigpog.com/node/1974)

Just another GTD hacker (http://genehack.org/2004/09/21)

Will start using Planner Mode for a few days. If things go well, I will write a short and simple enough non-geek How-to for newbies.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 14, 2007, 12:56:30 pm
Quote
I've got a question:

In both my build and pgas' 21.4a, there are two emacs binaries, emacs and emacs-2x.x.x, both having the same size and running the same way. Can anyone tell me if they are actually identical and only one of these is enough? If so I will take it out and that will trim down the size of the base package tremendously. 

Now studying two wonderfully well-written guides to using Planner Mode and doing GTD:

GTD with Emacs PlannerMode (http://pigpog.com/node/1974)

Just another GTD hacker (http://genehack.org/2004/09/21)

Will start using Planner Mode for a few days. If things go well, I will write a short and simple enough non-geek How-to for newbies.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156258\"][{POST_SNAPBACK}][/a][/div]
I can't remember exactly why u get 2 binaries, they are exactly the same (according to diff). Usually you would install emacs-2...... and then create a link to emacs - that way users can install different versions and just link to the binary as required.

Thanks again for compiling this - I am just lazy and haven't bothered setting up a compile environment (even as easy as meanie has made it).  Perhaps I could ask what all you installed in order to be able to compile it?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 14, 2007, 05:03:44 pm
I didn't do anything special but just make. What I don't understand here is the emacs binary in both my and pgas' packages is not a link to emacs-2x.x.x and shows the same attributes as the later. I repackaged emacs-base by removing the "emacs" binary and then make a symlink to "emacs-23.0.0". The package turns out to be of the same size. Perhaps I am mistaken here. What do you think?

As for the compiling environment, I didn't do anything special but create some symlinks of glib-2.0, pango-1.0, gtk-2.0 to the include dir of the compiler. Meanie told me there is nothing wrong with the compiler, but seems to be the case that somehow the emacs source doesn't use PKGCONFIG to locate the right headers (strange isn't it for such a venerable app in *nix).

By the way, I'm now building another version without X and GTK support. Will upload it here later tonight.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 14, 2007, 06:00:26 pm
Quote
I didn't do anything special but just make. What I don't understand here is the emacs binary in both my and pgas' packages is not a link to emacs-2x.x.x and shows the same attributes as the later. I repackaged emacs-base by removing the "emacs" binary and then make a symlink to "emacs-23.0.0". The package turns out to be of the same size. Perhaps I am mistaken here. What do you think?

As for the compiling environment, I didn't do anything special but create some symlinks of glib-2.0, pango-1.0, gtk-2.0 to the include dir of the compiler. Meanie told me there is nothing wrong with the compiler, but seems to be the case that somehow the emacs source doesn't use PKGCONFIG to locate the right headers (strange isn't it for such a venerable app in *nix).

By the way, I'm now building another version without X and GTK support. Will upload it here later tonight. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156306\"][{POST_SNAPBACK}][/a][/div]

Packages are made up of compressed tarballs, I suspect that a smart compressor would hopefully compress two copies of the same data down to the equivalent of 1 compressed copy, then just link the two filenames to that one compressed copy.  Thats an educated guess.

Thanks for the build info - must try and build a few apps myself. Emacs is indeed venerable - so much so that it pre-dates most of all the recent stuff by a long margin  . Emacs is pretty much an OS on its own. But magically we can have all its power on a lowly Zaurus - I for one thinks pretty impressive.

Of to read the Planner stuff again ... looked at it a year ago but never got started - have used Kopi for the last while, have it syncing with Kopi on my Fedora 4 desktop so mostly happy. But new toys...  The X11 and GTK is what I really wanted since PGAs version had font issues.

Thanks again - hope you get what you had hoped for from emacs.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 14, 2007, 11:55:03 pm
[Update]
The binaries are not in any way smaller when compiled without X and GTK.     So just use the uploaded package.

One more question: I found that there are both the source .el (and in this version most got compressed into tarball when make install) and the byte-compiled .elc. For the .el, it seems they are not compiled into .elc; but the tarballs have their corresponding compiled .elc.
What's the use of those compressed source .el when we already have the .elc? Is it necessary to keep the .gz in the package (actually I leave them out in my emacs-lisp package) ?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: pgas on March 15, 2007, 04:25:12 am
Quote
The package turns out to be of the same size. Perhaps I am mistaken here. What do you think?
the two are hard linked

Quote
What's the use of those compressed source .el when we already have the .elc? Is it necessary to keep the .gz in the package (actually I leave them out in my emacs-lisp package) ?

emacs doesn't need the source .el (gzipped for saving space) to run.
 
The sources are usefull when you start learning elisp, and want to have a peak at the source to understand the functions better, or when you want to write a function that does slightly the same thing as an existing one.

So, you can put the .el.gz in an optional package, (debian does that for instance providing the .elc in the emacs package and the .el in a separate optional one), you should add the ones that are not byte compiled together with the .elc.

The fact that the .el  also exist  as .el.gz  is probably because the build script gzip every .el files for simplicity.

One thing that you want to put in the base package is the etc/DOC-23.... file
it is required to get the documentation on a function defined in C.
(C-h f function RET)
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 15, 2007, 05:24:00 am
I see. I almost forget what hardlink is about....  
Actually I already include those uncompiled .el together with all the .elc in the emacs-lisp package.
I will upload the optional .gz source package (containing the source .el which are already compiled into .elc in the emacs-lisp package) and add the etc/DOC-23 to the base package as well.
Please go on finding faults with the build, because it's such a huge and all-rounded (mini-OS feel as the other post says) app. When there is no more clitches in 2 or 3 days then I will put them up in the "New Package Announcement".
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 16, 2007, 03:57:06 am
A small tip to greatly boost the speed of Emacs with CJK support:

1) Install  my new GTKTerm2 package here (https://www.oesf.org/forums/index.php?act=ST&f=73&t=18415&hl=gtkterm2+0\.2\.3b&view=findpost&p=156491)
2) If you install Emacs on memory card (i guess most people do), and have space in the internal flash, then move the emacs binary from the card to /usr/bin
3) Run "emacs -nw -color"

Now Emacs launches much faster (in my case < 5 sec).

Another update:
I will upload the source .el of the byte compiled elisp codes soon.
I am compiling and packaging a Planner Mode suite (Muse + Planner + Remember + BBDB). Will upload them here too shortly.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 16, 2007, 02:05:45 pm
Hi, another question:

I have compiled a "PIM suite" for Emacs, which includes Muse, BBDB, Remember and Planner modes (a common yet powerful combo), plus a sample .emac config script. Everything works like a charm. With the emacs binary moved to the internal flash (mine is C1000) and run under GTKTerm2, i manage to set up a very sweet and speedy PIM environment.  

Now here is a question about installation.

According to the documentation, these files are better put in ~/elisp. I've tried other locations, such as the usual /usr/share/emacs/23.0.0/lisp/ , but that doesn't seem to work.

I have tried this: first ipkg copies the files to somewhere (e.g. /tmp) and then moves them to ~/elisp through a postinst (which also checks for ~/elisp and creates one if necessary), the installation goes well, but since the files are moved to a different location than the original one in the first place "ipkg remove" will fail to remove the files in the new location (~/elisp ) in this case.

So I wonder if anyone can provide a nice install script or an installation method so that the files will go directly to ~/elisp.

I am no expert of packaging so could any veteran enlighten me here? Thanks!
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 16, 2007, 04:03:50 pm
After a second thought, perhaps it's not such a bad idea to put up a package here first for testing. So here it is.

Emacs-PIM-Suite
This package is a collection of the most popular modes for PIM (and GTD) under Emacs. You'll get:
-- Muse (http://www.mwolson.org/projects/EmacsMuse.html): wiki functionality
-- BBDB (http://bbdb.sourceforge.net/): database handling, particularly useful for contacts
-- Remember (http://www.emacswiki.org/cgi-bin/wiki/RememberMode): cool reminder tools
-- Planner (http://www.emacswiki.org/cgi-bin/wiki/PlannerMode): the gold of PIM & GTD in Emacs!

Apart from BBDB (the latest stable 2.35 (January 30, 2007)), Muse, Remember and Planner are all from the "latest" (no dates given by the official sites) developmental sources to minimize issues with the latest Emacs 23.

To be consistent, I put all the files under /usr/share/emacs/23.0.0/lisp/, where all other modes live, and symlink them to $HOME/elisp/ (the directory will be automatically created if nonexisting during installation).

New! emacs-pim-suite_1.2_armv5tel.ipk :  A trimmed down version of 1.0 (7.5M --> 3.9M). Paths permissions fixed for non-root users.
Also rename to emacs-pim-suite_1.2_armv5tel before installing.    

 [ You are not allowed to view attachments ]

(Both 1.0 and 1.1 have been deleted)


*************************
[span style=\'font-size:14pt;line-height:100%\']Short Notes on Getting Started (Very rough; to be revised soon; for newbies only!)[/span]    

Configuration:
I add a sample config file in /usr/share/emacs/23.0.0/etc/emacs-config.
You simply need to rename it as ".emacs" and put it in $HOME/  
No tweaking is needed.
DON'T ponder on the grand technicality or philosophy of Emacs. Just dive in.
Attached here is a duplicate in case some newbies should mess up the setting.

 [ You are not allowed to view attachments ]

Short demo
*** This demo will show how to do simple day-in and day-out GTD with Emacs, and it will take only a couple of minutes. ***

#1  Open a terminal session (for CJK users I strongly recommend GTKTerm2)

#2  First, create a working directory to save your tasks and projects. Try "mkdir plans" in your HOME directory. From now on all saved tasks and projects will go there.

#3  Run "emacs -nw -color"

#4  Now you see the very first Emacs display. You may take a quick look at the brief help info there.

#5  Look at the small window frame at the bottom. This is where you issue commands.

#6  Start Planner Mode by pressing "Alt-x plan RET"  [= Press Alt AND x, then type plan, then hit [ENTER])

#7  Create a task: "Ctrl-c Ctrl-t"

#8  Planner then asks you for the Task Description. Write something such as Test Emacs 23 package & report in OE forum   Then [ENTER]

#9  A nice calendar will pop up in the top frame. Choose a Date. Hit [Enter] for today

#10  Assign a Page for the task, to use a GTD format, enter something like Packaging @Zaurus (Project[space]Context). Hit [Enter] again.

#11  So now you understand how to add a task in 3 simple steps: Create -> Date -> Page

#12  Now try to add a couple more tasks by repeating the 3 simple steps.

#13  Mark a task as completed by moving the cursor IN the task name, then "Ctrl-x Ctrk-c". Notice the change.

 [ You are not allowed to view attachments ]

#14  You can access all the tasks related to the same Project or Context by move the cursor on it ("Packaging" and "@Zaurus" in our example), then hit [Enter]

#15  To exit Emacs, use "Ctrl-x Ctrl-c"

#16  By now you may get a feel of how to do simple things with Emacs (Planner Mode). To know more, enter Emacs again, start your adventure by "Ctrl-h t" (the Tutorial -- requires the "emacs-doc" package) or check out the following wonderful tutorials:  

Cool references for Planner Mode

Clair Ching's [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/plannernewbie.html)
http://eclair.bizhat.com/emacs/plannerscreen1.html (http://eclair.bizhat.com/emacs/plannerscreen1.html)
http://eclair.bizhat.com/emacs/plannerscreen2.html (http://eclair.bizhat.com/emacs/plannerscreen2.html)

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

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


Enjoy and good luck!    


*********************************

(I am just a very beginner of Emacs and will keep exploring it)
(Perhaps I will prepare a few short step-by-step demos later)
(Definitely I will start playing NetHack in Emacs someday. This is something I will put next in my Schedule in Planner ... )
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 16, 2007, 07:57:23 pm
nethack-el is here!  http://www.nongnu.org/nethack-el/ (http://www.nongnu.org/nethack-el/)

Oh, no! .... i can't .... get hooked .... on this ....that .... soon ........
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 05:11:01 am
[EDITED]

Updated the pim-suite package. The first 1.0 contains everything (Makefiles, .el, other docs). This new one only retain the byte-compiled .elc (faster codes) and a few uncompiled .el (original codes), together with the READMEs for each mode.  Size goes down from 7.5M to 3.9M now.

(emacs-pim-suite 1.1 deleted; please use 1.2 above)

----

Fixed directory execute permissions for non-root users.  Version 1.2 is in the post above.
Those who are root users are NOT affected.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 17, 2007, 10:51:21 am
ZDevil, this is great, I've never cracked the hard surface of Emacs before, but now I see it is a pretty amazing bit of software. Still just trying to learn how it all works thanks to your helpful posts.

One thing to point out: you must create ~/plans not ~/Plans or planner will give errors.

Also the PIM suite will not work if you are not root because the permissions are set to drwxr--r-- you will need grant execute to the following folders:

/usr/share/emacs/23.0.0/lisp/bbdb
/usr/share/emacs/23.0.0/lisp/remember
/usr/share/emacs/23.0.0/lisp/muse
/usr/share/emacs/23.0.0/lisp/planner
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 11:00:26 am
Thanks, zi99y.
Now I am making the adjustments. Will upload new packages in an hour or so.
Still one question about the pim package: My postinst in the package symlinks the four modes from /usr/share/emacs/23.0.0/lisp/ to ~/elisp/... .  It seems planner by default will look up to this path.
But ipkg remove will not clean up those symlinks in $HOME. Any good suggestion to (un)installation smoother?  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 11:11:17 am
Quote
ZDevil, this is great, I've never cracked the hard surface of Emacs before, but now I see it is a pretty amazing bit of software. Still just trying to learn how it all works thanks to your helpful posts.

One thing to point out: you must create ~/plans not ~/Plans or planner will give errors.

Also the PIM suite will not work if you are not root because the permissions are set to drwxr--r-- you will need grant execute to the following folders:

/usr/share/emacs/23.0.0/lisp/bbdb
/usr/share/emacs/23.0.0/lisp/remember
/usr/share/emacs/23.0.0/lisp/muse
/usr/share/emacs/23.0.0/lisp/planner
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156574\"][{POST_SNAPBACK}][/a][/div]

The "~/Plans" is a typo in the demo notes. The config script .emacs already specifies "~/plans". Now corrected.

What permission setting is most appropriate here?  755 or ?

Thanks!
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tombraider on March 17, 2007, 01:05:59 pm
I can't download any of your forum-linked packages.  Just get an index.html file or index.php file or a new web page that opens up with gibberish.  I've tried with Opera browser and Internet Explorer...same problem in both.

Is there a problem with forum downloads today?  Problem with my Windows XP setup?  

Quote
Here are the packages. Please test. Have fun!   

Again (!), please change the filenames from emacs_base... to emacs-base... and so on.

emacs-base: This is the minimal install.

 [ You are not allowed to view attachments ]

emacs-extra: Some important addons. Recommended.

 [ You are not allowed to view attachments ]

emacs-lisp: Big bunch of elisp files (.el and .elc).

 [ You are not allowed to view attachments ]

emacs-leim: Many input methods for various international character scripts. CJK supported.   

 [ You are not allowed to view attachments ]

emacs-doc: tutorials, man pages, info pages [Note: the info pages failed to generate because of lack of makeinfo at build time; i have just built a texinfo which contains makeinfo (in "New Package Announcement"); will build a new doc package soon]

 [ You are not allowed to view attachments ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156228\"][{POST_SNAPBACK}][/a][/div]
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 17, 2007, 01:06:35 pm
Yes, I used 755 * and it works, although most files won't need execute but the directories will....

Another minor problem is that installing an ipk as root will create links to /home/root/elisp (~ = /home/root). So these will need manually copied to your actual home dir. This may not be a problem if you use sudo wen installing though.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 01:32:40 pm
The download issue seems to be some bug in the forum. I also fail to download other attachments and even images elsewhere.    

Both Firefox and Safari on my macbook also cannot download the stuff. A discussion has just started in the site admin section.

I will change the location of the symlinks from ~/elisp to $HOME/elisp then.
Thanks for the input!  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 02:36:14 pm
UPDATES

emacs-base and emacs-extra packages: (very slightly adjusted)
Moved DOC-23.0.0 from the emacs-extra package to the emacs-base package. The file is required to get the documentation on a function defined in C (C-h f function RET) so it's better to include it in the base package.  [Thanks for pgas's suggestion]
Those who have already installed both can skip these newly uploaded packages.


emacs-pim-suite 1.2 (fixed)
Fixed execute permissions of the (sub-)directories of muse, bbdb, remember and planner in /usr/share/emacs/23.0.0/lisp/ for non-root user access.  [Thanks for zi99y's input]  
(I now realized I may have messed up the permissions of these files when copying back and forth between my Z and my office XP box yesterday.  )


emacs-lisp-source (new!)
Added a new emacs-lisp-source (optional) package to facilitate learning elisp.  [Thanks for pgas' suggestion]

All files can be downloaded from this post (https://www.oesf.org/forums/index.php?act=ST&f=73&t=23455&hl=emacs-lisp-source&view=findpost&p=156228) AND this post (https://www.oesf.org/forums/index.php?act=ST&f=73&t=23455&hl=emacs-pim-suite_1\.2&view=findpost&p=156523).  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 02:44:20 pm
Strange. I also can only download the files as "index.html". But renaming them to the original names work just fine.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 17, 2007, 07:14:45 pm
Great stuff ZD! I've tested the new ipks and the links mentioned before are now fine. However there is a problem with the emacs-doc package that it doesn't automatically ipkg-link when it's not installed on /

Running "ipkg-link add emacs-doc" will fix this.

I've spent a while learning emacs now but I've still not found the key or command to activate the dropdown menus at the top - any ideas?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 17, 2007, 07:42:50 pm
Quote
Great stuff ZD! I've tested the new ipks and the links mentioned before are now fine. However there is a problem with the emacs-doc package that it doesn't automatically ipkg-link when it's not installed on /

Running "ipkg-link add emacs-doc" will fix this.

I've spent a while learning emacs now but I've still not found the key or command to activate the dropdown menus at the top - any ideas?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156613\"][{POST_SNAPBACK}][/a][/div]
C-h i gives the emacs manual (info) which is a great source of all things emacs.

F10 or M-` (Esc ` - thats a backtick - on the /, key on the 3000 but I'm not sure how to get one) usually gets the menu (via menu-bar-open) .. or manually do M-x tmm-menubar which gives a text version of the menubar - must admit I have used emacs for many years and rarely do I use the menubar - cept for the tools menu and the mode-specific menus which you get in major modes - never even seen the toolbar......

Welcome to the world of emacs
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 07:54:35 pm
Quote
Great stuff ZD! I've tested the new ipks and the links mentioned before are now fine. However there is a problem with the emacs-doc package that it doesn't automatically ipkg-link when it's not installed on /  Running "ipkg-link add emacs-doc" will fix this.

I just test this and can verify that the emacs-doc package doesn't misbehave. Would it be possible that the filename is something like "emacs_doc..." and not "emacs-doc..." (the forum upload bug)


Quote
I've spent a while learning emacs now but I've still not found the key or command to activate the dropdown menus at the top - any ideas?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156613\"][{POST_SNAPBACK}][/a][/div]

AFAIK, that menu bar will become active only when emacs is running on an X-windows server display.  I have yet to figure out a way to have it not display when running in console.  

[Edit x 2: I was (half) wrong. Thanks tanjian2 for the hint!  Just do a "M-`" (the ` is the 3rd key to the right of Ctrl    ]  

Tomorrow morning I am going to Germany for a week. I hope I will still have time and access to here.

As I have said, I am a very very green user of Emacs with just a few days of experience. But I do get surprised by its straightforwardness and ease of use, as soon as i got used to just the C(trl) and M(eta) key operations. The complexities mainly come from the virtually unlimited possibilities of the "modes" (analogous to softwares in an OS). And the rest is completely customizable (changing things in one single file ~/.emacs).

For now I am concentrating on implementing GTD and PIM in Planner Mode. It is surely great if we users can share their experience here.

My initial impression is: with Emacs (and Vim too) Z becomes a truly powerful beast.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 08:11:30 pm
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml (http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml)

Now I get a nice way to kill time during travel with the Emacs tutorial.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 17, 2007, 08:20:25 pm
Ok thanks for the tips- I as actuallly curious about the drop down menu rather than the text menu page but thats fine. I don't get why there's a menu there if you can't use it....

Anyhow, it is very amazing, I just found out about vip-mode and viper-mode which allow you to emulate vi, pretty nice
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 17, 2007, 08:27:16 pm
Quote
Ok thanks for the tips- I as actuallly curious about the drop down menu rather than the text menu page but thats fine. I don't get why there's a menu there if you can't use it....

Anyhow, it is very amazing, I just found out about vip-mode and viper-mode which allow you to emulate vi, pretty nice
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156625\"][{POST_SNAPBACK}][/a][/div]
M-x menu-bar-mode will toggle the menu on and off. You can use the menu the problem is that the Zaurus doesn't have a F10 key available, and I still can't find backtick (`) - despite what ZD says (  ).

The vip stuff is there to ease the transition of those from the 'darkside' to emacs light  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 17, 2007, 08:30:51 pm
Quote
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml (http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml)

Now I get a nice way to kill time during travel with the Emacs tutorial. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156624\"][{POST_SNAPBACK}][/a][/div]

C-h i should provide plenty of reading for a reasonable length of a journey..... and C-h t gives you emacs very own tutorial - the best way ever to learn emacs for a beginner - by doing it in emacs..... In fact there is no reason to need anything outside emacs - depending on how much of the info nodes are loaded up.

On my 3000 the 3rd to the right of ctrl is - and @ no sign of a baclktick any where....

Have a safe journey
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 08:34:24 pm
Quote
Quote
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml (http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml)

Now I get a nice way to kill time during travel with the Emacs tutorial. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156624\"][{POST_SNAPBACK}][/a][/div]

C-h i should provide plenty of reading for a reasonable length of a journey.....

On my 3000 the 3rd to the right of ctrl is - and @ no sign of a baclktick any where....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156629\"][{POST_SNAPBACK}][/a][/div]

Oh yes, C-h i ... and C-h t .  No shortage of information.
It's my typo again. I should've said "the SECOND key to the right of Ctrl".  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 17, 2007, 08:35:28 pm
Quote
Quote
Quote
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml (http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml)

Now I get a nice way to kill time during travel with the Emacs tutorial. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156624\"][{POST_SNAPBACK}][/a][/div]

C-h i should provide plenty of reading for a reasonable length of a journey.....

On my 3000 the 3rd to the right of ctrl is - and @ no sign of a baclktick any where....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156629\"][{POST_SNAPBACK}][/a][/div]

Oh yes, C-h i ... and C-h t .  No shortage of information.
It's my typo again. I should've said "the SECOND key to the right of Ctrl".  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156630\"][{POST_SNAPBACK}][/a][/div]

The second key does nothing for me... must investigate - thanks
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 17, 2007, 08:38:56 pm
Perhaps a keymapping issue?

My /etc/X11/kb/akita.xmodmap has this:

keycode 78 = grave grave
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: tanjian2 on March 17, 2007, 08:43:22 pm
Quote
Perhaps a keymapping issue?

My /etc/X11/kb/akita.xmodmap has this:

keycode 78 = grave grave
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156634\"][{POST_SNAPBACK}][/a][/div]
I have it on the M key so now Fn+m gives me my backtick or grave. Thanks alot.
Must put something useful on 78!
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: pgas on March 19, 2007, 04:52:22 am
emacs also uses the directory /usr/share/emacs/site-lisp/
for third party site-wide package installations
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: pgas on March 19, 2007, 05:01:57 am
Quote
Ok thanks for the tips- I as actuallly curious about the drop down menu rather than the text menu page but thats fine. I don't get why there's a menu there if you can't use it....

yeah, it's pretty much useless...in a terminal, you can M-x xterm-mouse RET and click on the menu
(which opens the tmm menu...) (if your terminal supports xterm like mouse events)
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 22, 2007, 04:01:18 am
Thanks again, pgas.  

Here is a newer PIM Suite package which change the symlinked path from $HOME/elisp to /usr/share/emacs/site-lisp/ , so that uninstallation by "ipkg remove" will also remove the symlinks, but no change otherwise.

Enjoy!
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 28, 2007, 06:48:58 am
I spot an issue with running Remember Mode in Planner. Remember fails to launch (M-x remember) due to missing setting.
You can fix  add this to your ~/.emacs
Code: [Select]
   (add-to-list 'load-path "/usr/share/emacs/23.0.0/lisp/remember")
    (require 'remember-planner)
    (setq remember-handler-functions '(remember-planner-append))
    (setq remember-annotation-functions planner-annotation-functions)

If you are newbies like me, don't ask "why?" Just do it. It works.
I got this piece (with modified load path) from the original RememberMode homepage (http://www.emacswiki.org/cgi-bin/wiki/RememberMode), which seems to be missing in the PlannerMode page.

I am still learning (playing with  )  PlannerMode and Emacs and finetuning the .emacs setting specially for PIM. Will incorporate new things into the next version so as to make the suite more "ready to go".

Still preparing a new newbie tutorial. Stay tuned.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 28, 2007, 08:02:07 am
Nice, I've been doing some experimenting myself. Annoyances so far; the key combinations are pretty crazy on the tiny zaurus keyboard, it takes some getting used to and a bit of finger acrobatics!!! The one thing that could put me off using it is the time it takes to load- to edit a simple text file you have to wait a while to get it up - I realise you can leave it running and Ctrl-Z to switch back to the console, but it has a fair memory footprint and I count every byte

Currently I have all packages loaded onto the flash drive (/) and only the lisp package - which is large - on the internal CF drive.

Any other ways to speed up the load time?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 28, 2007, 10:01:45 am
For the keys:
According to the "PlannerModeQuickStart", we can do something like this in ~./.emacs:
Code: [Select]
(global-set-key (kbd " t") 'planner-create-task-from-buffer)
As for the speed, I don't experience much delay because I first install all the emacs packages on my SD card, then manually move the emacs binary to the interal flash, and install the PIM suite also to the internal flash.
I run emacs in the terminal (i use my optimized build of gtkterm2 because I need SCIM inputmethod ) and with swapfile on.

Any other interesting idea?  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 29, 2007, 12:21:13 pm
Hey,

I find the Emacs Tutorial still a bit too chatty and so I've written this draft of a very newbie guide to Emacs specially for Zaurus users. See if it works for you. Comments are most welcome!  

The next thing is to write up a plain enough tutorial of doing PIM and GTD in Emacs.

(Actually these are just my study notes.   )
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: pgas on March 29, 2007, 12:46:13 pm
after  a quick browse:
#7:
M-x calendar (typo)

to Close a window:
The one you are in:
C-x 0
the others
C-x 1 (one, not L)

ESC ESC ESC is really a different thing, that might close windows.

Another thing I find usefull on the zaurus:
ESC might be used in place of M-
ie instead of M-x, you can press-release ESC then press X
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 29, 2007, 01:02:19 pm
Thanks!  Just made the corrections. The new doc is in Post#55 above.

It's great to learn that the Cancel key functions both as ESC and M(eta) at the same time!
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 29, 2007, 01:23:40 pm
One more link on using Emacs Planner, with Diary function supporting hyperlinks. Cool!

http://saturna.seos.uvic.ca/~jklymak/PlannerMode.html (http://saturna.seos.uvic.ca/~jklymak/PlannerMode.html)
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 30, 2007, 04:08:56 am
I recommend adding this to your config file:
Quote
    (global-set-key [?\C-x?\C-b]
                    (lambda (&optional files-only)
                      (interactive "P")
                      (let ((b (list-buffers-noselect files-only)))
                        (display-buffer
                        (pop-to-buffer )))
This will make C-x C-b work better to switch between buffers, i.e. full screen and focus automatically without having to to a C-x 0.

Info comes from here: http://www.emacswiki.org/cgi-bin/emacs-en/ListBuffers (http://www.emacswiki.org/cgi-bin/emacs-en/ListBuffers)

There's tons of useful stuff on the emacswiki (http://www.emacswiki.org), but quite a bit takes you to file that will require compiling.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 30, 2007, 05:27:13 am
I am trying to map the right Shift key to Control, so that I have C and M keys on both sides, which will come very handy.
But even though I changed keycode 120 in both akita.xmodmap and userdefined.xmodmap and rebooted, the remapped right Shift key still doesn't function as Control in Emacs.
Any idea?

... Yes, emacswiki is indeed the ultimate source of information.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 30, 2007, 07:05:23 am
Also, is it possible to bind the Calendar, Address and Mail (XF86LaunchA/B/C) keys to do things in Planner/Emacs? I've tried something like

(global-set-key (kbd "<XF86LaunchA> t") 'planner-create-task-from-buffer)

But to no avail.
What to do?

Thanks!
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 30, 2007, 08:07:27 am
As I am fully concentrating on playing with PlannerMode, I need a handy reference that I can refer to at all times.

This can be done in 3 simple steps:

#1  Create a symlink of the PlannerMode manual file:
Code: [Select]
ln -s /usr/share/emacs/23.0.0/lisp/planner/planner-el.info /usr/info(/usr/info is where the Emacs info files are installed)


#2  Edit /usr/info/dir, locate the section for Emacs, go down the list and stop in the "p" area, then add this:
Code: [Select]
* Planner: (path/to/planner/Planner). Organizer/day planner for Emacs.Save the file.

#3  Now in Emacs, you can refer to the Manual anytime using [span style=\'font-size:12pt;line-height:100%\']C-h i[/span].  I find it very useful to have the Manual display on the upper buffer and working with Planner in the lower one.  
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 30, 2007, 08:26:17 am
Yet another useful trick:

In ~/.emacs, add these at the very end of the file:
Code: [Select]
(plan)
(xterm-mouse-mode)
What will happen? You will see the "Today's" page of Planner upon launching Emacs, plus you can simply tap on the screen to nevigate, to open links, to use the Menu bar on the top, etc.
Cool, isn't it?  

This is how it looks like (with mouse mode on):

 [ You are not allowed to view attachments ]
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 31, 2007, 10:49:44 am
Howto: Switch through buffer list easily.

- Download swbuff.el and copy it to your elisp folder (http://sourceforge.net/projects/emhacks/).

- Add the following to your .emacs config file:
Code: [Select]
(require 'swbuff)
(global-set-key (kbd "C-x b") 'swbuff-switch-to-next-buffer)

To cycle forward thru buffers use "C-x b". You can add another line to bind another key to "swbuff-switch-to-previous-buffer" cycle in the opposite direction.

Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 31, 2007, 10:54:27 am
Nice. Shall we start a new thread dedicated to Emacs tips & tricks on Z?  

Now I begin to appreciate the beauty of Emacs. It's actually not as intimidating as I was thinking of. Each trick just add a line or two to .emacs at a time. And they are all consistent in format (elisp) and not really hard to understand (compared to many other programming languages).
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on March 31, 2007, 11:21:44 am
Sounds like a plan- I wanted to use emacs for a little web editing this morning and realised I'm still not that good with it so more tips will be good.

Can you post the link here when you made it- I have another quick tip to post.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on March 31, 2007, 11:53:46 am
Hi, just started a new thread to avoid confusing this build testing thread with user tips. Plus i suppose all these should work regardless of whether we are using Sharp/Cacko, OZ or pdaX.  

https://www.oesf.org/forums/index.php?showtopic=23622 (https://www.oesf.org/forums/index.php?showtopic=23622)
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on April 01, 2007, 11:19:16 am
I'm having difficulty getting emacs-w3m to run, the latest stable version will not run, I have run configure and make and emacs complains that it needs a newer version - try the development version it says...

Have got the latest source from the CVS repo but there is no configure script included !!

Here is a link to the translated page (the actual site is in japanese..)

http://66.249.93.104/translate_c?hl=en&sl=...-8%26safe%3Doff (http://66.249.93.104/translate_c?hl=en&sl=ja&u=http://emacs-w3m.namazu.org/index-ja.html&prev=/search%3Fq%3Demacs-w3m%26hl%3Den%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff)

Anyone got a clue?
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: pgas on April 01, 2007, 12:14:08 pm
I'm not sure if you are talking about the emacs-w3m main page, but there is an english version:
http://emacs-w3m.namazu.org/index-en.html (http://emacs-w3m.namazu.org/index-en.html)

I've just seen in #emacs@freenode.net for emacs with v>23:
try to put in a file w3m-e23.el:

 '(require 'w3m-e21) (provide 'w3m-e23)'
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: zi99y on April 02, 2007, 07:48:09 am
Thanks pgas that works, only it is acting a little strange - getting lots of square characters and some strange behaviour when moving down pages. Will have to look into this.

Incidentally w3m works fine outside of emacs.
Title: New Emacs 23 W/ Xft And Cjk Support!
Post by: ZDevil on April 02, 2007, 02:29:50 pm
Quote
Thanks pgas that works, only it is acting a little strange - getting lots of square characters and some strange behaviour when moving down pages. Will have to look into this.

Incidentally w3m works fine outside of emacs.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=157786\")

Dunno if w3mmee ("Multi-Encoding Extension") will do.
[a href=\"http://pub.ks-and-ks.ne.jp/prog/w3mmee/index.shtml.en]http://pub.ks-and-ks.ne.jp/prog/w3mmee/index.shtml.en[/url]
It would be great if you get w3m working.
And even better if you can byte-compile and package it.