From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Feature Request: Disable auto-insert-mode exporting Date: Thu, 27 Oct 2011 16:31:59 -0300 Message-ID: <4ea9b1b7.d185ec0a.0baf.08ab@mx.google.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJVgR-0000X2-8f for emacs-orgmode@gnu.org; Thu, 27 Oct 2011 15:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJVgP-0000BN-KB for emacs-orgmode@gnu.org; Thu, 27 Oct 2011 15:32:11 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:59825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJVgP-0000BI-G8 for emacs-orgmode@gnu.org; Thu, 27 Oct 2011 15:32:09 -0400 Received: by ywa17 with SMTP id 17so3513348ywa.0 for ; Thu, 27 Oct 2011 12:32:09 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Orgmode Mailing List 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 in the HTML buffer, or the master file in the TeX buffer). Whatever I write will be overwritten by the org-mode exporter and the file exports just fine, but this interruption is annoying. I suppose I could create a function that disable auto-insert-mode, call org-export and then re-enable auto-insert-mode, but maybe this should be the default behaviour of org-mode export. Does this make sense? -- Darlan