unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: color-theme 6.5.0
       [not found]   ` <87r8bmtnfs.fsf@computer.localdomain>
@ 2003-01-09 15:32     ` Chris McMahan
  2003-01-09 15:47       ` Thomas Gehrlein
  2003-01-09 16:03       ` Printed email is color-themed Clay Haapala
  0 siblings, 2 replies; 6+ messages in thread
From: Chris McMahan @ 2003-01-09 15:32 UTC (permalink / raw)


D. Goel <deego@gnufans.org> writes:
> [fup to g.e.help]
> > 
> > Nice work, but it's a shame I still have to load the
> > color theme manually (M-x color-theme-robin-hood RET)
> > to get the colors right.
> > It would be so nice if I could put it in my ~/.emacs.
> > 
> > (Happens with Emacs 21.2.1 on Windows 2000 and XP.)
> 
> this is what happens for KDE: 
> http://www.emacswiki.org/cgi-bin/wiki.pl?ColorsAndKde
> 
> 
> something similar might be happening for windows :) 
> 
> HTH
> 
> DG                                 http://deego.gnufans.org/~deego/
> --

Hmmm... I've been using color-theme from my .emacs since its initial
release. 

Could the key be to place it within the init hook?

Here's what I've got:

;;;======================================================================
;;; load the color theme package
;;;======================================================================
(require 'color-theme)

(if (not window-system)
	nil
  (progn
	(add-hook 'after-init-hook
	  (lambda ()
        (color-theme-dark-blue2)))))



-- 
     (.   .)
  =ooO=(_)=Ooo========================
  Chris McMahan | cmcmahan-AT-one.net
  ====================================

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

* Re: color-theme 6.5.0
  2003-01-09 15:32     ` color-theme 6.5.0 Chris McMahan
@ 2003-01-09 15:47       ` Thomas Gehrlein
  2003-01-09 16:03       ` Printed email is color-themed Clay Haapala
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Gehrlein @ 2003-01-09 15:47 UTC (permalink / raw)


Chris McMahan <cmcmahan+n@one.net> writes:

> (require 'color-theme)
> 
> (if (not window-system)
> 	nil
>   (progn
> 	(add-hook 'after-init-hook
> 	  (lambda ()
>         (color-theme-dark-blue2)))))

(require 'color-theme)

(when window-system
  (add-hook 'after-init-hook
            (lambda ()
              (color-theme-dark-blue2))))

Thomas

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

* Printed email is color-themed
  2003-01-09 15:32     ` color-theme 6.5.0 Chris McMahan
  2003-01-09 15:47       ` Thomas Gehrlein
@ 2003-01-09 16:03       ` Clay Haapala
  2003-01-09 16:21         ` Clay Haapala
  1 sibling, 1 reply; 6+ messages in thread
From: Clay Haapala @ 2003-01-09 16:03 UTC (permalink / raw)


I have found that when I print my email from within Oort Gnus v0.07
when a color-theme is in place, then the output is also "themed".  The
results aren't pretty, especially in gray-scale.  Is there a way to
turn off color-theme for that function?
-- 
Clay Haapala (chaapala@cisco.com) Cisco Systems, Inc. SRBU  PGP: C89240AD
   6450 Wedgwood Rd, Suite 130 Maple Grove MN 55311 +1 763 398 1056
  "No industry is so fraught with impassioned histrionics as this one,"
  said FCC chairman Michael Powell on Channel 1, Channel 2, Channel3 ...

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

* Re: Printed email is color-themed
  2003-01-09 16:03       ` Printed email is color-themed Clay Haapala
@ 2003-01-09 16:21         ` Clay Haapala
  2003-01-09 16:58           ` David Kastrup
  0 siblings, 1 reply; 6+ messages in thread
From: Clay Haapala @ 2003-01-09 16:21 UTC (permalink / raw)


On Thu, 09 Jan 2003, Clay Haapala wrote:
> I have found that when I print my email from within Oort Gnus v0.07
> when a color-theme is in place, then the output is also "themed".
> The results aren't pretty, especially in gray-scale.  Is there a way
> to turn off color-theme for that function?

Following up my own post, I neglected to say that this is under XEmacs
21.5.9.

I also tried:
 ; But we want our printing to be B/W!
 (setq ps-default-fg 'black) 
 (setq ps-default-bg 'white)

after reading another post, but it doesn't help.

-- 
Clay Haapala (chaapala@cisco.com) Cisco Systems, Inc. SRBU  PGP: C89240AD
   6450 Wedgwood Rd, Suite 130 Maple Grove MN 55311 +1 763 398 1056
  "No industry is so fraught with impassioned histrionics as this one,"
  said FCC chairman Michael Powell on Channel 1, Channel 2, Channel3 ...

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

* Re: Printed email is color-themed
  2003-01-09 16:21         ` Clay Haapala
@ 2003-01-09 16:58           ` David Kastrup
  2003-01-09 17:34             ` Clay Haapala
  0 siblings, 1 reply; 6+ messages in thread
From: David Kastrup @ 2003-01-09 16:58 UTC (permalink / raw)


Clay Haapala <chaapala@cisco.com> writes:

> On Thu, 09 Jan 2003, Clay Haapala wrote:
> > I have found that when I print my email from within Oort Gnus v0.07
> > when a color-theme is in place, then the output is also "themed".
> > The results aren't pretty, especially in gray-scale.  Is there a way
> > to turn off color-theme for that function?
> 
> Following up my own post, I neglected to say that this is under XEmacs
> 21.5.9.
> 
> I also tried:
>  ; But we want our printing to be B/W!
>  (setq ps-default-fg 'black) 
>  (setq ps-default-bg 'white)
> 
> after reading another post, but it doesn't help.

C-h v ps-print-color-p

ps-print-color-p's value is t

*Specify how buffer's text color is printed.

Valid values are:

   nil		Do not print colors.

   t		Print colors.

   black-white	Print colors on black/white printer.
		See also `ps-black-white-faces'.

Any other value is treated as t.

Defined in `ps-print.el'.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: Printed email is color-themed
  2003-01-09 16:58           ` David Kastrup
@ 2003-01-09 17:34             ` Clay Haapala
  0 siblings, 0 replies; 6+ messages in thread
From: Clay Haapala @ 2003-01-09 17:34 UTC (permalink / raw)


On 09 Jan 2003, David Kastrup wrote:
> 
> C-h v ps-print-color-p
> 
> ps-print-color-p's value is t
> 
> *Specify how buffer's text color is printed.
> 
> Valid values are:
> 
>    nil		Do not print colors.
> 
>    t		Print colors.
> 
>    black-white	Print colors on black/white printer.
> 		See also `ps-black-white-faces'.
> 
> Any other value is treated as t.
> 
> Defined in `ps-print.el'.

Absolutely!  Thanks!
-- 
Clay Haapala (chaapala@cisco.com) Cisco Systems, Inc. SRBU  PGP: C89240AD
   6450 Wedgwood Rd, Suite 130 Maple Grove MN 55311 +1 763 398 1056
  "No industry is so fraught with impassioned histrionics as this one,"
  said FCC chairman Michael Powell on Channel 1, Channel 2, Channel3 ...

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

end of thread, other threads:[~2003-01-09 17:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <877kdmntwp.fsf@emacswiki.org>
     [not found] ` <fe4612a5.0301090423.2cc38fe0@posting.google.com>
     [not found]   ` <87r8bmtnfs.fsf@computer.localdomain>
2003-01-09 15:32     ` color-theme 6.5.0 Chris McMahan
2003-01-09 15:47       ` Thomas Gehrlein
2003-01-09 16:03       ` Printed email is color-themed Clay Haapala
2003-01-09 16:21         ` Clay Haapala
2003-01-09 16:58           ` David Kastrup
2003-01-09 17:34             ` Clay Haapala

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 read-only IMAP folder(s) and NNTP newsgroup(s).