* unknown file gnus/etc/images/gnus/x-splash
@ 2007-06-04 12:58 Leo
2007-06-04 23:45 ` Katsumi Yamaoka
0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2007-06-04 12:58 UTC (permalink / raw)
To: ding
Hi Gnus,
I found an unknown file in both the gnus source dir and the installed
dir, that is gnus/etc/images/gnus/x-splash. What's the use of that file?
Thanks,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unknown file gnus/etc/images/gnus/x-splash
2007-06-04 12:58 unknown file gnus/etc/images/gnus/x-splash Leo
@ 2007-06-04 23:45 ` Katsumi Yamaoka
2007-06-04 23:56 ` Leo
0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-06-04 23:45 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 601 bytes --]
>>>>> In <m2ejkrq3k5.fsf@sl392.st-edmunds.cam.ac.uk> Leo wrote:
> I found an unknown file in both the gnus source dir and the installed
> dir, that is gnus/etc/images/gnus/x-splash. What's the use of that file?
That is an image file used for Emacsen that has no images
support. The data are bitmap pattern used as a stipple face.
This is technically excellent and arouses my curiosity.
Though it or the program seems to be broken[1], you can see the
image somehow or other even if you use Emacs having the new
display engine. If you have the /some/where/x-splash file, try
evaluating this form:
[-- Attachment #2: Type: application/emacs-lisp, Size: 289 bytes --]
[-- Attachment #3: Type: text/plain, Size: 34 bytes --]
[1] I'd like to fix it some day.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unknown file gnus/etc/images/gnus/x-splash
2007-06-04 23:45 ` Katsumi Yamaoka
@ 2007-06-04 23:56 ` Leo
2007-06-07 11:59 ` Katsumi Yamaoka
0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2007-06-04 23:56 UTC (permalink / raw)
To: ding
----- Katsumi Yamaoka (2007-06-05) wrote:-----
>> I found an unknown file in both the gnus source dir and the installed
>> dir, that is gnus/etc/images/gnus/x-splash. What's the use of that file?
>
> That is an image file used for Emacsen that has no images
> support. The data are bitmap pattern used as a stipple face.
> This is technically excellent and arouses my curiosity.
>
> Though it or the program seems to be broken[1], you can see the
> image somehow or other even if you use Emacs having the new
> display engine. If you have the /some/where/x-splash file, try
> evaluating this form:
>
> (progn
> (require 'gnus)
> (let ((fn (symbol-function 'nnheader-find-etc-directory))
> (gnus-group-buffer "*x-splash*"))
> (fset 'nnheader-find-etc-directory
> (lambda (&rest args)
> "/some/where"))
> (unwind-protect
> (gnus-x-splash)
> (fset 'nnheader-find-etc-directory fn))))
>
> [1] I'd like to fix it some day.
Thanks ;)
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unknown file gnus/etc/images/gnus/x-splash
2007-06-04 23:56 ` Leo
@ 2007-06-07 11:59 ` Katsumi Yamaoka
2007-06-07 12:41 ` Leo
0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-06-07 11:59 UTC (permalink / raw)
To: ding
> ----- Katsumi Yamaoka (2007-06-05) wrote:-----
>> That is an image file used for Emacsen that has no images
>> support. The data are bitmap pattern used as a stipple face.
I've improved the function for displaying the x-splash image.
Try `M-x gnus-x-splash' (after updating your No Gnus, and if you
have an interest in it, of course ;-). If you wish to display
this image when starting up Gnus, use the following in your
~/.emacs , not ~/.gnus.el, file:
(setq gnus-inhibit-startup-message t)
(add-hook 'gnus-before-startup-hook
(lambda nil (setq gnus-simple-splash t)))
Note that it doesn't display the image correctly if an Emacs
frame is split horizontally and it is done in the right side of
the windows.
A stipple bitmap is tiled on the whole area of an Emacs frame.
It always starts at the leftmost and the topmost position of a
frame, and we can only choose one among them. What the function
mainly does is to calculate the position of a slot precisely.
Regards,
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unknown file gnus/etc/images/gnus/x-splash
2007-06-07 11:59 ` Katsumi Yamaoka
@ 2007-06-07 12:41 ` Leo
2007-06-07 15:08 ` Katsumi Yamaoka
0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2007-06-07 12:41 UTC (permalink / raw)
To: ding
----- Katsumi Yamaoka (2007-06-07) wrote:-----
> I've improved the function for displaying the x-splash image.
> Try `M-x gnus-x-splash' (after updating your No Gnus, and if you
> have an interest in it, of course ;-). If you wish to display
> this image when starting up Gnus, use the following in your
> ~/.emacs , not ~/.gnus.el, file:
Although that should not do anything when running in terminal, I try it
in 'emacs -nw' and it appears to hang Emacs. Does anyone else see this
problem?
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unknown file gnus/etc/images/gnus/x-splash
2007-06-07 12:41 ` Leo
@ 2007-06-07 15:08 ` Katsumi Yamaoka
0 siblings, 0 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-06-07 15:08 UTC (permalink / raw)
To: ding
>>>>> In <m2fy54aqe4.fsf@sl392.st-edmunds.cam.ac.uk>
>>>>> Leo <sdl.web@gmail.com> wrote:
> ----- Katsumi Yamaoka (2007-06-07) wrote:-----
>> I've improved the function for displaying the x-splash image.
> Although that should not do anything when running in terminal, I try it
> in 'emacs -nw' and it appears to hang Emacs. Does anyone else see this
> problem?
That does not indeed work with a terminal. But is safe since in
gnus-start.el it is protected as follows:
(cond
((featurep 'xemacs)
(gnus-xmas-splash))
(window-system
(gnus-x-splash))))
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-07 15:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-04 12:58 unknown file gnus/etc/images/gnus/x-splash Leo
2007-06-04 23:45 ` Katsumi Yamaoka
2007-06-04 23:56 ` Leo
2007-06-07 11:59 ` Katsumi Yamaoka
2007-06-07 12:41 ` Leo
2007-06-07 15:08 ` Katsumi Yamaoka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).