Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-28 Thread Carsten Dominik
On 28.10.2011, at 06:49, Darlan Cavalcante Moreira wrote: Thanks Nick, You right, the master file question comes from auctex. But with your code it's simple to add the relevant variable to solve the issue. The final function is --8---cut

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-28 Thread Darlan Cavalcante Moreira
Thanks Carsten, That's great. I tested without the advice it worked as expected for both exporters. I would be surprised if anyone could give a reason to keep the AUCTeX query or the auto-insert stuff, at least without modifying org-export. That's because the export process replaces anything in

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-28 Thread Nick Dokos
Darlan Cavalcante Moreira darc...@gmail.com wrote: Thanks Carsten, That's great. I tested without the advice it worked as expected for both exporters. I would be surprised if anyone could give a reason to keep the AUCTeX query or the auto-insert stuff, at least without modifying

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-28 Thread Carsten Dominik
On 28.10.2011, at 18:45, Nick Dokos wrote: Darlan Cavalcante Moreira darc...@gmail.com wrote: Thanks Carsten, That's great. I tested without the advice it worked as expected for both exporters. I would be surprised if anyone could give a reason to keep the AUCTeX query or the

[O] Feature Request: Disable auto-insert-mode exporting

2011-10-27 Thread Darlan Cavalcante Moreira
I consider auto-insert-mode to be a very useful feature in Emacs and it works great in most situations, except when exporting an org-mode buffer. If I export to PDF or HTML, for instance, then org-mode creates a TeX or an HTML buffer and auto-insert kicks-in in both cases (asking for the title

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-27 Thread Nick Dokos
Darlan Cavalcante Moreira darc...@gmail.com wrote: I consider auto-insert-mode to be a very useful feature in Emacs and it works great in most situations, except when exporting an org-mode buffer. If I export to PDF or HTML, for instance, then org-mode creates a TeX or an HTML buffer and

Re: [O] Feature Request: Disable auto-insert-mode exporting

2011-10-27 Thread Darlan Cavalcante Moreira
Thanks Nick, You right, the master file question comes from auctex. But with your code it's simple to add the relevant variable to solve the issue. The final function is --8---cut here---start-8--- (defadvice org-export (around org-export-no-auto-insert)