From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Re: [BUG] htmlp and latexp Date: Thu, 17 Feb 2011 18:14:38 -0500 Message-ID: References: <87mxlws37t.fsf@altern.org> <4D5CE060.2070104@med.uni-goettingen.de> <81y65fq6j4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=33680 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqD49-0000s6-KK for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 18:15:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqD3s-0004yB-SC for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 18:15:01 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:46532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqD3s-0004y4-NR for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 18:15:00 -0500 Received: by fxm12 with SMTP id 12so3255395fxm.0 for ; Thu, 17 Feb 2011 15:14:59 -0800 (PST) In-Reply-To: <81y65fq6j4.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Jambunathan K I'm still encountering this bug. Org-mode version 7.4 (release_7.4.418.g373c) This looks like an old release, which is odd. I'm using Eric Schulte's starter kit, and anyway just switched to the org master branch and pulled down the latest commits. 'make clean', 'make info', and 'make lisp/org-install.el' were my next steps. Is it right to take the last 6 chars and search for a commit through the web interface? It isn't turning up anything, and that string is starting look familiar to me. On Thu, Feb 17, 2011 at 5:50 AM, Jambunathan K wro= te: > Andreas Leha writes: > >> Hi all, >> >> to make this explicit: =A0I can not export to latex any more, but instea= d >> I get >> =A0Exporting to LaTeX... >> =A0when: Symbol's value as variable is void: htmlp >> >> Org HEAD >> GNU emacs 23.2.1 (debian squeeze) >> >> This is my failing org-file: >> * Test >> =A0 test >> > > Have you tried recent head? > Enable stacktrace: M-x toggle-debug-on-error > Also include M-x org-version? > > Jambunathan K. > > >> - Andreas >> >> >> Am 16.02.2011 11:03, schrieb Bastien: >>> Hi Dan, >>> >>> Dan Davison writes: >>> >>> >>>> Commit ed6d6760268 removed variables htmlp and latexp from >>>> `org-export-preprocess-string'. Nothing wrong with that, but I think i= t >>>> has broken export for those using org-special-blocks, which contains >>>> >>>> #+begin_src emacs-lisp >>>> (defvar htmlp) >>>> (defvar latexp) >>>> (defun org-special-blocks-make-special-cookies () >>>> =A0 "Adds special cookies when #+begin_foo and #+end_foo tokens are >>>> seen. =A0This is run after a few special cases are taken care of." >>>> =A0 (when (or htmlp latexp) >>>> =A0 =A0 (goto-char (point-min)) >>>> ... >>>> #+end_src >>>> >>> Fixed thanks. >>> >>> >>>> IIuc htmlp and latexp occur occasionally in org code as somewhat >>>> unofficial ways to test "am I in the middle of export?". >>>> >>> Now there is a uniform and official (!) way of getting the backend the >>> user is currently exporting to: >>> >>> =A0 (eq backend 'html) >>> >>> ... >>> >>> >>>> They also occur in org-exp-blocks, but in deprecated code, so not a >>>> priority to fix. >>>> >>> I fixed them there too. >>> >>> Thanks for reporting this! >>> >>> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --=20 Jeffrey Horn http://www.failuretorefrain.com/jeff/