[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode
From: |
Stefan Monnier |
Subject: |
bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode |
Date: |
Thu, 06 Jun 2024 14:05:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> | Major mode for editing files of input for TeX, LaTeX, or SliTeX.
> | This is the shared parent mode of several submodes.
> | Tries to determine (by looking at the beginning of the file) whether
> | this file is for plain TeX, LaTeX, or SliTeX and calls ‘plain-tex-mode’,
> | ‘latex-mode’, or ‘slitex-mode’, accordingly. If it cannot be determined,
> | such as if there are no commands in the file, the value of
> ‘tex-default-mode’
> | says which mode to use.
> `----
>
> `tex-mode' redirects to submodes via `tex--redirect-to-submode'. I
> think we ask the tex-mode.el maintainer.
>
> @Stefan: Should the entries in ffap.el for `tex-mode' be replaced by
> `plain-tex-mode' as well?
No buffer should be in `tex-mode` (it's an "abstract" parent mode), so
AFAICT the current entry
(tex-mode . ffap-tex-mode) ; search ffap-tex-path
in `ffap-alist` is not very useful.
So unless/until `ffap.el` is changed to pay attention to the modes'
hierarchy rather than just the value of `major-mode`, we should use
things like `plain-tex-mode`.
Stefan
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Arash Esbati, 2024/06/05
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Ikumi Keita, 2024/06/06
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Arash Esbati, 2024/06/06
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Ikumi Keita, 2024/06/06
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Arash Esbati, 2024/06/06
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode,
Stefan Monnier <=
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Arash Esbati, 2024/06/06
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Ikumi Keita, 2024/06/07
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Arash Esbati, 2024/06/07
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Stefan Kangas, 2024/06/07
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Eli Zaretskii, 2024/06/07
- bug#71376: 14.0.5; find-file-at-point doesn't work in LaTeX-mode, Arash Esbati, 2024/06/07