all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] VC-Log does not run correctly
Date: Fri, 9 Sep 2011 17:08:27 +0200	[thread overview]
Message-ID: <CAMXnza1j72jq-deHdtK9LN3h6=e1hgYPp-STt9MmrcDhfPH2Mg@mail.gmail.com> (raw)
In-Reply-To: <80pqjbce60.fsf@somewhere.org>

Hi Seb,

On Thu, Sep 8, 2011 at 4:16 PM, Sebastien Vauban
<wxhgmqzgwmuf@spammotel.com> wrote:
>  (when (vc-find-backend-function
>         (vc-backend (buffer-file-name (get-buffer buf))) 'print-log)
>

AFAIU from a previous issue (more than a year back I think), you need
to ensure buffer-file-name returns  something reasonable. The problem
is if it is evaluated in a temporary buffer (is that the case during
export?) then it will return nil which confuses vc.

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

      parent reply	other threads:[~2011-09-09 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 14:16 [babel] VC-Log does not run correctly Sebastien Vauban
2011-09-08 15:04 ` Eric Schulte
2011-09-09 14:50   ` Sebastien Vauban
2011-09-12 12:18   ` Sebastien Vauban
2011-09-09 15:08 ` suvayu ali [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMXnza1j72jq-deHdtK9LN3h6=e1hgYPp-STt9MmrcDhfPH2Mg@mail.gmail.com' \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.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 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.