c5fd541773
Implement @hlissner's suggestions
2018-07-18 15:31:35 +02:00
581536396f
Tell emacs how to parse tex files
2018-07-18 14:04:23 +02:00
9174b6c0e4
Stop chktex from producing garbage
2018-07-18 14:03:31 +02:00
0aa15c1622
simplify hook
2018-07-18 13:39:30 +02:00
6e67e5b3e4
simplify reftex declaration
2018-07-18 13:39:15 +02:00
e7465018fc
This shouldn't be tied to pdf-tools
2018-07-18 13:38:48 +02:00
fae43bea51
Large refactor using def-package!
2018-07-18 13:38:02 +02:00
96bcff1c02
Simplify latexmk setup
2018-07-18 13:37:49 +02:00
3120636a23
This is (probably) no longer necessary
2018-07-18 12:22:22 +02:00
9fc5d9472e
Viewers should be loaded after tex
2018-07-18 12:15:55 +02:00
5f14efbc20
Spring-cleaning
2018-07-18 12:12:15 +02:00
39e03f4cf1
Move viewer setup into different file
2018-07-18 12:12:04 +02:00
dc40fa36d3
Move referencing setup into different file
2018-07-18 12:11:53 +02:00
b6c3d5309f
Move preview-pane setup into seperate file
2018-07-18 12:11:20 +02:00
af7450cd0e
Move latexmk setup into seperate file
2018-07-18 12:10:58 +02:00
944a7dbb4e
This no longer applies.
2018-07-18 11:41:12 +02:00
a5f3c03c35
Added warning back in
2018-07-18 11:10:55 +02:00
a09799d73d
Skim already configured upstream
2018-07-18 09:35:32 +02:00
ed4f7301ba
Removed bibtex dir variable
2018-07-18 09:16:23 +02:00
00322883d7
Company-reftex should be conditional on company
2018-07-13 18:50:10 +02:00
6ba4982bfb
LaTeX-math-mode is redundant with completion
2018-07-13 18:45:59 +02:00
babb7821a0
Improved math completion via company-math
2018-07-13 18:01:22 +02:00
8a4e61f0b2
company-reftex takes over citation completion
2018-07-13 12:51:11 +02:00
a64a2e8848
Added company reftex support.
2018-07-13 10:14:10 +02:00
821d1937b8
Revert sp change.
2018-07-13 10:07:02 +02:00
9eccdd5c1b
fixed broken hook
2018-07-12 19:52:54 +02:00
c93c595ba3
reformat
2018-07-12 18:46:54 +02:00
b06fe0dde2
Made company-auctex more concise
2018-07-12 18:44:18 +02:00
0edd401539
This is redundant given global pdf mode
2018-07-12 18:35:26 +02:00
968fb60bce
This is the default in auctex anyway
2018-07-12 18:34:13 +02:00
00af6e66a7
Auctex already supports pdf tools
2018-07-12 18:32:23 +02:00
0dc2feec46
Remove redundant package! declaration
2018-07-12 17:07:34 +02:00
e8827048b8
sp already sets up latex-specific features
2018-07-12 16:59:24 +02:00
5d28a4f100
Fix invalid-function: PDF Tools error in latex
...
Due to a forgotten quote on a list form.
Reported by @xarthurx
2018-06-28 20:42:41 +02:00
e88f413d4a
factored out setting
2018-06-26 02:49:01 +02:00
e5fc8b6c81
Merge branch 'develop' of https://github.com/hlissner/doom-emacs into develop
2018-06-26 02:19:25 +02:00
8a4f15b01c
Refactor smartparens default rules
...
Move them to config/default, but move single-lang-specific ones to their
respective modules.
2018-06-25 15:54:38 +02:00
f6dc6ac74e
Refactor out map.el usage
...
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.
The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
af4fd8266f
removed redundant config from latex module
2018-06-22 12:22:03 +02:00
b5cfd3afc0
minor refactor of bibtex module
2018-06-22 12:11:10 +02:00
99902b29f9
Merge pull request #711 from patrl/develop
...
Added Zathura as a viewer option
2018-06-22 01:51:15 +02:00
445ca59b67
Correct make-buffer-local => make-local-variable
...
Reported by @UndeadKernel
2018-06-22 01:49:19 +02:00
b096214f28
fixed typo
2018-06-21 17:15:20 +02:00
64f77fe017
Added Zathura as a viewer option, via the feature +zathura (n.b. Zathura with synctex is already supported in AUCTeX)
2018-06-21 12:51:17 +02:00
746d90c330
make-variable-buffer-local -> make-local-variable
...
It is more correct to use the latter.
2018-06-19 13:49:18 +02:00
6808c46b58
💥 Change set-popup-rule! usage
...
Now accepts a flat plist of all its former parameters, including new
:parameters and :actions properties to increase your control over the
fate of your windows.
The old usage of set-popup-rule! is deprecated and may not work right!
The :ui popup module has also seen a major refactor to improve
efficiency and load times.
Sorry! This is the last "big" change before 2.1!
2018-06-18 02:34:16 +02:00
17981d6a61
Conform hook names to conventions
...
Also minor reformatting & comment corrections.
2018-06-17 02:25:12 +02:00
4a0b98ef1c
lang/latex: fix removal of master file prompt
...
It makes me sad that this is necessary. Friends don't let friends use
anonymous functions for their package's hooks.
2018-06-15 21:16:37 +02:00
9e85acec2c
Append flyspell-mode to LaTeX-mode-hook #654
...
If run too soon, the user has no opportunity to change
+spellcheck-immediately.
2018-06-15 21:00:38 +02:00
d8b1e469bc
Introduce autodefs to replace some settings
...
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!
I am slowly phasing out the setting system (def-setting! and set!),
starting with these.
What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.
The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00