all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: emacs-org <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87390pjf02.fsf@gmx.ch> (raw)
In-Reply-To: <87d2zxv86n.fsf@gmx.ch> (Sven Bretfeld's message of "1 Nov 2012 13:06:40 +0100")

"Sven Bretfeld" <sven.bretfeld@gmx.ch> 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.

  reply	other threads:[~2012-11-04 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 12:06 [Bug] Strange behavior of property-search and org-tags-view Sven Bretfeld
2012-11-04 20:21 ` Sven Bretfeld [this message]
2012-12-25  4:08   ` [Bug] Bug in org-depend, was: " Bastien
2012-12-29  9:26     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87390pjf02.fsf@gmx.ch \
    --to=sven.bretfeld@gmx.ch \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.