emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
@ 2013-08-14  5:44 Xavier Maillard
  2013-08-14  6:07 ` noreply
  2013-08-14 14:31 ` Nick Dokos
  0 siblings, 2 replies; 7+ messages in thread
From: Xavier Maillard @ 2013-08-14  5:44 UTC (permalink / raw)
  To: emacs-orgmode

Hello again,

With my copy of orgmode, pressing g in the Agenda View does not behave
as I would have expected it.

Here is the docstring:

--8<---------------cut here---------------start------------->8---
g runs the command org-agenda-redo, which is an interactive compiled
Lisp function in `org-agenda.el'.

It is bound to g, <menu-bar> <Agenda> <Rebuild buffer>.

(org-agenda-redo &optional ALL)

Rebuild possibly ALL agenda view(s) in the current buffer.
--8<---------------cut here---------------end--------------->8---

Though it effectively does something, it does not really refresh my
agenda view since, as of the date of today (Wednesday 14th), it is stuck
to yesterday...

What can I do to debug this ?

Additional informations:
1. GNU emacs 24.3.1
2. org-mode from Git (dunno how to give you its version though)

Thank you

Xavier

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
  2013-08-14  5:44 [AGENDA VIEW] Isn't g supposed to refresh agenda views ? Xavier Maillard
@ 2013-08-14  6:07 ` noreply
  2013-08-14 14:31 ` Nick Dokos
  1 sibling, 0 replies; 7+ messages in thread
From: noreply @ 2013-08-14  6:07 UTC (permalink / raw)
  To: emacs-orgmode

Xavier Maillard <xavier <at> maillard.im> writes:

> Additional informations:
> 1. GNU emacs 24.3.1
> 2. org-mode from Git (dunno how to give you its version though)

This happens on 3 differents OS: Mac OS X 10.8, Cygwin on MS 7 and Slackware
GNU/linux 13.37 (same GNU emacs and orgmode versions though).

Regards

Xavier

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
  2013-08-14  5:44 [AGENDA VIEW] Isn't g supposed to refresh agenda views ? Xavier Maillard
  2013-08-14  6:07 ` noreply
@ 2013-08-14 14:31 ` Nick Dokos
  2013-08-14 18:09   ` Jonathan Leech-Pepin
  1 sibling, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2013-08-14 14:31 UTC (permalink / raw)
  To: emacs-orgmode

"Xavier Maillard" <xavier@maillard.im> writes:

> Hello again,
>
> With my copy of orgmode, pressing g in the Agenda View does not behave
> as I would have expected it.
>
> Here is the docstring:
>
> g runs the command org-agenda-redo, which is an interactive compiled
> Lisp function in `org-agenda.el'.
>
> It is bound to g, <menu-bar> <Agenda> <Rebuild buffer>.
>
> (org-agenda-redo &optional ALL)
>
> Rebuild possibly ALL agenda view(s) in the current buffer.
>
> Though it effectively does something, it does not really refresh my
> agenda view since, as of the date of today (Wednesday 14th), it is stuck
> to yesterday...
>

I've never tried leaving an agenda buffer open overnight and refresh it
in the morning: if I remember, I'll try it tonight and see what happens
(I could simulate the whole thing right now but no time).

> What can I do to debug this ?

You should probably check the variables whose names start with
``org-agenda-start-...'' to make sure that they have not been
inadvertently modified incorrectly, particularly
org-agenda-start-on-weekday.

What I would do is run edebug on org-agenda-redo and make sure it is
executed, but assuming that it is, it sounds like it is making the
implicit assumption that the agenda was created today. You can always
quit the agenda buffer and recreate it: that should work.

>
> Additional informations:
> 1. GNU emacs 24.3.1
> 2. org-mode from Git (dunno how to give you its version though)
>

M-x org-version RET

-- 
Nick

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
  2013-08-14 14:31 ` Nick Dokos
@ 2013-08-14 18:09   ` Jonathan Leech-Pepin
  2013-08-14 21:02     ` Nick Dokos
  2013-08-15 21:23     ` noreply
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Leech-Pepin @ 2013-08-14 18:09 UTC (permalink / raw)
  To: Nick Dokos; +Cc: Org Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

Hello,

On Aug 14, 2013 10:32 AM, "Nick Dokos" <ndokos@gmail.com> wrote:
>
> "Xavier Maillard" <xavier@maillard.im> writes:
>
> > Hello again,
> >
> > With my copy of orgmode, pressing g in the Agenda View does not behave
> > as I would have expected it.
> >
> > Here is the docstring:
> >
> > g runs the command org-agenda-redo, which is an interactive compiled
> > Lisp function in `org-agenda.el'.
> >
> > It is bound to g, <menu-bar> <Agenda> <Rebuild buffer>.
> >
> > (org-agenda-redo &optional ALL)
> >
> > Rebuild possibly ALL agenda view(s) in the current buffer.
> >
> > Though it effectively does something, it does not really refresh my
> > agenda view since, as of the date of today (Wednesday 14th), it is stuck
> > to yesterday...
> >
>
> I've never tried leaving an agenda buffer open overnight and refresh it
> in the morning: if I remember, I'll try it tonight and see what happens
> (I could simulate the whole thing right now but no time).
>

