unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* auctex font colors
@ 2014-09-24 16:01 ivowel
  2014-09-24 17:56 ` Dan Espen
  0 siblings, 1 reply; 3+ messages in thread
From: ivowel @ 2014-09-24 16:01 UTC (permalink / raw)
  To: help-gnu-emacs


dear emacs wizards:

in auctex, I have absolutely perfect colors under linux in its gnome/X windows.  the '$' sign for a new line is a nice muted gray.  but if I open emacs inside a terminal window (with -nw), which I do when I ssh into my computer, the colors become a whole lot more garish and obtrusive.  the '$' for a new line is now a bright red.  my guess is that a terminal window pretends to be some sort of ansi (TERM=xterm,COLORTERM=gnome-terminal), which has more limited colors, so emacs picks something different from its more limited palette.  correct?

how can I make my with in-terminal colors in auctex similar to my in-Xgnome colors in auctex?  I could alter the colors that the terminal itself is displaying.  this is probably not a good idea.  the worst aspect is the bright red on the $-newline, which I would love to switch to a muted gray.  is there an easy way just to change at least this one item (permanently) in a terminal window only?

regards,

/iaw


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

* Re: auctex font colors
  2014-09-24 16:01 auctex font colors ivowel
@ 2014-09-24 17:56 ` Dan Espen
  2014-09-26  4:59   ` ivowel
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Espen @ 2014-09-24 17:56 UTC (permalink / raw)
  To: help-gnu-emacs

ivowel@gmail.com writes:

> dear emacs wizards:
>
> in auctex, I have absolutely perfect colors under linux in its gnome/X
> windows.  the '$' sign for a new line is a nice muted gray.  but if I
> open emacs inside a terminal window (with -nw), which I do when I ssh
> into my computer, the colors become a whole lot more garish and
> obtrusive.  the '$' for a new line is now a bright red.  my guess is
> that a terminal window pretends to be some sort of ansi
> (TERM=xterm,COLORTERM=gnome-terminal), which has more limited colors,
> so emacs picks something different from its more limited palette.
> correct?
>
> how can I make my with in-terminal colors in auctex similar to my
> in-Xgnome colors in auctex?  I could alter the colors that the
> terminal itself is displaying.  this is probably not a good idea.  the
> worst aspect is the bright red on the $-newline, which I would love to
> switch to a muted gray.  is there an easy way just to change at least
> this one item (permanently) in a terminal window only?

Most terminal programs now support 256 colors, try changing $TERM
to xterm-256color.

-- 
Dan Espen


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

* Re: auctex font colors
  2014-09-24 17:56 ` Dan Espen
@ 2014-09-26  4:59   ` ivowel
  0 siblings, 0 replies; 3+ messages in thread
From: ivowel @ 2014-09-26  4:59 UTC (permalink / raw)
  To: help-gnu-emacs


thank you, dan.  the terminal did support it, but I also had to set it in my bash

  export TERM=xterm-256color

now it's great.

/iaw


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

end of thread, other threads:[~2014-09-26  4:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-24 16:01 auctex font colors ivowel
2014-09-24 17:56 ` Dan Espen
2014-09-26  4:59   ` ivowel

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).