erlug
[Top] [All Lists]

Re: [Erlug] un po' di Lisp per .emacs

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] un po' di Lisp per .emacs
From: Francesco Gigli - Checco <jaramir@xxxxxxxx>
Date: Thu, 31 Mar 2005 12:31:01 +0200
Il 30 Mar 2005, alle 11:59:32AM +0100, Federico Calboli ha scritto:
> vorrei chiedervi, qualcuno sa come scrivere in lisp:
> 
> carica la libreria "pippo"

(load "pippo")

> carica il color-theme "pluto"

ehmmm..  bho?

da color-theme.el

;; If you want to install the color theme as soon as Emacs is started
;; up, read the description of the theme you like and remember the
;; name of the color theme function.  Press `d' on a color theme in
;; the Color Theme Selection buffer to read the description.  Assuming
;; you like the Gnome2 theme, you'll find that the function to use is
;; called `color-theme-gnome2'.  Add the following to the end of your
;; .emacs (removing the leading `;;').
;;
;; (require 'color-theme)
;; (color-theme-gnome2)

> Ovvero, io ho la libreria "color-theme.elc" nella dir
> ~/.elisp/color-theme.elc (NB la dir e` nel load-path)

non hai anche il .el (il file in elisp non compilato)?
non credo, ma e' possibile che la prenda a male..

> e voglio caricare il lo schema  "lethe". Ordunque, se io aggiungo
> in .emacs
> 
> '(require 'color-theme)
> '(color-theme-lethe)
> 
> non da errore ma non mi caga di striscio, devo caricare la lib a manina.
> Cosa ho da mettere in .emacs acciocche` mi carirchi libreria et il ct in
> automatico alla partenza? con google non ci sto cavando los pies.

possibile che in realta' color-theme non e' nel load-path?

hai provato a mettere:

(load "~/.elisp/color-theme.el")

prima del require? funziona?

Siau!

PS: Wow! Signify mi ha anche scelto la firma giusta :-)))

-- 
Francesco Gigli      mail&jabber: jaramir@xxxxxxxx      http://slack.it
      C-u 2 M-x prepara-caffe C-u 1 C-l (due caffe', uno lungo..)

<Prev in Thread] Current Thread [Next in Thread>