From: Javier <invalid@invalid.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsclient and reverseVideo in Xresources
Date: Mon, 24 Sep 2018 17:09:10 +0000 (UTC) [thread overview]
Message-ID: <pob5nm$lq4$1@gioia.aioe.org> (raw)
In-Reply-To: mailman.1222.1537793531.1284.help-gnu-emacs@gnu.org
Dimitrios Apostolou <jimis@gmx.net> wrote:
> - I am launching emacs from within a dark xterm, all commands are manual
> - "emacs -nw" launches emacs with the same (dark) background *in the same terminal*
> - "emacs -Q -nw" behaves the same (-Q explicitly skips processing of Xresources)
> - "emacsclient -nw" launches emacs with white background *in the same terminal*, i.e. it reverses the colours!
> - My .Xresources instructs all X applications to reverse colours with this line: "*reverseVideo: true"
> - The same colour reversals mentioned above happen also when I start emacs from a white-background xterm (using "xterm +rv")
>
> My findings so far indicate that emacs-server loads my Xresources file and
> sets some internal state that instructs all new emacsclient instances to
> reverse colours. I believe that this should happen only if emacsclient is
> not opening the new frame as a console application.
I get the same as you. To make the thing faster to reproduce:
emacs -xrm 'emacs*reverseVideo: true' --exec \
'(progn (setq server-name "reverseVideo_TRUE_server")
(server-start)
(insert server-name))' &
emacs -xrm 'emacs*reverseVideo: false' --exec \
'(progn (setq server-name "reverseVideo_FALSE_server")
(server-start)
(insert server-name))' &
sleep 2
xterm -e emacsclient -nw -s reverseVideo_TRUE_server &
xterm -e emacsclient -nw -s reverseVideo_FALSE_server &
next prev parent reply other threads:[~2018-09-24 17:09 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
2018-09-24 12:51 ` Dimitrios Apostolou
[not found] ` <mailman.1222.1537793531.1284.help-gnu-emacs@gnu.org>
2018-09-24 17:09 ` Javier [this message]
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='pob5nm$lq4$1@gioia.aioe.org' \
--to=invalid@invalid.invalid \
--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).