[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Patch: org-reload changes default-directory
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] Patch: org-reload changes default-directory |
Date: |
Wed, 11 Nov 2009 00:12:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
SebastianRose <address@hidden> writes:
> Hi,
>
>
> I found out why I ran into this earlier. It's _not_ org-reload, it's
> org-version that changes the default directory. Patch attached.
>
>
> I don't know where my bug report is... so I cannot respond to that
> post.
As I cannot find the bug report on the gmane, I thought I'd better
re-write the reason for this patch, so you can reproduce the problem.
Steps to reproduce the bug the patch fixes here:
1. Open an *.org file you can export to PDF. Ensure the file is not
located where your Org-mode sources are (org-*.el files). Choose a
file, that includes some images or a SETUPFILE using relative
paths.
2. M-x default-directory RET
to see the value of that variable in the current buffer.
3. C-c C-e p
to export to PDF and verify it works.
4. C-c C-x !
to `org-reload'
5. Now repeat steps 2 and 3. Note, that the export fails.
Best wishes
Sebastian