all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 8597-done@debbugs.gnu.org
Subject: bug#8597: horrible default colors for emacs -nw
Date: Sat, 07 May 2011 18:48:47 +0300	[thread overview]
Message-ID: <83tyd6jyu8.fsf@gnu.org> (raw)
In-Reply-To: <52ABFDD4B0244424A167D4B172B35E78@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <8597@debbugs.gnu.org>
> Date: Sat, 30 Apr 2011 12:26:37 -0700
> 
> > I think Emacs cannot figure out the background mode in a -nw session,
> > at least not in general.  There's no interface to the text terminal
> > that can tell it that.  But I will try to see if there's something
> > that can be done on Windows specifically.
> 
> OK, thanks.  If nothing can be done then please close the bug.
> 
> I think I just copied my shortcut for ordinary Emacs without -nw and then added
> the -nw.  It works fine for ordinary (non -nw) Emacs.

I fixed this (in revno 104155 on the trunk).  xterm.el already queries
the terminal about the background color, so I used a similar technique
to do the same on the w32 console, except that I needed a new
primitive for that.

I'm closing this bug.  If you see anything wrong with how the new code
works with your shortcut, feel free to reopen it.





      reply	other threads:[~2011-05-07 15:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30 16:09 bug#8597: horrible default colors for emacs -nw Drew Adams
2011-04-30 17:21 ` Eli Zaretskii
2011-04-30 18:14   ` Drew Adams
2011-04-30 19:20     ` Eli Zaretskii
2011-04-30 19:26       ` Drew Adams
2011-05-07 15:48         ` Eli Zaretskii [this message]

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=83tyd6jyu8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8597-done@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.