all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: claudio.bley@gmail.com (Claudio Bley)
To: emacs-devel@gnu.org
Subject: Re: fancy splash screen not shown most of the time
Date: Mon, 04 Nov 2013 08:38:19 +0100	[thread overview]
Message-ID: <877gcod3bo.wl%claudio.bley@gmail.com> (raw)
In-Reply-To: <87a9i1aivo.wl%claudio.bley@gmail.com>

[ping]

At Tue, 22 Oct 2013 09:02:03 +0200,
Claudio Bley wrote:
> 
> Hi.
> 
> Since a few months (I can't tell exactly when this started happening)
> I noticed that sometimes the splash image would not be displayed when
> starting Emacs; sometimes it worked.

Has anyone else seen this or is it just me?

> How about this patch?
> 
> ------ 8< ------ >8 -------------- 8< --------- >8 ------------------------
> From 9b490d15f3e8f41293f58373004fd251c467b5a2 Mon Sep 17 00:00:00 2001
> From: Claudio Bley <claudio.bley@gmail.com>
> Date: Tue, 22 Oct 2013 08:57:26 +0200
> Subject: [PATCH] Ensure to choose a reasonable fancy splash frame on startup
> 
> * startup.el (fancy-splash-frame): Return the currently selected frame
> when no visible frame without active minibuffer was found.
> ---
>  lisp/ChangeLog  | 5 +++++
>  lisp/startup.el | 2 +-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/lisp/ChangeLog b/lisp/ChangeLog
> index fcefcf8..648f23b 100644
> --- a/lisp/ChangeLog
> +++ b/lisp/ChangeLog
> @@ -1,3 +1,8 @@
> +2013-10-22  Claudio Bley  <claudio.bley@gmail.com>
> +
> +	* startup.el (fancy-splash-frame): Return the currently selected frame
> +	when no visible frame without active minibuffer was found.
> +
>  2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
>  
>  	* net/tramp-smb.el (tramp-smb-acl-program): New customer option.
> diff --git a/lisp/startup.el b/lisp/startup.el
> index 059d771..7cc5d82 100644
> --- a/lisp/startup.el
> +++ b/lisp/startup.el
> @@ -1726,7 +1726,7 @@ we put it on this frame."
>        (if (and (frame-visible-p frame)
>  	       (not (window-minibuffer-p (frame-selected-window frame))))
>  	  (setq chosen-frame frame)))
> -    chosen-frame))
> +    (or chosen-frame (selected-frame))))
>  
>  (defun use-fancy-splash-screens-p ()
>    "Return t if fancy splash screens should be used."
> -- 
> 1.8.4.msysgit.0





      reply	other threads:[~2013-11-04  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22  7:02 fancy splash screen not shown most of the time Claudio Bley
2013-11-04  7:38 ` Claudio Bley [this message]

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=877gcod3bo.wl%claudio.bley@gmail.com \
    --to=claudio.bley@gmail.com \
    --cc=emacs-devel@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.