Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2011-01-14 Thread Carsten Dominik


On Dec 22, 2010, at 1:29 PM, Bernt Hansen wrote:


Noorul Islam K M noo...@noorul.com writes:


Bernt Hansen be...@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.



For me, I have 'J' bound to (org-agenda-clock-goto) by default. I  
think

you are talking about 'j'.


Yes you are correct.  'j' jumps to a date and this is where the  
problem

shows up for me.



Has this been fixed?  Because I cannot reproduce this issue.

- Carsten



-Bernt




I think the span should remain unchanged when moving to a new date.


I think 'j' should not change the span. Or we can have 'C-u j' to  
keep

the span as it is.

Thanks and Regards
Noorul


___
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




___
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


Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2011-01-14 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Dec 22, 2010, at 1:29 PM, Bernt Hansen wrote:

 Noorul Islam K M noo...@noorul.com writes:

 Bernt Hansen be...@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.


 For me, I have 'J' bound to (org-agenda-clock-goto) by default. I
 think
 you are talking about 'j'.

 Yes you are correct.  'j' jumps to a date and this is where the
 problem
 shows up for me.


 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.

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


Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2011-01-14 Thread Carsten Dominik


On Jan 14, 2011, at 5:03 PM, Bernt Hansen wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


On Dec 22, 2010, at 1:29 PM, Bernt Hansen wrote:


Noorul Islam K M noo...@noorul.com writes:


Bernt Hansen be...@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.



For me, I have 'J' bound to (org-agenda-clock-goto) by default. I
think
you are talking about 'j'.


Yes you are correct.  'j' jumps to a date and this is where the
problem
shows up for me.



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



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


Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2011-01-14 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On Jan 14, 2011, at 5:03 PM, Bernt Hansen wrote:

 Carsten Dominik carsten.domi...@gmail.com writes:

 On Dec 22, 2010, at 1:29 PM, Bernt Hansen wrote:

 Noorul Islam K M noo...@noorul.com writes:

 Bernt Hansen be...@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.


 For me, I have 'J' bound to (org-agenda-clock-goto) by default. I
 think
 you are talking about 'j'.

 Yes you are correct.  'j' jumps to a date and this is where the
 problem
 shows up for me.


 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

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


Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Bernt Hansen
Noorul Islam K M noo...@noorul.com writes:

 Bernt Hansen be...@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.


 For me, I have 'J' bound to (org-agenda-clock-goto) by default. I think
 you are talking about 'j'.

Yes you are correct.  'j' jumps to a date and this is where the problem
shows up for me.

-Bernt


 I think the span should remain unchanged when moving to a new date.

 I think 'j' should not change the span. Or we can have 'C-u j' to keep
 the span as it is.

 Thanks and Regards 
 Noorul

___
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


Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2010-12-21 Thread Noorul Islam K M
Bernt Hansen be...@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.


For me, I have 'J' bound to (org-agenda-clock-goto) by default. I think
you are talking about 'j'.

 I think the span should remain unchanged when moving to a new date.

I think 'j' should not change the span. Or we can have 'C-u j' to keep
the span as it is.

Thanks and Regards 
Noorul

___
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