From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)] Date: Mon, 17 Jan 2011 15:39:10 +0100 Message-ID: <97009C4F-F6B7-4C54-BF3C-B3DE5EF15547@gmail.com> References: <87ei9a30tx.fsf@norang.ca> <87k4j2e1bb.fsf@noorul.maa.corp.collab.net> <87y67i0z5c.fsf@norang.ca> <87zkr3h3qv.fsf@norang.ca> <257A79BB-86AC-43E5-AE9D-132168283FFB@gmail.com> <87k4i7gz5a.fsf@norang.ca> <8739ord2r4.fsf@norang.ca> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=46929 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeqF0-0004ux-Sz for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 09:39:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeqEz-0001eQ-C7 for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 09:39:30 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:33818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeqEz-0001eL-56 for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 09:39:29 -0500 Received: by ewy27 with SMTP id 27so2459671ewy.0 for ; Mon, 17 Jan 2011 06:39:28 -0800 (PST) In-Reply-To: <8739ord2r4.fsf@norang.ca> 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: Julien Danjou , Bernt Hansen Cc: Org Mode , Noorul Islam K M Hi Julien, have you been following this thread? I think this has to do with your rewrite of the dagenda span stuff. Maybe you can find out better and faster that I why this goes wrong? Please read the entire thread. - Carsten On Jan 17, 2011, at 3:27 PM, Bernt Hansen wrote: > Bernt Hansen writes: > >> Carsten Dominik writes: >> >>> On Jan 14, 2011, at 5:03 PM, Bernt Hansen wrote: >>> >>>> Carsten Dominik writes: >>>> >>>>> On Dec 22, 2010, at 1:29 PM, Bernt Hansen wrote: >>>>> >>>>>> Noorul Islam K M writes: >>>>>> >>>>>>> Bernt Hansen writes: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> If you are viewing the agenda with a time span of a week (or >>>>>>>> anything >>>>>>>> larger than a day) and then use 'j' to jump to a new date the >>>>>>>> span >>>>>>>> changes back to day. >>>>>>>> >>>>>>> >>>>> >>>>> >>>>> Has this been fixed? Because I cannot reproduce this issue. >>>>> >>>>> - Carsten >>>> >>>> Hi Carsten, >>>> >>>> No this hasn't been fixed but it is related to some configuration I >>>> have. When I run with a minimal emacs I cannot reproduce it but >>>> when I >>>> run with my regular setup I can. I'll try to narrow down the >>>> cause of >>>> this issue over the weekend. >>> >>> Please do. Thanks >>> >>> - Carsten > > So I thought I would try to 'fix' this the easy way by removing my > customization for org-agenda-ndays but that makes it worse. After > removing the customization and restarting emacs the '.' key in the > agenda goes to Saturday (today is Monday). I have my week starting on > Saturday for the agenda display - when viewing a single day it jumps > to > the first day of the week instead of today. > > I've reinstated my org-agenda-ndays variable setting as shown in the > minimal emacs setup that follows. > > Regards, > Bernt > > >> >> Hi Carsten, >> >> I think I found it. >> >> ,----[ ~/bin/minimal-emacs >> | #!/bin/sh >> | TESTEL= >> | TESTFILE=/tmp/test.el >> | if test -e $TESTFILE >> | then >> | TESTEL="-l /tmp/test.el" >> | fi >> | emacs -q -l ~/minimal.emacs $TESTEL >> `---- >> >> ,----[ ~/minimal.emacs ] >> | (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) >> | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\) >> $" . org-mode)) >> | (require 'org-install) >> | >> | (global-set-key "\C-cl" 'org-store-link) >> | (global-set-key "\C-ca" 'org-agenda) >> | (global-set-key "\C-cb" 'org-iswitchb) >> `---- >> >> ,----[ /tmp/test.el ] >> | (setq org-agenda-ndays 1) >> `---- >> >> $ ~/bin/minimal-emacs >> >> | Keys | Description | >> |----------+---------------------------------| >> | C-c a a | Start agenda (shows today only) | >> | w | Show agenda for the week | >> | j 12 RET | Jump to the 12th of the month | >> >> And we're back to a day view again. Setting 'org-agenda-ndays' to 1 >> seems to be the cause of this issue. >> >> Regards, >> Bernt >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten