emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Cc: carsten.dominik@gmail.com
Subject: Re: Patch: org-reload changes default-directory
Date: Wed, 11 Nov 2009 00:12:21 +0100	[thread overview]
Message-ID: <87fx8m0yay.fsf@gmx.de> (raw)
In-Reply-To: <87hbt2kn78.fsf@gmx.de> (SebastianRose's message of "Tue, 10 Nov 2009 23:51:55 +0100")


SebastianRose <sebastian_rose@gmx.de> 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

  reply	other threads:[~2009-11-10 23:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 22:51 Patch: org-reload changes default-directory SebastianRose
2009-11-10 23:12 ` Sebastian Rose [this message]
2009-11-11  9:48 ` Carsten Dominik
2009-11-11  9:59   ` Sebastian Rose

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=87fx8m0yay.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@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 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).