Gnus development mailing list
 help / color / mirror / Atom feed
* colors
@ 1999-02-20 13:58 dp
  1999-02-20 22:24 ` colors Lars Magne Ingebrigtsen
  1999-02-23 14:15 ` colors Christopher K Davis
  0 siblings, 2 replies; 5+ messages in thread
From: dp @ 1999-02-20 13:58 UTC (permalink / raw)


Hello!

Is there any way to force Gnus to show colors in console? XEmacs 20.4 and 
Gnus 5.6.43 use  my face- settings only in X.

-- 
See you,
	dp.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: colors
  1999-02-20 13:58 colors dp
@ 1999-02-20 22:24 ` Lars Magne Ingebrigtsen
  1999-02-23 14:15 ` colors Christopher K Davis
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-02-20 22:24 UTC (permalink / raw)


dp@kemtipp.ru writes:

> Is there any way to force Gnus to show colors in console? XEmacs 20.4 and 
> Gnus 5.6.43 use  my face- settings only in X.

This has been asked a couple of times before, but I don't recall the
answer.  Anyone?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: colors
  1999-02-20 13:58 colors dp
  1999-02-20 22:24 ` colors Lars Magne Ingebrigtsen
@ 1999-02-23 14:15 ` Christopher K Davis
  1999-02-23 16:13   ` user- Jeff Murphy
  1 sibling, 1 reply; 5+ messages in thread
From: Christopher K Davis @ 1999-02-23 14:15 UTC (permalink / raw)
  Cc: ding

dp  <dp@kemtipp.ru> writes:

> Is there any way to force Gnus to show colors in console? XEmacs 20.4
> and Gnus 5.6.43 use my face- settings only in X.

Here's what I use.  The trick is to put tty-compatible color names in
the color lists.  I also manually force TTYs to be color since not all
of my termcap entries claim color support.

;; try to be a colorized TTY
(if (eq (device-type (selected-device)) 'tty)
    (set-device-class (selected-device) 'color))

(require 'font-lock)

;; font-lock face setup based on sample.emacs
(set-face-foreground 'font-lock-string-face (list "darkgreen" "green"))
(copy-face 'font-lock-string-face 'font-lock-doc-string-face)
;; Underline comments looks terrible on tty's
(set-face-underline-p 'font-lock-comment-face nil 'global 'tty)
(set-face-highlight-p 'font-lock-comment-face nil 'global 'tty)
(set-face-foreground 'font-lock-comment-face (list "gray50" "blue"))

(copy-face 'bold 'font-lock-function-name-face)
(set-face-foreground 'font-lock-function-name-face "red")

;; misc. faces
(and (find-face 'font-lock-preprocessor-face) ; 19.13 and above
     (copy-face 'bold 'font-lock-preprocessor-face))

(copy-face 'italic 'font-lock-type-face)
(set-face-foreground 'font-lock-type-face (list "blue3" "blue"))

(copy-face 'default 'font-lock-other-type-face)
(set-face-foreground 'font-lock-other-type-face (list "blue3" "blue"))

(copy-face 'bold 'font-lock-keyword-face)
(set-face-foreground 'font-lock-keyword-face (list "blue3" "blue"))

(copy-face 'default 'cperl-invalid-face)
(set-face-background 'cperl-invalid-face (list "pink" "red"))

-- 
Christopher Davis * <ckd-sig@ckdhr.com> * <URL:http://www.ckdhr.com/ckd/>
Put location information in your DNS! <URL:http://www.ckdhr.com/dns-loc/>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* user-
  1999-02-23 14:15 ` colors Christopher K Davis
@ 1999-02-23 16:13   ` Jeff Murphy
  1999-02-23 18:47     ` user- Justin Sheehy
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Murphy @ 1999-02-23 16:13 UTC (permalink / raw)
  Cc: ding

i'd like to set my email address on a per-folder basis. i realize
i can use a summary mode hook in .gnus.el, but is there a more
elegant (group properties - G p) method?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: user-
  1999-02-23 16:13   ` user- Jeff Murphy
@ 1999-02-23 18:47     ` Justin Sheehy
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Sheehy @ 1999-02-23 18:47 UTC (permalink / raw)


Jeff Murphy <jcmurphy@smurfland.cit.buffalo.edu> writes:

> i'd like to set my email address on a per-folder basis. i realize
> i can use a summary mode hook in .gnus.el, but is there a more
> elegant (group properties - G p) method?

You could do this in group parameters, but also check out the
variable `gnus-posting-styles'.

-Justin


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-02-23 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-20 13:58 colors dp
1999-02-20 22:24 ` colors Lars Magne Ingebrigtsen
1999-02-23 14:15 ` colors Christopher K Davis
1999-02-23 16:13   ` user- Jeff Murphy
1999-02-23 18:47     ` user- Justin Sheehy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).