emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* displayed-month
@ 2007-09-29  9:50 François Puitg
  2007-09-29 12:53 ` displayed-month Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: François Puitg @ 2007-09-29  9:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I'm new to this list.

Thanks  to  Carsten (and to all  the  contributors) for this excellent
mode.

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).

This is because my calendar frame doesn't have a minibuffer. If I put
in my emacs init file :
  (setq calendar-and-diary-frame-parameters
        '((name . "Calendar") (title . "Calendar")
	  (height . 20) (width . 78)
	  (minibuffer . t)))
I get the normal behavior of C-c ., and no more displayed-month error.


-- Frnçs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: displayed-month
  2007-09-29  9:50 displayed-month François Puitg
@ 2007-09-29 12:53 ` Carsten Dominik
  2007-09-30 20:01   ` displayed-month François Puitg
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2007-09-29 12:53 UTC (permalink / raw)
  To:  François Puitg ; +Cc: emacs-orgmode

Hi,

On Sep 29, 2007, at 11:50, François Puitg wrote:

> Hi all,
>
> I'm new to this list.
>
> Thanks  to  Carsten (and to all  the  contributors) for this excellent
> mode.
>
> 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?
Org-mode assumes that it is coming up in the *current* frame.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: displayed-month
  2007-09-29 12:53 ` displayed-month Carsten Dominik
@ 2007-09-30 20:01   ` François Puitg
  0 siblings, 0 replies; 3+ messages in thread
From: François Puitg @ 2007-09-30 20:01 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-30 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-29  9:50 displayed-month François Puitg
2007-09-29 12:53 ` displayed-month Carsten Dominik
2007-09-30 20:01   ` displayed-month François Puitg

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).