unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: colorterms emulations
       [not found] <20030202220115.GC21485@boetes.org>
@ 2003-02-03 18:29 ` Eli Zaretskii
  2003-02-03 21:08   ` Alex Schroeder
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2003-02-03 18:29 UTC (permalink / raw
  Cc: emacs-devel

[Redirected to emacs-devel, since I think this discussion does not
belong to the bug-reporting list.]

> Date: Sun, 2 Feb 2003 23:00:53 +0059
> From: Han Boetes <han@mijncomputer.nl>
> 
> I asked a question on #emacs on freenode.net ( nice channel btw ) and I
> got the following conversation.
> 
> 22:22        Han| (trivial) Does anybody have a clue where I can set
>                   the terminal colors for termulators in emacs. I
>                   have my own scheme and I like it very much.
> 22:22        Han| http://www.xs4all.nl/~hanb/configs/dot-Xdefaults
> 22:44  kensanata| Han: terminal colors -- there is a variable for this.
> 22:45        Han| Easiest thing would be if emacs would read the
>                   .Xdefaults.
> 22:45  kensanata| Han: emacs does read face definitions from xdefaults,
>                   but terminal colors are in an array of color names,
>                   not faces.
> 22:47  kensanata| hm.
> 22:47  kensanata| Han: reading term.el, it seems that the faces are
>                   created using make-face and copy-face instead of
>                   using the defface special form.
> 22:47  kensanata| you could report that as a bug...  i would
>                   prefer defface...
> 22:48  kensanata| Han: example code fragment:
>                   (set-face-foreground 'term-green "green")
> 22:48  kensanata| ugly...
> 22:49        Han| Perhaps there is a good (=portability) reason for
>                   that?
> 22:49  kensanata| no.  this is old code.
> 22:49  kensanata| in your case, write a set of defface expressions,
>                   and eval-after-load term...
> 22:49  kensanata| Han: the copyright line ends in 1995
> 22:50  kensanata| ugh.
> 22:50        Han| lol
> 22:51        Han| I don't what it al means but I'll send a polite
>                   request to emacs-bugreport-something list.
> 22:51        Han| With a paste of this conversation.
> 22:52  kensanata| Han: do that.  :)
> 
> So he found some very old, outdated code. Perhaps somebody would like
> to take a look at it.

I'm not sure I see how that code would be useful.  Emacs 21.x allows
users to customize their colors via the functions
tty-modify-color-alist and tty-color-alist.  Aren't those enough for
what's needed?

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

* Re: colorterms emulations
  2003-02-03 18:29 ` colorterms emulations Eli Zaretskii
@ 2003-02-03 21:08   ` Alex Schroeder
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Schroeder @ 2003-02-03 21:08 UTC (permalink / raw
  Cc: emacs-devel

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

>> 22:22        Han| (trivial) Does anybody have a clue where I can set
>>                   the terminal colors for termulators in emacs. I
>>                   have my own scheme and I like it very much.
>
> I'm not sure I see how that code would be useful.  Emacs 21.x allows
> users to customize their colors via the functions
> tty-modify-color-alist and tty-color-alist.  Aren't those enough for
> what's needed?

I think he is talking about the faces used in term.el, not by emacs
-nw.

Alex, aka kensanata on #emacs

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

end of thread, other threads:[~2003-02-03 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20030202220115.GC21485@boetes.org>
2003-02-03 18:29 ` colorterms emulations Eli Zaretskii
2003-02-03 21:08   ` Alex Schroeder

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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