From: Carsten Dominik <dominik@science.uva.nl>
To: Wanrong Lin <wanrong.lin@gmail.com>
Cc: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Bug: with %%(org-diary) in .diary file, org-mode-hook is not called
Date: Wed, 5 Mar 2008 06:33:23 +0100 [thread overview]
Message-ID: <B7C371C5-2EEB-4304-8E7A-5C2B68797E73@science.uva.nl> (raw)
In-Reply-To: <47CDFD8D.1060600@gmail.com>
Hi Wanrong,
this is strange and should not happen.
Do you call the diary in your ,emacs before setting up org-mode-hook?
- Carsten
On Mar 5, 2008, at 2:55 AM, Wanrong Lin wrote:
> Hi,
>
> I was trying Bastien's suggestion for marking dates in calendar, so
> I put this into my .diary file:
>
> &%%(org-diary)
>
>
> What I found is after I launch emacs, all my org-agenda files are
> already open, but my org-mode-hook function was not called, so my
> key bindings and other stuff was not set up properly. I need to
> close the org file and open it again to have my org-mode-hook
> function called.
>
> I remember I reported a similar bug before, and Carsten fixed it by
> closing those opened files after scanning all org-agenda files for
> appointments. Maybe we can fix it the same way? Thanks.
>
> Wanrong
>
>
>
>
>
> _______________________________________________
> 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
next prev parent reply other threads:[~2008-03-05 5:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 1:55 Bug: with %%(org-diary) in .diary file, org-mode-hook is not called Wanrong Lin
2008-03-05 5:33 ` Carsten Dominik [this message]
2008-03-05 15:13 ` Wanrong Lin
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=B7C371C5-2EEB-4304-8E7A-5C2B68797E73@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=wanrong.lin@gmail.com \
/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.