all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Lowery <blowery@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs-pretest-bug@gnu.org,
	Aquamacs Bugs <aquamacs-bugs@aquamacs.org>,
	Adrian Robert <adrian.b.robert@gmail.com>
Subject: bug#3606: Crash in ns_index_color (nsterm.m:1305)
Date: Thu, 18 Jun 2009 11:04:44 -0400	[thread overview]
Message-ID: <9ee8c1eb0906180804m131f4c54jba827371d1de62df@mail.gmail.com> (raw)
In-Reply-To: <C0BDF66B-1156-417F-A210-2A795BF928B2@gmail.com>

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

Yup, I am using color-theme. I've attached the theme I'm using.

On Thu, Jun 18, 2009 at 10:58 AM, David Reitter<david.reitter@gmail.com> wrote:
> Forwarding a crash report.
> nsterm.m:1305, in the given revision, is the line marked:
>
>  {
>    int i;
>    for (i = 1; i < color_table->avail; i++)
>      {
> *****        if (color_table->colors[i] && [color_table->colors[i] isEqual:
> color])
>          {
>            [color_table->colors[i] retain];
>            return i;
>          }
>      }
>  }
>
> Btw, why are we managing this table ourselves rather than using an
> appropriate NS class?  It seems like we're defining our own ns_color_table
> structure anyways...
>
> Ben, I wonder if you're using color themes or something else that defines a
> lot of different colors.
>
> - D
>
>
> Begin forwarded message:
>
>> From: Ben Lowery <blowery@gmail.com>
>> Date: June 18, 2009 10:43:00 AM EDT
>> To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
>> Subject: [Aquamacs-devel] Crasher in ns_index_color (nsterm.m:1305)
>>
>> Attached is a crash log for Aquamacs, on
>> 3fa42d1a06357f8f65dff161524374f3feaaa3ac
>>
>> Happened as I was C-x C-f ing to open a file. Happens sporadically,
>> and I don't have a good repro case.
>>
>> -b
>
>> _______________________
>
>

[-- Attachment #2: color-theme-wombat.el --]
[-- Type: application/octet-stream, Size: 2734 bytes --]

;; Wombat color theme for Emacs
;;
;; Defines a color scheme resembling that of the Wombat color theme
;; for Vim by Lars H. Nielsen @ http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/
;;
;; MIT License Copyright (c) 2009 Ben Lowery <blowery at gmail dot com>
;; Credits due to the excellent Wombat Vim theme
;;
;; All patches welcome

(require 'color-theme)

;;;###autoload
(defun color-theme-wombat ()
  "Color theme by Ben Lowery, based off the Wombat Vim theme by Lars H. Nielsen @ http://dengmao.wordpress.com/2007/01/22/vim-color-scheme-wombat/"
  (interactive)
  (color-theme-install
   '(color-theme-wombat
     ((background-color . "#111111")
      (background-mode . dark)
      (border-color . "black")
      (cursor-color . "SteelBlue")
      (foreground-color . "#f6f3e8"))
     (default ((t (:background "#242424" :foreground "#f6f3e8"))))
     (border-glyph ((t (nil))))
     (buffers-tab ((t (:background "#0C1021" :foreground "#F8F8F8"))))
     (font-lock-builtin-face ((t (:foreground "#f6f3e8"))))
     (font-lock-comment-face ((t (:foreground "#99968b"))))
     (font-lock-constant-face ((t (:foreground "#e5786d"))))
     (font-lock-doc-string-face ((t (:italic t :foreground "#99968b"))))
     (font-lock-function-name-face ((t (:foreground "#cae682"))))
     (font-lock-variable-name-face ((t (:foreground "#8ac6f2"))))
     (font-lock-keyword-face ((t (:foreground "#8ac6f2"))))
     (font-lock-preprocessor-face ((t (:foreground "#e5786d"))))
     (font-lock-reference-face ((t (:foreground "SlateBlue"))))

     (font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
     (font-lock-regexp-grouping-construct ((t (:foreground "red"))))

     (font-lock-string-face ((t (:foreground "#95e454"))))
     (font-lock-type-face ((t (:foreground "#cae682"))))
     
     (font-lock-warning-face ((t (:bold t :foreground "yellow"))))

     (js2-error-face ((t (:background "red3"))))
     (js2-warning-face ((t (:background "purple3"))))
     (js2-external-variable-face ((t (:foreground "red" :bold t))))
     
     ;;(gui-element ((t (:background "#D4D0C8" :foreground "black"))))
     (region ((t (:background "#435869"))))
     (mode-line ((t (:background "#161616" :foreground "white"))))
     (highlight ((t (:background "#222222"))))
     ;;(highline-face ((t (:background "#777777"))))
     (italic ((t (nil))))
     (left-margin ((t (nil))))
     (show-paren-match ((t (:foreground "goldenrod" :bold t))))
     ;;(text-cursor ((t (:background "yellow" :foreground "black"))))
     (toolbar ((t (nil))))
     ;;(underline ((nil (:underline nil))))
     (org-todo ((t (:foreground "yellow" :bold t))))
     (org-hide ((t (:foreground "#0b0b0b"))))
)))
(provide 'color-theme-wombat)

  reply	other threads:[~2009-06-18 15:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9ee8c1eb0906180743s4cfa6986ic78af206a15e2ce6@mail.gmail.com>
2009-06-18 14:58 ` bug#3605: Crash in ns_index_color (nsterm.m:1305) David Reitter
2009-06-18 15:04   ` Ben Lowery [this message]
2009-09-22 22:54     ` bug#4530: " Adrian Robert
2009-09-23  1:58       ` bug#4532: " Ben Lowery
2009-09-23  4:35         ` Glenn Morris
2009-09-23  4:40           ` Processed: " Emacs bug Tracking System
2009-06-18 18:08   ` bug#3605: " Glenn Morris
2010-01-31  5:24   ` Chong Yidong

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=9ee8c1eb0906180804m131f4c54jba827371d1de62df@mail.gmail.com \
    --to=blowery@gmail.com \
    --cc=3606@emacsbugs.donarmstrong.com \
    --cc=adrian.b.robert@gmail.com \
    --cc=aquamacs-bugs@aquamacs.org \
    --cc=david.reitter@gmail.com \
    --cc=emacs-pretest-bug@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.