From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Some projects Date: Tue, 27 Oct 2015 13:28:33 -0700 Message-ID: <871tcgnjim.fsf@ericabrahamsen.net> References: <87wpub9jts.fsf@nicolasgoaziou.fr> <87lhap5yxx.fsf@ericabrahamsen.net> <877fm8d883.fsf@nicolasgoaziou.fr> <877fm8kusi.fsf@ericabrahamsen.net> <87io5s5d5c.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrArO-0002Qq-AU for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 16:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrArJ-0001vy-CW for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 16:28:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:51520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrArJ-0001vW-6C for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 16:28:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZrArH-00038u-He for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 21:28:39 +0100 Received: from c-76-28-195-250.hsd1.wa.comcast.net ([76.28.195.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Oct 2015 21:28:39 +0100 Received: from eric by c-76-28-195-250.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Oct 2015 21:28:39 +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: emacs-orgmode@gnu.org Rasmus writes: > Eric Abrahamsen writes: > >> 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. > > AFAIK, this doesn't work in commented lines (e.g., when using orgstruct > with init.el). That's something I've never tried. TBH, I only use orgstruct mode when writing emails. But there I use it quite a bit. >>> 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? > > ATM tables are supported via orgstruct++-mode, though at list basic list > support is provided by orgstruct-mode. Right, but my question is about a future reworking of the library. Nicolas mentions refactoring it onto the outline mode, which AFAIK doesn't do lists or tables. >> The unfortunate thing about tabulated list mode, which I otherwise >> really like, isn't able to show multi-line list items. That really >> crimps its usefulness in showing footnotes and annotations, since you >> can only see the first line. Bummer. > > Did you open a bug for this? I posted a query on emacs.help, prior to opening a bug :) >>>> 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. >> >> Okay. I thought there might be some big chunk of Org that needed to be >> shifted over on top of elements. > > There’s plenty of stuff to refactor in org.el, org-agenda.el etc. I was fishing for something more specific, but if there aren't any desperate necessities, I guess that's a good thing. I'll take a look. Marcin Borkowski writes: > On 2015-10-27, at 19:53, Eric Abrahamsen wrote: > >> I can adapt the code from org-annotate. The unfortunate thing about >> tabulated list mode, which I otherwise really like, isn't able to show >> multi-line list items. That really crimps its usefulness in showing >> footnotes and annotations, since you can only see the first line. >> Bummer. > > BTW: have you looked at EWOC? > > http://mbork.pl/2015-07-18_TLM_vs_EWOC,_or_there_and_back_again I had not, and that was really interesting! Thanks for the link. On balance, I'd like TLM to support this, but we'll see what people think. E