OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Emacs For Zaurus, tips & tricks & sharing
ZDevil
post Apr 4 2007, 11:29 AM
Post #16





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



BTW here is a great short wikipedia introduction to G(etting) T(hings) D(one). It's no philosophy, religion or mechanical procedure. It's just an (intuitive) approach to the amorphous, ever-changing pattern in real life.

http://en.wikipedia.org/wiki/Getting_Things_Done
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 4 2007, 12:56 PM
Post #17





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Alright, here are two antitheses: biggrin.gif

GTD: A new cult for the Info Age
http://www.wired.com/culture/lifestyle/news/2005/07/68103

Introducing the Hipster PDA (really cool! cool.gif )
http://www.43folders.com/2004/09/03/introd...he-hipster-pda/

Off topic, sorry ...
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 5 2007, 03:17 AM
Post #18





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Setting deadlines for tasks

Here is yet another useful functionality: setting deadlines to tasks.

First, add this in ~/.emacs:
CODE
(require 'planner-deadline)

(Re)Start Emacs Planner to let the change take effect.

Then go to your tasks. Add a deadline by M-x planner-deadline-add.
You will see a deadline tag show up at the end of the task, e.g.
CODE
#B _ Return books to the library {{Task 12}} {{Deadline: 2007.04.12 - 7 days}} (@Research)

which is read off as: Priority | Status | Task description | Task id | Deadline (with remaining days | Context tag
Also Planner will tell you how many days are left. Nice!

Of course, since you can add deadlines, you can change them. Try
M-x planner-deadline-remove
M-x planner-deadline-change
M-x planner-deadline-update


Again, you may want to assign easy keys for them if you use them a lot.
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 5 2007, 01:38 PM
Post #19





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Maximize your view in Emacs

Because of the small screen size, every single row and column counts in displaying text. Here is a trick to have Emacs display in the whole screen on your Z.

(Go directly to Step 2 if you are not using GTKTerm2 to launch Emacs)

Step 1: Maximize view in GTKTerm2
Run GTKTerm2 with this:
CODE
gtkterm2 -s --win-height=52

(-s = "Stealth" mode; --win-height = number of rows)
Or you can edit /usr/share/applications/gtkterm2.desktop once and for all.

Then GTKTerm2 will run without any window thingies (frame, scroll bar, menu tool bar) but only a big box filling up the display. (You should use a slightly lower window height, say 48, in Matchbox because the matchbox panel is not collapsible and may block the view of the last few rows.

If you want to reclaim the remaining few rows at the bottom, then maximize the window, in the same way as in any other application, e.g. Ctrl-Alt-M in matchbox, and set you own keys in icewm in ~/.icewm/preferences


Step 2: Get rid of UI stuff in Emacs
Add these in your .emacs file:
CODE
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))

(Got it from: htp://www.cabochon.com/~stevey/blog-rants/effective-emacs.html)


Before ...



After ...



Now Emacs can work more efficiently on your Z!
Go to the top of the page
 
+Quote Post
leskimo
post Apr 6 2007, 02:00 AM
Post #20





Group: Members
Posts: 33
Joined: 9-May 04
Member No.: 3,016



Thanks for the planner tips! Didn't know about the deadline feature..

I got rid of the toolbar, menubar etc a couple of months ago and yes it makes the work area bigger but also looks so much nicer wink.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 6 2007, 02:38 AM
Post #21





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Actually there is much more to explore in Planner... it's a really powerful mode.
Next I'm gonna find out how to generate status report, which is very useful for task review. smile.gif

Please let me know if you come up with anything interesting.
Go to the top of the page
 
+Quote Post
ZDevil
post May 13 2007, 01:08 AM
Post #22





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Just compiled Emacs-unicode2 on OpenBSD/Zaurus.
Compilation goes faster and smoother than using zgcc on pdaX.
And the build also loads and runs much faster under OBSD!
Time to resume working with Emacs@Zaurus.
Go to the top of the page
 
+Quote Post
telemetric_au
post May 14 2007, 02:22 AM
Post #23





Group: Members
Posts: 327
Joined: 28-February 06
From: South East of South Australia
Member No.: 9,251



just a note: i yesterday compiled and ran successfully emacs 21.4ish on my 5500 with pdaxrom with too much hassle... only prob is screen way to small so ended up taking it off straight away... just had to check it out after seeing mew on my big puter smile.gif

you want to see this post/thread for the only error i got for a fix:

http://www.oesf.org/forums/index.php?showtopic=3241&st=0#
http://www.oesf.org/forums/index.php?showtopic=3241&st=15#
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 6 2007, 03:13 AM
Post #24





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



Does anyone know how to enable history when running bash in Emacs via M-x shell

What I mean is, when you press the up arrow in a terminal you get the previous command you keyed in.

This works in eshell in Emacs, however if you run bash in Emacs and hit the up arrow it just moves the cursor up...

Now I'd like to run bash for chrooting in emacs, because you can chroot in eshell, but then input completion doesn't work.

Any solution for this?
Go to the top of the page
 
+Quote Post
tanjian2
post Jun 6 2007, 04:37 AM
Post #25





Group: Members
Posts: 99
Joined: 13-November 06
Member No.: 12,390



QUOTE(ShiroiKuma @ Jun 6 2007, 11:13 AM)
Does anyone know how to enable history when running bash in Emacs via M-x shell

What I mean is, when you press the up arrow in a terminal you get the previous command you keyed in.

This works in eshell in Emacs, however if you run bash in Emacs and hit the up arrow it just moves the cursor up...

Now I'd like to run bash for chrooting in emacs, because you can chroot in eshell, but then input completion doesn't work.

Any solution for this?
*

Try M-p (Emacs speak for esc-p or alt-p).
Go to the top of the page
 
+Quote Post
pgas
post Jun 6 2007, 04:38 AM
Post #26





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



either use M-p M-n
or put:
CODE
(add-hook 'shell-mode-hook
 (lambda ()
  (local-set-key '[up] 'comint-previous-input)
  (local-set-key '[down] 'comint-next-input)))

in your .emacs
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 6 2007, 06:27 AM
Post #27





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



Thanks a lot.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 6 2007, 12:16 PM
Post #28





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



One more thing, is it possible to get previous input based on what you type, I mean for instance when you type ls and then up arrow, you get choices only from prior commands starting with ls...

I found the comint-previous-matching-input, but this then asks you for regexp, thus if you give it ls, it'll come up with the history. But if you type ls in the shell buffer and then run comint-previous-matching-input it again asks you for the regexp, and doesn't take what you entered on the line as the regexp.

Is there a way to do this?
Go to the top of the page
 
+Quote Post
pgas
post Jun 7 2007, 12:50 AM
Post #29





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



I don't think there is something like that, maybe some extensions...
or use M-x ansi-term RET RET and the C-r from read-line ...
Go to the top of the page
 
+Quote Post
Asterix
post Aug 10 2007, 04:52 PM
Post #30





Group: Members
Posts: 19
Joined: 27-July 07
From: A Small Village in Virginia
Member No.: 18,507



QUOTE(ZDevil @ Mar 31 2007, 11:52 AM)
Where to download Emacs for Zaurus:
*


Thanks for posting this. I've been looking all over for a non-X Emacs. smile.gif

Asterix
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th April 2014 - 10:39 AM