From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: [RFC] Remove Org Struct mode Date: Tue, 22 Aug 2017 23:57:19 +0100 Message-ID: <87a82rmcs0.fsf@ericabrahamsen.net> References: <87mv6ul4u6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkI8P-0004ZM-5V for emacs-orgmode@gnu.org; Tue, 22 Aug 2017 18:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkI8M-0001zg-4w for emacs-orgmode@gnu.org; Tue, 22 Aug 2017 18:58:57 -0400 Received: from [195.159.176.226] (port=34936 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkI8L-0001yD-UH for emacs-orgmode@gnu.org; Tue, 22 Aug 2017 18:58:54 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dkI86-0004wk-Dy for emacs-orgmode@gnu.org; Wed, 23 Aug 2017 00:58:38 +0200 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" To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > I would like to remove Org Struct minor mode from Org code base. Here is > the rationale: > > 1. It is broken. It might look like using Org in another buffer, but it > is not. In particular, it just cannot cope with lists, indentation, > filling in, e.g., Message mode, as soon as we try something > non-trivial. Really, that's a poor-man's Org mode. > > 2. Its implementation is very hackish. In particular, it is not modular > at all. It rewrites some core functions according to the major mode > in use. For example `org-fill-function' tries to handle specially > text in a Message mode buffer, basically short-circuiting regular > behaviour. There no support for other major modes. If we want some, > we need to hard-code it. +1. I've tried two or three times to refactor it, and it was a nightmare. I only use lists in orgstruct-mode, so I'd be happy with a very reduced version, or nothing at all.