Commit graph

132 commits

Author SHA1 Message Date
Henrik Lissner
505ceb3530
lang/latex: major refactor & reformatting 2018-05-09 12:38:20 +02:00
Julien Wintz
b89431eef8
Towards fixing byte compilation. 2018-05-09 12:11:41 +02:00
UndeadKernel
aec77d5f1e Enable rainbow mode in LaTeX buffers. 2018-04-25 11:03:56 +02:00
Henrik Lissner
dc33c72d19
Refactor removal of default smartparens rules for certain modes 2018-04-18 18:29:48 -04:00
UndeadKernel
717f6e3cfe Sneak in some more nice-to-have LaTeX fontifications. 2018-04-11 13:03:59 +02:00
UndeadKernel
0a23c30e06 Make PDF tools and LaTeX work better together.
Update the README file to reflect the available flags.
2018-04-11 13:02:58 +02:00
Henrik Lissner
d7672dad46
lang/latex: minor refactor & conform to doom conventions 2018-03-07 21:21:17 -05:00
Henrik Lissner
636c895f23
lang/latex: improve responsiveness by removing sp rules #452 2018-03-07 03:04:10 -05:00
Henrik Lissner
0cfe8e305e
Bring back aggressive loading of autoloads files #446
package-initialize, once again, isn't called on every startup, which
means package autoloads won't be loaded in most interactive sessions, so
must do it manually for certain packages.
2018-03-07 03:01:17 -05:00
Henrik Lissner
138ec2bf07
Remove manual loading of pkg-autoloads files
No longer necessary as of 0c80bb42
2018-02-28 17:57:30 -05:00
Henrik Lissner
6c4e048c23
General refactor & cleanup 2018-02-14 07:47:22 -05:00
fuxialexander
0a655e4f52 Add: +skim as pdf viewer 2018-02-05 10:32:18 +08:00
UndeadKernel
56a3c81778 Correct def-setting and use string-empty-p.
Change default ivy-bibtex behavior to insert bibliography.
2018-01-09 14:19:02 +01:00
Undead Kernel
e91cb11243 Latex module revamped
Latex language module with previews, latexmk, reftex, bibtex and others.
Completion with company mode.
Selection of bibliography using Ivy or Helm.
Later preview panel or okular as viewers.
LatexMk for compiling code.
Prettified indentation with adaptive-wrap along with good indentation of environments.
Additional fontification of common commands.
2018-01-08 19:18:37 +01:00
Henrik Lissner
4024437cfb
lang/latex: don't forcibly hide modeline 2018-01-07 00:35:59 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will
throw errors!

Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.

However, this is highly experimental! Expect edge cases.  Particularly
with org-mode and magit (or anything that does its own window
management).

Relevant to #261, #263, #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
7556762d98
lang/latex: refactor (WIP) 2018-01-04 16:16:45 -05:00
Henrik Lissner
feff92c626
Fix company-auctex not initializing properly in Auctex buffers #326
Caused because AucTex's LaTeX-mode reports its major-mode as
'latex-mode. A check in :company-backends expects major modes to have
matching hooks (e.g. LaTeX-mode-hook => LaTeX-mode).
2018-01-04 16:16:45 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default.

Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
5057db93f1
Replace :L state with :local flag in map!
Fixes #162
2017-07-27 19:09:33 +02:00
Henrik Lissner
392c58ea47
General refactor & cleanup 2017-06-19 00:32:45 +02:00
Henrik Lissner
2097498f3e
General docstring+idempotency refactor 2017-06-11 00:59:02 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
3e63d2d23b Reduce def-package magic; explicitly use :when property 2017-03-19 22:47:50 -04:00
Henrik Lissner
6230250f46 lang/latex: auto roc-rescan & fix Auctex config 2017-03-09 00:27:50 -05:00
Henrik Lissner
a19a0da176 lang/latex: shhh 2017-03-08 21:36:57 -05:00
Henrik Lissner
3c6e1c52af lang/latex: improve auctex+reftex config 2017-03-08 21:30:16 -05:00
Henrik Lissner
45122cdea5 Fix keybindings + make them more consistent 2017-02-28 12:11:18 -05:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
e14e25ecb4 Update modules/lang/* 2017-02-20 00:26:08 -05:00
Henrik Lissner
f453b3cee1 Reorganize modules 2017-02-20 00:23:03 -05:00