help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to `start-process' in different terminal?


From: Eli Zaretskii
Subject: Re: How to `start-process' in different terminal?
Date: Tue, 24 Jun 2014 20:02:55 +0300

> From: Thorsten Jolitz <tjolitz@gmail.com>
> Date: Tue, 24 Jun 2014 18:51:59 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> > So calling display-graphic-p is meaningless.
> >> 
> >> hmm ... right now I try to live without X11, but before when I had one
> >> Emacs server running and several Emacsclients open, on the console and
> >> under X11, I used `display-graphic-p' successfully to determine
> >> background-color.
> >
> > I don't understand why.  There's absolutely no relation between
> > display-graphic-p and the color capabilities of the frame's terminal.
> > There are graphic terminals that can only display shades of gray, and
> > there are text terminals that can display hundreds of colors.
> 
> With `display-graphic-p' non-nil, I changed background color of
> emacsclient to black and foreground to white, otherwise I did not need
> to do that because thats what I got anyway on the console.

Until the day comes when you need to do the same on the text
terminal.  Why not learn The Right Way now?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]