Commit Graph

11699 Commits

Author SHA1 Message Date
c6ebf4b4be Fix embrace/evil-surround rules for angular brackets
This fixes surround keys for <>'s in languages that support
type<syntax>, like rust, c++, c#, etc.
2020-01-06 22:46:05 -05:00
b7c5152f3a lang/org: C-M-RET = org-insert-subheading 2020-01-06 16:21:22 -05:00
7150631f66 Fix evil-delete-backward-and-join
A change upstream causes backspace in evil-buffers to ignore:

1. smartparens pair rules (#2308)
2. delete-selection-mode
3. +default--delete-backward-char-a advice on
   delete-char-backward (which deletes closing pairs, deletes continuous
   whitespace in tab-width steps, and closes braces across blank lines)

Caused by emacs-evil/evil@1d6ba80
2020-01-06 15:22:03 -05:00
0d43159607 Disable ns-auto-titlebar & xclip properly on other OSes 2020-01-06 15:08:15 -05:00
36e73aedb6 Disable xclip-mode on windows 2020-01-06 15:06:28 -05:00
2d97b877ed Remove duplicate image-dired-dir setting 2020-01-06 04:49:57 -05:00
4fe24df90f Fix #1970: don't count treemacs as a "popup"
And remove its popup rule.

It isn't being caught by the popup system in the first place, so this is
all a charade.
2020-01-06 03:50:48 -05:00
aa9851bd50 Merge pull request #2316 from bixuanzju/patch-1
Be explicit about `fc-list` when listing fonts
2020-01-06 02:08:35 -05:00
ae8dc2749f Remove ivy-{standard,alternative}-search #2314
Turns out ivy and counsel have a number of hard-coded checks for flx
against ivy--regex-fuzzy:

- https://github.com/abo-abo/swiper/blob/master/ivy.el#L3531
- https://github.com/abo-abo/swiper/blob/master/ivy.el#L3637
- https://github.com/abo-abo/swiper/blob/master/ivy.el#L4643
- https://github.com/abo-abo/swiper/blob/master/counsel.el#L1359
- https://github.com/abo-abo/swiper/blob/master/counsel.el#L1561

This means, by assigning our own delegates around ivy regex functions
will break flx sorting (reported in #2314), and possibly other behavior.
2020-01-06 01:38:51 -05:00
09f7db43be Be explicit about fc-list when listing fonts 2020-01-06 14:22:18 +08:00
9fce4d5106 Remove +workspace-buffer-list return order #2315
I cannot guarantee this. We simply return was `persp-buffers PERSP`
returns. How buffers are ordered is up to persp-mode.
2020-01-06 00:58:08 -05:00
14552bc66b Fontify latex script & entities in org-mode 2020-01-05 21:17:34 -05:00
8a9d8f03e2 Fix void-function set-scroll-bar-mode #2310
When emacs is built without GUI support.
2020-01-05 20:12:24 -05:00
d18e298a9e Merge pull request #2300 from sunesimonsen/patch-1
Fix source code highlighting when using marked.js
2020-01-05 20:10:51 -05:00
4f7217719a Merge pull request #2301 from wnikola/patch-1
Fix typo in env.el
2020-01-05 20:10:32 -05:00
637243a7e8 Merge pull request #2304 from rohitpaulk/fix-empty-help
cli: Handle --help without an argument
2020-01-05 20:10:11 -05:00
55d9df3c39 Merge pull request #2306 from brotzeit/fix-message
Fix typo in rustic setup message
2020-01-05 20:09:57 -05:00
4f41a3080d Merge pull request #2307 from bennyyip/develop
editor/evil: fix outdated readme
2020-01-05 20:09:25 -05:00
35f739a013 Merge pull request #2309 from dsdshcym/org-popup-hacks-suppress-delete-window
Suppress delete-window in org related functions
2020-01-05 20:08:48 -05:00
5862c4e4d8 Merge pull request #2311 from rubas/patch-1
Typo pnned -> pinned
2020-01-05 20:08:29 -05:00
b85d6997bb Merge pull request #2312 from laMudri/patch-1
Fix package name in 3rd party theme example
2020-01-05 20:08:11 -05:00
fe57256d6b Minor refactors; reduce sp-max-prefix-length 2020-01-05 19:58:59 -05:00
40a35392d1 Make evil backspace/DEL respect delete-selection-mode
Perhaps this should be fixed upstream?
2020-01-05 19:15:08 -05:00
cd3f1399af Fontify latex blocks natively 2020-01-05 19:08:11 -05:00
ee4358a243 Simplify org-format-latex-options setting
Due to changes upstream, all that isn't necessary anymore.
2020-01-05 17:47:29 -05:00
e8cd89e451 Remove mention of the_silver_searcher from README
And mention emacs/ripgrep deps in quickstart instructions.
2020-01-05 16:06:02 -05:00
dce7e1c5fb Fix name of solarized package 2020-01-05 15:58:18 +00:00
326035199b Typo 2020-01-05 12:52:14 +01:00
02a4f6b573 Suppress delete-window in org related functions
- If there's only one other window, delete-window would be called,
  instead of delete-other-windows
- when there is only one window other than the popup, this other window
  is the main window in this frame, delete it would raise an error:
  `delete-window: Attempt to delete main window of frame <frame name>`
2020-01-05 11:52:39 +08:00
f26b148b2b Use my fork of ws-butler 2020-01-04 18:11:10 -05:00
cf04a44ca7 Refactor comment/string check in autoloads generator 2020-01-04 17:13:05 -05:00
1c237106aa Don't pollute module help warnings with text props 2020-01-04 17:12:49 -05:00
8c7aaa6468 scroll-conservatively = 101 #2217 2020-01-04 17:12:09 -05:00
ae5cf1889b Move custom-file to {doom-local-dir}/custom.el 2020-01-04 17:10:56 -05:00
a2eee97c9d undo-tree-{visualizer,auto-save-history} = t 2020-01-04 16:26:28 -05:00
e6638b82a1 Autoload forge-create-{pullreq,issue} 2020-01-04 15:42:04 -05:00
61f6e7f430 editor/evil: fix: outdated log 2020-01-05 03:40:41 +08:00
8bed16eb72 fix message 2020-01-04 12:49:43 +01:00
13be4fa178 Fix doom/sudo-save-buffer
Trying to open a buffer named after the filename, rather than opening
the file and returning a buffer.
2020-01-04 04:57:58 -05:00
e0b8b4f190 Fix set-pretty-symbols! not merging properties w/ old rules
This removes the :merge property, as merging is now its default
behavior.
2020-01-04 04:55:57 -05:00
d1beb47e90 Fix invalid-function 116 when formatting with tidy
Due to refactor upstream: lassik/emacs-format-all-the-code@4f458bd
2020-01-04 03:33:42 -05:00
8818f2f7e8 cli: Handle --help without an argument 2020-01-04 11:32:14 +05:30
f9b3ad2bb1 Fix typo in env.el 2020-01-03 21:42:14 +01:00
580de0be1f Fix source code highlighting when using marked.js
I'm currently experiencing problems getting the source code highlighting to work with https://github.com/markedjs/marked

The reason is that Marked outputs the following structure:

```html
<pre><code class="language-js">const hello = 'world';</code></pre>
```

and the current selector expects the `pre` tag to have a `lang` attribute. 

This PR splits the forwarding of the `lang` attribute to a class and the code that initialise the highlighting for each block. It will try to initialise the highlighting for every `code` block that is inside a `pre` tag.
2020-01-03 17:19:44 +01:00
6523f6a12e Move cpp-mode{,-map} aliases to autoloads
They don't need to be in config.el
2020-01-03 05:49:43 -05:00
11676b0153 Fix #2299: void-function sp-point-in-string during 'doom refresh'
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
63d42c97bc Pass POS to sp-point-in-string
And doom-point-in-string-or-comment-p is no longer side-effect-free, due
to sp-point-in-* caching syntax-ppss.
2020-01-03 05:22:10 -05:00
5495922a20 Resolve symlinks in doomdir slot for doom/info 2020-01-03 05:22:10 -05:00
b825c399a3 Merge pull request #2296 from Foldex/develop
ui/doom-dashboard: de-hardcode dashboard faces
2020-01-03 05:08:35 -05:00
8ff15c2aeb Optimize doom-point-in-*-p functions
Since we won't be dumping smartparens just yet, use it for now.
2020-01-03 02:44:29 -05:00