From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: using #+BIND: Date: Sat, 31 Jan 2015 14:31:56 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0112c4ae2f949a050df7c621 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHdlv-0003Yi-8m for emacs-orgmode@gnu.org; Sat, 31 Jan 2015 14:32:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHdlu-00005V-B1 for emacs-orgmode@gnu.org; Sat, 31 Jan 2015 14:31:59 -0500 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:58144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHdlu-00005M-3F for emacs-orgmode@gnu.org; Sat, 31 Jan 2015 14:31:58 -0500 Received: by mail-la0-f46.google.com with SMTP id s18so30436077lam.5 for ; Sat, 31 Jan 2015 11:31:56 -0800 (PST) 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 --089e0112c4ae2f949a050df7c621 Content-Type: text/plain; charset=UTF-8 Hi Everyone, I have a variable I would like to set on a per-file basis. My readingof the documentation suggests I should use the #+BIND: keyword to do this. So, I have set org-export-with-todo-keywords to non-nil. In my buffer I put: #+BIND: org-zotxt-link-description-stylqe :citation and then execute org-reload. The defcustom for this variable reads as follows: (defcustom org-zotxt-link-description-style :citation "Style to use for org zotxt link texts." :group 'org-zotxt :type '(choice (const :tag "easykey" :easykey) (const :tag "better BibTeX" :betterbibtexkey) (const :tag "citation" :citation))) However, the output of describe-variable org-zotxt-link-description-style is org-zotxt-link-description-style is a variable defined in `org-zotxt.el'. Its value is :easykey Original value was :citation Does BIND only work during export? If so, is there a better way to add a local variable to a buffer? Thanks, Matt --089e0112c4ae2f949a050df7c621 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Everyone,

I have a variable I would = like to set on a per-file basis.=C2=A0 My readingof the documentation sugge= sts I should use the=C2=A0

#+BIND:=C2=A0

keyword to do this. =C2=A0

So, I h= ave set=C2=A0org-export-with-todo-keywords to non-nil.=C2=A0 In my buffer I= put:

#+BIND: org-zotxt-link-description-styl= qe :citation

and then execute org-reload. Th= e defcustom for this variable reads as follows:

(defcustom org-zotxt-link-description-style
=C2=A0 :citation
=C2=A0 "Style to use for org zotxt link texts."
=C2=A0 :group 'org-zotxt
=C2=A0 :type '(choice (const := tag "easykey" :easykey)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(const :tag "better BibTeX" :bette= rbibtexkey)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0(const :tag "citation" :citation)))
However, the output of describe-variable org-zotxt-link-descrip= tion-style is=C2=A0

org-zotxt-link-descriptio= n-style is a variable defined in `org-zotxt.el'.
Its value is= :easykey
Original value was :citation

=
Does BIND only work during export? If so, is there a better way to add= a local variable to a buffer?

Thanks,
M= att

--089e0112c4ae2f949a050df7c621--