From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug with org-agenda-span & org-agenda-start-day Date: Mon, 27 Aug 2012 18:28:34 +0200 Message-ID: <87harofgel.fsf@altern.org> References: <87ehmw5x0f.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T62Aq-0003xB-LA for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 12:28:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T62Ap-0001Ke-7M for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 12:28:24 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:53918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T62Ap-0001KZ-19 for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 12:28:23 -0400 Received: by wibhn17 with SMTP id hn17so2826163wib.12 for ; Mon, 27 Aug 2012 09:28:22 -0700 (PDT) In-Reply-To: (Charles Philip Chan's message of "Fri, 24 Aug 2012 18:32:32 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Charles Philip Chan Cc: Org-mode Hi Charles, Charles Philip Chan writes: > Bastien writes: > > Hi Bastien: > >> I'm not sure to understand what is wrong and how org-agenda-span is >> involved in the problem. > > OK, I will explain in more detail. I have set org-agenda-start-day to > "+1d" in the block. If I set "org-agenda-span" to anything but "7" (for > example "6" or "8"), the resulting agenda view is correct and the start > day is tomorrow (and span the number of days I specified). However, if I > set org-agenda-span to "7", the resulting agenda view does not start > tomorrow, but the Sunday of the current week. You need to add (org-agenda-start-on-weekday nil) to the list of properties for this agenda view. See the docstring of `org-agenda-start-on-weekday' for details. HTH, -- Bastien