emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marc Ihm <marc@ihm.name>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: BUG (?): org capture insist *.org file changed in disk, wipes file each time
Date: Thu, 06 Jun 2013 20:51:53 +0200	[thread overview]
Message-ID: <51B0DA49.8040205@ihm.name> (raw)
In-Reply-To: <CAOQHXPps-e0PmOgC8A4+nPj=KXrfeX6nw+CS13xiaUE97xCMjw@mail.gmail.com>

Hi Z.

Sorry, but cannot think of a proper cause of your troubles other than dropbox.

I do not use dropbox, but only rsync for synchronisation. I get the same message that you get now and then, but each time I get it,
it is because I did synchronisation of my org-files from external sources, while emacs is still open.

So can only suspect, that your trouble comes from bad interaction with dropbox.

But as you said, you have already tried without, so it can only be very hidden and obscure.

Does this happen without a network connection ?


Best regards, Marc


On 06/05/2013 05:18 PM, Xebar Saram wrote:
> Hi all
>
> Im having serious issues with org-capture, ive tried everything i can think of including advice on #emacs but can find a solution/whats causing this.
>
> So the issue is this. i have org mode configured and working well (see below config). the thing is that after the 2nd or 3rd capture (to create a todo) emacs gives the following error:
>
> TODO.org changed on disk; really edit the buffer? (y, n, r or C-h) y
> File on disk now will become a backup file if you save these changes.
>
> It happens each time i relaunch emacs/org but never on the first time i capture (that always works). it always happens from 2/3rd time i try to capture.
> I have tired many things with no succes. i have tried it both with org 8.03 and other org that comes with default emacs 24 (from the 7.x series) with no success.
> i have checked carefully that no other app is accessing that file while emacs/org is editing it
> i have moved the todo file and relevant org capture config to other folders (non dropbox/git/etc) and still the same issue occurs
>
> another big issue is that sometime when i press Yes to the above error it wipes the whole todo file and puts only the latest capture
>
> any help would be greatly appreciated
>
> for reference here is my complete emacs conf file (in org mode format): https://paste.xinu.at/p27KN/
>
> and the relevant capture part: https://paste.xinu.at/Autp/
>
> Best
>
> Z.

  reply	other threads:[~2013-06-06 18:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 15:18 BUG (?): org capture insist *.org file changed in disk, wipes file each time Xebar Saram
2013-06-06 18:51 ` Marc Ihm [this message]
2013-06-07 20:29   ` Xebar Saram
2013-07-01 13:42     ` Bastien

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=51B0DA49.8040205@ihm.name \
    --to=marc@ihm.name \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@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).