emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [AGENDA VIEW] Isn't g supposed to refresh agenda views ?
Date: Wed, 14 Aug 2013 10:31:51 -0400	[thread overview]
Message-ID: <874nasgx7s.fsf@gmail.com> (raw)
In-Reply-To: m0txis968f.fsf@kcals.intra.maillard.im

"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

  parent reply	other threads:[~2013-08-14 14:32 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 [this message]
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

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=874nasgx7s.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).