Commit Graph

202 Commits

Author SHA1 Message Date
Henrik Lissner
8240771846
app/rss: fix +rss/quit & compact db 2018-02-17 04:55:35 -05:00
Henrik Lissner
bac73ec938
Replace warn => warn! 2018-02-14 07:46:38 -05:00
Henrik Lissner
3080b68c84
app/write: major refactor+rewrite
+ Make synosaurus unconditional
+ Move much of +write-mode into its hook
+ Conform README.org to template and expand it
+ Try to guess langtool-language-tool-jar
+ Update init.example.el entry
+ Remove redundant variables
+ Add +write-text-scale & +text-line-spacing variables
2018-02-13 17:50:58 -05:00
fuxialexander
13e2239fcd Add: add mixed-pitch-mode to +write-mode 2018-02-11 17:05:16 +08:00
fuxialexander
562b8ba431 Add: extend +write module 2018-02-11 17:04:30 +08:00
Sergey Trofimov
efce68bc29 Make elfeed-org ready at elfeed start. 2018-02-10 19:52:00 +03:00
Henrik Lissner
414383e5f4
Remove vestigial references to doom/{next,previous}-buffer 2018-02-04 05:05:40 -05:00
Henrik Lissner
64d41ed1d9
Refactor & redesign app/twitter
Inspired by UI changes by @fuxialexander, mentioned in
https://github.com/hlissner/emacs-doom-themes/issues/131
2018-01-24 17:37:43 -05:00
Henrik Lissner
b3c429d92a
Refactor app/email 2018-01-24 15:08:43 -05:00
fuxialexander
41a84a3c6d Add: +calendar/quit binding to "q" 2018-01-14 10:06:36 +08:00
fuxialexander
5bfa365809 Fix: hotfix of +calendar-org-gcal-secret-file 2018-01-13 17:57:38 +08:00
fuxialexander
7236404f67 Fix: hotfix of +calendar-open-calendar-function 2018-01-13 17:35:59 +08:00
fuxialexander
c63aba39ac Add: =calendar app 2018-01-13 17:26:40 +08:00
Henrik Lissner
84cba91e50
feature/popup: remove default slot & window-width
...and fix :popup not mapping the size parameter to the correct
dimension when no side is specified.
2018-01-07 05:56:00 -05:00
Henrik Lissner
392f04446f
General refactor (use map.el more)
+ map-delete is shorter and faster than assq-delete-all
+ map-put is simpler than the delete-then-set workflow
+ map-merge is great for merging default and user settings
2018-01-07 00:15:58 -05:00
Henrik Lissner
b681917082
Remove/replace references to doom-popup-buffer 2018-01-06 03:27:23 -05:00
Henrik Lissner
08b479b06f
Rename popup parameter escape-quit => quit 2018-01-06 02:42:53 -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
8e875bfa0e
Phase out doom-kill-buffer 2018-01-04 03:01:35 -05:00
Henrik Lissner
649c9649c1
app/rss: elfeed-org after elfeed *and* org 2017-12-26 19:27:49 -05:00
Henrik Lissner
22a721fd15
app/rss: fix doom-popup-buffer call #288 2017-12-10 23:35:18 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -05:00
Henrik Lissner
07088d3dcf
Removed s.el dependency (prefer built-in) 2017-12-09 14:40:14 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor 2017-12-08 23:14:12 -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
c52935075f Merge branch 'master' into develop
* master:
  Add keybinding for ace-link in mu4e message view mode
