emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wanrong Lin <wanrong.lin@gmail.com>
To: org-mode list <emacs-orgmode@gnu.org>
Subject: Bug: with %%(org-diary) in .diary file, org-mode-hook is not called
Date: Tue, 04 Mar 2008 20:55:25 -0500	[thread overview]
Message-ID: <47CDFD8D.1060600@gmail.com> (raw)

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

             reply	other threads:[~2008-03-05  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05  1:55 Wanrong Lin [this message]
2008-03-05  5:33 ` Bug: with %%(org-diary) in .diary file, org-mode-hook is not called Carsten Dominik
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

  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=47CDFD8D.1060600@gmail.com \
    --to=wanrong.lin@gmail.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).