Commit Graph

18 Commits

Author SHA1 Message Date
ad6a3d0f33 refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
d7f9c1b7af fix(tmux): +tmux/rerun fails due to malformed +tmux-last-command 2022-01-28 21:02:05 +01:00
09226f905d Fix #5155: interactive specs for tmux commands
(interactive "PD") was incorrectly used to pass two interactive
arguments to the command, but only the first argument was sent.

This corrects that, refactors +tmux/cd to be easier to understand, and
updates its docstring to reflect these changes.
2021-07-08 17:52:20 -04:00
21f2776433 tmux: Quote shell arg in listing windows / panes
Specifying a session and / or window to +tmux-list-windows
and +tmux-list-panes just failed, because of the special characters
used in the ids for sessions & windows ($ and @). Quoting the ids
before building up the tmux command fixes this.
2020-04-23 21:13:28 -06:00
77e4cc4d58 💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
7d3ffdff06 Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
2018-09-09 09:58:19 -04:00
51f2ea2932 tmux: string-split -> split-string 2018-06-17 18:57:02 -07:00
cf3c0d808d tools/tmux: minor refactor of +tmux/rerun 2018-05-25 00:53:46 +02:00
aa9ee68248 tools/tmux: fix +tmux/cd 2018-05-09 12:31:02 +02:00
76a4ae459d Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -05:00
6b9849fd57 Add conditional autoload/compile cookies #229 2017-11-05 01:16:35 +01:00
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
dc9a7c9780 Refactor out more s.el dependency 2017-04-17 02:30:54 -04:00
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
335d9c27a9 tools/tmux: fix +tmux:run & +tmux/run; add +tmux/send-region 2017-04-09 22:30:49 -04:00
fe3159dae9 tools/*: fix path tags + tmux command autoloads 2017-04-09 22:25:18 -04:00
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
f0b5f1a12b Add modules/tools/tmux 2017-02-20 00:26:08 -05:00