2017-11-11 18:58:18 +01:00
Henrik Lissner
a24e22cf57
cl-pushnew => push
Now that doom//byte-compile and doom//reload-autoloads always run in an
isolated Emacs session, there is little need to ensure idempotency of
the current session's state.
2017-11-10 00:19:05 +01:00
Henrik Lissner
79cf78d1c6
Allow new :irc settings to shadow old ones 2017-11-10 00:17:49 +01:00
Bryan Gilbert
b85112c8c9 Add keybinding for ace-link in mu4e message view mode 2017-11-09 15:58:16 -05:00
Henrik Lissner
bac286e8e2
Remove blank autoload files 2017-11-05 01:16:35 +01:00
Henrik Lissner
6b9849fd57
Add conditional autoload/compile cookies #229 2017-11-05 01:16:35 +01:00
Henrik Lissner
be0e23686b
org/org: resolve +rss-elfeed-files later
This gives the user more time to change +org-dir.
2017-09-12 14:52:37 +02:00
Henrik Lissner
d2d71795e5 Merge branch 'develop'
* develop: (64 commits)
  Prepare for v2.0.5
  Temporarily disable doom-themes-visual-bell-config
  Fix neotree always changing root
  Update changelog
  Fix wrong-type-argument error from +org/insert-item
  Make +ivy-buffer-transformer autoloadable
  General refactor & cleanup
  Correct troubleshooting link in README
  org: set org-ellipsis to downward chevron
  Add elfeed-(show|search)-mode to evil-snipe-disabled-modes
  Autoload json library
  Rethink smartparens config #181
  README: expand troubleshooting
  Fix wiki links in README (again)
  Correct intro in README
  Fix wiki links in README
  Prevent private commands from affecting projectile cache
  Remove recentf-filename-handlers fix for projectile-recentf-files
  lang/sh: remove unused setup.sh
  Convert +ivy/switch-buffer to transformers + add mode icons #169
  ...
2017-09-03 23:32:23 +02:00
Henrik Lissner
cbabf6849c
Standardize module READMEs 2017-08-21 20:13:31 +02:00
Benjamin Andresen
00180310df Add: app/irc: (=irc) if irc workspace exists switch to that
don't connect to the networks again
2017-08-06 17:01:32 +02:00
Benjamin Andresen
2286a6404f Add: app/irc: make truncate nick character customizable 2017-08-06 17:01:30 +02:00
Benjamin Andresen
6fb8d0164b
Add: app/irc: scroll to bottom on any input
more generalized which allows this to work for Emacs mode or for pastes.

Code inspired and adapted by eshell.
2017-07-26 13:02:14 +02:00
Henrik Lissner
6a5bd216e5
Appease byte-compiler senpai 2017-07-14 18:19:08 +02:00
Henrik Lissner
f40ebf9725
Minor docstring updates 2017-07-09 02:14:45 +02:00
Henrik Lissner
ea4e3e3c77
Remove app/present
This has effectively been replaced by org/org-present,
tools/impatient-mode (later), and doom-big-font-mode in core.
2017-07-05 12:26:10 +02:00
Benjamin Andresen
ca3184b685 app/irc: get rid of non-interactive #'end-of-buffer warning 2017-06-24 20:25:47 +02:00
Benjamin Andresen
679615899d app/irc: one place +irc-connections var wasn't updated
it's now handled in circe-network-options
2017-06-24 20:25:44 +02:00
Henrik Lissner
928812da8a
Make def-setting! behave more like defmacro
set! used to aggressively evaluate its arguments (at expansion-time),
even if placed inside an after! block. This causes unavoidable errors if
those arguments use functions/variables that don't exist yet.

