[Top][All Lists]

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

bug#4774: 23.1; vc-annotate shows black on black w/NextStep port of Emac

From: Steve Revilak
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
User-agent: Mutt/1.5.19 (2009-01-05)

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 address@hidden 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:


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:


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.

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

   ((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
Redisplaying annotation...done (Spanned from 0.5 to 0.5 days old)
Mark set
Annotating... done

Attachment: pgpTOQJE8ToFJ.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]