unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: semente <semente@riseup.net>
Cc: 29716@debbugs.gnu.org
Subject: bug#29716: 25.1; Wrong brackground-mode on gnome-terminal
Date: Thu, 14 Dec 2017 20:13:45 -0500	[thread overview]
Message-ID: <878te4dc8m.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87shcd56jv.fsf@cafe.lan> (semente's message of "Thu, 14 Dec 2017 19:43:48 -0200")

severity 29716 minor
severity 29473 minor
quit

semente <semente@riseup.net> writes:

> On gnome-terminal 3.22.2 (Debian Stretch), for some reason, Emacs is
> setting the background-mode to light when I'm running a dark
> background. On xterm or ttys it works fine.
>
> The only way I found to fix this is by forcing a dark mode, as for
> example:
>
>  (setq frame-background-mode 'dark)
>  (set-background-color "black")
>  (set-foreground-color "white")

What do you get from running

    printf '\e[>0c'

and

    printf '\e]11;?\e\'

in the shell from gnome-terminal?

See also https://debbugs.gnu.org/cgi/bugreport.cgi?users=emacs;bug=29473#11





  reply	other threads:[~2017-12-15  1:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 21:43 bug#29716: 25.1; Wrong brackground-mode on gnome-terminal semente
2017-12-15  1:13 ` Noam Postavsky [this message]
2017-12-15  1:44   ` semente
2017-12-15  2:47 ` Noam Postavsky
2017-12-15  8:52   ` Eli Zaretskii
2017-12-25 18:27     ` semente
2018-01-01  1:19       ` Noam Postavsky
2018-01-07 23:24         ` semente
2018-01-08  1:30           ` Noam Postavsky

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=878te4dc8m.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=29716@debbugs.gnu.org \
    --cc=semente@riseup.net \
    /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.
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).