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

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #60 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!
« Last Edit: March 30, 2007, 07:05:35 am by ZDevil »

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

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #61 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.  
« Last Edit: March 31, 2007, 12:38:48 pm by ZDevil »

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

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #62 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):

 [ Invalid Attachment ]
« Last Edit: March 30, 2007, 08:51:49 am by ZDevil »

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

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #63 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.


ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #64 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).
« Last Edit: March 31, 2007, 10:56:18 am by ZDevil »

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

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #65 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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #66 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
« Last Edit: March 31, 2007, 11:54:06 am by ZDevil »

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

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #67 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

Anyone got a clue?

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #68 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

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)'
SLC-860 cacko / senao wifi

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
New Emacs 23 W/ Xft And Cjk Support!
« Reply #69 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.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Emacs 23 W/ Xft And Cjk Support!
« Reply #70 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]

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.
« Last Edit: April 02, 2007, 02:31:10 pm by ZDevil »

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