Commit Graph

23 Commits

Author SHA1 Message Date
Sean Farley
b78c96044e irc: only use the switch buffer logic during creation
This fixes a problem where calling IRC (e.g. C-c I I) will switch to
a (seemingly random but is ordered by load order) buffer.

It also adds a `user-error` when the IRC workspace is already selected.
2020-04-06 16:31:49 -07:00
Sean Farley
dca166f79c irc: fix logic for creating a workspace
The `+workspace-switch` logic takes care of the check, so let's remove
it.
2020-01-02 15:51:05 -08:00
Henrik Lissner
ac336a55ea
app/irc: use SERVER for :host if no host is specified 2019-12-27 01:44:40 -05:00
Henrik Lissner
01e728dad5
app/irc: remove hard dependencies on persp-mode
And fix wrong type argument perspective nil error on M-x circe
2019-12-26 22:47:27 -05:00
Henrik Lissner
436d36fcd2
app/irc: fix workspace integration #2243 2019-12-24 22:16:26 -05:00
Henrik Lissner
2b1c60fbd4
app/irc: refactor & fix #1616 2019-07-29 15:05:26 +02:00
Henrik Lissner
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
Henrik Lissner
5b48c21762
app/irc: fix & improve feedback from =irc #1121
Hopefully prevents =irc from nooping.
2019-02-16 17:00:31 -05:00
Henrik Lissner
fb8a378d72
app/irc: fix =irc nooping without preset networks #1121
=irc would do nothing if no networks were pre-set with set-irc-server!.
2019-02-11 15:20:21 -05:00
Henrik Lissner
5c1edde613
app/irc: general refactor 2019-01-23 15:54:12 -05:00
Henrik Lissner
b56639e31b
Remove deprecated set! & def-setting! macros 2019-01-05 17:48:46 -05:00
Henrik Lissner
2ad1280e4e
Add set-irc-server! autodef & move :irc setting 2018-06-24 22:23:08 +02:00
Mark Redeman
7a6407eb92
Add: reasonable default keybindings for circe
The =+irc/send-message= function was added so that we can send private
messages using =SPC m m= or =M-x= with =+irc/send-message=.
2018-06-23 14:44:40 +02:00
Henrik Lissner
bac286e8e2
Remove blank autoload files 2017-11-05 01:16:35 +01: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
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
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
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
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
9645945465 app/irc: initial commit 2017-06-11 15:55:22 +02:00