emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Shelagh Manton <shelagh.manton@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: bug: babel-* dirs
Date: Thu, 30 Sep 2010 07:57:29 -0600	[thread overview]
Message-ID: <87hbh7i767.fsf@gmail.com> (raw)
In-Reply-To: 87iq29eitg.fsf@gmail.com

Hi,

I've re-enabled this functionality, I believe the problems should be
fixed, from the commit message...

,----
| commit a37072786c1da98ccfe6e6b4f481bfc83d61c4d2
| Author: Eric Schulte <schulte.eric@gmail.com>
| Date:   Thu Sep 30 07:31:14 2010 -0600
| 
|     using `org-babel-temporary-directory' to collect and remove temporary files
|     
|     We had stopped using this because users noticed that temporary
|     directories were accumulating in their /tmp directory.  I believe this
|     was due to repeatedly evaluating the ob.el emacs-lisp file, which
|     repeatedly re-defined the `org-babel-temporary-directory' variable
|     creating multiple directories.  This problem should be fixed by
|     wrapping the defvar holding this form in (unless (boundp org...)).
|     
|     * lisp/ob.el (boundp): uncommenting defvar form for
|       org-babel-temporary-directory
|       (org-babel-temp-file): now using the org-babel-temporary-directory
|       for holding new babel temporary files
|       (org-babel-remove-temporary-directory): removes the babel temp dir
|       when Emacs shutsdown
|       (kill-emacs-hook): now removing the babel temp dir on Emacs shutdown
`----

Best -- Eric

"Eric Schulte" <schulte.eric@gmail.com> writes:

> Hi,
>
> I've temporarily removed the use of the org-babel-temp-directory due to
> this problem, and other issues it is causing on shutdown with older
> versions of Emacs.
>
> I will revisit this issue next week when I'm back from vacation and have
> time to work out a full solution.
>
> Thanks for the reports -- Eric
>
> Shelagh Manton <shelagh.manton@gmail.com> writes:
>
>> On Sat, 11 Sep 2010 21:00:29 +0200, Achim Gratz wrote:
>>
>>> Samuel Wales <samologist@gmail.com> writes:
>>>> In the last 24 hours, org created 436 seemingly empty directories named
>>>> similar to "babel-81922AX" in (I think) $TMP.  I do not actively use
>>>> babel.
>>> 
>>> I can confirm this behaviour.
>>> 
>>> Achim.
>>
>> I have some babel-XXXXXX folders, not many, but yesterday I had to close 
>> emacs by individually killing each buffer rather than C-x C-c as emacs 
>> complained about not being able to find one of the folders it expected. I 
>> do not use babel and do not have any settings for it.
>>
>> Shelagh
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-09-30 15:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 16:33 bug: babel-* dirs Samuel Wales
2010-09-11 19:00 ` Achim Gratz
2010-09-12 22:12   ` Shelagh Manton
2010-09-13 15:58     ` Eric Schulte
2010-09-30 13:57       ` Eric Schulte [this message]
2010-10-01 19:47         ` Achim Gratz
2010-10-01 20:09           ` Eric Schulte
2010-10-01 20:24             ` Achim Gratz

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=87hbh7i767.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=shelagh.manton@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).