emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Variable settings in .emacs VS cross device portability.


From: Eric S Fraga
Subject: Re: [O] Variable settings in .emacs VS cross device portability.
Date: Wed, 1 Feb 2012 15:02:36 +0000
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.92 (gnu/linux)

Yu <address@hidden> writes:

[...]

> Did you try the general emacs syntax for file variables, Eric Schulte
> mentioned? [1] For me that worked (except that non-safe variables
> require confirmation in order to avoid text files executing harmful
> code). The emacs-documentation doesn't mention it, but apparently this
> works also in shebang'ed files, by moving the single line form (`-*-
> ... -*-') to the second line. [2]
>
> [1] 
> http://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html
> [2] http://www.lugaru.com/man/File.Variables.html

Yu,

Thanks for this.

I use file local variables all the time, both with and without org, and
have done so for years!  I also use BIND successfully.

My point was that org seems to ignore some variables that have been set
using file local variables and I think it's only those that affect the
export behaviour that are ignored.  Hence my gut feeling regarding
whether exporting doesn't actually set file local variables due to the
export working on a copy of the buffer.  But I am not entirely sure what
the interaction between the export process and Emacs may be in this
case.

Maybe others have a better intuition.

I'll try to come up with a minimal example that illustrates the problem.


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.285.g646b3)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]