From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: setting local variables Date: Wed, 02 Aug 2017 22:10:59 +0000 Message-ID: References: <871sotiqld.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045cac4aac7ccc0555cc8a25" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dd1rI-0007WQ-12 for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 18:11:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dd1rH-00043X-14 for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 18:11:15 -0400 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:35759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dd1rG-000429-PE for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 18:11:14 -0400 Received: by mail-lf0-x22b.google.com with SMTP id t128so25676054lff.2 for ; Wed, 02 Aug 2017 15:11:13 -0700 (PDT) In-Reply-To: <871sotiqld.fsf@ericabrahamsen.net> 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" To: Eric Abrahamsen , emacs-org list --f403045cac4aac7ccc0555cc8a25 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 2, 2017, 5:54 PM Eric Abrahamsen wrote: > > I'm trying to locally set `sentence-end-double-space' to t, to conform > to the Emacs manual style. If I set it at the top of the file with: > > -*- sentence-end-double-space: t -*- > It should be the very first line and prefixed with Org comment characters "# ". That line appears in the exported *.texi/*.info files (which I don't > think it should!). > May be you missed out the "# "? How do you all set local variables in Org files to be exported? > I put this at the bottom of each Org file and it works well: ===== * Footnotes * COMMENT Local Variables :ARCHIVE: # Local Variables: # fill-column: 70 # eval: (auto-fill-mode 1) # End: ===== (Pre-adding empty Footnotes section too so that if I add footnotes, the file-end comments don't end up in Footnotes.) > -- Kaushal Modi --f403045cac4aac7ccc0555cc8a25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Aug 2, 2017, 5:54 PM Er= ic Abrahamsen <eric@ericabrah= amsen.net> wrote:

I'm trying to locally set `sentence-end-double-space' to t, to conf= orm
to the Emacs manual style. If I set it at the top of the file with:

-*- sentence-end-double-space: t -*-

<= div>It should be the very first line and prefixed with Org comment characte= rs "# ".

That line appears in the exported *.texi/*.info files= (which I don't
think it should!).

May be you mis= sed out the "# "?

=
How do you all set local variables in Org fi= les to be exported?

I put this at= the bottom of each Org file and it works well:

=3D=3D=3D=3D=3D
* Footnotes
* COMMENT Loca= l Variables :ARCHIVE:
# Local = Variables:
# fill-column: 70
# eval: (auto-fill-mode 1)
# End:
=
=3D=3D=3D=3D=3D

(Pre-adding empty Footn= otes section too so that if I add footnotes, the file-end comments don'= t end up in Footnotes.)
--

Kaushal Modi

--f403045cac4aac7ccc0555cc8a25--