Help - Search - Members - Calendar
Full Version: New Emacs 23 W/ Xft And Cjk Support!
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Pages: 1, 2
ZDevil
Hello there,

Finally after many trials and failures (thanks to the wrong pointers in many headers ... dry.gif ), 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:
http://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. smile.gif

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:
Click to view attachment
(2) Chinese (Big5) Help file! cool.gif
Click to view attachment
(3) What... the emacs psychotherapist!? laugh.gif
Click to view attachment
deckard73
QUOTE(ZDevil @ Mar 12 2007, 12:16 PM)
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
QUOTE(deckard73 @ Mar 12 2007, 06:19 PM)
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
*


Perhaps I wasn't being very clear smile.gif
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: http://www.oesf.org/forums/index.php?showtopic=15331
I will following his division and upload the packages here soon.
ZDevil
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 newbie 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 ...
tanjian2
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
ZDevil
Scroll down the page.
Type in the random key.
Click "submit".
Wait 20~30 seconds.
Click "Download File Now". There you go smile.gif
ZDevil
An alternative link (RapidShare): http://rapidshare.com/files/20698947/emacs...mv5tel.ipk.html
This one may be faster. Enjoy.
tanjian2
QUOTE(ZDevil @ Mar 12 2007, 05:34 PM)
Scroll down the page.
Type in the random key.
Click "submit".
Wait 20~30 seconds.
Click "Download File Now". There you go smile.gif
*


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

Now getting 12Kbps now .........
ZDevil
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.
tanjian2
QUOTE(ZDevil @ Mar 12 2007, 05:43 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.
*


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 alsa-lib

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
radiochickenwax
QUOTE(ZDevil @ Mar 12 2007, 12:16 PM)
Strange. Despite the forum upload limit is 50MB, I just can't get the package (around 30MB) uploaded successfully.

Click to view attachment
*



I've been having this problem with my emacs22 build too for months now. Any idea why?
ZDevil
QUOTE(tanjian2 @ Mar 12 2007, 07:45 PM)
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
*


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. tongue.gif
radiochickenwax
QUOTE(tanjian2 @ Mar 12 2007, 05:45 PM)
Dired failed ...
*


I think putting

CODE
(setq dired-use-ls-dired nil)  

and
CODE
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)  



in /home/root/.emacs should make dired-mode work. How was it failing?
ZDevil
Update:

I got SCIM to input Chinese characters! wink.gif

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

Click to view attachment

If this really works then I will also build a lighter one without X and GTK support. smile.gif
tanjian2
QUOTE(radiochickenwax @ Mar 12 2007, 08:29 PM)
QUOTE(tanjian2 @ Mar 12 2007, 05:45 PM)
Dired failed ...
*


I think putting

CODE
(setq dired-use-ls-dired nil)  

and
CODE
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)  



in /home/root/.emacs should make dired-mode work. How was it failing?
*



That did indeed sort dired - thanks.
ZDevil
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.

Click to view attachment

Tonight I will go build a lighter version without x and gtk. Will package separately if there is a noticeable size difference. smile.gif
ZDevil
[UPDATED]

Here are the packages. Please test. Have fun! smile.gif

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.

emacs-base: This is the minimal install.

Click to view attachment

emacs-extra: Some important addons. Recommended.

Click to view attachment

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

Click to view attachment

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

Click to view attachment

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

Click to view attachment

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

Click to view attachment
ZDevil
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. rolleyes.gif

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

GTD with Emacs PlannerMode

Just another GTD hacker

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.
tanjian2
QUOTE(ZDevil @ Mar 14 2007, 03:09 PM)
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.  rolleyes.gif

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

GTD with Emacs PlannerMode

Just another GTD hacker

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.
*

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?
ZDevil
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. smile.gif
tanjian2
QUOTE(ZDevil @ Mar 14 2007, 09:03 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.  smile.gif
*


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.
ZDevil
[Update]
The binaries are not in any way smaller when compiled without X and GTK. tongue.gif 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) ?
pgas
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)
ZDevil
I see. I almost forget what hardlink is about.... rolleyes.gif
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". smile.gif
ZDevil
A small tip to greatly boost the speed of Emacs with CJK support:

