From mboxrd@z Thu Jan 1 00:00:00 1970 From: "François Puitg" Subject: Re: displayed-month Date: Sun, 30 Sep 2007 22:01:26 +0200 Message-ID: <18176.150.253902.606000@gargle.gargle.HOWL> References: <18174.8158.442153.292809@gargle.gargle.HOWL> <96bbb5dad730e7ae9863418e69efbe19@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ic4pB-0002PW-NS for emacs-orgmode@gnu.org; Sun, 30 Sep 2007 15:51:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ic4pA-0002OT-RG for emacs-orgmode@gnu.org; Sun, 30 Sep 2007 15:51:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ic4pA-0002OQ-P1 for emacs-orgmode@gnu.org; Sun, 30 Sep 2007 15:51:32 -0400 Received: from imag.imag.fr ([129.88.30.1]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ic4pA-0005UU-8X for emacs-orgmode@gnu.org; Sun, 30 Sep 2007 15:51:32 -0400 In-Reply-To: <96bbb5dad730e7ae9863418e69efbe19@science.uva.nl> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org De Carsten Dominik (29 September, 14:53) : > Hi, >=20 > On Sep 29, 2007, at 11:50, Fran=E7ois Puitg wrote: > > > > Seems I've discovered a little bug (there's an easy workaround= , see > > below), but I'm not sure it's org-mode fault: when I try to ins= ert a > > time stamp (with C-c .), I can't select a date as explained in se= ction > > 8.2.1 of the manual. So I just hit q to quit the calendar fram= e and > > enter a date by hand in the minibuffer. The time stamp is corr= ectly > > inserted in my org buffer, but then, as soon as I hit any key, I = get a > > "Symbol's value as variable is void: displayed-month" error i= n the > > minibuffer (even if I use mouse buttons). >=20 > What is the setup you are using to get the calendar in a separate > frame=3F (setq calendar-and-diary-frame-parameters '((name . "Calendar") =09=09=09=09 (title . "Calendar") =09=09=09=09 (height . 40) (width . 78) =09=09=09=09 (minibuffer . t)) calendar-setup 'one-frame) > Org-mode assumes that it is coming up in the *current* frame. >=20 OK. I didn't know that. > Do your really need to press q to get rid of the calendar=3F Can't= you > just type in the minibuffer of the other frame=3F >=20 > - Carsten Indeed. Actually, after C-c ., the calendar frame is raised in order to let me choose a date. Then, as explained in my preceding post, if my setup allows a minibuffer in the calendar frame, everything works according section 8.2.1 of the manual (except selecting a date with mouse-1, but it's Xemacs21 fault I guess). If there's no minibuffer in the calendar frame, I must type the date in the minibuffer of the other frame (pressing q to iconify the calendar frame is just a matter of convenience: no need to get back to the mouse) and then I get that "displayed-month error" in my org buffer. Again, it's not really a problem: all I need to get the proper behavior is just to allow a minibuffer in the calendar frame. -- Frn=E7s