unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>, emacs-devel@gnu.org
Subject: Re: Problems with lwarn at startup
Date: Thu, 14 Dec 2006 00:59:33 +0100	[thread overview]
Message-ID: <f7ccd24b0612131559s51322d48rbaf0c430ae8e93c2@mail.gmail.com> (raw)
In-Reply-To: <E1GucB1-0005fd-QU@fencepost.gnu.org>

On 12/13/06, Richard Stallman <rms@gnu.org> wrote:

> This is important to debug, since we're talking about using lwarn
> during startup.  Would someone please fix it and ack?

When Lennart answers "n", lwarn splits the frame into two windows
(using the lower one for the warning). startup.el contains a function
`use-fancy-splash-screens-p' which decides whether to use "fancy"
(graphic) or "normal" (text) splash screen according to several
criteria, among them the following:

 (> window-height (+ image-height 19))

If you try starting Emacs with the following .emacs.el:

;;;;;;;;;;;;;;;;; .emacs.el ;;;;;;;;;;;;;;;;;
(defun use-fancy-splash-screens-p () t)
(unless (y-or-n-p "Some question ")
   (lwarn '(test) :warning "Test warning"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

you won't see the "bug".

                    /L/e/k/t/u

  reply	other threads:[~2006-12-13 23:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13  2:22 Problems with lwarn at startup Lennart Borgman
2006-12-13 22:02 ` Richard Stallman
2006-12-13 23:59   ` Juanma Barranquero [this message]
2006-12-14  1:08     ` Lennart Borgman
2006-12-14 16:39       ` Juanma Barranquero
2006-12-14 16:57         ` Lennart Borgman
2006-12-14 17:09           ` Juanma Barranquero
2006-12-14 17:47       ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0612131559s51322d48rbaf0c430ae8e93c2@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).