From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Black Background with moe-dark Date: Sat, 19 Apr 2014 22:50:18 +0700 Message-ID: References: <87k3amrokw.fsf@quasar.esben-stien.name> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397922646 11003 80.91.229.3 (19 Apr 2014 15:50:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2014 15:50:46 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Esben Stien Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 19 17:50:41 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WbXXL-0003NI-VZ for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Apr 2014 17:50:40 +0200 Original-Received: from localhost ([::1]:42430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbXXL-00012T-J0 for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Apr 2014 11:50:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbXX3-0000xY-Ei for help-gnu-emacs@gnu.org; Sat, 19 Apr 2014 11:50:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbXX2-0007qv-JP for help-gnu-emacs@gnu.org; Sat, 19 Apr 2014 11:50:21 -0400 Original-Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:48465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbXX2-0007qp-EC for help-gnu-emacs@gnu.org; Sat, 19 Apr 2014 11:50:20 -0400 Original-Received: by mail-qa0-f41.google.com with SMTP id j5so2526372qaq.0 for ; Sat, 19 Apr 2014 08:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=vgsRR2yKpIgDmdFC/ZJBMW6fQ2cNW4tCD+1c8/Vyte8=; b=gwUMjTG8IPcuSGa9Zv6So39hP8Jq+GXDkyrMTq2gdFHpKk88cugq8qB7DSDZJf2NDC sTrQSHGaTMHY1YV59nwpnn8WxiaGM96HPB4riZQpBAD1s52fOBqyI454zTg2YRpu+5mH S1z6tAOW4bNI3+sad88mOAgdIV5WBLcRmYK0vYK3wYo6GJINUdQ/QGs+StLkW5otAYzV g2Q9Jo8wgAkxmSY+dIXw4xdZp7jDPArOLoqQFEWBu2zyzo+qbBqsDBzKlPXlyqNa9HRb fZjYFEkXtDuTP92waj+sfiEjdlQD42/skKjzoi3OSxqY2pUOoelnTHC6jVe9WsobCQ2o WbRQ== X-Received: by 10.224.114.76 with SMTP id d12mr26273478qaq.84.1397922618857; Sat, 19 Apr 2014 08:50:18 -0700 (PDT) Original-Received: by 10.96.29.1 with HTTP; Sat, 19 Apr 2014 08:50:18 -0700 (PDT) In-Reply-To: <87k3amrokw.fsf@quasar.esben-stien.name> X-Google-Sender-Auth: RKLx1p9reOVYxkaZVcuB5eaI-JM X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97238 Archived-At: On Sat, Apr 19, 2014 at 10:21 AM, Esben Stien wrote= : > I'm trying to get a black background with moe-dark theme, but no matter > what I try, it won't get any darker than this: > > https://raw.github.com/kuanyui/moe-theme.el/master/pics/dark01.png Your screenshot shows Emacs running in tmux running in Konsole running in X11. So there are quite a few layers of color translation. I assume your X11 is capable of displaying 24-bit color. Start a bare Konsole, without tmux inside. Run the following two commands and check that their output matches: $ echo $TERM xterm-256color $ tput colors 256 If that says 8 or 16, you are limited to the colors that are configured in your Konsole profile. Find out how to set up Konsole to display 256 colors. (This might be as easy as exporting the environment variable TERM=3Dxterm-256color in your .bashrc.) Start tmux. Now, run the same two commands and check their output: $ echo $TERM screen-256color $ tput colors 256 If that says 8 or 16, find out how to set up tmux to display 256 colors. (On my system, this needs =E2=80=9Cset -g default-terminal "screen-256color"=E2=80=9D in my .tmux.conf.) Once both Konsole and tmux correctly support 256 colors, there remains the issue of color matching. The 256-color terminal palette contains 16 entries that are mapped to the standard 16 colors. Most terminal emulators allow configuring the exact shades of these; not all let applications know which exact colors are configured. So Emacs may think #000000 is palette index 0, but in reality index 0 might be set up for a dark gray.