From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sven Bretfeld" Subject: Re: [Bug] Bug in org-depend, was: Strange behavior of property-search and org-tags-view Date: 4 Nov 2012 21:21:33 +0100 Message-ID: <87390pjf02.fsf@gmx.ch> References: <87d2zxv86n.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV6hO-0002So-Sj for emacs-orgmode@gnu.org; Sun, 04 Nov 2012 15:21:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TV6hN-0003y6-HN for emacs-orgmode@gnu.org; Sun, 04 Nov 2012 15:21:38 -0500 Received: from mi.ruhr-uni-bochum.de ([134.147.64.33]:49959 helo=mx5.rz.ruhr-uni-bochum.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TV6hN-0003xs-8t for emacs-orgmode@gnu.org; Sun, 04 Nov 2012 15:21:37 -0500 In-Reply-To: <87d2zxv86n.fsf@gmx.ch> (Sven Bretfeld's message of "1 Nov 2012 13:06:40 +0100") 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: emacs-org "Sven Bretfeld" writes: > Whenever I do a property-search (C-a / p) or an org-tags-view, some > org-buffers are touched and need to be saved again, i.e. they display > the ** flag in the status line and in Ibuffer. > > It is always the same three files, that seemingly have changed (in fact, > they didn't change at all). They all belong to my org-agenda-files but > this contains many other files too, which remain unchanged. So, there > are two wired miracles involved: > > 1. What makes these three files so specially vulnerable? > 2. Why does any file (apparently) "change" at all by a search operation? > > I'm using Emacs 23.3.1 under Ubuntu 11.10 and org-mode 7.8.03 of the > sticky branch. Hi It took me a good hour to find the package that produced the problem. It's org-depend. I narrowed down my .emacs to a minimum: (add-to-list 'load-path "~/elisp/org") (add-to-list 'load-path "~/elisp/org/lisp") (require 'org-install) (add-to-list 'load-path "~/elisp/org/contrib/lisp") (require 'org-depend) (setq org-agenda-files (list "~/myconf/mygtd.org" "~/myconf/googlecalendar.org" "~/myconf/from-mobile.org" "~/myconf/diary.org" "~/aktuell/orthodoxy/hab-diary.org")) (global-set-key "\C-ca" 'org-agenda) When I comment out the fifth line (require 'org-depend), everything is fine. With org-depend loaded, a "org-tags-view keywords={Something}" affects the buffers of some of the open org-agenda-files. I still don't know why only some files are affected. It happens only if actually some matches are found by the query. But it's not only the corresponding files which are corrupted. So, I think org-depend needs some revision. It's a useful package, but this bug is annoying. Sven P.S. I had updated to the latest stable version of orgmode, so it's not an obsolete bug.