Jim <[email protected]> writes:

> Quite true.  I had noticed that, but didn't include it in my bug
> report.

No problem.

> My basic tests show LaTeX mode indents fine.

Thanks for reporting back.

> I had taken a very very very quick look at the indentation for LaTeX, but
> didn't (yet, anyway) try adapting that to ConTeXt mode... there is a fair
> bit of code there!
>
> I do have a couple of lines of elisp that works-around this particular
> problem with the ConTeXt indentation, but it falls more into the "quick
> hack" category than the "elegant fix" category.
>
> Pragmatically, I'll take "quick hack fix" over "horribly broken", but I
> realize others may disagree.  It would be nicer to have completely
> well-written indenting code that Does The Right Thing.

That would be great.  I wonder if it's really that hard to copy&paste
the indentation code in latex.el in context.el and adjust the LaTeX
specific parts with their ConTeXt counterparts.

> If/when my copyright assignment comes through, I'll submit a patch for this
> and see if you and/or any others with write permission are willing to
> accept it (while waiting for a proper fix for ConTeXt indentation to
> happen, whenever that might be).

Please do so; I think that will be an improvement until Someone™️ steps
forward and spend some time in that department.

Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to