From: Katsumi Yamaoka <yamaoka@jpl.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 15247@debbugs.gnu.org
Subject: bug#15247: 24.3.50; Emacs Cygwin crashes when replying to a mail
Date: Tue, 03 Sep 2013 08:27:23 +0900 [thread overview]
Message-ID: <b4mbo4arehw.fsf@jpl.org> (raw)
In-Reply-To: <b4m1u57hic7.fsf@jpl.org>
martin rudalics wrote:
>> emacs -Q --eval '(make-frame-invisible (selected-frame) t)'
>> I also guess that it was harmless until about a week ago.
> Should be harmless again with revision 114106.
Thanks!
[...]
>> As I wrote in <http://thread.gmane.org/gmane.emacs.devel/150533>,
>> `raise-frame' doesn't raise iconified, invisible, or hidden frame.
>> Now I changed it into:
>>
>> (defadvice raise-frame (before make-it-work (&optional frame) activate)
>> "Make it work on Cygwin."
>> (or (eq frame (selected-frame))
>> (make-frame-invisible frame)))
> I don't understand fully: Above you say that "`raise-frame' doesn't
> raise iconified, invisible, or hidden frame" and in the before-advice
> or `raise-frame' you make the frame invisible?
Yes, it does. So far once vanishing a frame, that is alive but
is iconified or hidden behind other frames, from a Windows desktop
is the only means to make `raise-frame' raise the frame to the top.
Another way is:
(defadvice raise-frame (around make-it-work (&optional frame) activate)
;; ^^^^^^
"Make it work on Cygwin."
(unless (eq frame (selected-frame))
(make-frame-invisible frame)
(make-frame-visible frame)))
I found it through trial and trial and trial ... and error. ;)
prev parent reply other threads:[~2013-09-02 23:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-02 6:02 bug#15247: 24.3.50; Emacs Cygwin crashes when replying to a mail Katsumi Yamaoka
2013-09-02 10:02 ` Katsumi Yamaoka
2013-09-02 12:29 ` martin rudalics
2013-09-02 23:27 ` Katsumi Yamaoka [this message]
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=b4mbo4arehw.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=15247@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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).