Commit Graph

4681 Commits

Author SHA1 Message Date
Henrik Lissner
b9d8116734
feature/evil: switch to initial state on change window
This used to change to normal mode, but now it respects the buffer's
initial state.
2018-02-02 20:47:32 -05:00
Henrik Lissner
eaeb495b18
lang/go: show annotations in code-completion popups 2018-02-02 20:47:32 -05:00
Henrik Lissner
c319b606cd
feature/workspaces: don't pollute *Messages* with tabbar output 2018-02-02 20:47:32 -05:00
Henrik Lissner
d1953e00c4
Remove doom--cycle-real-buffers; refactor kill-this-buffer advice
cycle-real-buffers was a tidbit of complexity that was never necessary
in the first place. This functionality was already available in the form
of the frame buffer-predicate parameter, which controls where functions
like next-buffer and other-buffer can land you.

The only thing I have to do myself, is check for the condition where
there are no more real buffers left to switch to, and in that case send
you to the fallback-buffer.
2018-02-02 20:47:31 -05:00
Henrik Lissner
ec7f20589a
lang/go: don't popup gofmt errors (use flycheck instead) 2018-02-02 03:00:57 -05:00
Henrik Lissner
5cb75da7e0
lang/org: fix +org/insert-item single-line buffer edge-case 2018-02-02 02:34:46 -05:00
Henrik Lissner
97d0ff0966
lang/org: fix cursor placement after M-RET in tables 2018-02-02 02:25:49 -05:00
Henrik Lissner
53b7297c6d
lang/org: fix M-RET not adjusting number bullets #390 2018-02-02 02:25:49 -05:00
Henrik Lissner
e0fd1b9043
feature/popup: replace +popup-enable-*-rules w/ +all/+defaults flags #394 2018-02-01 23:17:18 -05:00
Henrik Lissner
5b19ad50a6
frame-title-format: just use filename
A blank buffer-file-name causes an error. Rather than overcomplicate
this, I'll just use %b.
2018-02-01 20:42:21 -05:00
Henrik Lissner
d935a813a1
Merge pull request #392 from amosbird/patch-6
Sensible alias
2018-02-01 20:28:15 -05:00
Henrik Lissner
5b817727e2
Use more informative frame title 2018-02-01 20:14:27 -05:00
Henrik Lissner
ca262f5e4e
Rename doom-fallback-buffer (variable) => doom-fallback-buffer-name 2018-02-01 20:06:00 -05:00
Henrik Lissner
7b2bbb973a
Improve real-buffer function docstrings 2018-02-01 20:04:54 -05:00
Henrik Lissner
03a03853e4
core-editor: reset expand-region on doom/escape #317 2018-02-01 19:58:44 -05:00
Henrik Lissner
b0a2e97baa
private/default: fix C-a in evil-ex 2018-02-01 19:58:44 -05:00
Henrik Lissner
de1a955cd9
private/default: remove C-a/C-e bind fixes in org-mode
No longer necessary after dadfeec5 and 7c48e7e5.
2018-02-01 19:58:44 -05:00
Henrik Lissner
324a644002
Refactor; compilation-scroll-output=first-error; ffap-machine-p-known=reject 2018-02-01 19:58:44 -05:00
Henrik Lissner
005402efc0
Remove prompt if file is opened in other emacsclients 2018-02-01 19:58:44 -05:00
Henrik Lissner
805f7e7175
core-os: x-underline-at-descent-line = t 2018-02-01 19:58:44 -05:00
Henrik Lissner
4567054aed
ui/doom-dashboard: no emacs-state in dashboard 2018-02-01 19:58:44 -05:00
Henrik Lissner
2989296521
Use frame's buffer-predicate instead of doom/{next,previous}-buffer
doom/{next,previous}-buffer was implemented so that these commands could
skip over unreal buffers, and land us on either a real one or the
dashboard. Using the frame's buffer-predicate parameter accomplishes
exactly this, natively.
2018-02-01 19:58:43 -05:00
Henrik Lissner
c9e8be1f60
Improve doom/toggle-fullscreen #397 2018-02-01 17:42:39 -05:00
Henrik Lissner
08b2cc8ea3
completion/company: add +auto flag (for as-you-type completion) 2018-02-01 16:38:28 -05:00
Henrik Lissner
0fba37a1a1
lang/org: refactor +export; improve central export logic
Will use centralized export location only for exports that don't provide
an explicit export location.
2018-02-01 16:36:55 -05:00
Henrik Lissner
dadfeec506
Refactor & fix doom/forward-to-last-non-comment-or-eol 2018-02-01 16:35:55 -05:00
Henrik Lissner
7c48e7e5cc
Improve visual-line-mode support in doom/backward-to-bol-or-indent #396 2018-02-01 16:35:27 -05:00
Henrik Lissner
1e9b492399
Update license year 2018-02-01 01:49:13 -05:00
Amos Bird
562d805136
Sensible alias 2018-02-01 14:46:17 +08:00
Henrik Lissner
7fab94e095
tools/neotree: fix neotree not opening in the right pwd 2018-02-01 01:31:40 -05:00
Henrik Lissner
7e31d1c5af
Add nocache arg to doom-project-* functions 2018-02-01 01:31:26 -05:00
Henrik Lissner
2ab0072d83
ui/doom-dashboard: fix dashboard not updating pwd on kill-buffer 2018-02-01 01:24:19 -05:00
Henrik Lissner
32754a6d07
lang/org: fix html export by installing htmlize package 2018-01-31 14:32:52 -05:00
Henrik Lissner
4dbca5b21f
lang/python: kill anaconda processes after killing last python buffer 2018-01-31 05:33:26 -05:00
Henrik Lissner
e16ec5ae94
tool/dired: don't kill git process to abruptly
This would leave behind index.lock files. This may potentially fix #389.
2018-01-31 05:08:27 -05:00
Henrik Lissner
d01deb5545
ui/doom-modeline: minor refactor 2018-01-31 05:03:28 -05:00
Henrik Lissner
6b453962d7
ui/doom-modeline: silent xpm errors in tty emacs 2018-01-31 05:00:08 -05:00
Henrik Lissner
c97c460ce2
feature/workspaces: fix switch-project #388
+ Fix recursive find-file-in-project prompt with counsel-projectile.
+ Fix duplicate-workspace error (just switches to that workspace, rather
  than trying to create one).
