From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: :EXPORT_FILE_NAME: in new exporter possible? Date: Mon, 25 Mar 2013 17:57:40 +0100 Message-ID: <87vc8fa03f.fsf@bzg.ath.cx> References: <87620kwyuj.fsf@ericabrahamsen.net> <87k3p073ba.fsf@med.uni-goettingen.de> <8738vo1go1.fsf@bzg.ath.cx> <878v5chvdj.fsf@bzg.ath.cx> <87620fo7bi.fsf@bzg.ath.cx> <87wqsvmq48.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKAia-0004H6-VW for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 12:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKAiT-0000GR-RX for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 12:57:56 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:35629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKAiT-0000GD-LO for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 12:57:49 -0400 Received: by mail-wg0-f47.google.com with SMTP id dt14so3479555wgb.14 for ; Mon, 25 Mar 2013 09:57:48 -0700 (PDT) In-Reply-To: (Achim Gratz's message of "Mon, 25 Mar 2013 17:13:47 +0100") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Am 25.03.2013 16:54, schrieb Bastien: >> What about this patch? > > I don't think Gnus should be switching major modes just to get > fontification and definitely not with Org. But it does. >> The change in Gnus is then trivial (see other patch). > > Again, I'd rather have a derived mode (org-safe-mode, perhaps) that simply > switches off anything related to loading other files, changing setups and > executing code. This is useful in other situations as well and if one > determines that the file is safe the full org-mode can be switched on and > the file reloaded if necessary. That makes the patch in Gnus even more > trivial (if they really can't use a more sensible method of > fontiffication). Can you evaluate my patch against the current state of affair? Evaluating it against your ideal fix will obvisouly make it look rudimentary. But I think it's better than the current situation. -- Bastien