Re: Request for Features in DocTeX mode

2023-04-02 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > There is a typo. Thanks for catching this. I've installed the change with commit 99334fe623. Also thanks to Dirk for the patch. Best, Arash

Re: Request for Features in DocTeX mode

2023-04-01 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Thanks Keita. I will install the patch below in a day or two if no > further comments come in. There is a typo. > diff --git a/doc/auctex.texi b/doc/auctex.texi [...] > +@defopt docTeX-indent-across-comments > +If non-nil, indentation in docTeX is done

Re: Request for Features in DocTeX mode

2023-03-31 Thread Arash Esbati
Ikumi Keita writes: > It affects only doctex mode, so I think it's OK to incorporate the > patch. Thanks Keita. I will install the patch below in a day or two if no further comments come in. @Dirk: Thanks for the patch. I see you haven't signed the FSF copyright papers, but the change is

Re: Request for Features in DocTeX mode

2023-03-30 Thread Ikumi Keita
> Arash Esbati writes: > Dirk Ullrich writes: >> if I've correctly grasped Jan's problem, something like the appended >> patch may do the trick. It adds an option to customize whether in >> DocTeX mode indentation should be kept across multiple `macrocode` >> environments. > Thanks for the

Re: Request for Features in DocTeX mode

2023-03-29 Thread Arash Esbati
Dirk Ullrich writes: > if I've correctly grasped Jan's problem, something like the appended > patch may do the trick. It adds an option to customize whether in > DocTeX mode indentation should be kept across multiple `macrocode` > environments. Thanks for the patch, seems to work. What do

Re: Request for Features in DocTeX mode

2023-03-29 Thread Dirk Ullrich
Hello, On 29.03.23 09:41, Arash Esbati wrote: Jan Braun writes: Thank you, I had forgotten about the % sign. So with refTeX you can get along/work around. But for pure AUCTeX, this seems not be possible? No, I'm afraid not. AUCTeX's parser ignores stuff which is commented, AFAIU. [...]

Re: Request for Features in DocTeX mode

2023-03-29 Thread Arash Esbati
Jan Braun writes: > Thank you, I had forgotten about the % sign. So with refTeX you > can get along/work around. > > But for pure AUCTeX, this seems not be possible? No, I'm afraid not. AUCTeX's parser ignores stuff which is commented, AFAIU. > This is a snippet from the DTX file with an

Re: Request for Features in DocTeX mode

2023-03-28 Thread Jan Braun
Hi Arash, :-) > Am 28.03.2023 um 10:18 schrieb Arash Esbati : > > Jan Braun writes: > >> When in LaTeX mode, you can use AUCTeX or reftex to insert a >> \ref command and Emacs will ask you, about the labels to use. >> It will also auto-complete known labels. When doing the >> same in a

Re: Request for Features in DocTeX mode

2023-03-28 Thread Arash Esbati
Jan Braun writes: > When in LaTeX mode, you can use AUCTeX or reftex to insert a > \ref command and Emacs will ask you, about the labels to use. > It will also auto-complete known labels. When doing the > same in a DocTeX buffer, Emacs fails to offer any label. There > is also no

Re: Request for Features in DocTeX mode

2023-03-27 Thread David Kastrup
Jan Braun writes: > > \newpage > %\end{macrocode} > % @ > %\begin{macrocode} > > I wrote myself a tiny lisp function, but this has still some bugs, > which I wasn’t able to fix yet :-( You can try C-a C-o % C-u C-c ] as a first approximation. -- David Kastrup

Request for Features in DocTeX mode

2023-03-27 Thread Jan Braun
Hi everyone, recently I found into the beauty of programming new LaTeX styles by the help of DocTeX. I think AUCTeX is the most efficient tool to write LaTeX related code but the DocTeX mode is missing most of AUCTeX normaly used features. Let me explain this. When in LaTeX mode, you can