+ Fix dashboard replacing current buffer when switching to
  a pre-existing project workspace.
2018-01-31 04:54:48 -05:00
Henrik Lissner
c52cb38385
ui/doom-modeline: refactor flycheck segment (faster) 2018-01-31 04:24:51 -05:00
Henrik Lissner
50ce083696
ui/doom-modeline: add word-count to selection segment #364
Controlled by the buffer-local variable
+doom-modeline-enable-word-count. Use +doom-modeline|enable-word-count
to enable it in certain modes. By default, this is enabled in text-mode
derived buffers.
2018-01-31 04:23:20 -05:00
Henrik Lissner
523c6ae4cc
feature/eval: remove redundant popup rule 2018-01-31 02:16:25 -05:00
Henrik Lissner
dc2b905933
feature/workspace: don't pop up warnings/display tabs on every new frame 2018-01-31 02:16:02 -05:00
Henrik Lissner
81bba9c0bc
feature/workspace: fix frames incorrectly initialized via emacsclient
A new workspace is now correctly created for files opened via
emacsclient. This fixes #119. Again.
2018-01-31 01:13:59 -05:00
Henrik Lissner
9d82318d27
Merge pull request #387 from sarg/develop
Check if buffer-file-name is nil before passing it as argument.
2018-01-30 22:49:46 -05:00
Sergey Trofimov
0bb1635a38 Check if buffer-file-name is nil before passing it as argument. 2018-01-31 06:41:51 +03:00
Henrik Lissner
1ab7301a1d
feature/popup: add +popup-enable-*-rules options & delay init
Initialization of the popup rules now happens later (on
doom-init-ui-hook). The two new options are:

+ +popup-enable-fallback-rules: the popup module defines two catch-all
  fallback rules for buffers that match "^ \\*" and "^\\*". By setting
  this option to nil, you can disable that behavior, in case you want to
  set them yourself.
+ +popup-enable-default-rules: setting this to nil disable all default
  popup rules for various essential Emacs and Doom buffers that should be
  treated as popups.
2018-01-30 22:01:23 -05:00
Henrik Lissner
14080a1781
Update core-packages docstrings; rename doom-module-get => doom-module-flags 2018-01-30 21:26:02 -05:00
Henrik Lissner
893bb6b3f7
Revert unstyled mode-line flash prevention (unreliable) 2018-01-30 21:25:33 -05:00
Henrik Lissner
26d1dd7991
💥 private/default: add +bindings, +snippets & +evil-commands features #383
This is a breaking change. You'll need to add these three flags to your
init.el to restore the defaults.
2018-01-30 21:24:31 -05:00
Henrik Lissner
5210ee5f7e
feature/version-control: remove -git flag
As much as possible, I'd prefer flags to be additive rather than
subtractive. Meaning, specifying a flag should add features, rather than
disable them; simply as a general Doom convention.
2018-01-30 21:21:34 -05:00