all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: a dark theme?
Date: Wed, 16 Jul 2014 22:32:47 +0200	[thread overview]
Message-ID: <87a989f3io.fsf@debian.uxu> (raw)
In-Reply-To: mailman.5512.1405536842.1147.help-gnu-emacs@gnu.org

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> I'm hoping that someone can advise me, I'm looking
> for a theme to use with emacs and gnus which has a
> dark background, but also allows me to read all the
> text in a gmail which currently appears as
> nearly-white on a slightly-grey background.

"All the text in a gmail"?

To get a default bright-on-dark "theme" (which I highly
recommend to reduce eye strain) simply evaluate this:

(set-face-attribute 'default nil
                    :foreground "cyan"
                    :background "black"
                    :bold nil)

Change "cyan" to whatever fits you the best. I use a
Linux VT/tty/"the console" and you probably use X. That
means I can't help you with the colors, but try
"green", "blue", etc. See if you can find something you
like; if not, dig deeper. Probably you don't won't bold
for ordinary text, save that option for faces that
highlight stuff (headers, keywords, and so on).

If you run into some text that you don't like the color
of, use this defun to identify the face:

(defun what-face (pos)
  (interactive "d")
  (let ((face (or (get-char-property (point) 'read-face-name)
                  (get-char-property (point) 'face))))
    (if face (message " Face: %s" face)
      (message " No face at %d." pos) )))

Put it in an init file, for example ~/.emacs. Then
invoke it with `M-x what-face' with point at the face
you don't like the color of. This will show you what
face it is. Then do as above again, only substitute
'default for the face you found. Note that several
modes/modules of Emacs uses the same faces. So if it
looks great with brown somewhere, it might not look as
great somewhere else, and of course, if you change it
again, the first place may look less good! In practice,
this is seldom or never a problem. If it is, it is
solvable but I never got to that. Just go for what
sticks out in a pleasant way, it should work
everywhere. Where applicable, put some thought into it:
with programming, the `font-lock-comment-face'
shouldn't be as bright and emphasized as
`font-lock-function-name-face' (because people
comment-out stuff, and read comments only as a
secondary measure, when they don't immediately
understand the code), what's more, perhaps red is a
natural color for `font-lock-warning-face', and so
on. But don't overthink it. Most important thing is it
should look clear, relaxed, and fun. Check out this
screenshot of a modest major-mode a once did. That's
how I like it. Obviously I didn't intellectualize every
singly color I put to use. It is still very pleasant to
work in such a mode - like a night club :) [1]

> I've recently been using aalto-dark, aalto-light,
> adwaita, alect-black-alt, tsdh-dark and all have
> failed the gmail test. I'm currently using tango,
> which is the complete reverse of what I'm looking
> for.

The problem with themes, which I didn't know existed
until this discussion by the way, is that you find one
mode, you like it to 80%, but not quite, so you look
for another, maybe you like that to 90%, and so
on. Instead of jumping between Emacs themes, Linux
distros, and so on, just put that time setting it up
the way you want it. Plain and simple. Time-consuming,
yes, but educational. Fun. And ultimately, much more
capable of getting not to 90% but (almost) all the way
(and those last percent missing not because some
perfect theme is eluding you, but because of your
current understanding and skills. Remember,
"Don't chase the dragon - become the dragon!"

[1] http://user.it.uu.se/~embe8573/fps/fpscalc.png

-- 
underground experts united


       reply	other threads:[~2014-07-16 20:32 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5512.1405536842.1147.help-gnu-emacs@gnu.org>
2014-07-16 20:32 ` Emanuel Berg [this message]
2014-07-17  1:00   ` a dark theme? Sharon Kimble
2014-07-17  6:38     ` Glyn Millington
     [not found]     ` <mailman.5544.1405580673.1147.help-gnu-emacs@gnu.org>
2014-07-17 13:20       ` Emanuel Berg
2014-07-17 13:47         ` Glyn Millington
     [not found]   ` <mailman.5534.1405558868.1147.help-gnu-emacs@gnu.org>
2014-07-17  1:18     ` Emanuel Berg
2014-07-17  5:10       ` Sharon Kimble
2014-07-17 12:30         ` Robert Thorpe
2014-07-17 16:21           ` Sharon Kimble
     [not found]           ` <mailman.5565.1405614093.1147.help-gnu-emacs@gnu.org>
2014-07-17 22:19             ` Emanuel Berg
2014-07-18  0:49               ` Sharon Kimble
     [not found]               ` <mailman.5581.1405644617.1147.help-gnu-emacs@gnu.org>
2014-07-18  1:08                 ` Emanuel Berg
2014-07-18  3:57                   ` Sharon Kimble
2014-07-18 13:39                     ` Tassilo Horn
     [not found]                     ` <mailman.5622.1405690890.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:29                       ` Emanuel Berg
2014-07-21 17:26                         ` Tassilo Horn
     [not found]                         ` <mailman.5827.1405963747.1147.help-gnu-emacs@gnu.org>
2014-07-21 22:15                           ` Emanuel Berg
2014-07-23 12:34                             ` Tassilo Horn
     [not found]                             ` <mailman.5896.1406119000.1147.help-gnu-emacs@gnu.org>
2014-07-23 14:31                               ` Emanuel Berg
2014-07-21 22:31                           ` Emanuel Berg
2014-07-18  6:36                   ` Alan Schmitt
     [not found]                   ` <mailman.5586.1405655879.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:19                     ` Emanuel Berg
     [not found]                   ` <mailman.5597.1405665401.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:23                     ` Emanuel Berg
2014-07-18 13:33               ` Tassilo Horn
2014-07-18 16:47                 ` Sharon Kimble
2014-07-19  8:29                   ` Tassilo Horn
     [not found]                 ` <mailman.5633.1405702041.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:30                   ` Emanuel Berg
     [not found]       ` <mailman.5543.1405573869.1147.help-gnu-emacs@gnu.org>
2014-07-17 13:08         ` Emanuel Berg
2014-07-16 18:53 Sharon Kimble
2014-07-16 19:53 ` Allan Streib
     [not found] ` <mailman.5517.1405540466.1147.help-gnu-emacs@gnu.org>
2014-07-16 20:36   ` Emanuel Berg
2014-07-17  2:14 ` Sujith Manoharan
2014-07-17  7:24 ` Tassilo Horn
2014-07-17 12:35   ` Sharon Kimble
     [not found] ` <mailman.5546.1405582006.1147.help-gnu-emacs@gnu.org>
2014-07-17 13:22   ` Emanuel Berg
2014-07-17 15:27     ` Sauli Heinola
     [not found]     ` <mailman.5564.1405611025.1147.help-gnu-emacs@gnu.org>
2014-07-17 23:02       ` Emanuel Berg
2014-07-18 13:44         ` Tassilo Horn
     [not found]         ` <mailman.5624.1405691179.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:37           ` Emanuel Berg
2014-07-17 15:08 ` Suvayu Ali

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

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

  git send-email \
    --in-reply-to=87a989f3io.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.