emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
Date: Wed, 14 Aug 2013 14:09:06 -0400	[thread overview]
Message-ID: <CAEWDx5f2_HVKWBqJwg5-LtOvq0E0Z-4ctFWrL2TpETjkRfmX3w@mail.gmail.com> (raw)
In-Reply-To: <874nasgx7s.fsf@gmail.com>

[-- 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 --]

  reply	other threads:[~2013-08-14 18:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-08-14 21:02     ` Nick Dokos
2013-08-15 21:23     ` noreply
2013-08-30 15:08       ` Carsten Dominik

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=CAEWDx5f2_HVKWBqJwg5-LtOvq0E0Z-4ctFWrL2TpETjkRfmX3w@mail.gmail.com \
    --to=jonathan.leechpepin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.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).