Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] customize emacs
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Mon Apr 25, 2005 11:51 pm    Post subject: [RISOLTO] customize emacs Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Apr 26, 2005 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Thu Apr 28, 2005 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 28, 2005 9:12 pm    Post subject: Reply with quote

Li devi creare tu.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Thu Apr 28, 2005 9:43 pm    Post subject: Reply with quote

penso che sia più giusto allora usare .xdefaults, o sbaglio?
guarda qui:
http://www.saao.ac.za/unix/node73.html
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 28, 2005 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Thu Apr 28, 2005 10:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum