From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: [babel] VC-Log does not run correctly Date: Fri, 9 Sep 2011 17:08:27 +0200 Message-ID: References: <80pqjbce60.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R22hG-00088V-4K for emacs-orgmode@gnu.org; Fri, 09 Sep 2011 11:08:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R22hF-0008Fn-0v for emacs-orgmode@gnu.org; Fri, 09 Sep 2011 11:08:50 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:52244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R22hE-0008FW-SJ for emacs-orgmode@gnu.org; Fri, 09 Sep 2011 11:08:48 -0400 Received: by bkbzt12 with SMTP id zt12so1853768bkb.0 for ; Fri, 09 Sep 2011 08:08:47 -0700 (PDT) In-Reply-To: <80pqjbce60.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org Hi Seb, On Thu, Sep 8, 2011 at 4:16 PM, Sebastien Vauban wrote: > =A0(when (vc-find-backend-function > =A0 =A0 =A0 =A0 (vc-backend (buffer-file-name (get-buffer buf))) 'print-l= og) > 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. --=20 Suvayu Open source is the future. It sets us free.