From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: How to show *Warnings* buffer at startup time? Date: Wed, 18 Mar 2009 14:28:16 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237383081 6511 80.91.229.12 (18 Mar 2009 13:31:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2009 13:31:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 18 14:32:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ljvso-00035N-Ec for ged-emacs-devel@m.gmane.org; Wed, 18 Mar 2009 14:32:34 +0100 Original-Received: from localhost ([127.0.0.1]:38461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjvrS-0007gw-1U for ged-emacs-devel@m.gmane.org; Wed, 18 Mar 2009 09:31:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ljvol-00062a-3L for emacs-devel@gnu.org; Wed, 18 Mar 2009 09:28:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ljvog-00060c-Hx for emacs-devel@gnu.org; Wed, 18 Mar 2009 09:28:22 -0400 Original-Received: from [199.232.76.173] (port=60710 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljvog-00060V-Dx for emacs-devel@gnu.org; Wed, 18 Mar 2009 09:28:18 -0400 Original-Received: from mail-bw0-f167.google.com ([209.85.218.167]:35835) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ljvof-0003dH-VQ for emacs-devel@gnu.org; Wed, 18 Mar 2009 09:28:18 -0400 Original-Received: by bwz11 with SMTP id 11so44923bwz.42 for ; Wed, 18 Mar 2009 06:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rPznxmwLRQgjL/t6e3AJe1rCj8l2o1ERoxbivTBUzPA=; b=UQYA3Rp8IWt8fmBoPb75QOrfTpejjPqkNMcYI3wxQ3CrD6WDLXSL/iR3vxjb7KajvZ o/CFngnlJ09CEMEKEUpct8wKxnYeJCnn4F/gQ2NNA+xz3RkfLrkKiJUGEwfwqVhe01qB Kd3qG2QHqc/XS38y8R9onuB4pamqgqrA37oQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Gn2bTsDwvFbXdbPcSllQ6t7LzjCbx+vTVGkNhsBFwnxKKg7UUhpylC0RpZ7EXuhD5Q 7GC0nMl/w5MY71ZwU3B7qQXOQ4pkKxgmxL1uagueyI6cxIuNDMvwE5x9tY9O9WUo4w1R qUow6n6lK4V6WSd93FR+AxQZCTV8nkZKMwWu4= Original-Received: by 10.223.114.74 with SMTP id d10mr1006652faq.87.1237382896944; Wed, 18 Mar 2009 06:28:16 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109676 Archived-At: On Wed, Mar 18, 2009 at 2:22 PM, Kenichi Handa wrote: > I'm going to change create-fontset-from-x-resource > (fontset.el) as this: > > @@ -1049,8 +1058,11 @@ > =C2=A0 =C2=A0 (while (setq fontset-spec (x-get-resource (format "fontset-= %d" idx) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(format "Fontset-%d" idx))) > =C2=A0 =C2=A0 =C2=A0 (condition-case nil > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 (create-fontset-from-fontset-spec fontset-s= pec t 'noerror) > - =C2=A0 =C2=A0 =C2=A0 (error (message "Fontset-%d: invalid specification= in X resource" idx))) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 (create-fontset-from-fontset-spec fontset-s= pec t) > + =C2=A0 =C2=A0 =C2=A0 (error (display-warning > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'initialization > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (format "Fontset-%d: i= nvalid specification in X resource" idx) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :warning))) > =C2=A0 =C2=A0 =C2=A0 (setq idx (1+ idx))))) > > =C2=A0;; > > But the *Warnings* buffer doesn't show up at startup time > even if create-fontset-from-fontset-spec causes an error. > Could someone tell me what is wrong with the above change? Could it be that something later closes the window that shows the *Warnings* buffer?