[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group'
From: |
Arash Esbati |
Subject: |
Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group' |
Date: |
Mon, 29 Aug 2022 12:11:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Philip Kaludercic <philipk@posteo.net> writes:
> IIRC environments are usually inserted in one go, so the atomic change
> group wouldn't make much of a difference, or am I mistaken?
Not always, try:
--8<---------------cut here---------------start------------->8---
\documentclass[10pt]{article}
\usepackage{fancyvrb}
\begin{document}
Hit C-c C-n to parse the document. Then do:
C-c C-e Verbatim RET C-q
which inserts the environment like this:
\begin{Verbatim}
* is the position of point
\end{Verbatim}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---
> If so, this patch should do the job:
>
> From 4e25d3ba7ee1b6399d544cc32d9e10a63ab6a1d7 Mon Sep 17 00:00:00 2001
> From: Philip Kaludercic <philipk@posteo.net>
> Date: Sun, 28 Aug 2022 14:14:04 +0200
> Subject: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group'
Wrong patch attached?
Best, Arash
- [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Philip Kaludercic, 2022/08/28
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Tassilo Horn, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Arash Esbati, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Philip Kaludercic, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group',
Arash Esbati <=
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Philip Kaludercic, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Arash Esbati, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Philip Kaludercic, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Arash Esbati, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Philip Kaludercic, 2022/08/29
- Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group', Philip Kaludercic, 2022/08/29