* indentation problem following a TBLFM line
@ 2007-06-14 16:34 William Henney
2007-06-15 6:18 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: William Henney @ 2007-06-14 16:34 UTC (permalink / raw)
To: emacs-orgmode
Here is another one!
----------------------------------------------------
* indentation problem following a TBLFM line
| foo |
|-----|
| 1 |
#+TBLFM: $1=$1
Hitting TAB on this line does not indent correctly.
----------------------------------------------------
Cheers
Will
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: indentation problem following a TBLFM line
2007-06-14 16:34 indentation problem following a TBLFM line William Henney
@ 2007-06-15 6:18 ` Carsten Dominik
2007-06-15 15:05 ` William Henney
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2007-06-15 6:18 UTC (permalink / raw)
To: William Henney; +Cc: emacs-orgmode
On Jun 14, 2007, at 18:34, William Henney wrote:
> Here is another one!
>
> ----------------------------------------------------
> * indentation problem following a TBLFM line
> | foo |
> |-----|
> | 1 |
> #+TBLFM: $1=$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?
- Carsten
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: indentation problem following a TBLFM line
2007-06-15 6:18 ` Carsten Dominik
@ 2007-06-15 15:05 ` William Henney
0 siblings, 0 replies; 3+ messages in thread
From: William Henney @ 2007-06-15 15:05 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
On 6/15/07, Carsten Dominik <dominik@science.uva.nl> wrote:
> On Jun 14, 2007, at 18:34, William Henney wrote:
> > ----------------------------------------------------
> > * indentation problem following a TBLFM line
> > | foo |
> > |-----|
> > | 1 |
> > #+TBLFM: $1=$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
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-15 15:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-14 16:34 indentation problem following a TBLFM line William Henney
2007-06-15 6:18 ` Carsten Dominik
2007-06-15 15:05 ` William Henney
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.