unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: reingold@emr.cs.iit.edu (Edward M. Reingold)
Subject: Re: diary sexp
Date: 19 Nov 2006 12:09:21 -0600	[thread overview]
Message-ID: <85d57je2b2.fsf@emr.cs.iit.edu> (raw)
In-Reply-To: mailman.835.1163951254.2155.help-gnu-emacs@gnu.org

>>>>> "RK" == Raimund Kohl-Fuechsle <Raimund.Kohl@nabuli.de> writes:

    RK> %%(diary-float '(11 12 1 2 3 4 5 6 7 8 9 10) 4 1) "The Easy Way
    RK> Discourses", Mannheim
    RK> BUT: I would like to have Emacs telling me the Discourse number ...
    RK> something like
    RK> "The Easy Way Discourses", No 3, Mannheim
    RK> Number 1 started in Nov, no. 2 will take place in Dec and so on.  How
    RK> can I do this?

This will be very messy; you need to rewrite diary-float, a fairly complicated
function.  The problem is that you need to get the particluar month for which
the diary entry applies, something acessible only deep in the internals of
diary-float.  If this is a one-time need, I'd suggest simply writing the diary
entries manually.  If this is a general need, you'll have to go digging in the
into the code for diary-float.

-- 

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

       reply	other threads:[~2006-11-19 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.835.1163951254.2155.help-gnu-emacs@gnu.org>
2006-11-19 18:09 ` Edward M. Reingold [this message]
2006-11-19 15:47 diary sexp Raimund Kohl-Fuechsle
2006-11-19 16:16 ` Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85d57je2b2.fsf@emr.cs.iit.edu \
    --to=reingold@emr.cs.iit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).