On Mon, Jul 1, 2024 at 9:50 AM Arash Esbati wrote:
>
> Thanks. I wonder why we can't leave this decision to the user?
>
My thought was that making AUCTeX load automatically in src mode
blocks is similar to doing the same for tex files. Both require
adjustments that could be left to the user,
Hi Arash,
> Arash Esbati writes:
> Ah, Ok, thanks. And IIUC having an entry like this
> (latex-mode . LaTeX-mode)
> in `major-mode-remap-alist' doesn't help either, right?
I think so. `major-mode-remap-alist' is rather new in emacs history, so
I suppose there is no code other than
Hi Keita,
Ikumi Keita writes:
> I don't think that's enough. If I understand correctly, the major
> problem is that LaTeX code block other than beamer code block is handled
> by `latex-mode' by default. The doc string of `org-edit-special' says:
> ,
> | The LaTeX environment is copied into
Hi Arash,
> Arash Esbati writes:
> Thanks. I wonder why we can't leave this decision to the user?
> ,[ C-h v org-src-lang-modes RET ]
> | org-src-lang-modes is a variable defined in ‘org-src.el’.
...
> `
> So people only need to customize
> ("beamer" . latex)
> to
>
> Paul Nelson writes:
> I checked that Ikumi's suggestion addresses the issue (more correctly
> than my own workaround), but feel that AUCTeX should do something like
> this by default, like it did (incidentally, via mode aliasing) until
> the recent update. I'm not sure how best to do that.
Paul Nelson writes:
> I checked that Ikumi's suggestion addresses the issue (more correctly
> than my own workaround), but feel that AUCTeX should do something like
> this by default, like it did (incidentally, via mode aliasing) until
> the recent update. I'm not sure how best to do that.