On Wed, 24 Oct 2001 13:50:17 +0300
Marius Ologesa <[EMAIL PROTECTED]> wrote the immortal words:
>
> Salut
>
> Am facut rost de GNU Emacs 21.1.1 si asta stie sa faca syntx-highliting
si
> in consola (ca XEmacs-ul), si, m-am lovit de urmatoarea problema:
colorile
> care arata bine in X sunt ingrozitor de nashpa in consola. Exista vreo
> metoda sa imi dau seama in .emacs (vreo cond-itie) daca ruleza in X sau
in
> consola? (de exemplu dark slate gray e un verde deschis si obositor in
> consola). Cum se face sa tina minte ce buffere erau incarcate de la o
> sesiune la alta si pozitia cursorului in buffere? este o optiune Save
> Places in Files Between Sessions dar nu m-am prins ce face. (de la o
> sesiune la ala insemnand ca ies din emacs si cand reintru sa il gasesc
cum
> l-am lasat). Niscaiva cod in lisp pentru chestiunile astea ar fi foarte
> folositor.
>
> Multumesc
>
la prima chestie mi-am raspuns singur pana la urma:
(cond ((getenv "DISPLAY")
(custom-set-faces
; X goes here
'(default ((t (:stipple nil :background "dark slate gray"
:foreground "wheat"))))
; .. and so on
)
)
(
(custom-set-faces
; console goes here
'(default ((t (:stipple nil :background "black" :foreground "white"))))
; .. and so on
)
)
)
sper sa nu fi ratacit vreo paranteza
--
The Marius
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.