Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 01:32:49 +0530
From:      ashish@FreeBSD.org (Ashish SHUKLA)
To:        Markus Hoenicka <markus.hoenicka@mhoenicka.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Emacs splash screen went to textmode only
Message-ID:  <86bpa0k3h2.fsf@chateau.d.if>
In-Reply-To: <20100721212734.15426ym98pet0doo@webmail.df.eu> (Markus Hoenicka's message of "Wed, 21 Jul 2010 21:27:34 %2B0200")
References:  <19523.21705.648520.937010@yeti.mininet> <86eif0xi0f.fsf@chateau.d.if> <19524.43056.507309.913955@yeti.mininet> <8639vefwkj.fsf@chateau.d.if> <20100720232608.20822abt0h7wwj28@webmail.df.eu> <86eiexplng.fsf@chateau.d.if> <20100721212734.15426ym98pet0doo@webmail.df.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Markus Hoenicka writes:
> Quoting Ashish SHUKLA <ashish@FreeBSD.org>:

>> And please also evaluate following functions in Emacs (in X11) and
>> paste their
>> output:
>>=20

> This is the output from 23.2.1, i.e. the one which doesn't show the
> fancy splash screen:

> (use-fancy-splash-screens-p)
> nil

#v+
(defun use-fancy-splash-screens-p ()
  "Return t if fancy splash screens should be used."
  (when (and (display-graphic-p)
             (or (and (display-color-p)
		 (image-type-available-p 'xpm))
                 (image-type-available-p 'pbm)))
    (let ((frame (fancy-splash-frame)))
      (when frame
	(let* ((img (create-image (or fancy-splash-image
				      (if (and (display-color-p)
					       (image-type-available-p 'xpm))
					  "splash.xpm" "splash.pbm"))))
	       (image-height (and img (cdr (image-size img nil frame))))
	       ;; We test frame-height so that, if the frame is split
	       ;; by displaying a warning, that doesn't cause the normal
	       ;; splash screen to be used.
	       (frame-height (1- (frame-height frame))))
	  (> frame-height (+ image-height 19)))))))
#v-

Well I use a tiling WM (Xmonad), and to reproduce your issue, I started 12
instances of 'xterm' and then started an Emacs instance with '-q
=2Dno-site-file' which caused Emacs to start with a smaller window where I =
got a
non-fancy splash screen.

Try starting your Emacs in full-screen mode .e.g. 'emacs -fs'.


> The obvious difference is the value of (use-fancy-splash-screens-p).
> Both Emacsen were started with -q -no-site-file to be on a level
> ground.

HTH
=2D-=20
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

=E2=80=9CIf knowledge can create problems, it is not through ignorance that=
 we
can solve them.=E2=80=9D (Isaac Asimov)

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iQIcBAEBCgAGBQJMR1JtAAoJEMdGz6nnT6Sw3PMP/2DwT89PBa1KX+9jdhaBsxBn
ikyrJrTaBzFtMLsOb2JcV2Is/zMBHXp1BPE2U0l2Mq3UOgaMwKVfL0ZRYV3BrdlO
ZPveD/ME9ayuZ4WtyQrPkrqY4UI413DJTK3v95l7prB/cKJTv5eGgRc4TvL0CEKx
VozpI49jG0rrflKieafKH0D9Ts+uRQaZAgyFvZBXhk8NYascUcVxpCYNyRxhg1Cn
wHjeudXVIssOkfTkjEf/Hd3HllezKv42Oo3GlLV0KY2B649EwFl2LrD11q7VQywU
RUUfBWMaQPHX5ktadzTB9LfaWx80JGieVz9qINJTJ+kfmL59zfRl3q2q70qtoZQf
49ZXJk3naYpl0+EyOEa8SCye2GsUhKGvlzYJd4L0N57SCIs768fse//fHFQYBktD
nTPE15JhSTFspQ+AwoBqAMfoNJh99RYmAxcGNFS2o+ldVVZcECzORVd1zE2CbygS
wCfnzjgQ9P38iI4etqXPkxhG/DIkQA1DewKGYgXvJBzEOc1bt+xpApV/YOdXzUBJ
cfdHjZAtRoYjrMCCY7YpKgjyqL825n39lb/UGVp7TCVStd4hi5eNw/q+vx4w3ogl
ZNf1A92vOXbYZ93Tn9ToXrSYTBWo6QXYUMuZveseV8b8vm2tJQBvWXacsMSwvWFf
ZvHnNC8YaBNW7niT/aRX
=EP9m
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bpa0k3h2.fsf>