From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dieter Wilhelm Subject: #+bind: org-html-preamble Date: Fri, 29 Mar 2013 13:57:38 +0100 Message-ID: <87ip4aqs71.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULYsR-0000eA-OS for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 08:57:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULYsN-0004O3-Vh for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 08:57:51 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:57963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULYsN-0004Nt-PA for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 08:57:47 -0400 Received: by mail-ee0-f45.google.com with SMTP id b57so212844eek.4 for ; Fri, 29 Mar 2013 05:57:46 -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: emacs-orgmode@gnu.org Dear list, for a creating navigation bars (e. g. in duenenhof-wilhelm.de. I used to include the respective information e.g. with #+SETUPFILE: "template_de.org" and bound in template_de.org org-html-preamble with: #+BIND: org-html-preamble "" Now in 8.0-pre this mechanism is not working (nothing is included in the html export files). Could you please tell me if this is a bug or what I have missed or - even better - suggest a better/more general way of including navigation information in html exports. -- Thank you & Best wishes H. Dieter Wilhelm Darmstadt Germany From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+bind: org-html-preamble Date: Fri, 29 Mar 2013 14:00:43 +0100 Message-ID: <87vc8awebo.fsf@gmail.com> References: <87ip4aqs71.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULYvK-0001WO-SA for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULYvJ-0005TJ-M8 for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:00:50 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:48272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULYvJ-0005T9-Fw for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:00:49 -0400 Received: by mail-wi0-f179.google.com with SMTP id hn17so399204wib.12 for ; Fri, 29 Mar 2013 06:00:48 -0700 (PDT) In-Reply-To: <87ip4aqs71.fsf@duenenhof-wilhelm.de> (Dieter Wilhelm's message of "Fri, 29 Mar 2013 13:57:38 +0100") 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: Dieter Wilhelm Cc: emacs-orgmode@gnu.org Hello, Dieter Wilhelm writes: > for a creating navigation bars (e. g. in duenenhof-wilhelm.de. I used > to include the respective information e.g. with > > > #+SETUPFILE: "template_de.org" > > > and bound in template_de.org org-html-preamble with: > > > #+BIND: org-html-preamble "" > > > Now in 8.0-pre this mechanism is not working (nothing is included in the > html export files). Could you please tell me if this is a bug or what I > have missed or - even better - suggest a better/more general way of > including navigation information in html exports. What is the value of `org-export-allow-bind-keywords'? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dieter Wilhelm Subject: Re: #+bind: org-html-preamble Date: Fri, 29 Mar 2013 14:10:49 +0100 Message-ID: <878v56qrl2.fsf@duenenhof-wilhelm.de> References: <87ip4aqs71.fsf@duenenhof-wilhelm.de> <87vc8awebo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULZ5H-0005MH-Br for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:11:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULZ58-0000QX-BS for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:11:07 -0400 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:52678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULZ58-0000QM-0d for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:10:58 -0400 Received: by mail-ea0-f180.google.com with SMTP id d10so202885eaj.25 for ; Fri, 29 Mar 2013 06:10:57 -0700 (PDT) In-Reply-To: <87vc8awebo.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 29 Mar 2013 14:00:43 +0100") 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Dieter Wilhelm writes: > What is the value of `org-export-allow-bind-keywords'? org-export-allow-bind-keywords is a variable defined in `ox.el'. Its value is nil ahaaaa there is a new variable! :-) So this must be set even though (setq org-export-allow-BIND t) is already there, or is it replacing this variable? Thank you for you fast reply! -- Best wishes H. Dieter Wilhelm Darmstadt Germany From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+bind: org-html-preamble Date: Fri, 29 Mar 2013 14:12:39 +0100 Message-ID: <87r4iywdrs.fsf@gmail.com> References: <87ip4aqs71.fsf@duenenhof-wilhelm.de> <87vc8awebo.fsf@gmail.com> <878v56qrl2.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULZ6s-0005wU-OA for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:12:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULZ6r-0000pS-Ae for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:12:46 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:53849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULZ6r-0000pO-4L for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 09:12:45 -0400 Received: by mail-wi0-f173.google.com with SMTP id ez12so4156803wid.12 for ; Fri, 29 Mar 2013 06:12:44 -0700 (PDT) In-Reply-To: <878v56qrl2.fsf@duenenhof-wilhelm.de> (Dieter Wilhelm's message of "Fri, 29 Mar 2013 14:10:49 +0100") 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: Dieter Wilhelm Cc: emacs-orgmode@gnu.org Dieter Wilhelm writes: > org-export-allow-bind-keywords is a variable defined in `ox.el'. > Its value is nil > > ahaaaa there is a new variable! :-) > > So this must be set even though > > (setq org-export-allow-BIND t) > > is already there, or is it replacing this variable? It is replacing old `org-export-allow-BIND' (note that they do not share the same set of possible values). Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: #+bind: org-html-preamble Date: Thu, 04 Apr 2013 14:38:00 +0200 Message-ID: <87sj365v4n.fsf@bzg.ath.cx> References: <87ip4aqs71.fsf@duenenhof-wilhelm.de> <87vc8awebo.fsf@gmail.com> <878v56qrl2.fsf@duenenhof-wilhelm.de> <87r4iywdrs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNjQf-0004pk-1m for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNjQc-0001bj-CQ for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:38:09 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:57053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNjQc-0001bY-69 for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 08:38:06 -0400 Received: by mail-we0-f175.google.com with SMTP id t11so2009161wey.20 for ; Thu, 04 Apr 2013 05:38:05 -0700 (PDT) In-Reply-To: <87r4iywdrs.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 29 Mar 2013 14:12:39 +0100") 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: Nicolas Goaziou Cc: Dieter Wilhelm , emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: > It is replacing old `org-export-allow-BIND' (note that they do not share > the same set of possible values). Is there a reason for not allowing 'confirm? Also, I'd rather stick to the old name since it is good enough and will spare many users with the hassle of finding out how to correctly set the new variable, which is very sensitive. What do you think? -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+bind: org-html-preamble Date: Thu, 04 Apr 2013 15:32:37 +0200 Message-ID: <87ip42xvyi.fsf@gmail.com> References: <87ip4aqs71.fsf@duenenhof-wilhelm.de> <87vc8awebo.fsf@gmail.com> <878v56qrl2.fsf@duenenhof-wilhelm.de> <87r4iywdrs.fsf@gmail.com> <87sj365v4n.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNkHX-0007Qo-Hu for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:32:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNkHT-0005O6-02 for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:32:47 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:55392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNkHS-0005Ns-QP for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:32:42 -0400 Received: by mail-we0-f179.google.com with SMTP id p43so2082139wea.10 for ; Thu, 04 Apr 2013 06:32:42 -0700 (PDT) In-Reply-To: <87sj365v4n.fsf@bzg.ath.cx> (Bastien's message of "Thu, 04 Apr 2013 14:38:00 +0200") 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: Bastien Cc: Dieter Wilhelm , emacs-orgmode@gnu.org Hello, Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> It is replacing old `org-export-allow-BIND' (note that they do not share >> the same set of possible values). > > Is there a reason for not allowing 'confirm? Yes. It is a pain in the neck to implement, and not vital since you can specify it as a buffer-local variable anyway. > Also, I'd rather stick to the old name since it is good enough > and will spare many users with the hassle of finding out how to > correctly set the new variable, which is very sensitive. It isn't sensitive: it defaults to nil. Therefore a user unable to find it is still safe. Moreover, it will be documented, won't it? > What do you think? I didn't like gratuitous caps in the old name. I prefer the new one. Other than dubious aesthetics reason, I don't mind its name. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: #+bind: org-html-preamble Date: Thu, 04 Apr 2013 15:58:49 +0200 Message-ID: <874nfmv1ly.fsf@bzg.ath.cx> References: <87ip4aqs71.fsf@duenenhof-wilhelm.de> <87vc8awebo.fsf@gmail.com> <878v56qrl2.fsf@duenenhof-wilhelm.de> <87r4iywdrs.fsf@gmail.com> <87sj365v4n.fsf@bzg.ath.cx> <87ip42xvyi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNkhC-0005AD-Ah for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:59:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNkgm-00072j-GH for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:59:18 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:46224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNkgm-00072Q-8c for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:58:52 -0400 Received: by mail-wg0-f43.google.com with SMTP id f12so2657892wgh.34 for ; Thu, 04 Apr 2013 06:58:51 -0700 (PDT) In-Reply-To: <87ip42xvyi.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 04 Apr 2013 15:32:37 +0200") 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: Nicolas Goaziou Cc: Dieter Wilhelm , emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: > Bastien writes: > >> Hi Nicolas, >> >> Nicolas Goaziou writes: >> >>> It is replacing old `org-export-allow-BIND' (note that they do not share >>> the same set of possible values). >> >> Is there a reason for not allowing 'confirm? > > Yes. It is a pain in the neck to implement, and not vital since you can > specify it as a buffer-local variable anyway. But it *was* implemented? If re-using the previous implementation is not a pain in the neck, I'd favor re-using it. >> Also, I'd rather stick to the old name since it is good enough >> and will spare many users with the hassle of finding out how to >> correctly set the new variable, which is very sensitive. > > It isn't sensitive: it defaults to nil. Therefore a user unable to find > it is still safe. Moreover, it will be documented, won't it? See below. >> What do you think? > > I didn't like gratuitous caps in the old name. I prefer the new one. > Other than dubious aesthetics reason, I don't mind its name. I'd like to re-use the old name. I don't like gratuitous caps in variable names too, but here they directly refer to the normal appearance of #+BIND. If we re-introduce the old name, whether it defaults to nil or not will potentially break users configuration, since a 'confirm value will either throw an error or (more dangerously) be interpreted as t. So, if we can re-use the old implementation and the old name, I'm for it as it is more flexible. -- Bastien