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

2012-02-06 Thread janek
Yu writes: > 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.l

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

2012-02-04 Thread Thomas S. Dye
Eric S Fraga writes: > "Thomas S. Dye" writes: > > > [...] > >> If you (and the receiver) tangle your export-settings source code block >> to init.el (:tangle init.el), then execute something like the following >> source code block >> >> #+begin_src sh >> emacs -Q -l init.el examplebug.org >> #+

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

2012-02-03 Thread Eric S Fraga
"Thomas S. Dye" writes: [...] > If you (and the receiver) tangle your export-settings source code block > to init.el (:tangle init.el), then execute something like the following > source code block > > #+begin_src sh > emacs -Q -l init.el examplebug.org > #+end_src > > you should be able to ens

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

2012-02-02 Thread Thomas S. Dye
Hi Eric, Eric S Fraga writes: > Nick Dokos writes: > > [...] > >> Good question (I mean the *How* question): I believe this is a bug and >> it has to do with the problem that Dan Davison identified and (as it >> turns out) partially fixed a year ago (see >> http://thread.gmane.org/gmane.emacs.o

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

2012-02-02 Thread Eric S Fraga
Nick Dokos writes: [...] > Good question (I mean the *How* question): I believe this is a bug and > it has to do with the problem that Dan Davison identified and (as it > turns out) partially fixed a year ago (see > http://thread.gmane.org/gmane.emacs.orgmode/35439/focus=36878 for those > detail

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

2012-02-01 Thread Nick Dokos
Eric S Fraga wrote: > Hello all, > > herewith is a minimal example that illustrates the problem I have with > exporting and file local variables. The attached file re-defines > org-export-latex-tag-markup to use a box instead of bold for tags. When > I visit the file, Emacs does indeed set the

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

2012-02-01 Thread Sebastien Vauban
Hi Eric, Eric S Fraga wrote: > Sebastien Vauban writes: > >> I almost never play(ed) with local variables and bind variables, but I >> wanted to confirm what you see: >> >> the local variable is the one set by your bind; but it has no impact on the >> exported LaTeX file... > > Thanks for the con

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

2012-02-01 Thread Eric S Fraga
Sebastien Vauban writes: [...] > I almost never play(ed) with local variables and bind variables, but I wanted > to confirm what you see: > > the local variable is the one set by your bind; but it has no impact on the > exported LaTeX file... > > Best regards, > Seb Thanks for the confirmatio

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

2012-02-01 Thread Sebastien Vauban
Hi Eric, Eric S Fraga wrote: > herewith is a minimal example that illustrates the problem I have with > exporting and file local variables. The attached file re-defines > org-export-latex-tag-markup to use a box instead of bold for tags. When > I visit the file, Emacs does indeed set the variabl

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

2012-02-01 Thread Eric S Fraga
Yu 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 t

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

2012-02-01 Thread Eric S Fraga
Hello all, herewith is a minimal example that illustrates the problem I have with exporting and file local variables. The attached file re-defines org-export-latex-tag-markup to use a box instead of bold for tags. When I visit the file, Emacs does indeed set the variable to what I want. However,

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

2012-02-01 Thread Yu
2012/1/31 Eric S Fraga : > Eric Schulte writes: > > [...] > >> File Local Variables [1] make it possible to explicitly specify the >> values of variables from within the text of a .org file.  This can be >> placed in a single line at the top of a file for small changes or in a >> larger section at

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

2012-01-31 Thread Eric S Fraga
Eric Schulte writes: [...] > File Local Variables [1] make it possible to explicitly specify the > values of variables from within the text of a .org file. This can be > placed in a single line at the top of a file for small changes or in a > larger section at the end of the file. Eric, this

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

2012-01-30 Thread Eric Schulte
Yu writes: > Hello! > > I was wondering if there is a possibility to make org-files fully > portable in behaviour (especially when exporting) between different > emacs installations. > File Local Variables [1] make it possible to explicitly specify the values of variables from within the text of

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

2012-01-30 Thread Thomas S. Dye
Yu writes: > Hello! > > I was wondering if there is a possibility to make org-files fully > portable in behaviour (especially when exporting) between different > emacs installations. > > When reading the mailing list or other writing about org-mode, > commonly suggestions of the type "just add (s

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

2012-01-30 Thread Yu
Hello! I was wondering if there is a possibility to make org-files fully portable in behaviour (especially when exporting) between different emacs installations. When reading the mailing list or other writing about org-mode, commonly suggestions of the type "just add (setq org-foo bar) to your .e