Commit graph

1263 commits

Author SHA1 Message Date
Henrik Lissner
8dd8420ff7
ui/tabs: fix buffers being saved to window parameters
Buffers have no read syntax and cannot be serialized. This would cause
errors when :ui workspaces users try to restore sessions that contained
buffer lists.
2019-10-18 21:10:55 -04:00
Henrik Lissner
323e0adf45
Minor refactors & reformatting across the board 2019-10-17 01:47:58 -04:00
Henrik Lissner
44eb11c028
ui/treemacs: make o {v,s} consistent w/ C-w {v,s} #1875 2019-10-10 16:58:23 -04:00
Henrik Lissner
a3fa1e07b1
Refactor doom/kill-*-buffer commands 2019-10-10 16:11:42 -04:00
Henrik Lissner
07380af819
Add gy operator for yanking without indentation
Copies

   (a
    b
    c)

As

(a
 b
 c)
2019-10-10 16:11:41 -04:00
Henrik Lissner
1cb3a43e03
ui/neotree: don't manage popups
Neotree can do that on its own.
2019-10-10 16:11:41 -04:00
Henrik Lissner
ee5cdb9e5d
Merge pull request #1866 from zakkak/workspaces-readme
ui/workspaces: update commands & keybindings in README
2019-10-10 11:33:30 -04:00
Henrik Lissner
fab033e899
Merge pull request #1868 from zakkak/ui-doom-readme
ui/doom: update README.org to new format
2019-10-10 11:30:59 -04:00
Foivos Zakkak
c5f34a7d04
Fix #+SINCE in ui/workspaces/README.org 2019-10-10 01:48:05 +03:00
Foivos Zakkak
5100b84ed6
Fix #+SINCE in ui/doom/README.org 2019-10-10 01:45:36 +03:00
Foivos Zakkak
f9d84537f9
Fix #+SINCE in ui/doom-dashboard/README.org 2019-10-10 01:44:12 +03:00
Foivos Zakkak
a4fbf5242d
Reformat ui/doom-dashboard/README.org to match __doom-readme template 2019-10-10 01:10:57 +03:00
Foivos Zakkak
98a65a3489
Reformat ui/doom/README.org to match __doom-readme template 2019-10-10 01:06:08 +03:00
Foivos Zakkak
11e4e81d79
Update Commands & Keybindings in Workspaces README 2019-10-10 00:43:43 +03:00
Henrik Lissner
616dec5b93
Optimize opening large files #1834
Fixes an issue where dtrt-indent and/or nav-flash would hang Emacs when
opening large files, and disables all mode hooks for large
files (without using fundamental-mode so you can at least get syntax
highlighting).
2019-10-07 16:02:23 -04:00
Henrik Lissner
05f458a75b
Disable benchmark in minibuffer if dashboard is enabled
Redundant; also, printing to minibuffer during startup is somewhat
expensive.
2019-10-06 02:28:44 -04:00
Henrik Lissner
d297dc6934
Minor refactor & comment revision across the board 2019-10-03 23:33:59 -04:00
Akhil Wali
16007d44f3
Add doom-solarized-dark to +doom-solaire-themes 2019-10-01 10:52:46 +13:00
Henrik Lissner
3f7e0fd103
Fix +workspace/delete changing workspaces
...when deleting other workspaces.
2019-09-29 23:12:43 -04:00
Henrik Lissner
fd67534c89
Change how {size-indication,column-number}-mode are enabled
Relevant to #1817
2019-09-29 13:11:26 -04:00
Henrik Lissner
060f6a36d3
Fix +workspace/delete initially filtering workspaces
SPC u SPC TAB d will prompt you for the workspace you want to delete,
with the name of the current workspace prefilled into the the
minibuffer. This filters out all other workspaces from the get go, which
may fool you into thinking you can only delete the current workspace.

