Commit graph

1701 commits

Author SHA1 Message Date
Patrick Elliott
614c49f43f Merge branch 'develop' of https://github.com/hlissner/doom-emacs into latexRefactor 2018-07-13 12:51:50 +02:00
Patrick Elliott
8a4e61f0b2 company-reftex takes over citation completion 2018-07-13 12:51:11 +02:00
Patrick Elliott
a64a2e8848 Added company reftex support. 2018-07-13 10:14:10 +02:00
Patrick Elliott
821d1937b8 Revert sp change. 2018-07-13 10:07:02 +02:00
Henrik Lissner
e7b252f442
TAB should respect org-cycle-open-archived-trees
And shouldn't cycle visibility of archived trees by default.
2018-07-12 20:39:39 +02:00
Patrick Elliott
9eccdd5c1b fixed broken hook 2018-07-12 19:52:54 +02:00
Patrick Elliott
c93c595ba3 reformat 2018-07-12 18:46:54 +02:00
Patrick Elliott
b06fe0dde2 Made company-auctex more concise 2018-07-12 18:44:18 +02:00
Patrick Elliott
0edd401539 This is redundant given global pdf mode 2018-07-12 18:35:26 +02:00
Patrick Elliott
968fb60bce This is the default in auctex anyway 2018-07-12 18:34:13 +02:00
Patrick Elliott
00af6e66a7 Auctex already supports pdf tools 2018-07-12 18:32:23 +02:00
Patrick Elliott
0dc2feec46 Remove redundant package! declaration 2018-07-12 17:07:34 +02:00
Patrick Elliott
e8827048b8 sp already sets up latex-specific features 2018-07-12 16:59:24 +02:00
HaoZeke
03cb076fd6
org: Update revealJS url
This grabs all minor versions upto 4.xx
2018-07-11 19:15:24 +05:30
HaoZeke
763dba72cd
org: Update +export to generate revealjs stuff 2018-07-11 19:06:49 +05:30
Henrik Lissner
1fc43dacfc
lang/ruby: don't pop up console on startup
This shouldn't compromise the features that robe provides (like code
completion), it only hides the REPL.
2018-07-11 13:06:28 +02:00
Henrik Lissner
867eaebd9d
Remove FIXME in lang/ruby (it's been fixed!) 2018-07-10 23:11:40 +02:00
Henrik Lissner
c760bf7205
Open file links to /docs/ in emacs 2018-07-09 21:53:29 +02:00
Henrik Lissner
4941e327f4
General refactor for readability
+ Removes redundant/unhelpful comments
+ Renames functions, hooks and variables to be self-documenting
+ Use add-to-list to ensure idempotency (and is more performant)
2018-07-09 15:33:31 +02:00
Henrik Lissner
a0b0964355
lang/ruby: fix rbenv version detection 2018-07-06 23:58:11 +02:00
Henrik Lissner
0a577f3a0e
lang/python: fix pyenv version detection #736 2018-07-06 23:56:50 +02:00
Henrik Lissner
55f692491e Merge branch 'ar1a-ruby-revamp' into develop
* ar1a-ruby-revamp:
  Cleanup robe processes killing last ruby buffer
  Refactor lang/ruby & remove +ruby-ask-for-server
  lang/ruby: fix type (enh-ruby-ode)
  lang/ruby: what's 'this' lol
  lang/ruby: Add rubocop binds
  lang/ruby: bit more refactoring
  lang/ruby: Initial work on porting to enh-ruby
2018-07-06 23:35:11 +02:00
Henrik Lissner
00d6e7b9ca
Cleanup robe processes killing last ruby buffer
Experimental?
2018-07-06 23:11:26 +02:00
Henrik Lissner
f5f87ee0a3
Refactor lang/ruby & remove +ruby-ask-for-server
To conform to conventions and remove redundancies (like activating
flycheck-mode, which is global now).

Also, should now silently create a robe server.
2018-07-06 22:38:01 +02:00
Aria Edmonds
372f02b6c0 lang/ruby: fix type (enh-ruby-ode) 2018-07-06 23:56:10 +10:00
Aria Edmonds
811290368c lang/ruby: what's 'this' lol 2018-07-06 23:56:10 +10:00
Aria Edmonds
12b32d6208 lang/ruby: Add rubocop binds 2018-07-06 23:56:10 +10:00
Aria Edmonds
6b1265ae5a lang/ruby: bit more refactoring 2018-07-06 23:54:56 +10:00
Aria Edmonds
3f553b0a71
lang/ruby: Initial work on porting to enh-ruby 2018-07-06 23:32:06 +10:00
Josh Seba
fff9547763 Fix major mode symbols 2018-07-05 22:09:29 -07:00
Henrik Lissner
15f66f4b52
Add doom|disable-show-paren-mode hook
For disabling show-paren-mode buffer-locally.
2018-07-06 01:06:13 +02:00
Henrik Lissner
4ebbf8f056
Fix variable height org-level-N faces in eldoc
It only uses the face's :foreground, which should be enough, but it
prevents the minibuffer from being resized when eldoc displays
breadcrumbs in org-mode.
2018-07-05 13:44:34 +02:00
Henrik Lissner
ad5470ce3f
Make org-export-directory an obsolete alias
Slow down to give people time to transition.
2018-07-04 23:57:17 +02:00
Henrik Lissner
030e80d202
Refactor lang/org/+export
+ Changed org-export-directory to +org-export-dir (conform to naming
  convention). It turns out org-export-directory never existed in org.
+ Make org-export-backends addition (for ox-pandoc) idempotent.
+ Fix redundant forward slash in org-publish-timestamp-directory.
+ Resolve export directory later, giving the user a larger window to
  change +org-export-dir.
2018-07-04 23:52:29 +02:00
Henrik Lissner
c9ffa063e7
Fix +org/insert-item in nested plain lists
Would prepend new list items in the middle of plain lists, rather than
before them.
2018-07-04 14:19:22 +02:00
Henrik Lissner
e8945b2142
No evil-org-special-o/O in plain lists by default
evil-org changes the behavior of o/O to create new headlines, plain list
items or table rows. I disable its new behavior in plain lists only.
This was done because:

1. It isn't uncommon to want o/O's default behavior in plain list bodies
   of text. Unlike tables, where a new line in the middle of a table
   doesn't make much sense.
2. M-RET/S-M-RET exists.
2018-07-04 13:26:43 +02:00
Henrik Lissner
38414a636f
Fix evil-org's o/O in nested plain lists
Thanks by @fuxialexander
2018-07-04 13:16:11 +02:00
Henrik Lissner
bcd930abb7
Reformat haskell packages.el 2018-07-03 03:41:08 +02:00
Henrik Lissner
65d2b01333
Revert "Refuse to enable intero-mode if intero is absent"
This reverts commit 4f40fef592.

This was short sighted. The intero check doesn't find per-project built
instances of intero.
2018-07-03 03:41:08 +02:00
Henrik Lissner
64d4cf773d
Fix oversized *Org Links* popup 2018-06-30 17:41:43 +02:00
Henrik Lissner
1457ec3d15
Fix non-prefix key C error when loading macrostep
Due to malformed key spec.
2018-06-30 02:58:25 +02:00
Henrik Lissner
5931d89d9d
Fix oversized *Org Links* popup in org-mode
At some point, org changed how soon it popped up this window, so
+popup-shrink-to-fit would run before there was any content in the
buffer, causing it to take up way too much space.
2018-06-29 16:49:55 +02:00
Henrik Lissner
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
Henrik Lissner
b0f59ff5bd
lang/cc: fix wrong-type-argument: stringp error
Caused by -stdlib flag being a sub-list in +cc-default-compiler-options,
when it should be nil or a string.
2018-06-28 14:40:12 +02:00
Henrik Lissner
f6478ab068
Refactor out map! usage in lang/emacs-lisp
Slowly phasing out map! for internal use.
2018-06-27 22:54:09 +02:00
Henrik Lissner
3742a671a6
Rethink lazy-loading of elisp-mode 2018-06-27 22:52:46 +02:00
Henrik Lissner
24ac13a804
Remove periods from haskell doctor warnings
It is an Emacs convention not to end errors in punctuation (unless
they're multi-line).
2018-06-27 19:36:42 +02:00
Henrik Lissner
4f40fef592
Refuse to enable intero-mode if intero is absent
Rather than checking for stack.
2018-06-27 19:36:42 +02:00
Henrik Lissner
d55c7896f1
Fix lazy loading of elisp-mode config
elisp-mode is loaded at startup, so the usual methods won't work.
Instead, we tie a transient advice to the emacs-lisp-mode
function, *however*, this function is commonly called by various
packages to parse elisp code! So we have to make sure the emacs lisp
module only initializes the first time it is used interactively.
2018-06-27 18:51:24 +02:00
Henrik Lissner
b72a9373c1
Merge pull request #731 from patrl/hindent
Factor out hindent
2018-06-27 03:12:56 +02:00