From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: copy-face, delete-frame -> invalid face Date: Sun, 16 Dec 2007 08:53:18 +0000 Message-ID: <236E051D-AA3A-44DA-A383-C1007B353E2A@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197795223 9523 80.91.229.12 (16 Dec 2007 08:53:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 08:53:43 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 16 09:53:55 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J3pFy-00035q-BT for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Dec 2007 09:53:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3pFe-0005BQ-Mp for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Dec 2007 03:53:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J3pFZ-00059C-KT for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2007 03:53:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J3pFX-00055X-M1 for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2007 03:53:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3pFX-00055P-Gq for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2007 03:53:27 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J3pFW-00067J-Uj for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2007 03:53:27 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.152]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J3pFT-000764-PZ for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2007 03:53:24 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so143160fga.30 for ; Sun, 16 Dec 2007 00:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=SV5c0TZCqJVHp8fPG3VwoCR1JrDfb5FUfkuQCUKcVqA=; b=WdKrjc83DOl21ToQI0YSy0xUH4A6KHxCBak6KL2XDslObqs3q/w/IAj401ilcKxMUe3VRblawng7PepGyRbD3BwfWQNcxDePiRnx2zEl4GNaM2IOecZZVHYZ6DaQGjvPwEQ+LIK3YIAZtdY9qZSdZzkcv0xowFMEpnFKDRCfmk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=J/kYVWsbQ78l8JgQkKLLD3ATOO70EAyfPvj5JAV9oh+w03FVsn7opVMxpu8xUMPbtW3oA6bV+0UmudUHI/GuLvwnfe3hz1RhmBam4YRnAyKbYWgoNguOkCKTf8QLzae5zOoqPY8juhXGtWJVSUsjTOhRQUsjo5OGgK6dZNla8Tw= Original-Received: by 10.86.98.18 with SMTP id v18mr5102633fgb.18.1197795202890; Sun, 16 Dec 2007 00:53:22 -0800 (PST) Original-Received: from scarlett.lan ( [81.155.34.67]) by mx.google.com with ESMTPS id d26sm120428nfh.2007.12.16.00.53.20 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2007 00:53:21 -0800 (PST) X-Mailer: Apple Mail (2.915) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17171 Archived-At: Executing the following: (let ((nf (make-frame))) (copy-face 'default 'new-face (selected-frame) nf) (delete-frame nf) (make-frame)) will produce the error below, and it will render Emacs unusable until a restart, because the faulty new-face persists and causes the problem whenever a new frame is made. Debugger entered--Lisp error: (error "Invalid face" new-face) internal-get-lisp-face-attribute(new-face :family #) face-attribute(new-face :family #) face-attr-match-p(new-face nil #) face-spec-match-p(new-face nil #) frame-set-background-mode(#) x-create-frame-with-faces(nil) make-frame() In GNU Emacs 22.1.50.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0) of 2007-10-15 on plume.sr.unh.edu Windowing system distributor `Apple Inc.', version 10.5.1 configured using `configure '--without-x' '--prefix=/usr/local'' 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 locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: encoded-kbd-mode: t tooltip-mode: t tool-bar-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 unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-y C-x C-e Recent messages: For information about the GNU system and GNU/Linux, type C-h C-p. [2 times] Loading encoded-kb...done Mark set Loading debug...done Entering debugger... Loading help-mode...done Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done call-interactively: Text is read-only