From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Some projects Date: Tue, 27 Oct 2015 09:30:20 +0100 Message-ID: <877fm8d883.fsf@nicolasgoaziou.fr> References: <87wpub9jts.fsf@nicolasgoaziou.fr> <87lhap5yxx.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqzcU-00073Z-EB for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 04:28:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqzcT-00079A-BI for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 04:28:38 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:38417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqzcT-00078t-4M for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 04:28:37 -0400 In-Reply-To: <87lhap5yxx.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 26 Oct 2015 10:20:26 -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: > 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. 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. > The one thing I like about the package (indeed, it's what the bulk of > the code actually does) is the ability to "pop up" a single annotation's > text in a small, easily-dismissed special-mode buffer. Also, to display > all of a buffer's annotations in a tabulated-list pop-up buffer, where > you can easily jump to/edit/delete the various annotations. > > Obviously Org footnotes (and future annotations) have jump there/jump > back capability, but for some reason I feel much more comfortable with > this style of browsing. Have you tried C-c ' one a footnote reference? Unlike to C-c C-o, it will pop-up a dedicated buffer for editing. However, there is no global view of all footnotes. If it is useful, it might be nice to add one and trigger it from, e.g., to `org-footnote-action's menu. > These new features aside, is there any need to do any fundamental > refactoring? I mostly mean altering existing Org libraries to use the > element framework, stuff like that... Of course. Refactoring (e.g., replacing `setq' with `let'), adding code comments, tests, using Element where applicable is always good. Regards,