Fixes #112
2017-06-19 00:32:44 +02:00
Henrik Lissner
96998e40d3
app/irc: general refactor 2017-06-18 23:43:08 +02:00
Benjamin Andresen
360eef0602 app/irc: fix +irc/ivy-jump-to-channel
not it works when buffer-names are indented below server
2017-06-16 23:52:36 +02:00
Benjamin Andresen
b002883d40 app/irc: don't interfere with insert mode unless before prompt 2017-06-16 23:52:29 +02:00
Henrik Lissner
f530a2c26d
Fix app/twitter workspace name: *Twitter* 2017-06-14 21:15:20 +02:00
Henrik Lissner
81f475da64
Fix mapcar used for effect 2017-06-12 19:07:40 +02:00
Henrik Lissner
01dc170e5b
app/irc: clean up timer & notifications on quit 2017-06-12 14:37:14 +02:00
Henrik Lissner
b3dafe96d3
app/irc: general rewrite (#103)
+ Refactor initialization process.
+ Refactor for consistency.
+ Add +irc-defer-notifications (for ZNC users).
+ Rewrote =irc (opens separate workspace + auto-connects to registered
  networks).
+ Add +irc/connect (connect to specific network).
+ Add +irc/quit (kill whole circe session).
+ Add +irc/ivy-jump-to-channel command.
+ Rewrite README.
+ Silence QUIT/PART default messages; they're cute, but no thanks.
+ Truncate nicks non-destructively.
+ Jump to prompt when entering insert mode (with evil).
+ Activate solaire-mde in channel buffers to visually distinguish them
  from server buffers.
2017-06-12 14:22:35 +02:00
Henrik Lissner
470117d538
app/irc: fix lui-mode-map typo 2017-06-11 19:33:40 +02:00
Henrik Lissner
d2b514e1ba
Consistency refactor
For consistency with other app modules:

+ Refactor out s.el dependency
+ Reorder variables (public then private)
+ Use add-hook! instead of add-hook+lambda
+ Optimization: replace mapcar+closure with cl-loop (reduces allocations)
+ Replace evil-set-initial-state with (set! :evil-state ...), which is
  ignored if :feature evil is disabled.
2017-06-11 16:15:36 +02:00
Benjamin Andresen
d73da8f995 clean ups (init.exampl.el + app/irc readme) 2017-06-11 15:56:55 +02:00
Benjamin Andresen
9645945465 app/irc: initial commit 2017-06-11 15:55:22 +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
8ca6e2630b Bring back nlinum
linum-mode *really* slows down buffers when they're displayed in more
than one window. This lag isn't present in nlinum. nlinum isn't perfect
either but... lesser of two evils.

This includes advisors and an ESC hook to mitigate the issue of
disappearing nlinum line numbers.
2017-05-28 02:48:20 +02:00
Brandon Orther
eeb4887887 Fix link to mu dotfiles. 2017-05-26 01:24:19 -07:00
Henrik Lissner
e1f60b2bfd Update READMEs & add new ones 2017-05-25 20:09:12 +02:00
Henrik Lissner
374d5e0504 app/regex: replace support & polish perl backend
Also, updated the TODO. app/regex is still a heavy WIP.
2017-05-17 01:30:43 +02:00
Henrik Lissner
84a73b3d38 Update app/regex + TODO 2017-05-16 18:18:22 +02:00
Henrik Lissner
d8e3d853a9 ui/doom: centralize doom-buffer-mode activation 2017-05-16 18:05:39 +02:00
Henrik Lissner
1ff56b33e1 Add app/regex (WIP) 2017-05-16 00:48:13 +02:00
Henrik Lissner
af3b6ee7e0 app/rss: revise maps & popup rules 2017-05-14 10:12:41 +02:00
Henrik Lissner
5491fd552e Replace nlinum with linum 2017-05-13 22:40:52 +02:00
Henrik Lissner
85bde34f84 General cleanup & refactor 2017-05-04 10:42:30 +02:00
Henrik Lissner
505d515dd8 Add README.org's for lang/cc, app/email; update other README.org's 2017-05-04 10:40:57 +02:00
Henrik Lissner
15ed040fe8 app/write: flesh out config (wip) 2017-04-28 03:56:08 -04:00
Henrik Lissner
8e7aa152bb doom-modeline no longer errors out, in case a modeline doesn't exist; add doom-set-modeline 2017-04-25 18:25:54 -04:00
Henrik Lissner
9f4150541a lang/org: disable pretty fontification by default, use +org-pretty-mode to toggle 2017-04-21 15:56:19 -04:00
Henrik Lissner
1eb580bb77 app/email: redo mu4e->evil integration + improve marks for gmail support 2017-04-19 13:19:06 -04:00
Henrik Lissner
a8205e3bbc app/email: mbsync => offlineimap & All Mail-centric workflow (better gmail integration) 2017-04-18 21:04:25 -04:00
Henrik Lissner
9e084c18ba core-ui: fix doom-hide-modeline-mode resetting on major-mode changes 2017-04-18 05:09:15 -04:00
Henrik Lissner
f74c2ff618 app/email: remove ineffective flags in refile/trash marks + revise mu4e bookmarks 2017-04-18 00:17:12 -04:00
Henrik Lissner
0e7254d312 General cleanup + refactor 2017-04-17 02:20:07 -04:00
Henrik Lissner
e204df3c05 Replace obsolete functions/commands 2017-04-17 02:19:20 -04:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
ef88d30b73 app/email: update docstrings 2017-04-16 21:24:18 -04:00
Henrik Lissner
55e2eaa39a app/email: flesh out evil support & add +email/mark-multiple for visual mode 2017-04-16 21:24:07 -04:00
Henrik Lissner
8f970eb1d8 Rearrange .local file structure (voids previous cache structure) 2017-04-16 20:36:15 -04:00
Henrik Lissner
68d5e9665e app/email: add seen flag on trash/refile 2017-04-16 11:55:30 -04:00
Henrik Lissner
9fce3ca4fd app/email: reconfigure (replaced offlineimap w/ mbsync) 2017-04-14 02:36:36 -04:00
Henrik Lissner
2b9c1577d0 app/email: use -q flag for offlineimap (faster sync) 2017-04-12 12:21:03 -04:00
Henrik Lissner
e30aaed837 app/email: remove mu4e-alert plugin (I get notifications externally) 2017-04-12 12:20:10 -04:00
Henrik Lissner
3edd12a650 app/twitter: error handling for =twitter 2017-04-11 18:48:35 -04:00
Henrik Lissner
86643efaf2 app/present: fix misnamed hook function 2017-04-11 18:47:22 -04:00
Henrik Lissner
6c10567e9e app/present: major rewrite; integrate org-tree-slide for org presentations 2017-04-11 09:24:32 -04:00
Henrik Lissner
3f6de74ebb app/email: mark trashed emails as seen 2017-04-10 22:26:48 -04:00
Henrik Lissner
4eeb562bc1 app/twitter: refactor +twitter/quit commands 2017-04-10 22:26:33 -04:00
Henrik Lissner
813630fc56 app/rss: add +rss/quit command 2017-04-10 15:54:54 -04:00
Henrik Lissner
91a15a991e app/email: comment config & hide modeline in mu4e-view-mode 2017-04-09 22:10:41 -04:00
Henrik Lissner
8dcd382186 Add modules/app/twitter 2017-04-09 22:09:23 -04:00
Henrik Lissner
47dbc5bf11 app/email: fix permadelete issue (trash mark); add mark-as-read mark 2017-04-09 17:42:17 -04:00
Henrik Lissner
316765b8ee Add app/email 2017-04-08 01:31:20 -04:00
Henrik Lissner
c14a61946b app/rss: don't hide mode-line in listing window + make =rss less opinionated 2017-04-08 01:31:09 -04:00
Henrik Lissner
f00ed33911 Add app/present 2017-04-07 20:05:21 -04:00
Henrik Lissner
dd8aa48887 app/rss: add +rss-dead-feeds function 2017-04-05 15:05:40 -04:00
Henrik Lissner
4a12988561 app/write: remove doom-buffer-mode (buggy) 2017-03-09 00:36:38 -05:00
Henrik Lissner
3d77989c66 app/rss: add elfeed-search-live-filter keybinding 2017-03-08 21:34:18 -05:00
Henrik Lissner
2752cdc9b9 Add modules/app/write (WIP) 2017-03-08 21:34:03 -05:00
Henrik Lissner
ae614c9c6f General cleanup + refactor 2017-03-08 14:41:32 -05:00
Henrik Lissner
ca8b3b18fa Add modules/app/rss (WIP) 2017-03-06 22:01:37 -05:00