all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* diary questions
@ 2005-12-27 10:31 Emabela
  2005-12-27 17:46 ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Emabela @ 2005-12-27 10:31 UTC (permalink / raw)









Hello everybody,





1)

How can I specify that no holidays should be displayed?

That is, no (Chinese or Gregorian) New Year, 

no Easter, no Equinox, no Christmas, etc

Only those, that I specify myself in ~/diary (or in ~/.emacs).



2)

How can I specify the date formats emacs uses in ~/diary?

2a) I would like that if I insert a yearly entry (i y),

then emacs would put an entry into ~/diary like



full-monthname-as-in-calendar-month-name-array  day. THE-IMPORTANT-EVENT-ON
-THIS-DAY



How can I specify this?

Now, emacs inserts an entry like



first-3-letters-of-calendar-month-name-array day THE-IMPORTANT-EVENT-ON-THI
S-DAY



which is misleading, because the first 3 letters of some monthnames

match  the first 3 letters of some daynames...



2b)

How can I change the american format MM DD YYYY used in diary-anniversary t
o

YYYY MM DD?

(And the same in diary-block.)



I use GNU Emacs 21.3.1 and I have 

(setq diary-date-forms '(

  (monthname day)

  (monthname "," day)

  (day "/" month "[^/0-9]")

  (day "/" month "/" year "[^0-9]")

  (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)
")

  (day " *" monthname " *" year "[^0-9]")

  (dayname "\\W")

  (year ". " month ". " day "[.\\(,\\)?]?" )

 )

)

in my .emacs.



Thanks for any help in advance.



Regards, 

B.





--------------------------Hirdetés-----------------------------

INTERNETES NYELVTANULÁS!

Tanulj ANGOLUL, NÉMETÜL kedvezményes áron a Médiabóval! 

3 Féle intenzitás; 3 Szint; Hanganyag CD-k; Ingyenes konzultáció!

http://www.mediabo.hu/akcio/vipmail/jelentkezesi_lap.html

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: diary questions
@ 2005-12-28 12:18 Emabela
  2005-12-28 18:39 ` Kevin Rodgers
  0 siblings, 1 reply; 4+ messages in thread
From: Emabela @ 2005-12-28 12:18 UTC (permalink / raw)







Thank you for your help.



>(setq calendar-holidays nil)

This works perfectly.





>(setq other-holidays '(...))









 > 2a) I would like that if I insert a yearly entry (i y),

 > then emacs would put an entry into ~/diary like

 >

 > full-monthname-as-in-calendar-month-name-array  day. THE-IMPORTANT-EV
ENT-ON

 > -THIS-DAY





> You can't, because the insert-*-diary-entry commands all explicitly

> specify a non-nil ABBREVIATE argument when they call

> calendar-date-string, e.g.



> (make-diary-entry (calendar-date-string (calendar-cursor-to-date t) t)

> arg)

Perhaps in the next/cvs version?







> 2b)

> How can I change the american format MM DD YYYY used in 

> diary-anniversary to

>

> YYYY MM DD?





> I've no idea.  diary-anniversary is unreadable, with all its free refe
rences

> to dynamically bound variables.



There must be a solution for this, because

(european-calendar) changes this from MM DD YYYY to DD MM YYYY,

according to the documentation.





Thanks for your help.



Regards,

B.





--------------------------Hirdetés-----------------------------

INTERNETES NYELVTANULÁS!

Tanulj ANGOLUL, NÉMETÜL kedvezményes áron a Médiabóval! 

3 Féle intenzitás; 3 Szint; Hanganyag CD-k; Ingyenes konzultáció!

http://www.mediabo.hu/akcio/vipmail/jelentkezesi_lap.html

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

end of thread, other threads:[~2005-12-28 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-27 10:31 diary questions Emabela
2005-12-27 17:46 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2005-12-28 12:18 Emabela
2005-12-28 18:39 ` Kevin Rodgers

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.