all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inserting comments in diary file
@ 2020-12-20  5:34 michael-franzese
  2020-12-20  5:41 ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: michael-franzese @ 2020-12-20  5:34 UTC (permalink / raw)
  To: Help Gnu Emacs

How can one insert comments in diary file




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

* Re: Inserting comments in diary file
  2020-12-20  5:34 Inserting comments in diary file michael-franzese
@ 2020-12-20  5:41 ` Michael Heerdegen
  2020-12-20  5:48   ` michael-franzese
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2020-12-20  5:41 UTC (permalink / raw)
  To: help-gnu-emacs

michael-franzese@gmx.com writes:

> How can one insert comments in diary file

Dunno, but (info "(emacs) Fancy Diary Display") says:

| You can write ‘comments’ in diary entries, by setting the variables
| ‘diary-comment-start’ and ‘diary-comment-end’ to strings that delimit
| comments.

Can you try that?

Michael.




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

* Re: Inserting comments in diary file
  2020-12-20  5:41 ` Michael Heerdegen
@ 2020-12-20  5:48   ` michael-franzese
  2020-12-20  6:03     ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: michael-franzese @ 2020-12-20  5:48 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: help-gnu-emacs

> Sent: Sunday, December 20, 2020 at 11:11 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Inserting comments in diary file
>
> michael-franzese@gmx.com writes:
> 
> > How can one insert comments in diary file
> 
> Dunno, but (info "(emacs) Fancy Diary Display") says:
> 
> | You can write ‘comments’ in diary entries, by setting the variables
> | ‘diary-comment-start’ and ‘diary-comment-end’ to strings that delimit
> | comments.

> Can you try that?

What does that mean? 
> Michael.
> 
> 
>



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

* Re: Inserting comments in diary file
  2020-12-20  5:48   ` michael-franzese
@ 2020-12-20  6:03     ` Michael Heerdegen
  2020-12-20  6:11       ` michael-franzese
  2020-12-20  6:29       ` michael-franzese
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Heerdegen @ 2020-12-20  6:03 UTC (permalink / raw)
  To: help-gnu-emacs

michael-franzese@gmx.com writes:

> > | You can write ‘comments’ in diary entries, by setting the variables
> > | ‘diary-comment-start’ and ‘diary-comment-end’ to strings that delimit
> > | comments.
>
> > Can you try that?
>
> What does that mean? 

That you can e.g.

(setq diary-comment-start "{")
(setq diary-comment-end   "}")

and then everything in a diary file enclosed in {...} should be treated
as a comment.  Does that answer your question?

Michael.




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

* Re: Inserting comments in diary file
  2020-12-20  6:03     ` Michael Heerdegen
@ 2020-12-20  6:11       ` michael-franzese
  2020-12-20  6:29       ` michael-franzese
  1 sibling, 0 replies; 7+ messages in thread
From: michael-franzese @ 2020-12-20  6:11 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: help-gnu-emacs

> Sent: Sunday, December 20, 2020 at 11:33 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Inserting comments in diary file
>
> michael-franzese@gmx.com writes:
> 
> > > | You can write ‘comments’ in diary entries, by setting the variables
> > > | ‘diary-comment-start’ and ‘diary-comment-end’ to strings that delimit
> > > | comments.
> >
> > > Can you try that?
> >
> > What does that mean? 
> 
> That you can e.g.
> 
> (setq diary-comment-start "{")
> (setq diary-comment-end   "}")
> 
> and then everything in a diary file enclosed in {...} should be treated
> as a comment.  Does that answer your question?

I can understand that.
 
> Michael.
 
 




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

* Re: Inserting comments in diary file
  2020-12-20  6:03     ` Michael Heerdegen
  2020-12-20  6:11       ` michael-franzese
@ 2020-12-20  6:29       ` michael-franzese
  2020-12-20  6:57         ` Michael Heerdegen
  1 sibling, 1 reply; 7+ messages in thread
From: michael-franzese @ 2020-12-20  6:29 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: help-gnu-emacs

I have found this command that uses the warning colour.  Can one use other colours
for block entries?

%%(diary-lunar-phases 'warning)




> Sent: Sunday, December 20, 2020 at 11:33 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Inserting comments in diary file
>
> michael-franzese@gmx.com writes:
> 
> > > | You can write ‘comments’ in diary entries, by setting the variables
> > > | ‘diary-comment-start’ and ‘diary-comment-end’ to strings that delimit
> > > | comments.
> >
> > > Can you try that?
> >
> > What does that mean? 
> 
> That you can e.g.
> 
> (setq diary-comment-start "{")
> (setq diary-comment-end   "}")
> 
> and then everything in a diary file enclosed in {...} should be treated
> as a comment.  Does that answer your question?
> 
> Michael.
> 
> 
>



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

* Re: Inserting comments in diary file
  2020-12-20  6:29       ` michael-franzese
@ 2020-12-20  6:57         ` Michael Heerdegen
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Heerdegen @ 2020-12-20  6:57 UTC (permalink / raw)
  To: help-gnu-emacs

michael-franzese@gmx.com writes:

> I have found this command that uses the warning colour.  Can one use
> other colours
> for block entries?
>
> %%(diary-lunar-phases 'warning)

You should be able to specify a (different) face as last argument to
`diary-block' just as for `(diary-lunar-phases 'warning)' above.

Michael.




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

end of thread, other threads:[~2020-12-20  6:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-20  5:34 Inserting comments in diary file michael-franzese
2020-12-20  5:41 ` Michael Heerdegen
2020-12-20  5:48   ` michael-franzese
2020-12-20  6:03     ` Michael Heerdegen
2020-12-20  6:11       ` michael-franzese
2020-12-20  6:29       ` michael-franzese
2020-12-20  6:57         ` Michael Heerdegen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.