Re: [a new bug? concerning indenting] (was: bug#28405: Adding entries to LaTeX-indent-environment-list)

2022-02-08 Thread Ikumi Keita
Hi Uwe, > Uwe Brauer writes: > Even with your patch (I have not pulled, so but I presume that used > the patch master from 24 of january is still ok?) I think so. > In any case look at this > \documentclass[12pt]{article} > \usepackage{amssymb,amsfonts,amsmath,amsthm} > \begin{document}

[a new bug? concerning indenting] (was: bug#28405: Adding entries to LaTeX-indent-environment-list)

2022-02-08 Thread Uwe Brauer
> I think standard filling isn't so bad. It does the job mostly > satisfactorily, at least for me. Hi Even with your patch (I have not pulled, so but I presume that used the patch master from 24 of january is still ok?) In any case look at this \documentclass[12pt]{article}

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-02 Thread Ikumi Keita
> Arash Esbati writes: > Ikumi Keita writes: >> With respect to math envs without alignment, e.g. "equation", >> "displaymath" and "gather", I think there are two approaches: >> 1. Remove them from default value of `LaTeX-indent-environment-list'. >> Users who want to disable filling in such

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-02 Thread Uwe Brauer
> Uwe Brauer writes: > I'd go back to the sender telling him his code is utterly broken and I > will not fix it  Lucky you, I can't do that  > Then you have to customize `LaTeX-indent-environment-list' and remove > the entries for 'align', 'equation' and other math environments. They >

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-02 Thread Arash Esbati
Uwe Brauer writes: > Suppose you have (or have a received) a file of that form > > \documentclass[a4paper]{article} > \begin{document} > \begin{equation} > a = \left.\int very very long expression in one line\begin{array} > a > a > a > \end{equation} > \end{document} > > So the equation is

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-02 Thread Uwe Brauer
>>> "AE" == Arash Esbati writes: Hi Arash > Uwe Brauer writes: >> I am deeply puzzled now. >> >> 1. I like Keita's patch because it results in filling with a much >> better indenting. >> >> 2. But, are you saying the price for this is that auto-filling is >> disabled and I have to deal with

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-02 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > With respect to math envs without alignment, e.g. "equation", > "displaymath" and "gather", I think there are two approaches: > 1. Remove them from default value of `LaTeX-indent-environment-list'. >Users who want to disable filling in such envs customize the

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-02 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Thanks for raising this inconsistency. My vote is to harmonize this and > add all math environments to `LaTeX-indent-environment-list', > i.e. disabling filling. Then the question is how a user can control the > custom variable when we add entries to it

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-01 Thread Arash Esbati
Uwe Brauer writes: > I am deeply puzzled now. > > 1. I like Keita's patch because it results in filling with a much >better indenting. > > 2. But, are you saying the price for this is that auto-filling is >disabled and I have to deal with very long equations myself? Why >

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-01 Thread Uwe Brauer
> Hi Keita, > Ikumi Keita writes: > Thanks for raising this inconsistency. My vote is to harmonize this and > add all math environments to `LaTeX-indent-environment-list', > i.e. disabling filling. Then the question is how a user can control the > custom variable when we add entries to it as

Re: bug#28405: Adding entries to LaTeX-indent-environment-list

2022-02-01 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: >>> I have tweaked LaTeX-indent-environment-list and I noticed bug#28405 [1]. >>> Should we add gather and multline environments as well to >>> LaTeX-indent-environment-list like this? > >>> diff --git a/style/amsmath.el b/style/amsmath.el >>> index