From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Some projects Date: Tue, 27 Oct 2015 22:53:24 +0100 Message-ID: <87io5sou5n.fsf@nicolasgoaziou.fr> References: <87wpub9jts.fsf@nicolasgoaziou.fr> <87lhap5yxx.fsf@ericabrahamsen.net> <877fm8d883.fsf@nicolasgoaziou.fr> <877fm8kusi.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrC9g-0007wj-Kl for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 17:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrC9f-0007aQ-Im for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 17:51:44 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:49991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrC9f-0007a5-CQ for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 17:51:43 -0400 In-Reply-To: <877fm8kusi.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 27 Oct 2015 11:53:17 -0700") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Eric Abrahamsen writes: > Nicolas Goaziou writes: > >> Eric Abrahamsen writes: >> >>> I've tried more than once over the past couple of years to attack >>> orgstruct mode, and been defeated every time. Largely because >>> indentation/filling is so damn complicated (too many layers of >>> indirection for my little brain), and orgstruct added yet another layer >>> of indirection on top of that. I think a rewrite would not be a bad >>> thing, and would be happy to participate. >> >> Basically, OrgStruct is Org with a very limited syntax, i.e., it only >> recognizes headlines and lists. OrgStruct++ adds indentation and >> filling. > > Right, I'd forgotten the distinction. I really only use orgstruct for > plain/numbered list editing (and I guess the occasional table), and > filling/indentation is pretty key there. > >> I think OrgStruct may be redefined as an outline minor mode with Org >> bindings. This is very different from Org. Even indentation and filling >> should be new functions since Org's recognizes context that doesn't make >> sense in OrgStruct. > > Would that mean that lists and tables wouldn't be supported? Tables are handled with OrgTbl minor mode, which is unrelated to OrgStruct mode. Lists would require slightly more work, but should be supported in OrgStruct mode. It implies to advise/hook Some functions from org-list.el (e.g., to avoid checking about context besides other items and headlines). Regards,