From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: emacs cvs on macosx
Date: Wed, 25 May 2005 09:46:24 +0900 [thread overview]
Message-ID: <wlll64xhcv.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <m2mzqnz8e1.fsf@flatsoft.no-ip.info>
>>>>> On Sun, 22 May 2005 15:40:22 +0200, Flatman <flatman@swing.be> said:
> When building emacs from cvs on macosx I got this weird behaviour
> that the GUI window stays in the back while other windows overlap
> it.
> Emacs works nice with -nw option But when launched in Aqua/GUI, the
> app window can't be made frontmost :-( Any idea ?
Maybe you executed a binary (such as /usr/local/bin/emacs) that was
not a part of a bundle. Could you try `open /Application/Emacs.app' ?
With the following patch, Carbon Emacs falls back on terminal mode
when it is executed without a bundle. I found a similar code in
mac_check_bundle (macterm.c), but it seems to be not in effect
currently.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
Index: src/mac.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/mac.c,v
retrieving revision 1.37
diff -c -r1.37 mac.c
*** src/mac.c 13 May 2005 08:44:20 -0000 1.37
--- src/mac.c 25 May 2005 00:34:52 -0000
***************
*** 4197,4204 ****
app_bundle_pathname. */
bundle = CFBundleGetMainBundle ();
! if (!bundle)
! return;
bundleURL = CFBundleCopyBundleURL (bundle);
if (!bundleURL)
--- 4197,4209 ----
app_bundle_pathname. */
bundle = CFBundleGetMainBundle ();
! if (!bundle || CFBundleGetIdentifier (bundle) == NULL)
! {
! /* We could not find the bundle identifier. For now, prevent
! the fatal error by bringing it up in the terminal. */
! inhibit_window_system = 1;
! return;
! }
bundleURL = CFBundleCopyBundleURL (bundle);
if (!bundleURL)
next prev parent reply other threads:[~2005-05-25 0:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-22 13:40 emacs cvs on macosx Flatman
2005-05-25 0:46 ` YAMAMOTO Mitsuharu [this message]
2005-05-25 1:20 ` YAMAMOTO Mitsuharu
2005-05-25 11:54 ` chad brown
2005-05-26 6:51 ` Flatman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wlll64xhcv.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.