I  have, it maintains the old date as current for the agenda view.  I dint
see this as a problem however since the agenda can look at any arbitrary
date, not just "today".  Changing the date to today by hitting "." should
update the agenda view appropriately.

If you manually change the date by moving forward or backward, or by
changing the range from day to week to month it will refresh based on those
settings, but the ones used to create the agenda initially.

Regards,

Jonathan
> > What can I do to debug this ?
>
> You should probably check the variables whose names start with
> ``org-agenda-start-...'' to make sure that they have not been
> inadvertently modified incorrectly, particularly
> org-agenda-start-on-weekday.
>
> What I would do is run edebug on org-agenda-redo and make sure it is
> executed, but assuming that it is, it sounds like it is making the
> implicit assumption that the agenda was created today. You can always
> quit the agenda buffer and recreate it: that should work.
>
> >
> > Additional informations:
> > 1. GNU emacs 24.3.1
> > 2. org-mode from Git (dunno how to give you its version though)
> >
>
> M-x org-version RET
>
> --
> Nick
>
>

[-- Attachment #2: Type: text/html, Size: 2924 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
  2013-08-14 18:09   ` Jonathan Leech-Pepin
@ 2013-08-14 21:02     ` Nick Dokos
  2013-08-15 21:23     ` noreply
  1 sibling, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2013-08-14 21:02 UTC (permalink / raw)
  To: emacs-orgmode

Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> writes:

>> I've never tried leaving an agenda buffer open overnight and refresh it
>> in the morning: if I remember, I'll try it tonight and see what happens
>> (I could simulate the whole thing right now but no time).
>>
>
> I have, it maintains the old date as current for the agenda view. I
> dint see this as a problem however since the agenda can look at any
> arbitrary date, not just "today". Changing the date to today by
> hitting "." should update the agenda view appropriately.
>

Great, thanks for letting us know!

-- 
Nick

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
  2013-08-14 18:09   ` Jonathan Leech-Pepin
  2013-08-14 21:02     ` Nick Dokos
@ 2013-08-15 21:23     ` noreply
  2013-08-30 15:08       ` Carsten Dominik
  1 sibling, 1 reply; 7+ messages in thread
From: noreply @ 2013-08-15 21:23 UTC (permalink / raw)
  To: emacs-orgmode

Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> writes:

>> > Though it effectively does something, it does not really refresh
> my
>> > agenda view since, as of the date of today (Wednesday 14th), it is
> stuck
>> > to yesterday...
>> >
>>
>> I've never tried leaving an agenda buffer open overnight and refresh
> it
>> in the morning: if I remember, I'll try it tonight and see what
> happens
>> (I could simulate the whole thing right now but no time).
>>
>
> I have, it maintains the old date as current for the agenda view. I
> dint see this as a problem however since the agenda can look at any
> arbitrary date, not just "today". Changing the date to today by
> hitting "." should update the agenda view appropriately.

Great ! I should have read C-h m more closely ;)

Thank you
-- 
XMA

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
  2013-08-15 21:23     ` noreply
@ 2013-08-30 15:08       ` Carsten Dominik
  0 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2013-08-30 15:08 UTC (permalink / raw)
  To: noreply; +Cc: emacs-orgmode


On 15.8.2013, at 23:23, noreply@maillard.im wrote:

> Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> writes:
> 
>>>> Though it effectively does something, it does not really refresh
>> my
>>>> agenda view since, as of the date of today (Wednesday 14th), it is
>> stuck
>>>> to yesterday...
>>>> 
>>> 
>>> I've never tried leaving an agenda buffer open overnight and refresh
>> it
>>> in the morning: if I remember, I'll try it tonight and see what
>> happens
>>> (I could simulate the whole thing right now but no time).
>>> 
>> 
>> I have, it maintains the old date as current for the agenda view. I
>> dint see this as a problem however since the agenda can look at any
>> arbitrary date, not just "today". Changing the date to today by
>> hitting "." should update the agenda view appropriately.

Indeed.  It is on purpose that the agenda sticks to the same day, because you might be looking at a past date and you would not want to shift this one either at midnight. ".", or exiting the agenda with "x" and rebuilding it are the solutions.

- Carsten

> 
> Great ! I should have read C-h m more closely ;)
> 
> Thank you
> -- 
> XMA
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-30 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14  5:44 [AGENDA VIEW] Isn't g supposed to refresh agenda views ? Xavier Maillard
2013-08-14  6:07 ` noreply
2013-08-14 14:31 ` Nick Dokos
2013-08-14 18:09   ` Jonathan Leech-Pepin
2013-08-14 21:02     ` Nick Dokos
2013-08-15 21:23     ` noreply
2013-08-30 15:08       ` Carsten Dominik

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).