From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 01 03:46:13 2011 Received: (at submit) by debbugs.gnu.org; 1 Dec 2011 08:46:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RW2HV-0001mm-5d for submit@debbugs.gnu.org; Thu, 01 Dec 2011 03:46:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RW2HS-0001mf-UU for submit@debbugs.gnu.org; Thu, 01 Dec 2011 03:46:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW2HK-0002TH-7L for submit@debbugs.gnu.org; Thu, 01 Dec 2011 03:46:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:33694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW2HK-0002T8-0G for submit@debbugs.gnu.org; Thu, 01 Dec 2011 03:46:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW2H8-0007SH-H7 for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 03:46:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW2H1-0002Jb-7k for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 03:45:50 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:60257) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RW2H0-0002HT-PG for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2011 03:45:43 -0500 Received: (qmail invoked by alias); 01 Dec 2011 08:45:38 -0000 Received: from i59F54880.versanet.de (EHLO escher.fritz.box) [89.245.72.128] by mail.gmx.net (mp068) with SMTP; 01 Dec 2011 09:45:38 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18o/MlmuTMoFATeH2LahaZM39iTqOfFZSd6gm8h7T 0KUHqHaxdwQxkb From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 24.0.92; emacs -q frame too short for fancy splash image Date: Thu, 01 Dec 2011 09:45:38 +0100 Message-ID: <8762i0wuh9.fsf@escher.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) Starting with -q does not show the fancy splash image; `M-: (window-height)' returns 34. If I start with -q -geometry 80x36 `M-: (window-height)' returns 35 and the fancy splash image appears (though with this height the last line of the splash screen is partially truncated). I think I started seeing this behavior during the last pretest (24.0.91), but it might have been earlier. In GNU Emacs 24.0.92.1 (i686-suse-linux-gnu, GTK+ Version 2.24.7) of 2011-12-01 on escher Windowing system distributor `The X.Org Foundation', version 11.0.11004000 configured using `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 04 08:43:27 2011 Received: (at 10178) by debbugs.gnu.org; 4 Dec 2011 13:43:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXCLn-0003lW-Fb for submit@debbugs.gnu.org; Sun, 04 Dec 2011 08:43:27 -0500 Received: from mailout.melmac.se ([62.20.26.67]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXCLl-0003lM-Mf for 10178@debbugs.gnu.org; Sun, 04 Dec 2011 08:43:26 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 68DE4C821 for <10178@debbugs.gnu.org>; Sun, 4 Dec 2011 14:42:57 +0100 (CET) Received: (qmail 28760 invoked by uid 89); 4 Dec 2011 13:42:38 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 4 Dec 2011 13:42:38 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id CA0567FA058; Sun, 4 Dec 2011 14:42:56 +0100 (CET) Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <8762i0wuh9.fsf@escher.fritz.box> Date: Sun, 4 Dec 2011 14:42:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8762i0wuh9.fsf@escher.fritz.box> To: Stephen Berman X-Mailer: Apple Mail (2.1251.1) X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) 1 dec 2011 kl. 09:45 skrev Stephen Berman: > Starting with -q does not show the fancy splash image; `M-: > (window-height)' returns 34. If I start with -q -geometry 80x36 `M-: > (window-height)' returns 35 and the fancy splash image appears (though > with this height the last line of the splash screen is partially > truncated). I think I started seeing this behavior during the last > pretest (24.0.91), but it might have been earlier. >=20 I see in startup.el: (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))))))) On my system, image-height becomes 14.466666666666667, so frame-height = must be larger than 33.4666.... 34 should fit. Is image-size something else on your system? Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 04 09:10:14 2011 Received: (at 10178) by debbugs.gnu.org; 4 Dec 2011 14:10:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXClh-0004NH-SS for submit@debbugs.gnu.org; Sun, 04 Dec 2011 09:10:14 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RXClf-0004NA-T5 for 10178@debbugs.gnu.org; Sun, 04 Dec 2011 09:10:13 -0500 Received: (qmail invoked by alias); 04 Dec 2011 14:09:43 -0000 Received: from i59F553DD.versanet.de (EHLO escher.fritz.box) [89.245.83.221] by mail.gmx.net (mp021) with SMTP; 04 Dec 2011 15:09:43 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+gO9w1crKgL+dG+utC0pLtJoy7E5rethxkt7+Ye7 VvSgzguAsMqJug From: Stephen Berman To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image References: <8762i0wuh9.fsf@escher.fritz.box> Date: Sun, 04 Dec 2011 15:09:41 +0100 In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sun, 4 Dec 2011 14:42:56 +0100") Message-ID: <87iplw8m3e.fsf@escher.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Sun, 4 Dec 2011 14:42:56 +0100 Jan Dj=C3=A4rv wrote: > 1 dec 2011 kl. 09:45 skrev Stephen Berman: > >> Starting with -q does not show the fancy splash image; `M-: >> (window-height)' returns 34. If I start with -q -geometry 80x36 `M-: >> (window-height)' returns 35 and the fancy splash image appears (though >> with this height the last line of the splash screen is partially >> truncated). I think I started seeing this behavior during the last >> pretest (24.0.91), but it might have been earlier. >>=20 > > I see in startup.el: > > (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 'x= pm)) > "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))))))) > > On my system, image-height becomes 14.466666666666667, so frame-height > must be larger than 33.4666.... > 34 should fit. Is image-size something else on your system? Yes, 15.5 (image-size returns (38.57142857142857 . 15.5)), which means the decremented frame-height should be > 34.5, so 34 is too small. This is with the font -unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1, which I've been using since well before the fancy splash image started failing to be displayed. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 11:54:59 2011 Received: (at 10178) by debbugs.gnu.org; 7 Dec 2011 16:54:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYKln-0006Qf-7X for submit@debbugs.gnu.org; Wed, 07 Dec 2011 11:54:59 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYKll-0006QW-7X for 10178@debbugs.gnu.org; Wed, 07 Dec 2011 11:54:58 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 940F775405D; Wed, 7 Dec 2011 08:54:12 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 58FB4451C611; Wed, 7 Dec 2011 08:53:53 -0800 (PST) From: Juri Linkov To: Stephen Berman Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Organization: JURTA References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> Date: Wed, 07 Dec 2011 18:47:37 +0200 In-Reply-To: <87iplw8m3e.fsf@escher.fritz.box> (Stephen Berman's message of "Sun, 04 Dec 2011 15:09:41 +0100") Message-ID: <87zkf4e712.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org, Jan =?iso-8859-1?Q?Dj=E4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> On my system, image-height becomes 14.466666666666667, so frame-height >> must be larger than 33.4666.... >> 34 should fit. Is image-size something else on your system? > > Yes, 15.5 (image-size returns (38.57142857142857 . 15.5)), which means > the decremented frame-height should be > 34.5, so 34 is too small. This > is with the font > -unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1, > which I've been using since well before the fancy splash image started > failing to be displayed. I see no changes in image size calculations between versions 23 and 24. With -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1 in Emacs 23.1: (image-size (create-image "splash.xpm")) => (45.0 . 21.7) In Emacs 24.0.92: (image-size (create-image "splash.xpm")) => (45.0 . 21.7) From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 16:55:06 2011 Received: (at 10178) by debbugs.gnu.org; 7 Dec 2011 21:55:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYPSD-0007CM-5o for submit@debbugs.gnu.org; Wed, 07 Dec 2011 16:55:05 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RYPSA-0007C4-IE for 10178@debbugs.gnu.org; Wed, 07 Dec 2011 16:55:03 -0500 Received: (qmail invoked by alias); 07 Dec 2011 21:54:15 -0000 Received: from i59F57C88.versanet.de (EHLO escher) [89.245.124.136] by mail.gmx.net (mp060) with SMTP; 07 Dec 2011 22:54:15 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18culgyUgsc9q2unaQY5jSBBa9V0XpPThfL6DFoi8 aOyzJSQ+VWVSUG From: Stephen Berman To: Juri Linkov Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> Date: Wed, 07 Dec 2011 22:54:12 +0100 In-Reply-To: <87zkf4e712.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 07 Dec 2011 18:47:37 +0200") Message-ID: <87mxb46oaj.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Wed, 07 Dec 2011 18:47:37 +0200 Juri Linkov wrote: >>> On my system, image-height becomes 14.466666666666667, so frame-height >>> must be larger than 33.4666.... >>> 34 should fit. Is image-size something else on your system? >> >> Yes, 15.5 (image-size returns (38.57142857142857 . 15.5)), which means >> the decremented frame-height should be > 34.5, so 34 is too small. This >> is with the font >> -unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1, >> which I've been using since well before the fancy splash image started >> failing to be displayed. > > I see no changes in image size calculations between versions 23 and 24. > > With -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1 > in Emacs 23.1: > > (image-size (create-image "splash.xpm")) > => (45.0 . 21.7) > > In Emacs 24.0.92: > > (image-size (create-image "splash.xpm")) > => (45.0 . 21.7) I just installed my GNU/Linux distribution's (openSUSE 12.1) Emacs 23.3, and it shows the same behavior as my build from the trunk: no fancy splash image with -q, frame-height = 35, image-size returns (38.57142857142857 . 15.5). With Emacs 23.2 from openSUSE 11.4, emacs -q does display the splash image. Could this have to do with the GTK+ version (2.24.7 in openSUSE 12.1)? Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 10 08:14:31 2011 Received: (at 10178) by debbugs.gnu.org; 10 Dec 2011 13:14:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZMl4-0006x6-Vq for submit@debbugs.gnu.org; Sat, 10 Dec 2011 08:14:31 -0500 Received: from mailout.melmac.se ([62.20.26.67]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZMl2-0006wr-P8 for 10178@debbugs.gnu.org; Sat, 10 Dec 2011 08:14:29 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 7EFD59689 for <10178@debbugs.gnu.org>; Sat, 10 Dec 2011 14:13:26 +0100 (CET) Received: (qmail 23378 invoked by uid 89); 10 Dec 2011 13:13:00 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 10 Dec 2011 13:13:00 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 1880F7FA058; Sat, 10 Dec 2011 14:13:26 +0100 (CET) Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <87mxb46oaj.fsf@gmx.net> Date: Sat, 10 Dec 2011 14:13:25 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> To: Stephen Berman X-Mailer: Apple Mail (2.1251.1) X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 10178 Cc: Juri Linkov , 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) 7 dec 2011 kl. 22:54 skrev Stephen Berman: > On Wed, 07 Dec 2011 18:47:37 +0200 Juri Linkov wrote: >=20 >>>> On my system, image-height becomes 14.466666666666667, so = frame-height >>>> must be larger than 33.4666.... >>>> 34 should fit. Is image-size something else on your system? >>>=20 >>> Yes, 15.5 (image-size returns (38.57142857142857 . 15.5)), which = means >>> the decremented frame-height should be > 34.5, so 34 is too small. = This >>> is with the font >>> -unknown-DejaVu Sans = Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1, >>> which I've been using since well before the fancy splash image = started >>> failing to be displayed. >>=20 >> I see no changes in image size calculations between versions 23 and = 24. >>=20 >> With -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1 >> in Emacs 23.1: >>=20 >> (image-size (create-image "splash.xpm")) >> =3D> (45.0 . 21.7) >>=20 >> In Emacs 24.0.92: >>=20 >> (image-size (create-image "splash.xpm")) >> =3D> (45.0 . 21.7) >=20 > I just installed my GNU/Linux distribution's (openSUSE 12.1) Emacs = 23.3, > and it shows the same behavior as my build from the trunk: no fancy = splash > image with -q, frame-height =3D 35, image-size returns = (38.57142857142857 > . 15.5). With Emacs 23.2 from openSUSE 11.4, emacs -q does display = the > splash image. Could this have to do with the GTK+ version (2.24.7 in > openSUSE 12.1)? I doubt it, as Gtk+ is not used for any font metrics or image handling = (except for tool bar images). But different versions of freetype2 = and/or the image libraries might influence this. With your font (-unknown-DejaVu Sans = Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1, aka monospace-9) i = get: (38.57142857142857 . 14.466666666666667) So the width is the same as what you get, but the height differs. = Strange. Does (image-size (create-image "splash.xpm") t) return (270 . 217) ? Go to *scratch* and evaluate (assuming there is a character at pos 1): (font-info (font-at 1)) It should return: ["-unknown-DejaVu Sans = Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1" "DejaVu Sans = Mono:pixelsize=3D12:foundry=3Dunknown:weight=3Dnormal:slant=3Dnormal:width= =3Dnormal:spacing=3D100:scalable=3Dtrue" 12 15 0 0 0] 15 is the font height (i.e. 217 / 15 =3D 14.466666...). Do you have = that? Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 10 10:14:29 2011 Received: (at 10178) by debbugs.gnu.org; 10 Dec 2011 15:14:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZOdA-0003py-NJ for submit@debbugs.gnu.org; Sat, 10 Dec 2011 10:14:28 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RZOd8-0003pl-RF for 10178@debbugs.gnu.org; Sat, 10 Dec 2011 10:14:27 -0500 Received: (qmail invoked by alias); 10 Dec 2011 15:13:23 -0000 Received: from i59F5533B.versanet.de (EHLO escher.fritz.box) [89.245.83.59] by mail.gmx.net (mp051) with SMTP; 10 Dec 2011 16:13:23 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+QPTMNTkyQHbRu1E1Bw5PHwzunSrGF6BlZ9sIZLn pIOiV/ZW1PXsF0 From: Stephen Berman To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> Date: Sat, 10 Dec 2011 16:13:20 +0100 In-Reply-To: <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sat, 10 Dec 2011 14:13:25 +0100") Message-ID: <87ehwctq7j.fsf@escher.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 10178 Cc: Juri Linkov , 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Sat, 10 Dec 2011 14:13:25 +0100 Jan Dj=C3=A4rv wrot= e: > 7 dec 2011 kl. 22:54 skrev Stephen Berman: [...] >> I just installed my GNU/Linux distribution's (openSUSE 12.1) Emacs 23.3, >> and it shows the same behavior as my build from the trunk: no fancy spla= sh >> image with -q, frame-height =3D 35, image-size returns (38.57142857142857 >> . 15.5). With Emacs 23.2 from openSUSE 11.4, emacs -q does display the >> splash image. Could this have to do with the GTK+ version (2.24.7 in >> openSUSE 12.1)? > > I doubt it, as Gtk+ is not used for any font metrics or image handling (e= xcept > for tool bar images). But different versions of freetype2 and/or the ima= ge > libraries might influence this. > > With your font (-unknown-DejaVu Sans > Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1, aka monospace-9) i g= et: > > (38.57142857142857 . 14.466666666666667) > > So the width is the same as what you get, but the height differs. Strang= e. > > Does (image-size (create-image "splash.xpm") t) return (270 . 217) ? Yes. > Go to *scratch* and evaluate (assuming there is a character at pos 1): > > (font-info (font-at 1)) > > It should return: > > ["-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-= 1" > "DejaVu Sans > Mono:pixelsize=3D12:foundry=3Dunknown:weight=3Dnormal:slant=3Dnormal:widt= h=3Dnormal:spacing=3D100:scalable=3Dtrue" > 12 15 0 0 0] I get: ["-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1"= "DejaVu Sans Mono:pixelsize=3D12:foundry=3Dunknown:weight=3Dnormal:slant= =3Dnormal:width=3Dnormal:spacing=3D100:scalable=3Dtrue" 12 14 0 0 0] > 15 is the font height (i.e. 217 / 15 =3D 14.466666...). Do you have that? No, but 217/14 =3D 15.5, which is what image-size shows here. I have DejaVu version 2.33, Freetype2 version 2.4.7, and xorg-x11-libXpm-devel version 7.6. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 11 07:02:09 2011 Received: (at 10178) by debbugs.gnu.org; 11 Dec 2011 12:02:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZi6b-0006m3-E8 for submit@debbugs.gnu.org; Sun, 11 Dec 2011 07:02:09 -0500 Received: from mailout.melmac.se ([62.20.26.67]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZi6Y-0006lq-B7 for 10178@debbugs.gnu.org; Sun, 11 Dec 2011 07:02:08 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id E4FB29EB8 for <10178@debbugs.gnu.org>; Sun, 11 Dec 2011 13:00:57 +0100 (CET) Received: (qmail 13272 invoked by uid 89); 11 Dec 2011 12:00:29 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 11 Dec 2011 12:00:29 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id BBCBE7FA058; Sun, 11 Dec 2011 13:00:56 +0100 (CET) Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <87ehwctq7j.fsf@escher.fritz.box> Date: Sun, 11 Dec 2011 13:00:57 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> <87ehwctq7j.fsf@escher.fritz.box> To: Stephen Berman X-Mailer: Apple Mail (2.1251.1) X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 10178 Cc: Juri Linkov , 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) 10 dec 2011 kl. 16:13 skrev Stephen Berman: > On Sat, 10 Dec 2011 14:13:25 +0100 Jan Dj=E4rv = wrote: >=20 > I get: >=20 > ["-unknown-DejaVu Sans = Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1" "DejaVu Sans = Mono:pixelsize=3D12:foundry=3Dunknown:weight=3Dnormal:slant=3Dnormal:width= =3Dnormal:spacing=3D100:scalable=3Dtrue" 12 14 0 0 0] >=20 >> 15 is the font height (i.e. 217 / 15 =3D 14.466666...). Do you have = that? >=20 > No, but 217/14 =3D 15.5, which is what image-size shows here. >=20 > I have DejaVu version 2.33, Freetype2 version 2.4.7, and > xorg-x11-libXpm-devel version 7.6. Aha! I have freetype2 version 2.4.4, but if I install 2.4.7 I also get = font height 14 and image height 15.5. In the changelog for freetype2 there is a reference to here: http://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00049.html where a change in font metrics for 2.4.6 is discussed. Quote: "The changes result in better, more consistent line spacing. DejaVu got one point smaller, there is nothing wrong with that too." So I guess Emacs does the right thing after all. However, we could = think about changing the condition for showing the splash image or = shrinking the splash image or reduce the amount of text. Is the font you use default on Suse? In that case the splash image = won't show up by default on Suse. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 11 11:41:50 2011 Received: (at 10178) by debbugs.gnu.org; 11 Dec 2011 16:41:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZmTG-0006dy-GP for submit@debbugs.gnu.org; Sun, 11 Dec 2011 11:41:50 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RZmTD-0006do-M0 for 10178@debbugs.gnu.org; Sun, 11 Dec 2011 11:41:49 -0500 Received: (qmail invoked by alias); 11 Dec 2011 16:40:38 -0000 Received: from i59F548CB.versanet.de (EHLO escher.fritz.box) [89.245.72.203] by mail.gmx.net (mp072) with SMTP; 11 Dec 2011 17:40:38 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18S8ek2HdUSbcKs+/SMvb8W0UJZ9zjkJUKgiMcXv+ JVPSd8Yvoig+Sf From: Stephen Berman To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> <87ehwctq7j.fsf@escher.fritz.box> Date: Sun, 11 Dec 2011 17:40:37 +0100 In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sun, 11 Dec 2011 13:00:57 +0100") Message-ID: <87k463rri2.fsf@escher.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On Sun, 11 Dec 2011 13:00:57 +0100 Jan Dj=C3=A4rv wrot= e: > 10 dec 2011 kl. 16:13 skrev Stephen Berman: > >> On Sat, 10 Dec 2011 14:13:25 +0100 Jan Dj=C3=A4rv w= rote: >>=20 >> I get: >>=20 >> ["-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646= -1" >> "DejaVu Sans >> Mono:pixelsize=3D12:foundry=3Dunknown:weight=3Dnormal:slant=3Dnormal:wid= th=3Dnormal:spacing=3D100:scalable=3Dtrue" >> 12 14 0 0 0] >>=20 >>> 15 is the font height (i.e. 217 / 15 =3D 14.466666...). Do you have th= at? >>=20 >> No, but 217/14 =3D 15.5, which is what image-size shows here. >>=20 >> I have DejaVu version 2.33, Freetype2 version 2.4.7, and >> xorg-x11-libXpm-devel version 7.6. > > Aha! I have freetype2 version 2.4.4, but if I install 2.4.7 I also get f= ont > height 14 and image height 15.5. Thanks for checking and confirming. > In the changelog for freetype2 there is a reference to here: > > http://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00049.html > > where a change in font metrics for 2.4.6 is discussed. Quote: > > "The changes result in better, more consistent line spacing. > DejaVu got one point smaller, there is nothing wrong with > that too." > > So I guess Emacs does the right thing after all. However, we could think > about changing the condition for showing the splash image or shrinking the > splash image or reduce the amount of text. I think slightly shrinking the image -- either unconditionally or conditioned on the value of image-height? -- would be fine. Or, as I noted earlier, I also get the image if frame-height is 36 instead of the current default of 35. > Is the font you use default on Suse? In that case the splash image won't= show > up by default on Suse. Actually, although I reported earlier in this thread that starting the Emacs that comes with openSUSE 12.1 (23.3) with -q also does not show the fancy splash screen, I had neglected to remove my .Xresources setting for Emacs, which specifies DejaVu 10 (which is actually 12pt, as shown above); when I remove that resource, both openSUSE's Emacs 23.3 and Emacs 24 from the trunk started with -q do show the fancy splash screen. This is because the font height is 19 by distribution default. However, this also results in the final two lines of the splash screen -- "If an Emacs session crashed recently, type Meta-x recover-session RET to recover the files you were editing." -- not being visible initially. Maybe this sentence should come earlier. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 16:44:24 2011 Received: (at 10178) by debbugs.gnu.org; 15 Dec 2011 21:44:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbJ6G-0003TW-5h for submit@debbugs.gnu.org; Thu, 15 Dec 2011 16:44:24 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbJ6C-0003TG-Lk for 10178@debbugs.gnu.org; Thu, 15 Dec 2011 16:44:21 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 4CA11754057; Thu, 15 Dec 2011 13:42:48 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 11CB3451C6C5; Thu, 15 Dec 2011 13:42:20 -0800 (PST) From: Juri Linkov To: Stephen Berman Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Organization: JURTA References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> <87ehwctq7j.fsf@escher.fritz.box> <87k463rri2.fsf@escher.fritz.box> Date: Thu, 15 Dec 2011 23:27:17 +0200 In-Reply-To: <87k463rri2.fsf@escher.fritz.box> (Stephen Berman's message of "Sun, 11 Dec 2011 17:40:37 +0100") Message-ID: <87d3bp7c4m.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org, Jan =?iso-8859-1?Q?Dj=E4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> So I guess Emacs does the right thing after all. However, we could think >> about changing the condition for showing the splash image or shrinking the >> splash image or reduce the amount of text. > > I think slightly shrinking the image -- either unconditionally or > conditioned on the value of image-height? -- would be fine. Or, as I > noted earlier, I also get the image if frame-height is 36 instead of the > current default of 35. Shrinking the image would require ImageMagick that is not always available. But I think not showing the image would be better, and this is already possible by calling the fancy function with the argument `concise' equal to t. > However, this also results in the final two lines of the splash screen > -- "If an Emacs session crashed recently, type Meta-x recover-session > RET to recover the files you were editing." -- not being visible > initially. Maybe this sentence should come earlier. When I run Emacs with `-geometry 80x42' then the final *five* lines are not visible. The calculations are wrong because they can't account for variable-height fonts used on the splash screen. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 01:31:34 2011 Received: (at 10178) by debbugs.gnu.org; 16 Dec 2011 06:31:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbRKQ-0007CU-4I for submit@debbugs.gnu.org; Fri, 16 Dec 2011 01:31:34 -0500 Received: from mailout.melmac.se ([62.20.26.67]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbRKN-0007CL-AZ for 10178@debbugs.gnu.org; Fri, 16 Dec 2011 01:31:32 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 976F89BC2 for <10178@debbugs.gnu.org>; Fri, 16 Dec 2011 07:29:55 +0100 (CET) Received: (qmail 28754 invoked by uid 89); 16 Dec 2011 06:29:20 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 16 Dec 2011 06:29:20 -0000 Received: from [172.20.199.248] (janiphone [172.20.199.248]) by coolsville.localdomain (Postfix) with ESMTPSA id CDA077FA058; Fri, 16 Dec 2011 07:29:54 +0100 (CET) References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> <87ehwctq7j.fsf@escher.fritz.box> <87k463rri2.fsf@escher.fritz.box> <87d3bp7c4m.fsf@mail.jurta.org> In-Reply-To: <87d3bp7c4m.fsf@mail.jurta.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9A405) From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Date: Fri, 16 Dec 2011 07:29:53 +0100 To: Juri Linkov X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 10178 Cc: "10178@debbugs.gnu.org" <10178@debbugs.gnu.org>, Stephen Berman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Hi 15 dec 2011 kl. 22:27 skrev Juri Linkov : >>> So I guess Emacs does the right thing after all. However, we could thin= k >>> about changing the condition for showing the splash image or shrinking t= he >>> splash image or reduce the amount of text. >>=20 >> I think slightly shrinking the image -- either unconditionally or >> conditioned on the value of image-height? -- would be fine. Or, as I >> noted earlier, I also get the image if frame-height is 36 instead of the >> current default of 35. >=20 > Shrinking the image would require ImageMagick that is not always available= . > But I think not showing the image would be better, and this is already pos= sible > by calling the fancy function with the argument `concise' equal to t. I was thinking of shrinking the original image file. Not at runtime. Jan D.= From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 07 04:16:12 2012 Received: (at 10178) by debbugs.gnu.org; 7 Jan 2012 09:16:12 +0000 Received: from localhost ([127.0.0.1]:47726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjSNn-0006v0-9t for submit@debbugs.gnu.org; Sat, 07 Jan 2012 04:16:11 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:36286 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjSNl-0006ut-1h for 10178@debbugs.gnu.org; Sat, 07 Jan 2012 04:16:10 -0500 Received: from bb220-255-176-96.singnet.com.sg ([220.255.176.96]:47824 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RjSNh-0002yt-OZ; Sat, 07 Jan 2012 04:16:06 -0500 From: Chong Yidong To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> <87ehwctq7j.fsf@escher.fritz.box> <87k463rri2.fsf@escher.fritz.box> <87d3bp7c4m.fsf@mail.jurta.org> Date: Sat, 07 Jan 2012 17:15:57 +0800 In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Fri, 16 Dec 2011 07:29:53 +0100") Message-ID: <87vconkh4i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10178 Cc: Juri Linkov , "10178@debbugs.gnu.org" <10178@debbugs.gnu.org>, Stephen Berman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Jan Dj=C3=A4rv writes: > I was thinking of shrinking the original image file. Not at runtime. Instead of shrinking the image, we could experiment with using SVG (post-24.1). From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 13:35:55 2019 Received: (at 10178) by debbugs.gnu.org; 26 Sep 2019 17:35:55 +0000 Received: from localhost ([127.0.0.1]:44677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXgJ-0007lc-5y for submit@debbugs.gnu.org; Thu, 26 Sep 2019 13:35:55 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXgF-0007lD-27 for 10178@debbugs.gnu.org; Thu, 26 Sep 2019 13:35:54 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDXg4-0005oh-Te; Thu, 26 Sep 2019 19:35:43 +0200 From: Lars Ingebrigtsen To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image References: <8762i0wuh9.fsf@escher.fritz.box> Date: Thu, 26 Sep 2019 19:35:40 +0200 In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sun, 4 Dec 2011 14:42:56 +0100") Message-ID: <8736gjm043.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jan Djärv writes: >> Starting with -q does not show the fancy splash image; `M-: >> (window-height)' returns 34. If I start with -q -geometry 80x36 `M-: >> (window-height)' returns 35 and the fancy splash image appears [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10178 Cc: 10178@debbugs.gnu.org, Stephen Berman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jan Dj=C3=A4rv writes: >> Starting with -q does not show the fancy splash image; `M-: >> (window-height)' returns 34. If I start with -q -geometry 80x36 `M-: >> (window-height)' returns 35 and the fancy splash image appears (though >> with this height the last line of the splash screen is partially >> truncated). I think I started seeing this behavior during the last >> pretest (24.0.91), but it might have been earlier. [...] > (let* ((img (create-image (or fancy-splash-image > (if (and (display-color-p) > (image-type-available-p 'x= pm)) > "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))))))) I think this basically works as designed -- we don't want to show the fancy image if it fits too snugly in the window, because that doesn't look very nice. So I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 13:35:52 2019 Received: (at control) by debbugs.gnu.org; 26 Sep 2019 17:35:52 +0000 Received: from localhost ([127.0.0.1]:44675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXgF-0007lN-US for submit@debbugs.gnu.org; Thu, 26 Sep 2019 13:35:52 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXgE-0007lE-Ul for control@debbugs.gnu.org; Thu, 26 Sep 2019 13:35:51 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDXgA-0005om-In for control@debbugs.gnu.org; Thu, 26 Sep 2019 19:35:48 +0200 Date: Thu, 26 Sep 2019 19:35:46 +0200 Message-Id: <871rw3m03x.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10178 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 10178 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 10178 quit From unknown Sun Jun 15 08:48:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Oct 2019 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator