From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [Orgmode] Re: [Feature Request] Cross headings in tables Date: Tue, 07 Jun 2011 21:42:57 +0200 Message-ID: <87tyc1xwam.fsf@Rainer.invalid> References: <87ocb96ebn.fsf@Rainer.invalid> <87eic4le49.fsf@Rainer.invalid> <87d3nwzo22.fsf@Rainer.invalid> <87ei7qxiuf.fsf@Rainer.invalid> <87wrlakxcv.fsf@Rainer.invalid> <87zkm3yk96.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU2BE-000213-Pf for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 15:43:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QU2BD-0003rb-28 for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 15:43:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:44263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU2BC-0003rW-I1 for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 15:43:10 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QU2BB-0007YT-Du for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 21:43:09 +0200 Received: from p57aacfb6.dip.t-dialin.net ([87.170.207.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2011 21:43:09 +0200 Received: from Stromeko by p57aacfb6.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2011 21:43:09 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > I think a better strategy would be to find these additional > header lines right before this section of the recalculate function: > > ;; Now evaluate the column formulas, but skip fields covered by > ;; field formulas > > and mark those extra header lines with the org-untouchable text property. > Then you can let the column formulas do their game, and fields marked > by this property will automatically exempted...... I just did that (and fixing a bug with the :org-untouchable property not being removed in certain circumstances which you might want to commit to master upfront). It looks much cleaner, see if you like it, too. I've also cleaned up all the commit messages, I hope they conform to the standard now. > Another part which might need a look to support this > would be `orgtbl-to-generic'. That I will have to think over a bit. This support depends on parsing the table into a list (AFAIK) and that currently treats cross headings as another sort of hlines. Changing this has a lot of repercussions elsewhere in the code as far as I can see. It might be an opportunity to re-factor some of the code that still works on the text representation, but that is certainly not something that I'd take lightly. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra