[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function to wrap a string for calendar-modify-diary-entry-string
From: |
ken |
Subject: |
Re: function to wrap a string for calendar-modify-diary-entry-string |
Date: |
Thu, 05 Oct 2006 15:56:06 -0400 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060911) |
Kevin Rodgers wrote:
> ken wrote:
>> ....
>
> ;; ~/emacs.d/calendar-display-alter.el:
> (defun calendar-modify-diary-entry-string (entry-string)
> "Prepend \"TAB *\" and append \". SPC LFD\" to ENTRY-STRING."
> (concat "\t* " entry-string ". \n"))
>
> ;; ~/.emacs:
> (autoload 'calendar-modify-diary-entry-string
> "~/emacs.d/calendar-display-alter") ; or just "calendar-display-alter"
> ; if "~/emacs.d" is in load-path
> (setq diary-modify-entry-list-string-function
> 'calendar-modify-diary-entry-string)
>
Thanks much... even for the criticism... wish I understood it. But
that's okay. It's easier to learn from observing the ways that work
than from the ways that don't. And your code works.
Thanks again.
--
In a time of universal deceit, telling the truth becomes an act of
rebellion.
--George Orwell