[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

w3m-session-select broken on 256-colour white-on-black terminals



Dear Bug Team!

When invoked thusly, session names (except the one under the cursor)
are black-on-black, and thus unreadable.

    $ xrdb /dev/null
    $ xterm -bg black -fg white -e emacs -nw -q -no-site-file -eval '(add-to-list (quote load-path) "~/.emacs.d/lisp/w3m-el")' -eval "(require 'w3m-session)" -f w3m-session-select

The problem is that this definition assumes all colour tty displays
are white-on-black:

    (defface w3m-session-select
      `((((class color) (type tty))
         (:foreground "black"))
        (((class color) (background light))
         (:foreground "dark blue"))
        (((class color) (background dark))
         (:foreground "white"))
        (t nil))
      "Face of w3m-session."
      :group 'w3m)

================================================================

System Info to help track down your bug:
---------------------------------------
emacs-w3m-version
 => "1.4.204"
emacs-version
 => "GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)\n of 2007-07-07 on nautilus, modified by Debian"
mule-version
 => "5.0 (SAKAKI)"
system-type
 => gnu/linux
(featurep 'gtk)
 => nil
w3m-version
 => "w3m/0.5.1+cvs-1.968"
w3m-type
 => w3m-m17n
w3m-compile-options
 => ("lang=en" "m17n" "image" "color" "ansi-color" "mouse" "gpm" "menu" "cookie" "ssl" "ssl-verify" "external-uri-loader" "w3mmailer" "nntp" "gopher" "ipv6" "alarm" "mark" "migemo")
w3m-language
 => nil
w3m-command-arguments
 => nil
w3m-command-arguments-alist
 => nil
w3m-command-environment
 => nil
w3m-input-coding-system
 => utf-8
w3m-output-coding-system
 => utf-8
w3m-use-mule-ucs
 => nil

-- 
Trent W. Buck

Attachment: signature.asc
Description: Digital signature