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: Emanuel Berg
Subject: Re: Unicode characters for transcribing to pdf
Date: Sun, 04 Sep 2022 08:32:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier via Users list for the GNU Emacs text editor wrote:

>> I installed it using package.el. Then for some reason I had
>> problems configuring keybindings in LaTeX-mode-map: somehow
>> the variable seemed to not be defined. I manually searched
>> for it in the package (M-x grep-find iirc), then required
>> the relevant files.
>
> `LaTeX-mode-map`, like most package variables, is only
> defined once its package is actually loaded, which is done
> lazily in response to the use of the package (e.g.
> opening a LaTeX file).

https://en.wikipedia.org/wiki/Lazy_loading

> So it's normal that `LaTeX-mode-map` is not defined when
> your init file is loaded. This is on purpose to try and
> speed up Emacs's startup.

Does it really make it that slow? Must be something from
Emacs' past, maybe ...

And besides you shouldn't restart Emacs all the time either?

With this

  (require 'tex-mode)
  (define-key latex-mode-map "\C-c\C-c" #'compile)

starting Emacs is almost instant.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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