From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: Re: RFC: comint.el - comint-highlight-prompt and unreadable colors
Date: Mon, 26 Mar 2007 21:17:40 +0900 [thread overview]
Message-ID: <buotzw8xkpn.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: lkhk5mob.fsf@blue.sea.net
jari.aalto@cante.net (Jari Aalto+mail.emacs) writes:
> Was it "... should customize `frame-background-mode' to match his
> environment."
>
> Should this problem be left to every putty (or dark background term)
> user? I understood that the the code doesn't get enough information to
> decide the correct dark/light environment in presented cases. So it
> might guesses wrong, and the results are pretty bad with the select
> default color.
Basically, unless you have a proper frame-background-mode, then _all_
the highlighting in Emacs will be fairly screwed up: a large percentage
of the colors used in Emacs highlighting only look good against the
proper background type. Attempting to pick "neutral" faces for
everything simply doesn't work -- it's hard enough making things look
good if you _can_ depend on the background type -- and the problem is
even worse on ttys with their limited selection of color and alternate
font styles (basically only bold, and often not even that, works).
So even if we changed the comint prompt to make you happy, the entire
rest of the interface will still look awful.
If you can find a way to detect Putty/rxvt then Emacs could use that
information, but absent that, I don't think there's any choice but user
education.
> Do you have in use cases where 'bold would not work?
Bold is already used in comint. But for the real problem, see above.
-miles
--
In New York, most people don't have cars, so if you want to kill a person, you
have to take the subway to their house. And sometimes on the way, the train
is delayed and you get impatient, so you have to kill someone on the subway.
[George Carlin]
next prev parent reply other threads:[~2007-03-26 12:17 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-25 10:53 RFC: comint.el - comint-highlight-prompt and unreadable colors Jari Aalto
2007-03-25 13:31 ` Miles Bader
2007-03-25 15:18 ` Jari Aalto
2007-03-25 20:11 ` Robert J. Chassell
2007-03-26 7:26 ` Jari Aalto+mail.emacs
2007-03-25 23:43 ` Miles Bader
2007-03-26 5:12 ` Jari Aalto
2007-03-26 5:44 ` Miles Bader
2007-03-26 7:22 ` Jari Aalto+mail.emacs
2007-03-26 20:59 ` Eli Zaretskii
2007-03-26 7:56 ` Romain Francoise
2007-03-26 9:24 ` Miles Bader
2007-03-26 9:34 ` Jari Aalto+mail.emacs
2007-03-26 10:05 ` Miles Bader
2007-03-26 10:22 ` Jari Aalto+mail.emacs
2007-03-26 12:17 ` Miles Bader [this message]
2007-03-26 12:45 ` tomas
2007-03-26 13:27 ` Stefan Monnier
2007-03-26 21:08 ` Eli Zaretskii
2007-03-27 1:34 ` Miles Bader
2007-03-27 2:18 ` Dan Nicolaescu
2007-03-27 4:02 ` Miles Bader
2007-03-29 14:44 ` tomas
2007-03-29 16:10 ` Stefan Monnier
2007-03-30 5:16 ` tomas
2007-03-26 14:51 ` Jari Aalto+mail.emacs
2007-03-26 16:51 ` Miles Bader
2007-03-26 13:28 ` Robert J. Chassell
2007-03-26 16:24 ` Dan Nicolaescu
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=buotzw8xkpn.fsf@dhapc248.dev.necel.com \
--to=miles.bader@necel.com \
--cc=emacs-devel@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.