all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lawrence Mitchell <wence@gmx.li>
To: emacs-devel@gnu.org
Subject: Re: calendar problem: week number
Date: Fri, 08 Aug 2008 16:17:03 +0100	[thread overview]
Message-ID: <?fnord?y3h6r68z1qq8.fsf@ID-97657.user.individual.net> (raw)
In-Reply-To: 20080808.164334.228744253.wl@gnu.org

Werner LEMBERG wrote:
>>> Companies in German are used to refer to the `Kalenderwoche' (the
>>> current number of the week counted from the beginning of the
>>> year).  For example, this week is the 32nd week.  Can I configure
>>> `calendar' to make it display, eg., like in the attached image?  I
>>> haven't found a hint in the info file.

>> I use this custom code to do that: [...]

> Thanks, but helps a bit but it is not what I really want -- in most
> cases you don't need the current week number but a values of a
> completely different week number.

> Maybe this can be added somehow to calendar.

It turns out it is, after Ed pointed out that my idea of adding
something to calendar-generate-month may not work, I had another
look to see if I had in fact broken things.  It turns out Glenn
Morris has recently (Jun 26th) implemented more flexible calendar
printing: removing magic numbers and the like.

Anyway, to get iso week numbers in the calendar view, just modify
`calendar-intermonth-text' as suggested in its docstring.  This
is in NEWS, but not yet in the info file, I believe.

Cheers,
Lawrence
-- 
Lawrence Mitchell <wence@gmx.li>





  parent reply	other threads:[~2008-08-08 15:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07  9:15 calendar problem: week number Werner LEMBERG
2008-08-07  9:38 ` Tassilo Horn
2008-08-07 14:49   ` Ed Reingold
2008-08-08 14:43   ` Werner LEMBERG
2008-08-08 14:54     ` Werner LEMBERG
2008-08-08 15:17     ` Lawrence Mitchell [this message]
2008-08-07 10:03 ` tomas
2008-08-07 10:34   ` Werner LEMBERG
2008-08-07 11:40 ` Lawrence Mitchell
2008-08-07 11:58   ` Ed Reingold
2008-08-07 12:59     ` Lawrence Mitchell

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

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

  git send-email \
    --in-reply-to='?fnord?y3h6r68z1qq8.fsf@ID-97657.user.individual.net' \
    --to=wence@gmx.li \
    --cc=emacs-devel@gnu.org \
    /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.
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.