Hi Carsten, Carsten Dominik wrote: > On Jan 7, 2010, at 9:54 AM, Sébastien Vauban wrote: >> Carsten Dominik wrote: >>> >>> #+BIND will do the trick, it was made just for this. >> >> As said previously, yes, it does work for the exporting to beamer TeX file. >> >> Though, I experience a bigger problem... When reopening my example file, I >> now have to answer "yes or no" to apply the BIND variable (that's OK), but >> (after answering yes -- no tested with no, as that's not what I need) I >> loose all the colors in my Org buffer: the Org file becomes black only, in >> fixed font! All the font locking is away, making the Org file more or less >> useless (as if I would edit it with Notepad). >> >> Any idea?? > > Can you please turn on debug-on-quit, and then quit at the prompt and show > me the backtrace? Because I do not get this by simply visiting a file.
Here it is. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (quit) yes-or-no-p("Allow BIND values in this buffer? ") org-export-confirm-letbind() org-infile-export-plist() org-default-export-plist() org-compute-latex-and-specials-regexp() org-set-regexps-and-options() org-mode() set-auto-mode-0(org-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(#<buffer ecm.txt> "~/Projects/MC/ecm.txt" nil nil "~/Projects/MC/ecm.txt" (4066232 2052)) find-file-noselect("~/Projects/MC/ecm.txt" nil nil nil) find-file("~/Projects/MC/ecm.txt") recentf-open-files-action((link :tag "[1] ~/Projects/MC/ecm.txt" :button-prefix "" :button-suffix "" :button-face default :format "%[%t\n%]" :help-echo "Open ~/Projects/MC/ecm.txt" :action recentf-open-files-action :args nil :value "~/Projects/MC/ecm.txt" :parent (group :args (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :indent 2 :format "\n%v\n" :children (#0 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :from #<marker (moves after insertion) in no buffer> :to #<marker in no buffer>) :indent 2 :button-overlay #<overlay in no buffer> :from #<marker (moves after insertion) in no buffer> :to #<marker in no buffer>) nil) widget-apply((link :tag "[1] ~/Projects/MC/ecm.txt" :button-prefix "" :button-suffix "" :button-face default :format "%[%t\n%]" :help-echo "Open ~/Projects/MC/ecm.txt" :action recentf-open-files-action :args nil :value "~/Projects/MC/ecm.txt" :parent (group :args (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :indent 2 :format "\n%v\n" :children (#0 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :from #<marker (moves after insertion) in no buffer> :to #<marker in no buffer>) :indent 2 :button-overlay #<overlay in no buffer> :from #<marker (moves after insertion) in no buffer> :to #<marker in no buffer>) :action nil) widget-apply-action((link :tag "[1] ~/Projects/MC/ecm.txt" :button-prefix "" :button-suffix "" :button-face default :format "%[%t\n%]" :help-echo "Open ~/Projects/MC/ecm.txt" :action recentf-open-files-action :args nil :value "~/Projects/MC/ecm.txt" :parent (group :args (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :indent 2 :format "\n%v\n" :children (#0 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :from #<marker (moves after insertion) in no buffer> :to #<marker in no buffer>) :indent 2 :button-overlay #<overlay in no buffer> :from #<marker (moves after insertion) in no buffer> :to #<marker in no buffer>) nil) widget-button-press(109) call-interactively(widget-button-press nil nil) --8<---------------cut here---------------end--------------->8--- Does this help you/me? Best regards, Seb PS- The extension is `.txt', but the mode associated to text file is well Org. -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode