From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: claudio.bley@gmail.com (Claudio Bley) Newsgroups: gmane.emacs.devel Subject: Re: fancy splash screen not shown most of the time Date: Mon, 04 Nov 2013 08:38:19 +0100 Message-ID: <877gcod3bo.wl%claudio.bley@gmail.com> References: <87a9i1aivo.wl%claudio.bley@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1383550724 20059 80.91.229.3 (4 Nov 2013 07:38:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2013 07:38:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 04 08:38:47 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VdEkI-0004SI-N0 for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2013 08:38:46 +0100 Original-Received: from localhost ([::1]:48488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdEkI-0000BC-Bv for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2013 02:38:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdEk9-00007e-GP for emacs-devel@gnu.org; Mon, 04 Nov 2013 02:38:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdEk3-00043c-GD for emacs-devel@gnu.org; Mon, 04 Nov 2013 02:38:37 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdEk3-00043Y-AR for emacs-devel@gnu.org; Mon, 04 Nov 2013 02:38:31 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdEk2-0004Jq-2P for emacs-devel@gnu.org; Mon, 04 Nov 2013 08:38:30 +0100 Original-Received: from 178-24-125-95-dynip.superkabel.de ([178.24.125.95]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 08:38:30 +0100 Original-Received: from claudio.bley by 178-24-125-95-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 08:38:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 178-24-125-95-dynip.superkabel.de In-Reply-To: <87a9i1aivo.wl%claudio.bley@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3.50 (i686-pc-mingw32) MULE/6.0 (HANACHIRUSATO) Mail-Copies-To: never X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164918 Archived-At: [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 > 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 > + > + * startup.el (fancy-splash-frame): Return the currently selected frame > + when no visible frame without active minibuffer was found. > + > 2013-10-16 Michael Albinus > > * 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