emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Andrew Hyatt <andrew_hyatt@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fix for emacs 23 bug on inserting diary entries
Date: Fri, 25 Jul 2008 00:30:55 -0700	[thread overview]
Message-ID: <52F2698F-9A3E-4AB3-BCE9-42CD8F718F13@uva.nl> (raw)
In-Reply-To: <c8389b600807241854y6dfbc6aetfdcef65ca5fed8cb@mail.gmail.com>

Indeed, thanks a lot.

- Carsten

On Jul 24, 2008, at 6:54 PM, Andrew Hyatt wrote:

> I remember seeing an emacs 23 git branch at some point, but I looked  
> around and cannot locate it anymore.  At any rate, this may be a  
> dup, but in emacs 23 inserting diary entries in the agenda does not  
> work.  Here's the patch to fix it:
>
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index 23cda50..56c7d62 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -5120,7 +5120,7 @@ All the standard commands work: block, weekly  
> etc."
>        (unwind-protect
>           (progn
>             (fset 'calendar-cursor-to-date
> -                 (lambda (&optional error)
> +                 (lambda (&optional error dummy)
>                     (calendar-gregorian-from-absolute
>                      (get-text-property point 'day))))
>               (call-interactively cmd))
> @@ -5307,5 +5307,3 @@ belonging to the \"Work\" category."
>  ;; arch-tag: 77f7565d-7c4b-44af-a2df-9f6f7070cff1
>
>  ;;; org-agenda.el ends here
> -
> -
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-07-25  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25  1:54 Fix for emacs 23 bug on inserting diary entries Andrew Hyatt
2008-07-25  7:30 ` Carsten Dominik [this message]

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=52F2698F-9A3E-4AB3-BCE9-42CD8F718F13@uva.nl \
    --to=dominik@uva.nl \
    --cc=andrew_hyatt@yahoo.com \
    --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).