[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode characters for transcribing to pdf
From: |
tomas |
Subject: |
Re: Unicode characters for transcribing to pdf |
Date: |
Mon, 5 Sep 2022 20:51:32 +0200 |
On Mon, Sep 05, 2022 at 11:16:45AM +0200, Alessandro Bertulli wrote:
>
> <tomas@tuxteam.de> writes:
> >>
> >> Isn't this redundant? You call the function every time a LaTeX file is
> >> loaded. The first method is preferrable, right?
> >
> > I think they are doing different things. There are things you want to
> > happen on each buffer when and once it becomes a "LaTeX buffer". Setting
> > buffer-local variables comes to mind.
>
> Sorry, I didn't understand: are you saying that defining keybindings is
> one of those cases? Key maps are not buffer-local, are they? Or did I
> miss something?
No, keybindings seem an adequate application for the former. If you were
limiting your question to that case, you are totally right, of course.
> > And to nitpick a bit more: it doesn't happen when a LaTeX file is loaded,
> > but when LaTeX mode is "switched on", that can happen in other occassions
> > too (when creating a new buffer you know it will be LaTeX, but you can
> > also switch the mode on and off; LaTeX isn't a good example for the second).
>
> Sure, but that's not a problem, since even when creating a new LaTeX
> file, I always open a .tex file.
You might do. An org-to-LaTeX converter, for one example, might be
doing it directly into a buffer.
Cheers
--
t
signature.asc
Description: PGP signature
Message not available