From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Carsten Dominik" Subject: Re: Re: Bug with org-startup-folded? Date: Sun, 2 Dec 2007 01:23:20 +0100 Message-ID: References: <474D8FA4.6000703@gmail.com> <474EDB33.2080008@gmail.com> <474F40AD.6090002@gmail.com> <8763zjly2f.fsf@bzg.ath.cx> <47507A20.8050600@gmail.com> <4751E42D.5000200@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyccG-0005AC-Ah for emacs-orgmode@gnu.org; Sat, 01 Dec 2007 19:23:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyccE-00057c-UO for emacs-orgmode@gnu.org; Sat, 01 Dec 2007 19:23:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyccE-00057Q-NS for emacs-orgmode@gnu.org; Sat, 01 Dec 2007 19:23:22 -0500 Received: from wa-out-1112.google.com ([209.85.146.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyccE-0005N1-BC for emacs-orgmode@gnu.org; Sat, 01 Dec 2007 19:23:22 -0500 Received: by wa-out-1112.google.com with SMTP id k34so3984934wah for ; Sat, 01 Dec 2007 16:23:20 -0800 (PST) In-Reply-To: <4751E42D.5000200@gmail.com> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Wanrong Lin Cc: emacs-orgmode@gnu.org On 12/1/07, Wanrong Lin 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-agenda-to-appt will honor the global org-startup-folded option. > It seems the buffers opened by org-agenda-to-appt does honor the folding > settings in the "#STARTUP" per file option. So I think it is natural and > consistent for org-agenda-to-appt to honor the global options too when > opening org-mode files. > > Thank you for giving it a thought. Thanks for your correct analysis, and sorry that this misbehavior has cost you a lot of time. org-agenda-to-appt calls org-agenda-get-day-entries, and this function indeed loads the buffers with folding turned of. I wrote this function long ago, so I am not sure exactly why that is. I will follow up and fix this problem in the next release. Thanks for being persistant in tracking this down. - Carsten