emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: bhrgunatha <bhrgunatha@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Many babel-stable-nnn fodlers created in folders with org files (instead of in /tmp) [9.6.1 ( @ /home/bhrgunatha/.emacs.d/elpa/org-9.6.1/)]
Date: Wed, 18 Jan 2023 17:52:58 +0800	[thread overview]
Message-ID: <4579f9d7-af96-2818-e12d-546040157e28@gmail.com> (raw)
In-Reply-To: <3fd7abab-defd-3ae0-d76c-64b2b7e53dfb@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1854 bytes --]

It works for me!

Thank you for fixing this and so quickly too! It's much appreciated.

bhrgunatha


On 18/01/2023 17:07, bhrgunatha wrote:
> On 18/01/2023 16:02, Ihor Radchenko wrote:
>> bhrgunatha<bhrgunatha@gmail.com>  writes:
>>
>>> Open emacs.
>>> Open some .org file with src blocks in some folder <path to file>/some.org
>>> Notice a new folder called babel-stable-nnn (some randome 3 digit
>>> number) appears in the folder containing the .org file.
>>>
>>> I think these should be created in my /tmp/ folder, not the folder
>>> containing the .org file.
>>>
>>> Sometimes they ARE created in my /tmp/ folder.
>> Thanks for reporting!
>>
>> Could you open one of the folders where babel-stable-nnn directories are
>> present and then run M-: (temporary-file-directory) ?
>> Is the printed output "/tmp"? Something else?
>>
> Thanks for responding Ihor.
>
> Opening e.g. "/mnt/data/src/learning/zig/zig_notes.org"
> In the buffer visiting zig_notes.org:
> M-: (temporary-file-directory) -
> "/mnt/data/src/learning/zig/"
> The variable though:
> temporary-file-directory -
> "/tmp/"
>
> Looking at that function and from the same buffer I also checked:
> default-directory -
> "/mnt/data/src/learning/zig/"
> mounted-file-systems -
> "^\\(?:/\\(?:afs/\\|m\\(?:edia/\\|nt\\)\\|\\(?:ne\\|tmp_mn\\)t/\\)\\)"
> (find-file-name-handler default-directory 'temporary-file-directory) -
> 0
>
> I wondered about a buffer not visiting a file. In my default *scratch* 
> buffer I get:
> (temporary-file-directory) -
> "/tmp/"
> temporary-file-directory -
> "/tmp/"
> mounted-file-systems -
> "^\\(?:/\\(?:afs/\\|m\\(?:edia/\\|nt\\)\\|\\(?:ne\\|tmp_mn\\)t/\\)\\)"
> (find-file-name-handler default-directory 'temporary-file-directory) -
> nil
>
> The same in some *help* buffer though _except_:
> (temporary-file-directory) -
> "/mnt/data/src/learning/zig/"
>

[-- Attachment #2: Type: text/html, Size: 2889 bytes --]

      parent reply	other threads:[~2023-01-18  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 12:55 [BUG] Many babel-stable-nnn fodlers created in folders with org files (instead of in /tmp) [9.6.1 ( @ /home/bhrgunatha/.emacs.d/elpa/org-9.6.1/)] bhrgunatha
2023-01-18  8:02 ` Ihor Radchenko
2023-01-18  9:07   ` bhrgunatha
2023-01-18  9:20     ` Ihor Radchenko
2023-01-18  9:52     ` bhrgunatha [this message]

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=4579f9d7-af96-2818-e12d-546040157e28@gmail.com \
    --to=bhrgunatha@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).