Re: Problem with inserting siunitx macros with options

2022-11-09 Thread Arash Esbati
Hi Kourosh, kaykal writes: > I have a problem inserting siunitx macros with AUCTeX using > TeX-insert-macro (C-c RET). When inserting macros (like \SIrange, I > will be asked for options, I can start writing the option key and > AUCTeX can successfully autocomplete it (when I press tab), see

Re: Problem with inserting siunitx macros with options

2022-11-09 Thread kaykal
On 9 Nov 2022, at 4:47, Arash Esbati wrote: > Thanks for raising this issue. This is indeed a bug in siunitx.el which > I've just fixed (e83a4b87b3) and will be available with next AUCTeX > release. Great! Thank you Arash. Kourosh

master e83a4b87: Use the correct function to retrieve the key=vals

2022-11-09 Thread Arash Esbati
branch: master commit e83a4b87b3bb147ae4d00b567fb804901c226fdf Author: Arash Esbati Commit: Arash Esbati Use the correct function to retrieve the key=vals * style/siunitx.el (LaTeX-siunitx-key-val-options): Delete unnecessary `and' when checking for a color package.

master 21e62402 1/3: Improve support for TikZ

2022-11-09 Thread Ikumi Keita
branch: master commit 21e624026a250f39a508ec06274fbfa72b99b6a1 Author: Ikumi Keita Commit: Ikumi Keita Improve support for TikZ * style/tikz.el ("tikz"): Add "tikz", "tikzset", "usetikzlibrary" and "foreach" macros. Run style hooks for graphicx, keyval and xcolor as well.

master 4eaed332: Add new hooks for inserting environments with arguments

2022-11-09 Thread Arash Esbati
branch: master commit 4eaed332ba600d8fc90d2177815597e9407c3f2b Author: Arash Esbati Commit: Arash Esbati Add new hooks for inserting environments with arguments * doc/auctex.texi (Adding Environments): Document new functions `LaTeX-env-item-args' and `LaTeX-env-label-args'.

Re: TikZ support and ConTeXt environments

2022-11-09 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > That alone wouldn't work. Suppose that you open two LaTeX files. The > second buffer wouldn't have `TeX-auto-parser' updated. Yes, sorry, my bad. I was thinking about `TeX-auto-add-regexp' which is executed in the hooks where `TeX-auto-add-type' is only used

Re: TikZ support and ConTeXt environments

2022-11-09 Thread Ikumi Keita
> Arash Esbati writes: > Yes, sorry, my bad. I was thinking about `TeX-auto-add-regexp' which is > executed in the hooks where `TeX-auto-add-type' is only used top-level. > So let's scratch my idea and go on with yours :-) Thanks, I'll to. Bye, Ikumi Keita #StandWithUkraine

master 52a7f405: ; * doc/auctex.texi (Adding Environments): Adjust indentation.

2022-11-09 Thread Arash Esbati
branch: master commit 52a7f4050f48f1459e61aedd86935c2d95b14a50 Author: Arash Esbati Commit: Arash Esbati ; * doc/auctex.texi (Adding Environments): Adjust indentation. --- doc/auctex.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/auctex.texi

master 316550f0 2/3: Fix `ConTeXt-add-environments'

2022-11-09 Thread Ikumi Keita
branch: master commit 316550f0bfa61d197fca7b4a9fc9b864b1b46640 Author: Ikumi Keita Commit: Ikumi Keita Fix `ConTeXt-add-environments' * context.el (ConTeXt-environment, ConTeXt-environment-menu): Use function `ConTeXt-environment-list' to refer to the current environments

master c0c95563 3/3: Don't insert empty node name

2022-11-09 Thread Ikumi Keita
branch: master commit c0c955633839777848a94400a45ef97667e7a992 Author: Ikumi Keita Commit: Ikumi Keita Don't insert empty node name * style/tikz.el (TeX-TikZ-node-arg): Treat node name as optional to avoid the insertion of empty node name. (TeX-TikZ-arg-options,

master updated (52a7f405 -> c0c95563)

2022-11-09 Thread Ikumi Keita
ikumi pushed a change to branch master. from 52a7f405 ; * doc/auctex.texi (Adding Environments): Adjust indentation. new 21e62402 Improve support for TikZ new 316550f0 Fix `ConTeXt-add-environments' new c0c95563 Don't insert empty node name Summary of

master cb7b4422: Improve fontification of indexing macros

2022-11-09 Thread Arash Esbati
branch: master commit cb7b44227d23366996fa94c1ffe19208add6c127 Author: Arash Esbati Commit: Arash Esbati Improve fontification of indexing macros * font-latex.el (font-latex-built-in-keyword-classes): Add entries for \makeindex and \makeglossary macros. *

scope environment in TikZ

2022-11-09 Thread Ikumi Keita
Hi all, The next thing I'd like to discuss is scope environment in TikZ. The scope environment is practically always accompanied by an optional argument by its nature: \begin{tikzpicture} \begin{scope}[TikZ options...] ... \end{scope} \end{tikzpicture} In other words, its "optional"