From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org, Noorul Islam K M <noorul@noorul.com>
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 09:27:27 -0500 [thread overview]
Message-ID: <8739ord2r4.fsf@norang.ca> (raw)
In-Reply-To: <87k4i7gz5a.fsf@norang.ca> (Bernt Hansen's message of "Fri, 14 Jan 2011 12:42:41 -0500")
Bernt Hansen <bernt@norang.ca> writes:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Jan 14, 2011, at 5:03 PM, Bernt Hansen wrote:
>>
>>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>>
>>>> On Dec 22, 2010, at 1:29 PM, Bernt Hansen wrote:
>>>>
>>>>> Noorul Islam K M <noorul@noorul.com> writes:
>>>>>
>>>>>> Bernt Hansen <bernt@norang.ca> 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
next prev parent reply other threads:[~2011-01-17 14:27 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 4:09 Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)] Bernt Hansen
2010-12-22 7:03 ` Noorul Islam K M
2010-12-22 12:29 ` Bernt Hansen
2011-01-14 12:34 ` Carsten Dominik
2011-01-14 16:03 ` Bernt Hansen
2011-01-14 17:29 ` Carsten Dominik
2011-01-14 17:42 ` Bernt Hansen
2011-01-17 14:27 ` Bernt Hansen [this message]
2011-01-17 14:39 ` Carsten Dominik
2011-01-17 15:08 ` Julien Danjou
2011-01-17 16:34 ` Julien Danjou
2011-01-17 16:43 ` Carsten Dominik
2011-01-17 16:46 ` Julien Danjou
2011-01-18 9:43 ` Carsten Dominik
2011-01-18 10:00 ` Julien Danjou
2011-01-18 10:15 ` Carsten Dominik
2011-01-17 16:47 ` Bernt Hansen
2011-01-17 16:54 ` Julien Danjou
2011-01-17 17:00 ` Bernt Hansen
2011-01-17 17:04 ` Julien Danjou
2011-01-17 17:01 ` Carsten Dominik
2011-01-17 17:11 ` Julien Danjou
2011-01-17 17:14 ` Bernt Hansen
2011-01-17 18:27 ` [Accepted] " Bastien Guerry
2011-01-28 15:18 ` Julien Danjou
2011-01-28 15:43 ` Giovanni Ridolfi
2011-01-28 16:10 ` Julien Danjou
2011-02-01 11:52 ` Bastien
2011-02-01 11:52 ` [Accepted] " Bastien Guerry
2011-02-05 1:20 ` Matt Lundin
2011-02-05 8:56 ` Julien Danjou
2011-02-07 11:39 ` Julien Danjou
2011-02-08 17:05 ` [Accepted] " Bastien Guerry
2011-02-09 16:37 ` Bastien
2011-02-10 9:20 ` Carsten Dominik
2011-02-10 10:51 ` Julien Danjou
2011-02-10 11:50 ` Carsten Dominik
2011-02-10 12:00 ` Julien Danjou
2011-02-10 14:35 ` Bastien
2011-02-10 21:21 ` Michael Brand
2011-02-17 13:57 ` Carsten Dominik
2011-02-17 14:43 ` Bastien
2011-02-18 14:19 ` Bastien
2011-02-18 14:46 ` Gábor Melis
2011-02-18 16:42 ` Carsten Dominik
2011-02-19 9:36 ` Bastien
2011-02-10 11:18 ` Michael Brand
2011-02-10 11:55 ` Carsten Dominik
2011-02-24 14:38 ` Matt Lundin
2011-02-24 15:01 ` Matt Lundin
2011-02-25 0:11 ` Bastien
2011-02-25 0:15 ` Bastien
2011-03-06 15:40 ` Bastien
2011-03-06 16:47 ` Michael Brand
2011-03-06 17:15 ` Bastien
2011-03-06 18:26 ` Michael Brand
2011-03-06 18:35 ` Bastien
2011-03-07 18:26 ` Matt Lundin
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=8739ord2r4.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=noorul@noorul.com \
/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).