all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: How to show *Warnings* buffer at startup time?
Date: Wed, 18 Mar 2009 14:28:16 +0100	[thread overview]
Message-ID: <e01d8a50903180628o3ff53835rd3e19745492241b0@mail.gmail.com> (raw)
In-Reply-To: <E1Ljviv-0002mh-Jc@etlken>

On Wed, Mar 18, 2009 at 2:22 PM, Kenichi Handa <handa@m17n.org> wrote:
> I'm going to change create-fontset-from-x-resource
> (fontset.el) as this:
>
> @@ -1049,8 +1058,11 @@
>     (while (setq fontset-spec (x-get-resource (format "fontset-%d" idx)
>                                              (format "Fontset-%d" idx)))
>       (condition-case nil
> -         (create-fontset-from-fontset-spec fontset-spec t 'noerror)
> -       (error (message "Fontset-%d: invalid specification in X resource" idx)))
> +         (create-fontset-from-fontset-spec fontset-spec t)
> +       (error (display-warning
> +               'initialization
> +               (format "Fontset-%d: invalid specification in X resource" idx)
> +               :warning)))
>       (setq idx (1+ idx)))))
>
>  ;;
>
> 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?




  reply	other threads:[~2009-03-18 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 13:22 How to show *Warnings* buffer at startup time? Kenichi Handa
2009-03-18 13:28 ` Lennart Borgman [this message]
2009-03-19  0:39   ` Kenichi Handa

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=e01d8a50903180628o3ff53835rd3e19745492241b0@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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.