View previous topic :: View next topic |
Author |
Message |
soigres l33t
Joined: 09 Dec 2004 Posts: 648 Location: Milano, Italy
|
Posted: Mon Apr 25, 2005 11:51 pm Post subject: [RISOLTO] customize emacs |
|
|
ho "emerso" il package "color-theme" che contiene dei temi per emacs ma non ho capito come si usa; in realtà non ho capito proprio bene come funziona emacs e non saprei cambiare nemmeno a mano il colore del testo o lo sfondo a meno di digitare "emacs -bg black -fg white" ma queste impostazioni non vengono salvate per la volta successiva!
ho un manulae di 560 pagine su emacs ma non dice nulla sul come customizzarne l'aspetto... help please!
Last edited by soigres on Thu Apr 28, 2005 10:56 pm; edited 1 time in total |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Tue Apr 26, 2005 7:23 am Post subject: |
|
|
Se non usi XMD:
Code: |
gutter@giskard ~ $ cat .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
# Start some nice program
<start_your_DE/WM>
|
Code: | gutter@giskard ~ $ cat .Xresources
#ifdef COLOR
*customization: -color
#endif
!###########
!## EMACS ##
!###########
emacs*Background: DarkSlateGray
emacs*Foreground: Wheat
emacs*pointerColor: Orchid
emacs*cursorColor: Orchid
!Emacs*bitmapIcon: on
emacs*font: 10x20
emacs*geometry: 80x30+80+80 |
Se usi XDM devi usare il file .xsession al posto di .xinitrc. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
soigres l33t
Joined: 09 Dec 2004 Posts: 648 Location: Milano, Italy
|
Posted: Thu Apr 28, 2005 4:15 pm Post subject: |
|
|
Code: | localhost sazzu # cat .xinitrc
exec gnome-session
localhost sazzu # | il file .xsession non c'è (e non uso xdm) ma non c'è nemmeno .Xresources |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Apr 28, 2005 9:12 pm Post subject: |
|
|
Li devi creare tu. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
soigres l33t
Joined: 09 Dec 2004 Posts: 648 Location: Milano, Italy
|
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Apr 28, 2005 10:07 pm Post subject: |
|
|
Si se fai delle modifiche a WM attivo a quello che ho letto dovrebbe essere meglio. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
soigres l33t
Joined: 09 Dec 2004 Posts: 648 Location: Milano, Italy
|
Posted: Thu Apr 28, 2005 10:38 pm Post subject: |
|
|
per fare le modifiche che dici tu probabilmente mi basta fare un alias; ma guarda qui:
http://www-2.cs.cmu.edu/~maverick/GNUEmacsColorThemeTest/index-el.html
qui cambiano tutti i colori della sintassi anche; si parla nella partent page di un file nominato color-theme.el che messo nella "load-path" contiene tutti i temi che vedi nel link qui sopra (le istruzioni per l'installazione sono scritte nel file .el stesso[/u])... adesso vedo se riesco a farlo funzionare
aggiungo anche questo:
http://www.emacswiki.org/cgi-bin/wiki?ColorTheme
OK... funge alla grande! |
|
Back to top |
|
|
|