Now it only selects the current workspace by default, without filtering
them.
2019-09-29 12:50:20 -04:00
Henrik Lissner
b66de08204
Merge pull request #1727 from jjzmajic/develop
Load hydra examples without using example hydras.
2019-09-28 22:57:38 -04:00
Henrik Lissner
e079b4b1e3
ui/vc-gutter: fix {next,previous}-hunk commands
They would sometimes jump to random hunks.
2019-09-27 15:18:44 -04:00
Henrik Lissner
525193f94b
ui/workspaces: fset -> defalias
Allows these commands to be advised.
2019-09-26 17:55:33 -04:00
Henrik Lissner
7a1c8bd582
ui/popup: fix buffer cleanup ignoring kill-buffer-hook 2019-09-22 14:25:10 -04:00
Henrik Lissner
87c6e8900c
Fix org-insert-link desc prompt for helm users #1710
A change upstream causes the prompt to be suppressed if the current
command wasn't run interactively. The check for interactivity gets
tricky when advice are involved.
2019-09-22 13:06:16 -04:00
Henrik Lissner
799e822a19
ui/popup: move help buffers to new vslot
So *Messages* and help buffers get stacked instead of opened side by
side.
2019-09-22 11:58:42 -04:00
Henrik Lissner
db0846f502
ui/popup: don't catch ibuffer windows
They're your problem now.
2019-09-22 11:56:00 -04:00
Henrik Lissner
06a8384f77
ui/treemacs: remove unnecessary hack
Due to changes upstream.
2019-09-20 23:54:53 -04:00
Henrik Lissner
2de198e749
Fix +popup/raise not raising some windows
The command now raises the popup into the previously selected window,
unless the prefix argument is used.
2019-09-20 23:54:17 -04:00
Henrik Lissner
e10cd8cf2e
Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Henrik Lissner
d5ecfd3429
Move pdf-tools popup rules to tools/pdf 2019-09-19 18:55:44 -04:00
Sunn Yao
97b32bec15
Fixes wrong variable name: lv-use-seperator 2019-09-15 18:50:46 +08:00
Henrik Lissner
f7c368c5da
ui/workspaces: associate files opened via emacsclient
...with the current workspace.
2019-09-14 18:28:30 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
31ccd9be78
Replace vestigial references to def-package!
def-package! is deprecated and is replaced with use-package! to reduce
confusion about its purpose and connection to use-package.
2019-09-13 22:00:34 -04:00
Henrik Lissner
1c05773c39
General, minor refactors & comment revision 2019-09-11 23:41:08 -04:00
Henrik Lissner
d866ee3738
ui/popup: conform function to naming conventions 2019-09-10 15:01:00 -04:00
Henrik Lissner
6f6e30c428
ui/popup: refactor org hacks
This removes a few popup advice functions that are no longer necessary
and changes how we handle org agenda windows (they're now displayed in
the current window, rather than a popup -- see org-agenda-window-setup
to change this).

Other issues addressed:

+ Fixes 'Attempt to delete main window of frame' errors when using
  org-todo from popups (particularly in daemon Emacs).
+ Removed the custom 'popup-window options for org-agenda-window-setup
  and org-src-window-setup, and change them to 'current-window and
  'other-window, respectively.
2019-09-10 14:54:13 -04:00
Henrik Lissner
43d80dcec6
Fix #1692 & stop org-todo from monopolizing frame
How org-todo manipulates the window config has changed upstream.
2019-09-09 14:25:23 -04:00
Henrik Lissner
7e36c5c2b3
ui/tabs: fix recursive load errors & update
An autoload was causing an autoload before their respective packages
could declare they had been loaded, leading to cyclical loading errors.
2019-09-05 13:43:49 -04:00
Henrik Lissner
059ede53b6
Update all unit tests
To meet changes introduced from the straight branch merge.
2019-09-03 00:59:46 -04:00
Henrik Lissner
713258ee31
ui/neotree: fix reference to renamed function 2019-09-02 19:17:15 -04:00
Uros Perisic
9589f6e372 Load hydra examples without using example hydras.
`+hydra/window-nav` uses functions from `hydra-examples.el` but the file
is never loaded. Adding this does not actually define any hydras (this
would require `hydra-examples-verbatim` to be `t`), it just load the
utility functions to make the hydras defined in doom work.
2019-08-30 13:58:08 +08:00
Henrik Lissner
9e122c6847
ui/workspaces: fix session restoration
Caused by an inverted buffer filter when saving the current session.
2019-08-28 12:41:00 -04:00
Henrik Lissner
96e2a7726d
ui/doom: remove 'append in doom-load-theme-hook 2019-08-28 00:40:50 -04:00
Henrik Lissner
8766499b0d
Fix some file permissions errors
Occurs when deferred packages are loaded while in an unreadable or
non-existent directory.
2019-08-27 00:05:12 -04:00
Henrik Lissner
6c734ab039
ui/doom-dashboard: use fancy-splash-image variable 2019-08-23 01:56:44 -04:00
Henrik Lissner
243d69bb6d
ui/workspaces: don't register filtered buffers
May indirectly address #1525
2019-08-22 14:45:40 -04:00
Henrik Lissner
9b1c49149c
New fix for #1525: 'selecting deleted buffer' error 2019-08-21 00:29:02 -04:00