Re: [Orgmode] Re: Bug with org-startup-folded?

2007-12-01 Thread Carsten Dominik
On 12/1/07, Wanrong Lin <[EMAIL PROTECTED]> wrote: > > Hi, Carsten, > > Following my last email, I wonder whether you can consider doing one of > these two things in org-mode: > > 1. org-agenda-to-appt does not explicitly open a buffer for every > org-file in the org-agenda-files, or > 2. org-agend

Re: [Orgmode] Re: Bug with org-startup-folded?

2007-12-01 Thread Wanrong Lin
Hi, Carsten, Following my last email, I wonder whether you can consider doing one of these two things in org-mode: 1. org-agenda-to-appt does not explicitly open a buffer for every org-file in the org-agenda-files, or 2. org-agenda-to-appt will honor the global org-startup-folded option. It

Re: [Orgmode] Re: Bug with org-startup-folded?

2007-12-01 Thread Wanrong Lin
Hi, Carsten, After some more trials, I think I found the cause of the problem. I have a line like this in my org configuration: ;; add today's appointment into alert list, every day at 0:30AM (run-at-time "0:30am" (* 24 3600) 'org-agenda-to-appt) I expect with the above, org-agenda-to-appt w

Re: [Orgmode] Re: Bug with org-startup-folded?

2007-11-30 Thread Wanrong Lin
Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: (setq org-agenda-file-regexp "\\.org\\'") (add-to-list 'auto-mode-alist `(,org-agenda-file-regexp . org-mode)) This is weird. Why don't you simply use this: (add-to-list 'auto-mode-alist ("\\.org\\'" . org-mode)) I did my

Re: [Orgmode] Re: Bug with org-startup-folded?

2007-11-30 Thread Bastien
Wanrong Lin <[EMAIL PROTECTED]> writes: > (setq org-agenda-file-regexp "\\.org\\'") > (add-to-list 'auto-mode-alist `(,org-agenda-file-regexp . org-mode)) This is weird. Why don't you simply use this: (add-to-list 'auto-mode-alist ("\\.org\\'" . org-mode)) > By inserting some "message" state

[Orgmode] Re: Bug with org-startup-folded?

2007-11-29 Thread Wanrong Lin
Update on my own investigation/confusion on this problem: I have two lines like this in my org mode configuration (setq org-agenda-file-regexp "\\.org\\'") (add-to-list 'auto-mode-alist `(,org-agenda-file-regexp . org-mode)) By inserting some "message" statements (that is how far I can go on d

[Orgmode] Re: Bug with org-startup-folded?

2007-11-29 Thread Wanrong Lin
Just an update on the problem: I found that if I add the per-file option like this, the "overview" mode is always on when I visit an org file, whether it is the first time or not. #+STARTUP: fold But the global option does not work fully as I described before. Wanrong Wanrong Lin wrote: Hi,