From: John Paul Wallington <jpw@shootybangbang.com>
Subject: Re: `fancy-splash-frame' query
Date: Wed, 31 Jul 2002 02:36:18 +0100 [thread overview]
Message-ID: <E17ZiPS-00048G-00@bundalo.shootybangbang.com> (raw)
In-Reply-To: message from John Paul Wallington on 31 Jul 2002 01:45:46 +0100
I wrote:
> Presently, picking "About Emacs" from the Help menu when I have
> multiple frames puts the splash screen in a different frame from the
> selected one.
>
> Here is a `fancy-splash-frame' that checks the selected frame first
> and returns the first suitable frame rather than the last.
>
> Is the present behaviour problematic? Is this version okay (I have
> only tested it lightly) ?
Oh boy! Sorry, that version stunk; it would lose if it ran out of
frames. I am a degenerate for testing it so lightly.
Here's an alternative...
2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
* startup.el (fancy-splash-frame): Check selected frame last.
Index: startup.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/startup.el,v
retrieving revision 1.302
diff -u -r1.302 startup.el
--- startup.el 14 Jul 2002 15:29:56 -0000 1.302
+++ startup.el 31 Jul 2002 01:29:26 -0000
@@ -1306,7 +1306,7 @@
use the fancy splash screen, but if we do use it,
we put it on this frame."
(let (chosen-frame)
- (dolist (frame (frame-list))
+ (dolist (frame (append (frame-list) (list (selected-frame))))
(if (and (frame-visible-p frame)
(not (window-minibuffer-p (frame-selected-window frame))))
(setq chosen-frame frame)))
--
John Paul Wallington
next reply other threads:[~2002-07-31 1:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-31 1:36 John Paul Wallington [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-31 0:45 `fancy-splash-frame' query John Paul Wallington
2002-07-31 21:58 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17ZiPS-00048G-00@bundalo.shootybangbang.com \
--to=jpw@shootybangbang.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).