bug#71363: 14.0.5; AUCTeX 14.05 and LaTeX Mode

2024-07-01 Thread Paul Nelson
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,

bug#71363: 14.0.5; AUCTeX 14.05 and LaTeX Mode

2024-07-01 Thread Ikumi Keita
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

bug#71363: 14.0.5; AUCTeX 14.05 and LaTeX Mode

2024-07-01 Thread Arash Esbati
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

bug#71363: 14.0.5; AUCTeX 14.05 and LaTeX Mode

2024-07-01 Thread Ikumi Keita
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 >

bug#71363: 14.0.5; AUCTeX 14.05 and LaTeX Mode

2024-07-01 Thread Ikumi Keita
> 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.

bug#71363: 14.0.5; AUCTeX 14.05 and LaTeX Mode

2024-07-01 Thread Arash Esbati
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.