vendredi 31 août 2007

Some thoughts

Auto Completion can be strongly improve with the following things:
- in an environnement where variables must be prefixed with type (as bstrToto), completion is not very effective with the first letters -> so must be done with discriminating letters (as iswitch)
- for bstrToto, completion must work with no case

Some interesting pages

From emacs wiki:
http://www.emacswiki.org/cgi-bin/wiki/EmacsNiftyTricks

jeudi 23 août 2007

Some usefull commands

Taken from http://vobcopy.org/tools/xemacs/xemacs.shtml

-- outline mode
M-x outline-minor-mode
M-x hide-other
M-x show-subtree

-- search and replace in dir
M-x tags-search
M-x tags-query-replace

Outline mode : to show hierarchy of files

http://www.la.utexas.edu/lab/software/user/gnu/xemacs/xemacs_23.html#SEC182
http://www.xemacs.org/Documentation/packages/html/edit-utils_40.html#SEC56

-- update

Use outline-minor-mode command to activate it
Then :
M-x hide-other shows only methods proto
M-x show-all redisplay them

vendredi 17 août 2007

Delicious API in TCL

http://wiki.tcl.tk/19751

Programming environnement : Holon

Code database instead of files
http://wiki.tcl.tk/19639

News management

Must subscribe to news from:
- Tcl http://groups.google.com/groups?q=comp.lang.tcl+tcl+url&start=0&scoring=d&
- Ruby
- SVG
- ...
Must also subscribe to Linux Mag

vendredi 10 août 2007

Desktop and session extensions

To add persistency and start configuration:
- session.el not included in Xemacs, seems to do something, but no menu for the moment
- desktop.el to be tested
http://www.emacswiki.org/cgi-bin/wiki/DeskTop

-- Update

Desktop : works great but :
- must use M-x desktop-save to save the desktop
- must place the emacs.dsk in my HOME directory

-- Update

Desktop must be saved in HOME directory to be reloaded
Problem is that with big projects and lots of files, desktop result appears to be too big.
So it would be better to save some particular sessions (HSM, UEVOL tests, ATR, ...)
If not alredy existing:
<-
faire un outil de session Xemacs, ie:
- sauvegarder les buffers ouverts sous un nom de session -> command save-session
- proposer l'ouverture d'une session -> command open-session
- En supplément, puisque les chemins Iconis changent à chaque Release, il faudrait une command de translation de chemin pour une session,
qui propose de remplacer une chaine par une autre dans les paths des fichiers
Ceci est intéressant du fait de l'extension iswitchb, qui permet d'accéder rapidement aux buffers
->

Interesting emacs extensions

Contains session.el, planner and emacs-wiki configuration
http://www.ntu.edu.sg/home5/pg04878518/EmacsTools.html

Skeleton Mode !!

Reinvented a bit on S2K, so is a must to be studied !!
Kind of template insertion with cursor setting and abbrev
http://www.emacswiki.org/cgi-bin/emacs-en/SkeletonMode

ECB : how to install

http://www.xemacs.org/Documentation/packages/html/ecb_1.html#SEC1
but does not seem to work (connect indefinitely with FTP ,).

Emacs try

Try to install emacs, but:
- is not nice on my Windows conf
- make-extent not existing
- packages not simply installed
So keep waiting ...

Startup.el to be studied

http://www.emacswiki.org/cgi-bin/wiki/startup.el

What are desktop and skeletons extensions ?

Try
(global-font-lock-mode 1)
but does not work because Xemacs instead of Emacs

Already used:
'(inhibit-startup-message t)


jeudi 9 août 2007

Eon extension : could be used for personnal database ?

http://dto.freeshell.org/notebook/Eon.html
To be explored, and tested

----

in the same way, check
http://www.emacswiki.org/cgi-bin/wiki/PlannerMode

---
see also WikiMode and EmacsWikiMode
http://www.emacswiki.org/cgi-bin/wiki/WikiMode
http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMode

Pabbrev, ido and iswitchb extensions

- pabbrev already lightly tested, but not so improving from dabbrev. So not used for the moment.

- ido and iswitchb must be checked, to rapdily switch buffers.

--- Update

ido installed : is greate. Replaced "C-x b" command to type a sequence to get the buffer.

--- Update2

Ido not so great, because with it cannot update file path (bugs ?)
So has been switched to iswicthb, and is OK, with additional arrow bindings found on
http://www.emacswiki.org/cgi-bin/wiki/IswitchBuffers

Byte compilation

To byte-compile:
- open directory with C-x d(Dired utility)
- select files with % m \.el for example (mark files by regexp)
- type B (byte-code)

Predictive completion

Package à exploiter, et sûrement à améliorer :
http://klibb.com/cgi-bin/wiki.pl/Emacs_Blog_2007-01-20
http://www.dr-qubit.org/emacs.php

Problème : ne march uniquement qu'avec Emacs :-(