all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug: babel-* dirs
@ 2010-09-10 16:33 Samuel Wales
  2010-09-11 19:00 ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Samuel Wales @ 2010-09-10 16:33 UTC (permalink / raw)
  To: emacs-orgmode

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 cannot do debugging but wanted to report it.

Hope it helps.

-- 
Q: How many CDC "scientists" does it take to change a lightbulb?
A: "You only think it's dark." [CDC has denied a deadly serious
disease for 25 years]
==========
Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I would like to see the original Lo et al. 2010 NIH/FDA XMRV paper.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bug: babel-* dirs
  2010-09-10 16:33 bug: babel-* dirs Samuel Wales
@ 2010-09-11 19:00 ` Achim Gratz
  2010-09-12 22:12   ` Shelagh Manton
  0 siblings, 1 reply; 8+ messages in thread
From: Achim Gratz @ 2010-09-11 19:00 UTC (permalink / raw)
  To: emacs-orgmode

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.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bug: babel-* dirs
  2010-09-11 19:00 ` Achim Gratz
@ 2010-09-12 22:12   ` Shelagh Manton
  2010-09-13 15:58     ` Eric Schulte
  0 siblings, 1 reply; 8+ messages in thread
From: Shelagh Manton @ 2010-09-12 22:12 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: bug: babel-* dirs
  2010-09-12 22:12   ` Shelagh Manton
@ 2010-09-13 15:58     ` Eric Schulte
  2010-09-30 13:57       ` Eric Schulte
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Schulte @ 2010-09-13 15:58 UTC (permalink / raw)
  To: Shelagh Manton; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: bug: babel-* dirs
  2010-09-13 15:58     ` Eric Schulte
@ 2010-09-30 13:57       ` Eric Schulte
  2010-10-01 19:47         ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Schulte @ 2010-09-30 13:57 UTC (permalink / raw)
  To: Shelagh Manton; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bug: babel-* dirs
  2010-09-30 13:57       ` Eric Schulte
@ 2010-10-01 19:47         ` Achim Gratz
  2010-10-01 20:09           ` Eric Schulte
  0 siblings, 1 reply; 8+ messages in thread
From: Achim Gratz @ 2010-10-01 19:47 UTC (permalink / raw)
  To: emacs-orgmode

"Eric Schulte" <schulte.eric@gmail.com> writes:
> I've re-enabled this functionality, I believe the problems should be
> fixed, from the commit message...

Byte compile warns:

In org-babel-temp-file:
ob.el:1792:36:Warning: reference to free variable
    `org-babel-temporary-directory'

In addition, byte-compiling produces 173 empty /tmp/babel-* directories.

The newly installed version does not produce a temporary directory (I'm
not using babel yet), but calling up emacs like make does (extending the
load-path and not sourcing the site-file) will produce one that does not
go away after Emacs is closed on each start of emacs (which explains the
result of byte-compiling).


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: bug: babel-* dirs
  2010-10-01 19:47         ` Achim Gratz
@ 2010-10-01 20:09           ` Eric Schulte
  2010-10-01 20:24             ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Schulte @ 2010-10-01 20:09 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> "Eric Schulte" <schulte.eric@gmail.com> writes:
>> I've re-enabled this functionality, I believe the problems should be
>> fixed, from the commit message...
>
> Byte compile warns:
>
> In org-babel-temp-file:
> ob.el:1792:36:Warning: reference to free variable
>     `org-babel-temporary-directory'
>

Fixed the byte-compilation warning, thanks for the catch.

>
> In addition, byte-compiling produces 173 empty /tmp/babel-*
> directories.
>
> The newly installed version does not produce a temporary directory (I'm
> not using babel yet), but calling up emacs like make does (extending the
> load-path and not sourcing the site-file) will produce one that does not
> go away after Emacs is closed on each start of emacs (which explains the
> result of byte-compiling).
>

Thanks for the debugging information, it's great to finally have enough
context to address this issue.  I've just pushed up what I hope is a fix
for this.

Thanks -- Eric

>
>
> Achim.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: bug: babel-* dirs
  2010-10-01 20:09           ` Eric Schulte
@ 2010-10-01 20:24             ` Achim Gratz
  0 siblings, 0 replies; 8+ messages in thread
From: Achim Gratz @ 2010-10-01 20:24 UTC (permalink / raw)
  To: emacs-orgmode

"Eric Schulte" <schulte.eric@gmail.com> writes:
> Fixed the byte-compilation warning, thanks for the catch.
[...]
> Thanks for the debugging information, it's great to finally have enough
> context to address this issue.  I've just pushed up what I hope is a fix
> for this.

Glad to be of service -- I can confirm both fixes, byte-compile now runs
cleanly and without cluttering /tmp.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-01 20:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-10-01 19:47         ` Achim Gratz
2010-10-01 20:09           ` Eric Schulte
2010-10-01 20:24             ` Achim Gratz

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.