From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Exporting visible tree doesn't respect file local variables Date: Sat, 27 Aug 2011 15:31:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0015175933507a8c0e04ab7caf5c Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxIzN-0000ex-LN for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 09:31:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxIzM-0005ZN-K7 for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 09:31:57 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:36285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxIzM-0005Z7-CY for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 09:31:56 -0400 Received: by bkbzt4 with SMTP id zt4so3595380bkb.0 for ; Sat, 27 Aug 2011 06:31:55 -0700 (PDT) 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: org-mode mailing list --0015175933507a8c0e04ab7caf5c Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, I think I found a bug. When exporting the visible outlines (say after a sparse tree search) file local variables are ignored. To give you an example, in the attached org file I use file local variables to setup latex export to use xelatex by customising org-latex-to-pdf-process. For regular pdf export (C-c C-e p) xelatex is run. However when I export the visible trees (C-c C-e v p) after a sparse tree search (say the tag Qn in my example), pdf export uses pdflatex disregarding the file local variable. This happens with other file local variables too, I chose this one as it was easier for me construct an example. I hope I have given enough details to debug the issue. Thanks, -- Suvayu Open source is the future. It sets us free. --0015175933507a8c0e04ab7caf5c Content-Type: text/plain; charset=UTF-8; name="test.org" Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_grumoq0y1 IytUSVRMRTogICAgIEFuYWx5c2lzCiMrQVVUSE9SOiAgICAKIytFTUFJTDogICAgIAojK0RBVEU6 ICAgICAgCiMrTEFOR1VBR0U6ICBlbgojK09QVElPTlM6ICAgSDozIG51bTpuaWwgdG9jOnQgXG46 bmlsIEA6bmlsIDo6dCB8OnQgXjp0IC06dCBmOnQgKjp0IDw6bmlsCiMrT1BUSU9OUzogICBUZVg6 dCBMYVRlWDp0IHNraXA6bmlsIGQ6bmlsIHRvZG86dCBwcmk6bmlsIHRhZ3M6bmlsCgoqIEJzIGRl Y2F5IChCcy0+RHNoKQogIEJzLT5Ec0sgb3IgRHPPgAoKKiogRGVjYXkgbW9kZWwJCQkJCQkJCSA6 UW46CjEuIEp1c3RpZnkgbmVnbGVjdGluZyBDUCB2aW9sYXRpb24KMi4gVmVyaWZ5IG1hc3RlciBl cXVhdGlvbnMKCioqIERldGVjdG9yIGVmZmVjdHMJCQkJCQkJIDpRbjoKMS4gSG93IGlzIHRoZSBH YXVzc2lhbiB1c2VkIGZvciBzbWVhcmluZyBvZiBwcm9wZXIgdGltZSByZXNvbHV0aW9uCiAgIGRl cml2ZWQ/CjIuIFdoeSBpcyB0aGUgcGVyIGV2ZW50IHByb3BlciB0aW1lIGVycm9yIFBERiBuZWVk ZWQ/IFdoeSBpcyBzbWVhcmluZwogICBvZiB0aW1lIHJlc29sdXRpb24gbm90IGVub3VnaD8KCgoj IExvY2FsIFZhcmlhYmxlczoKIyBvcmctbGF0ZXgtdG8tcGRmLXByb2Nlc3M6ICgieGVsYXRleCAt aW50ZXJhY3Rpb24gbm9uc3RvcG1vZGUgLW91dHB1dC1kaXJlY3RvcnkgJW8gJWYiICJ4ZWxhdGV4 IC1pbnRlcmFjdGlvbiBub25zdG9wbW9kZSAtb3V0cHV0LWRpcmVjdG9yeSAlbyAlZiIgInhlbGF0 ZXggLWludGVyYWN0aW9uIG5vbnN0b3Btb2RlIC1vdXRwdXQtZGlyZWN0b3J5ICVvICVmIikKIyBF bmQ6Cg== --0015175933507a8c0e04ab7caf5c--