help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode characters for transcribing to pdf


From: Alessandro Bertulli
Subject: Re: Unicode characters for transcribing to pdf
Date: Mon, 05 Sep 2022 11:16:45 +0200
User-agent: mu4e 1.8.9; emacs 29.0.50

<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?

> 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.

Alessandro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]