From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Quick aquamacs related windowing question Date: Wed, 15 Jul 2009 12:32:46 -0500 Message-ID: <4A5E12BE.6070902@sift.info> References: <4A5CEED5.3060608@sift.info> <10821.1247608443@gamaville.dokosmarshall.org> <4A5DF373.7020903@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR8ez-0004MM-Jb for emacs-orgmode@gnu.org; Wed, 15 Jul 2009 13:52:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR8eu-0004L7-2a for emacs-orgmode@gnu.org; Wed, 15 Jul 2009 13:52:52 -0400 Received: from [199.232.76.173] (port=51037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR8et-0004L0-Ue for emacs-orgmode@gnu.org; Wed, 15 Jul 2009 13:52:47 -0400 Received: from outbound-mail-153.bluehost.com ([67.222.39.33]:32953) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MR8Ld-0006K0-Le for emacs-orgmode@gnu.org; Wed, 15 Jul 2009 13:32:54 -0400 In-Reply-To: <4A5DF373.7020903@sift.info> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Quick follow-up: The problem seems to be related to a block of code in org-read-date that's wrapped in (save-excursion (save-window-excursion .... )) Does anyone have a clear understanding of how these two special forms are going to interact? I looked into the documentation for save-window-excursion, and while it saves the currently-selected WINDOW, it does NOT save (or at least the info page doesn't say it saves) the currently-selected FRAME. So this seems to be my problem. I will try to discover how to either save the currently selected frame (this may not be possible --- I don't know how Emacs interacts with the window manager), or how to tell Aquamacs to always pop up the *Calendar* buffer in the same frame. Best, Robert