unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsclient and reverseVideo in Xresources
Date: Thu, 20 Sep 2018 17:51:34 -0600	[thread overview]
Message-ID: <20180920174110627290316@bob.proulx.com> (raw)
In-Reply-To: <alpine.LFD.2.21.1809182035130.10758@jimisX1.lan>

Dimitrios Apostolou wrote:
> - "emacs -nw" launches emacs with dark background in the terminal
> - "emacsclient -nw" launches emacsclient in the terminal with WHITE background!

Both of those should be terminal clients.  But you are not saying what
terminal emulator you are using, nor how that terminal emulator is
configured.  This makes it difficult help.

If you are doing things normally by running the commands from the
command line in an existing terminal then the colors should not change
from what you have when you launched it.  They don't for me.  For
example if I am at a terminal prompt and use emacsclient in the
following then I get the same colors during the emacs run that I had
running before I invoked emacsclient.  Works for me.

  rwp@angst:~$ emacsclient -nw /tmp

When you say "launches" do you mean that it starts up *another*
terminal window in addition to the one you used to run that command?
That would be really quite bizarre from my perspective.  However I
acknowledge that everyone has a different opinion about such things.

Are you somehow running that command by some way that doesn't use a
terminal, such as a window manager menu pick or something, and that
*it* is launching a terminal emulator with that command running in it?
If so then that is where your problem exists.  For example if you are
using a window manager menu pick and it is doing something like this:

  x-terminal-emulator -e emacsclient -nw

Then that is where you need to focus your efforts to make it open a)
the terminal type you want and b) using the X resources you want it to
use.  You will probably need to set X resources to control the color
of the terminal emulator that you are launching.  Or you will need to
change the terminal emulator to one that you have already configured.

Please say a little more about your environment so that we can help
further.

Bob



  reply	other threads:[~2018-09-20 23:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-18  9:47 emacsclient and reverseVideo in Xresources Dimitrios Apostolou
2018-09-18 14:16 ` Eli Zaretskii
2018-09-18 16:02   ` Dimitrios Apostolou
2018-09-18 16:51     ` Eli Zaretskii
2018-09-18 18:37       ` Dimitrios Apostolou
2018-09-20 23:51         ` Bob Proulx [this message]
2018-09-24 12:51           ` Dimitrios Apostolou
     [not found]           ` <mailman.1222.1537793531.1284.help-gnu-emacs@gnu.org>
2018-09-24 17:09             ` Javier
2018-09-24 20:03               ` Dimitrios Apostolou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180920174110627290316@bob.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).