From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: Org Agenda - revert all agenda files? Date: Wed, 25 Jul 2012 10:28:11 +0200 Message-ID: References: <1343204294.60780.YahooMailNeo@web29802.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f5028be37449804c5a344a0 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Stwxa-0001dt-Rf for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 04:28:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StwxW-0002OZ-FL for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 04:28:46 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:34697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StwxW-0002OL-Ar for emacs-orgmode@gnu.org; Wed, 25 Jul 2012 04:28:42 -0400 Received: by obhx4 with SMTP id x4so945664obh.0 for ; Wed, 25 Jul 2012 01:28:41 -0700 (PDT) In-Reply-To: <1343204294.60780.YahooMailNeo@web29802.mail.ird.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: Orgmode --e89a8f5028be37449804c5a344a0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 > Inviato: Mercoled=EC 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 "forc= e > 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 > > --e89a8f5028be37449804c5a344a0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Giovanni,

Thanks for your quick response. = You're right that g and r are the same thing. To reproduce what my prob= lem, one has to change the file not inside the Emacs of org-mode, such as i= n a terminal (the senario is that the files are updated remotely and=A0cont= rolled=A0by 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:=A0

a.org=A0changed on disk; r= eally edit the buffer? (y, n, r or C-h)=A0

Xin





On Wed, Jul 25, 2012 at 10:18 AM, Giovanni Ridolfi <giovanni.ridol= fi@yahoo.it> wrote:
Hi, Xin,

Da: Xin Shi <shixin111@gmail.com<= /a>>
Inviato: Mercoled=EC 25 Luglio 2012 10:09


> In the *Org Agenda* buffer, I usually use the key "r" to ref= resh 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"?=A0

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 agen= da 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


--e89a8f5028be37449804c5a344a0--