Re: Emacs splash screen went to textmode only
Quoting Ashish SHUKLA ash...@freebsd.org: And please also evaluate following functions in Emacs (in X11) and paste their output: 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 (display-graphic-p) t (display-color-p) t (image-type-available-p 'xpm) t (image-type-available-p 'xbm) t For comparison, this is what 23.1.1. reports: (use-fancy-splash-screens-p) t (display-graphic-p) t (display-color-p) t (image-type-available-p 'xpm) t (image-type-available-p 'xbm) t 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. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Quoting Ashish SHUKLA ash...@freebsd.org: And please also evaluate following functions in Emacs (in X11) and paste their output: 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 -no-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 -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “If knowledge can create problems, it is not through ignorance that we can solve them.” (Isaac Asimov) pgphENdbhvBHI.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Quoting Ashish SHUKLA ash...@freebsd.org: 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 -no-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'. That works indeed. That is, I just have to make sure Emacs starts up with a sufficient frame height. emacs -g 80x40 is all it takes. Thanks a lot for your help! Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Quoting Ashish SHUKLA ash...@freebsd.org: 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 -no-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'. That works indeed. That is, I just have to make sure Emacs starts up with a sufficient frame height. emacs -g 80x40 is all it takes. Thanks a lot for your help! Markus You're welcome :) -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “There are 10 types of people in this world, those who understand binary and those who do not” (anonymous) pgppLcTlJXVh1.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Ashish SHUKLA writes: Can you upload the screenshot of what you're getting ? Hi, I've uploaded a screenshot right here: http://www.abload.de/img/emacs-splashaws1.png The image shows four incarnations of Emacs. These are, clockwise starting from upper left: 1) Emacs started remotely on my laptop through ssh. This Emacs is slightly older (23.1.1) than the one on my desktop (23.2.1). This is what an unfiddled-with splash screen is supposed to look like in recent versions. 2) Emacs started on my desktop, using -q -no-site-file as per your suggestion. There are no graphics and no colors. Can you please provide output of following: 1. xrdb -q|grep '^Emacs' from an terminal running in X11. 2. (display-grayscale-p) in *scratch* buffer in GNU Emacs running in X11. 3. system-configuration-options in *scratch* buffer in GNU Emacs. Thanks -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “I find the whole business of religion profoundly interesting. But it does mystify me that otherwise intelligent people take it seriously.” (Douglas Adams) pgp4a7JqOhmI1.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Quoting Olivier Nicole olivier.nic...@cs.ait.ac.th: Hi, 4) Another instance of Emacs on my desktop, this time running in a terminal. The startup screen is yet another one. In this one, I clearly recognize emacs being run inside an ascii terminal. Ascii terminal do not have graphic possibility (nor mousse) so it is only normal that there is no graphic splash screen. Yes, I am fully aware of that. In my original post I wondered if Emacs for some reason *thinks* it is running in a terminal and thus displays the terminal mode splash screen. But #2 and #4 are different, thus I proved myself wrong. If it is the same version of emacs that you run on the instances 2 and 3, I would look for a X issue. Do you have an environment variable set in the xterm? In that xterm, can you launch another xterm? Well, set displays a few screens full of environment variables, so, yes, of course there are some and they have to be there. But none of these affected Emacs before upgrading to 23.2.1. BTW launching another xterm from an xterm works without problems. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs splash screen went to textmode only
Quoting Ashish SHUKLA ash...@freebsd.org: Can you please provide output of following: 1. xrdb -q|grep '^Emacs' from an terminal running in X11. [mar...@wutz /usr/home/markus]$ xrdb -q|grep '^Emacs' Emacs*font: Bitstream Vera Sans Mono-8 2. (display-grayscale-p) in *scratch* buffer in GNU Emacs running in X11. (display-grayscale-p) t 3. system-configuration-options in *scratch* buffer in GNU Emacs. system-configuration-options '--with-x-toolkit=gtk' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.0' 'build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS=-L/usr/local/lib -lintl' 'CPPFLAGS=-I/usr/local/include' BTW I've first built the Emacs port, and after I realized there was that splash screen issue I installed the package instead, just in case I managed to misconfigure the build somehow. Didn't make a difference. Thanks Thank you! Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs splash screen went to textmode only
Markus Hoenicka writes: Quoting Ashish SHUKLA ash...@freebsd.org: Can you please provide output of following: 1. xrdb -q|grep '^Emacs' from an terminal running in X11. [mar...@wutz /usr/home/markus]$ xrdb -q|grep '^Emacs' Emacs*font: Bitstream Vera Sans Mono-8 2. (display-grayscale-p) in *scratch* buffer in GNU Emacs running in X11. (display-grayscale-p) t And please also evaluate following functions in Emacs (in X11) and paste their output: (use-fancy-splash-screens-p) (display-graphic-p) (display-color-p) (image-type-available-p 'xpm) (image-type-available-p 'xbm) 3. system-configuration-options in *scratch* buffer in GNU Emacs. system-configuration-options '--with-x-toolkit=gtk' '--x-libraries=/usr/local/lib' --x-includes=/usr/local/include' '--prefix=/usr/local' --mandir=/usr/local/man' '--infodir=/usr/local/info/' --build=i386-portbld-freebsd8.0' build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS=-L/usr/local/lib -lintl' CPPFLAGS=-I/usr/local/include' configuration flags look fine to me. BTW I've first built the Emacs port, and after I realized there was that splash screen issue I installed the package instead, just in case I managed to misconfigure the build somehow. Didn't make a difference. Thanks -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things.” (Robert A. Heinlein, 1973) pgpHHZhECO6or.pgp Description: PGP signature
Re: Emacs splash screen went to textmode only
Ashish SHUKLA writes: Can you upload the screenshot of what you're getting ? Hi, I've uploaded a screenshot right here: http://www.abload.de/img/emacs-splashaws1.png The image shows four incarnations of Emacs. These are, clockwise starting from upper left: 1) Emacs started remotely on my laptop through ssh. This Emacs is slightly older (23.1.1) than the one on my desktop (23.2.1). This is what an unfiddled-with splash screen is supposed to look like in recent versions. 2) Emacs started on my desktop, using -q -no-site-file as per your suggestion. There are no graphics and no colors. 3) Another instance of Emacs started on my desktop, also with -q -no-site-file. I switched to *scratch* and evaluated (fancy-startup-screen). The fancy startup screen pops up without a hitch. 4) Another instance of Emacs on my desktop, this time running in a terminal. The startup screen is yet another one. Any clues? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs splash screen went to textmode only
Hi, 4) Another instance of Emacs on my desktop, this time running in a terminal. The startup screen is yet another one. In this one, I clearly recognize emacs being run inside an ascii terminal. Ascii terminal do not have graphic possibility (nor mousse) so it is only normal that there is no graphic splash screen. If it is the same version of emacs that you run on the instances 2 and 3, I would look for a X issue. Do you have an environment variable set in the xterm? In that xterm, can you launch another xterm? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Emacs splash screen went to textmode only
Hi, I've recently updated Emacs to the latest version (23.2_2,2 from 23.1.1) along with all dependencies. Since then, the startup screen when running in an X window shows b/w text only like in the days of yore. Not that the startup screen graphics are that important, but things that don't work as expected tend to make me nervous. According to startup.el, the following variables affect what is shown at startup. Evaluating them in the scratch buffer looks like this: inhibit-startup-screen nil initial-buffer-choice nil That is, the startup screen *should* be displayed, or am I missing something here? The interesting thing is that nothing else about the startup screen appears broken. If I evaluate (fancy-startup-screen) in the scratch buffer, i.e. the function which actually displays the startup screen, Emacs faithfully does so, including the graphics and all bells and whistles. Has anything fundamentally changed between these versions? Does Emacs think it runs in a terminal? Any clues would be greatly appreciated. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Emacs splash screen went to textmode only
Hi Markus, Markus Hoenicka writes: Hi, I've recently updated Emacs to the latest version (23.2_2,2 from 23.1.1) along with all dependencies. Since then, the startup screen when running in an X window shows b/w text only like in the days of yore. Not that the startup screen graphics are that important, but things that don't work as expected tend to make me nervous. Can you upload the screenshot of what you're getting ? According to startup.el, the following variables affect what is shown at startup. Evaluating them in the scratch buffer looks like this: inhibit-startup-screen nil initial-buffer-choice nil That is, the startup screen *should* be displayed, or am I missing something here? The interesting thing is that nothing else about the startup screen appears broken. If I evaluate (fancy-startup-screen) in the scratch buffer, i.e. the function which actually displays the startup screen, Emacs faithfully does so, including the graphics and all bells and whistles. Has anything fundamentally changed between these versions? Does Emacs think it runs in a terminal? Any clues would be greatly appreciated. Can you try starting Emacs in X11 with following command: #v+ % emacs -q --no-site-file #v- Thanks -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “We've so many people in India, that we're able to route each network packet manually.” (nobotz) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org