unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve Revilak <steve@srevilak.net>
To: bug-gnu-emacs@gnu.org
Subject: bug#4774: 23.1; vc-annotate shows black on black w/NextStep port of Emacs 23.1.1
Date: Wed, 21 Oct 2009 11:50:11 -0400	[thread overview]
Message-ID: <20091021155011.GC637@srevilak.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 6121 bytes --]

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Emacs maintainers,

I would like to report what appears to be a bug in the Nextstep port
of Emacs 23.1.1.  I am using Emacs 23.1.1 on a dual G5 PowerPC
Macintosh, running Mac OS X 10.4.11.

   $ uname -a
   Darwin spud.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

Under Emacs-23.1.1, running "M-x vc-annotate RET" on a
revision-controlled source file opens an *Annotate* buffer, where the
source code appears as black text on a black background.  Here is a
picture to illustrate this behavior:

   http://www.cs.umb.edu/~srevilak/images/annotate-emacs-23.1.1.png

To produce this picture, I typed the following sequence of commands:

   C-x f ~/tmp/foo/hello.c  ;; (hello.c is a source file under CVS control)
   M-x vc-annotate
   M-x emacs-version        ;; so the picture would contain emacs'
                            ;; version number

For contrast, performing the same sequence of actions in Emacs 22.3.1
produces the following:

   http://www.cs.umb.edu/~srevilak/images/annotate-emacs-22.3.1.png

 From the picture above, we see that emacs-22.3.1 shows an *Annotate*
buffer with colored text on a black background.  Thus, in Emacs 22.3.1
the annotated source code is readable; in Emacs 23.1.1 the annotated
source code is not readable.

A colleague suggested that I examine the value of
vc-annotate-color-map.  Below is the output of
"M-x describe-variable vc-annotate-color-map RET", invoked when point
was in the *Annotate* buffer.


------- begin describe-variable output ---------
vc-annotate-color-map is a variable defined in `vc-annotate.el'.
Its value is shown below.

Documentation:
Association list of age versus color, for C-x v g.
Ages are given in units of fractional days.  Default is eighteen
steps using a twenty day increment, from red to blue.  For TTY
displays with 8 or fewer colors, the default is red to blue with
all other colors between (excluding black and white).

You can customize this variable.

Value: 
((0.0 . "#FF3F3F")
  (0.0 . "#FF6C3F")
  (0.0 . "#FF993F")
  (0.0 . "#FFC63F")
  (0.0 . "#FFF33F")
  (0.0 . "#DDFF3F")
  (0.0 . "#B0FF3F")
  (0.0 . "#83FF3F")
  (0.0 . "#56FF3F")
  (0.0 . "#3FFF56")
  (0.0 . "#3FFF83")
  (0.0 . "#3FFFB0")
  (0.0 . "#3FFFDD")
  (0.0 . "#3FF3FF")
  (0.0 . "#3FC6FF")
  (0.0 . "#3F99FF")
  (0.0 . "#3F6CFF")
  (0.0 . "#3F3FFF"))

Local in buffer *Annotate hello.c (rev 1.2)*; global value is 
((20 . "#FF3F3F")
  (40 . "#FF6C3F")
  (60 . "#FF993F")
  (80 . "#FFC63F")
  (100 . "#FFF33F")
  (120 . "#DDFF3F")
  (140 . "#B0FF3F")
  (160 . "#83FF3F")
  (180 . "#56FF3F")
  (200 . "#3FFF56")
  (220 . "#3FFF83")
  (240 . "#3FFFB0")
  (260 . "#3FFFDD")
  (280 . "#3FF3FF")
  (300 . "#3FC6FF")
  (320 . "#3F99FF")
  (340 . "#3F6CFF")
  (360 . "#3F3FFF"))

------- end describe-variable output ---------

On an earlier inspection of vc-annotate-color-map, I saw the following
color map (but still black text on a black background in the annotate
buffer)

    ((136.96145961934153 . "#FF3F3F")
     (273.92291923868305 . "#FF6C3F")
     (410.8843788580246 . "#FF993F")
     (547.8458384773661 . "#FFC63F")
     (684.8072980967077 . "#FFF33F")
     (821.7687577160492 . "#DDFF3F")
     (958.7302173353908 . "#B0FF3F")
     (1095.6916769547322 . "#83FF3F")
     (1232.6531365740739 . "#56FF3F")
     (1369.6145961934153 . "#3FFF56")
     (1506.5760558127567 . "#3FFF83")
     (1643.5375154320984 . "#3FFFB0")
     (1780.4989750514399 . "#3FFFDD")
     (1917.4604346707815 . "#3FF3FF")
     (2054.421894290123 . "#3FC6FF")
     (2191.3833539094644 . "#3F99FF")
     (2328.344813528806 . "#3F6CFF")
     (2465.3062731481477 . "#3F3FFF"))

If I can provide any additional diagnostic behavior, please let me
know; I would be happy to do so.

Steve Revilak


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs-23.1.app/Contents/Resources/etc/DEBUG for instructions.

------------ Configuration Follows ----------------------

In GNU Emacs 23.1.1 (powerpc-apple-darwin8.11.0, NS apple-appkit-824.48)
  of 2009-10-14 on spud.local
Windowing system distributor `Apple', version 10.3.824
configured using `configure  '--with-ns''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Annotate

Minor modes in effect:
   display-time-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t

Recent input:
<help-echo> C-x C-f t m <tab> f o <tab> h e <tab> <return> 
M-x v c - a n <tab> <return> M-x r e p o r t - e m 
<tab> <return>

Recent messages:
Preparing diary...
No diary entries for Wednesday, October 21, 2009
Loading /Users/srevilak/.emacs-custom.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-cvs...done
Annotating...
Redisplaying annotation...done (Spanned from 0.5 to 0.5 days old)
Mark set
Annotating... done


[-- Attachment #2: Type: application/pgp-signature, Size: 195 bytes --]

             reply	other threads:[~2009-10-21 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20091207154955.GB230@srevilak.net>
2009-10-21 15:50 ` Steve Revilak [this message]
2009-12-07 15:55   ` bug#4774: marked as done (23.1; vc-annotate shows black on black w/NextStep port of Emacs 23.1.1) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20091021155011.GC637@srevilak.net \
    --to=steve@srevilak.net \
    --cc=4774@emacsbugs.donarmstrong.com \
    --cc=bug-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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).