1) Install my new GTKTerm2 package here
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. smile.gif
ZDevil
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. smile.gif

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!
ZDevil
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: wiki functionality
-- BBDB: database handling, particularly useful for contacts
-- Remember: cool reminder tools
-- Planner: 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. wink.gif

Click to view attachment

(Both 1.0 and 1.1 have been deleted)


*************************
Short Notes on Getting Started (Very rough; to be revised soon; for newbies only!) tongue.gif

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.

Click to view attachment

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 smile.gif 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.

Click to view attachment

#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 newbie 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

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

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


Enjoy and good luck! wink.gif


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

(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 ... )
ZDevil
nethack-el is here! http://www.nongnu.org/nethack-el/

Oh, no! .... i can't .... get hooked .... on this ....that .... soon ........
ZDevil
[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. smile.gif

(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.
zi99y
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
ZDevil
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? smile.gif
ZDevil
QUOTE(zi99y @ Mar 17 2007, 04:51 PM)
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
*


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!
tombraider
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? huh.gif

QUOTE(ZDevil @ Mar 14 2007, 08:30 AM)
Here are the packages. Please test. Have fun!  smile.gif

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

emacs-base: This is the minimal install.

Click to view attachment

emacs-extra: Some important addons. Recommended.

Click to view attachment

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

Click to view attachment

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

Click to view attachment

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]

Click to view attachment
*
zi99y
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.
ZDevil
The download issue seems to be some bug in the forum. I also fail to download other attachments and even images elsewhere. dry.gif

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! smile.gif
ZDevil
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. biggrin.gif )


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 AND this post. smile.gif
ZDevil
Strange. I also can only download the files as "index.html". But renaming them to the original names work just fine.
zi99y
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?
tanjian2
QUOTE(zi99y @ Mar 17 2007, 11:14 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?
*

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
ZDevil
QUOTE(zi99y @ Mar 18 2007, 01:14 AM)
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(zi99y @ Mar 18 2007, 01:14 AM)
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?
*


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. smile.gif

[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 wink.gif ]

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. cool.gif
ZDevil
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml

Now I get a nice way to kill time during travel with the Emacs tutorial. rolleyes.gif
zi99y
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 smile.gif
tanjian2
QUOTE(zi99y @ Mar 18 2007, 12:20 AM)
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 smile.gif
*

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 ( blink.gif ).

The vip stuff is there to ease the transition of those from the 'darkside' to emacs light wink.gif
tanjian2
QUOTE(ZDevil @ Mar 18 2007, 12:11 AM)
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml

Now I get a nice way to kill time during travel with the Emacs tutorial.  rolleyes.gif
*


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
ZDevil
QUOTE(tanjian2 @ Mar 18 2007, 02:30 AM)
QUOTE(ZDevil @ Mar 18 2007, 12:11 AM)
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml

Now I get a nice way to kill time during travel with the Emacs tutorial.  rolleyes.gif
*


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....
*



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". tongue.gif
tanjian2
QUOTE(ZDevil @ Mar 18 2007, 12:34 AM)
QUOTE(tanjian2 @ Mar 18 2007, 02:30 AM)
QUOTE(ZDevil @ Mar 18 2007, 12:11 AM)
Just came across a nice quick reference here: http://www.helpdesk.umd.edu/documentation/unix/emacs.shtml

Now I get a nice way to kill time during travel with the Emacs tutorial.  rolleyes.gif
*


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....
*



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". tongue.gif
*



The second key does nothing for me... must investigate - thanks
ZDevil
Perhaps a keymapping issue?

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

keycode 78 = grave grave
tanjian2
QUOTE(ZDevil @ Mar 18 2007, 12:38 AM)
Perhaps a keymapping issue?

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

keycode 78 = grave grave
*

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!
pgas
emacs also uses the directory /usr/share/emacs/site-lisp/
for third party site-wide package installations
pgas
QUOTE(zi99y @ Mar 18 2007, 02:20 AM)
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)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.