From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: org-read-date with pop-up-frames set to t Date: Sun, 30 Nov 2014 16:47:37 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv6jn-0001CD-2k for emacs-orgmode@gnu.org; Sun, 30 Nov 2014 10:48:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xv6jb-0003CP-Ni for emacs-orgmode@gnu.org; Sun, 30 Nov 2014 10:48:39 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:37153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv6jb-0003Bt-IJ for emacs-orgmode@gnu.org; Sun, 30 Nov 2014 10:48:27 -0500 Received: from top.local (cbg35-2-78-242-14-140.fbx.proxad.net [78.242.14.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id CFEEE1408EF04 for ; Sun, 30 Nov 2014 16:48:24 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I'm experimenting with using frames instead of windows, and I'm seeing some strange behavior with `org-read-date'. Here is an ECM starting from an emacs -Q (with an emacs 24.4 and the bundled org): #+begin_src emacs-lisp (setq pop-up-frames t) (setq frame-auto-hide-function 'delete-frame) (require 'org) (org-read-date) #+end_src When evaluating the `org-read-date' function, a new frame opens (great) with two windows, the bottom one being the calendar window. Question 1: is it possible just to have the calendar window in the new frame? When I select a date, I see the selected date echoed in the minibuffer (the function has returned a value), but the frame and the two windows stay there, and I have to manually delete the frame to get back where I was. Question 2: is there a way to delete this frame when I'm done selecting the date? Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUezxIAAoJEAQNCjtO0uXH9lkH/2p3l5steO+6KvLu/tU/oEpH epjoP8yCQdK9cZ8aFEPgFnX99Foe9eGJSJUQCsJsddhnNHm2hSlwslwfs6KpBZip 3cv0+NuHtQiskCTa4J6eoGZPuNMXImKPQzSL5/zVBKckogXRlZoqgVQWrXf9kM5i GrGvA4ivreQ1kLgGzIjikWeqmTgplhmnOVAnOBnIAgvmTvABA/AgkUhm78IzFBwA lxQ1mTBWx7TxMsjqwVperIK8mtzWy7HqdM3kXg04H8CkULtPxdr5qKdwUNJ5prct E3KSVphRc0FYREI/8vGrmmG6VTmtxBFPv82DYn8lYrjJn9I6jBuelIeSuOyn7gA= =EGvD -----END PGP SIGNATURE----- --=-=-=--