From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: indentation problem following a TBLFM line Date: Fri, 15 Jun 2007 10:05:03 -0500 Message-ID: <41c818190706150805p6b51512s5c1db845b820e42@mail.gmail.com> References: <41c818190706140934q25283229u1520e5940451afe9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzDMJ-0006WW-Fc for emacs-orgmode@gnu.org; Fri, 15 Jun 2007 11:05:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzDMH-0006Vl-Pb for emacs-orgmode@gnu.org; Fri, 15 Jun 2007 11:05:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzDMH-0006Vh-Hl for emacs-orgmode@gnu.org; Fri, 15 Jun 2007 11:05:05 -0400 Received: from an-out-0708.google.com ([209.85.132.245]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HzDMH-0002zh-2F for emacs-orgmode@gnu.org; Fri, 15 Jun 2007 11:05:05 -0400 Received: by an-out-0708.google.com with SMTP id c25so183485ana for ; Fri, 15 Jun 2007 08:05:04 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode On 6/15/07, Carsten Dominik wrote: > On Jun 14, 2007, at 18:34, William Henney wrote: > > ---------------------------------------------------- > > * indentation problem following a TBLFM line > > | foo | > > |-----| > > | 1 | > > #+TBLFM: $1=3D$1 > > > > Hitting TAB on this line does not indent correctly. > > ---------------------------------------------------- > > > Very hard to tell what would be correct and not in this case. > It seems to me that this is stressing what TAB should do for > indentation in org-mode. You are suggesting that it should > look beyond the comment line and indent like the table? > Yes. Other major modes seem to "do the right thing" and ignore preceding comment lines when doing indentation and filling. For instance, LaTeX-indent-line in AUCTeX. My lisp skills are not good enough to really understand how this works and whether it might be easily applied to org-mode. I just thought I would mention it while we were on the subject of indentation. If you don't feel it would be worth the trouble to try and address this, then I fully understand. Cheers Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia