unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* diary-phases-of-moon output
@ 2007-04-24  2:38 Dave Roe
  2007-04-24 10:42 ` Charles philip Chan
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Roe @ 2007-04-24  2:38 UTC (permalink / raw)
  To: help-gnu-emacs


I have '%%(diary-phases-of-moon)' in my .diary.  On the days in which it is
triggered, that is also the output.  

It would be much better if it would tell me the actual phase (e.g., 'First
Quarter Moon 6:17pm (CDT)').  Is there away to do this without editing the
source?

-- 
Dave Roe		droe@real-time.com

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

* Re: diary-phases-of-moon output
  2007-04-24  2:38 diary-phases-of-moon output Dave Roe
@ 2007-04-24 10:42 ` Charles philip Chan
  2007-04-24 17:28   ` Dave Roe
  0 siblings, 1 reply; 5+ messages in thread
From: Charles philip Chan @ 2007-04-24 10:42 UTC (permalink / raw)
  To: help-gnu-emacs

On 23 Apr 2007, droe@real-time.com wrote:

> It would be much better if it would tell me the actual phase (e.g.,
> 'First Quarter Moon 6:17pm (CDT)').  Is there away to do this without
> editing the source?

I don't understand what you mean- this is exactly what it does. For
exampl,e the "phase of moon" in my "fancy diary display" is shown as:

,----[ Excerpt from Fancy Diary Display ]
| Tuesday, April 24, 2007
| =======================
| First Quarter Moon 2:37am (EDT)
`----

Charles

-- 
printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
        linux-2.6.6/mm/vmalloc.c

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

* Re: diary-phases-of-moon output
  2007-04-24 10:42 ` Charles philip Chan
@ 2007-04-24 17:28   ` Dave Roe
  2007-04-24 17:44     ` Charles philip Chan
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Roe @ 2007-04-24 17:28 UTC (permalink / raw)
  To: help-gnu-emacs

Charles philip Chan <cpchan@sympatico.ca> wrote:
> On 23 Apr 2007, droe@real-time.com wrote:

> > It would be much better if it would tell me the actual phase (e.g.,
> > 'First Quarter Moon 6:17pm (CDT)').  Is there away to do this without
> > editing the source?

> I don't understand what you mean- this is exactly what it does. For
> exampl,e the "phase of moon" in my "fancy diary display" is shown as:

> ,----[ Excerpt from Fancy Diary Display ]
> | Tuesday, April 24, 2007
> | =======================
> | First Quarter Moon 2:37am (EDT)
> `----

I don't get that output;  I just get '%%(diary-phases-of-moon)'.  However,
I'm not using the Fancy Diary Display hook.  Maybe that's my problem.

-- 
Dave Roe		droe@real-time.com

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

* Re: diary-phases-of-moon output
  2007-04-24 17:28   ` Dave Roe
@ 2007-04-24 17:44     ` Charles philip Chan
  2007-04-24 19:55       ` Edward M. Reingold
  0 siblings, 1 reply; 5+ messages in thread
From: Charles philip Chan @ 2007-04-24 17:44 UTC (permalink / raw)
  To: help-gnu-emacs

> I don't get that output; I just get '%%(diary-phases-of-moon)'.
> However, I'm not using the Fancy Diary Display hook.  Maybe that's my
> problem.

   %%(diary-phases-of-moon)

is what you have in your diary file? The  format is wrong, it should be:

   &%%(diary-phases-of-moon)

Charles

-- 
printk("%s: huh ? Who issued this format command ?\n")
        linux-2.6.6/drivers/block/ps2esdi.c

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

* Re: diary-phases-of-moon output
  2007-04-24 17:44     ` Charles philip Chan
@ 2007-04-24 19:55       ` Edward M. Reingold
  0 siblings, 0 replies; 5+ messages in thread
From: Edward M. Reingold @ 2007-04-24 19:55 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "CpC" == Charles philip Chan <cpchan@sympatico.ca> writes:

    >> I don't get that output; I just get '%%(diary-phases-of-moon)'.
    >> However, I'm not using the Fancy Diary Display hook.  Maybe that's my
    >> problem.

Indeed, without the fancy diary display it won't work.

    CpC>    %%(diary-phases-of-moon)

    CpC> is what you have in your diary file? The format is wrong, it should
    CpC> be:

    CpC>    &%%(diary-phases-of-moon)

Wrong--both forms are okay; the `&' means the entry will be non-marking in the
calendar window.

-- 

Professor Edward M. Reingold                Email: reingold@iit.edu
Department of Computer Science              Voice: (312) 567-3309
Illinois Institute of Technology            Fax:   (312) 567-5067
Stuart Building, 228F
10 West 31st Street
Chicago, IL  60616-3729  U.S.A.

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

end of thread, other threads:[~2007-04-24 19:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24  2:38 diary-phases-of-moon output Dave Roe
2007-04-24 10:42 ` Charles philip Chan
2007-04-24 17:28   ` Dave Roe
2007-04-24 17:44     ` Charles philip Chan
2007-04-24 19:55       ` Edward M. Reingold

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