emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Puitg" <Francois.Puitg@imag.fr>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: displayed-month
Date: Sun, 30 Sep 2007 22:01:26 +0200	[thread overview]
Message-ID: <18176.150.253902.606000@gargle.gargle.HOWL> (raw)
In-Reply-To: <96bbb5dad730e7ae9863418e69efbe19@science.uva.nl>

De Carsten Dominik (29 September, 14:53) :

  > Hi,
  > 
  > On Sep 29, 2007, at 11:50, François 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 insert a
  > > time stamp (with C-c .), I can't select a date as explained in section
  > > 8.2.1 of the manual.  So I  just hit q to quit  the calendar frame and
  > > enter a date by  hand in the minibuffer.   The time stamp is correctly
  > > 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 in the
  > > minibuffer (even if I use mouse buttons).
  > 
  > What is the setup you are using to get the calendar in a separate
  > frame?

(setq
 calendar-and-diary-frame-parameters '((name . "Calendar")
				       (title . "Calendar")
				       (height . 40) (width . 78)
				       (minibuffer . t))
 calendar-setup 'one-frame)


  > Org-mode assumes that it is coming up in the *current* frame.
  > 

OK. I didn't know that.


  > Do your really need to press q to get rid of the calendar?  Can't you
  > just type in the minibuffer of the other frame?
  > 
  > - 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çs

      reply	other threads:[~2007-09-30 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-29  9:50 displayed-month François Puitg
2007-09-29 12:53 ` displayed-month Carsten Dominik
2007-09-30 20:01   ` François Puitg [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18176.150.253902.606000@gargle.gargle.HOWL \
    --to=francois.puitg@imag.fr \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).