From: Mirko Vukovic <Mirko.vukovic@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org copied a few files to ~/.org-timestamps
Date: Wed, 15 Jun 2016 15:58:49 +0000 (UTC) [thread overview]
Message-ID: <loom.20160615T175548-521@post.gmane.org> (raw)
In-Reply-To: loom.20160615T172427-872@post.gmane.org
Mirko Vukovic <Mirko.vukovic <at> gmail.com> writes:
>
> Hello,
>
> (org 8.3.4 on Emacs 24.4.1 on Windows 7)
>
> Some of my org-files are ending up in ~/.org-timestamps.
>
> For example, the file ~/org/general.org also has a copy on ~/.org-
> timestamps. This copy was generated a few days ago.
>
> Any thoughts on why that would happen?
>
> Thanks,
>
> Mirko
>
>
I did a bit of digging:
Only files that reside in ~/org and that are loaded via the agenda are
then reassigned to the ~/.org-timestamps directory. If I manually load
the file, then it is not reassigned to that directory.
I used this code snippet to identify them:
(save-excursion
(let (matches)
(dolist (buffer (buffer-list))
(let ((file-name (buffer-file-name buffer)))
(when (and file-name
(string-match "org-timestamps" file-name))
(push file-name matches))))
(reverse matches)))
Mirko
next prev parent reply other threads:[~2016-06-15 15:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-15 15:30 org copied a few files to ~/.org-timestamps Mirko Vukovic
2016-06-15 15:58 ` Mirko Vukovic [this message]
2016-06-17 8:33 ` Nicolas Goaziou
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=loom.20160615T175548-521@post.gmane.org \
--to=mirko.vukovic@gmail.com \
--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.