emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mah@everybody.org (Mark A. Hershberger)
To: emacs-devel@gnu.org
Cc: emacs-orgmode@gnu.org
Subject: org mode, cvs emacs, and calendar.el
Date: Sat, 24 Nov 2007 15:11:46 -0500	[thread overview]
Message-ID: <871wafv1x9.fsf@everybody.org> (raw)


Putting 

    %%(org-calendar-holiday)

in my todo.org (as suggested on John Wiegley's howto) results in several
annoying “Bad sexp at line …” because org-calendar-holiday calls the
obsolete check-calendar-holidays.

One way to fix this is to copy the define-obsolete-function-alias
statements from the end of holidays.el to diary-lib.el.  This would help
other code that requires diary-lib expecting check-calendar-holidays to
be defined.

The other is to add a (require ‘holidays) to the org-calendar-holiday
function.  This would allow org.el to continue to work with CVS as well
as released versions of emacs.

Advice?

-- 
http://hexmode.com/
GPG Fingerprint: 7E15 362D A32C DFAB E4D2  B37A 735E F10A 2DFC BFF5

The most beautiful experience we can have is the mysterious.
    -- Albert Einstein, The World As I See it

             reply	other threads:[~2007-11-24 20:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24 20:11 Mark A. Hershberger [this message]
2007-11-25  3:04 ` org mode, cvs emacs, and calendar.el Glenn Morris
2007-11-25  6:37   ` [Orgmode] " Carsten Dominik
2007-11-25  3:42 ` Richard Stallman

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.orgmode.org/

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

  git send-email \
    --in-reply-to=871wafv1x9.fsf@everybody.org \
    --to=mah@everybody.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-orgmode@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 public inbox

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

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).