emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xin Shi <shixin111@gmail.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: Orgmode <emacs-orgmode@gnu.org>
Subject: Re: Org Agenda - revert all agenda files?
Date: Wed, 25 Jul 2012 10:28:11 +0200	[thread overview]
Message-ID: <CAJN7d84OfW56CYzYRQLd0Q5F4NWCiv7SDH89P4MVp7dhGk+rTg@mail.gmail.com> (raw)
In-Reply-To: <1343204294.60780.YahooMailNeo@web29802.mail.ird.yahoo.com>

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

Hi Giovanni,

Thanks for your quick response. You're right that g and r are the same
thing. To reproduce what my problem, one has to change the file not inside
the Emacs of org-mode, such as in a terminal (the senario is that the files
are updated remotely and controlled by VC) . For example, a.org is one of
the agenda files, one can do in terminal:

$ echo "Additional line to test" >> a.org

Then, inside the *Org Agenda* buffer, press "g" or "r" will show:

a.org changed on disk; really edit the buffer? (y, n, r or C-h)

Xin





On Wed, Jul 25, 2012 at 10:18 AM, Giovanni Ridolfi <
giovanni.ridolfi@yahoo.it> wrote:

> Hi, Xin,
>
> Da: Xin Shi <shixin111@gmail.com>
> Inviato: Mercoledì 25 Luglio 2012 10:09
>
>
> > In the *Org Agenda* buffer, I usually use the key "r" to refresh the
> content.
>
> > If some of the agenda files have change from the disk, it will pop up
> the question in the mini-buffer to ask what to do.
>
> > As I choose "r" to revert most of the time, and I have to do several
> times to revert all the related agenda files.
> >I'm wondering if there is a command to revert all agenda files? Or "force
> revert"?
>
> why don't you use "g" ? (ah I've just read it is the same)
>
> however I am not asked what to do both with r and g). Org rebuilts the
> agenda reading from disk.
> Do you have some configuration for asking?
>
> Org-mode version 7.8.11 (eed478ffa @
> GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN
>
>
> cheers,
> Giovanni
>
>

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

  reply	other threads:[~2012-07-25  8:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  8:09 Org Agenda - revert all agenda files? Xin Shi
2012-07-25  8:18 ` Giovanni Ridolfi
2012-07-25  8:28   ` Xin Shi [this message]
2012-07-25 10:52 ` Christer Boräng
2012-07-25 15:39   ` Nick Dokos
2012-07-26  7:27     ` Carsten Dominik
2012-07-26 14:07       ` Nick Dokos
2012-07-26 21:32       ` Carsten Dominik
2012-07-30 11:26         ` Xin Shi

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=CAJN7d84OfW56CYzYRQLd0Q5F4NWCiv7SDH89P4MVp7dhGk+rTg@mail.gmail.com \
    --to=shixin111@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.ridolfi@yahoo.it \
    /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).