On Feb 7, 2007, at 12:06 PM, Sebastian N. Fischmeister wrote:
> Hi.
>
> I have two problems with Emacs (2007-01-06):
>
> 1) Somehow it screws up my X11 setup. X11 works fine until I open
> Emacs once on a freshly started system. After I started Emacs, the
> second terminal (Command-N) comes up with a weird font while the
> first uses the correct font. Also executing just 'xterm' uses this
> weird font. Some stretched out version of courier new.
>
> 2) The following causes Emacs to hang, however, it works well when I
> issue this command from a terminal:
>
> (defun raise-emacs-on-aqua()
> (shell-command
> "osascript -e 'tell application \"Emacs\" to activate'"))
> (add-hook 'server-switch-hook 'raise-emacs-on-aqua)
Two things: when you call emacsclient (which you should when you use
this script) you should remember to use
# emacsclient --no-wait
Secondly, add an ampersand, it will help (but will spawn an ugly
*Asynchronous Shell Output* buffer which I don't know how to deal
with. Bu adding an ampersand I mean doing
"osascript -e 'tell application \"Emacs\" to activate' &"))
Kasper
> Help would be appreciated.
>
> Thanks a lot,
> Sebastian
> _______________________________________________
> macemacsjp-english mailing list
> [email protected]
> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english
_______________________________________________
macemacsjp-english mailing list
[email protected]
http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english