Commit Graph

66 Commits

Author SHA1 Message Date
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