Commit graph

262 commits

Author SHA1 Message Date
Henrik Lissner
657bf209cb
Merge pull request #2779 from seanfarley/irc-buffer-state
irc: only use the switch buffer logic during creation
2020-04-07 17:57:24 -04:00
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
Henrik Lissner
f5ba1c4688
Remove defunct :app regex module
It never worked and was an eternal WIP. Can probably be replaced or
rewritten later using https://github.com/k-talo/foreign-regexp.el
2020-03-29 19:02:09 -04:00
Henrik Lissner
611ddb2263
Refactor & comment #1862 fix
Relevant to #2727
2020-03-27 15:14:15 -04:00
Henrik Lissner
61faef7089
Merge pull request #2727 from hperrey/irc-fixes
IRC/circe fixes: TLS connection workaround and default server settings
2020-03-27 15:08:55 -04:00
Hanno Perrey
8648c9ad91 syntactic and cosmetic changes 2020-03-27 09:50:35 +01:00
Henrik Lissner
f1df6230ea
Bump :app irc, elfeed & twitter
jorgenschaefer/circe@0c79138 -> jorgenschaefer/circe@e5bf5f8
skeeto/elfeed@3f0edb1 -> skeeto/elfeed@d0405e6
abo-abo/avy@cf95ba9 -> abo-abo/avy@3bf8314
2020-03-27 01:04:30 -04:00
Hanno Perrey
4f39bf36f0 stops overriding circe default servers
circe-network-defaults is filled with predefined server details
e.g. for Freenode.net and those defaults should not be wiped here
2020-03-15 17:36:21 +01:00
Hanno Perrey
a64a893fa0 adds workaround for circe TLS connections (#1862)
- OpenSSL versions > 1.1.0 break the assumptions of tls.el of where the
info block stops
- this makes circe hang on TLS connections (jorgenschaefer/circe#340)
- tls.el is no longer maintained therefore this adds a
workaround in circe-mode buffers
2020-03-15 17:32:32 +01:00
Henrik Lissner
bc025adc19
Remove reference to removed +rss-elfeed-files var 2020-03-01 12:19:44 -05:00
Henrik Lissner
1ed06e68cc
Prevent rmh-elfeed-org-files being overwritten
Because :after changes when :init is evaluated. Without :after, it's
evaluated before the package is loaded. With :after, it is evaluated
after the package is loaded, but before its :config block.

:preface is what we want; it is always evaluated before the package is
loaded.
2020-02-29 18:17:01 -05:00
Henrik Lissner
5689fe5a23
Set elfeed dir vars before package loads
To be consistent with other dir/file vars.
2020-02-29 17:59:03 -05:00
Henrik Lissner
e3d7b2662c
Don't throw error if elfeed org file does not exist
The user may not want an org file, so we shouldn't impose this error on
them if one doesn't exist.
2020-02-18 00:20:35 -05:00
Henrik Lissner
60fde473d4
Remove +rss-elfeed-files & use rmh-elfeed-org-files
No need for the abstraction.
2020-02-18 00:20:35 -05:00
Henrik Lissner
4a5cf04761
General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
Henrik Lissner
a680a4c96d
Replace :app write with :checkers grammar 2020-01-09 16:43:03 -05: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
a947f64ff2
Replace ace-link with link-hint
Better link support, easier to extend, and maintained more actively.
2019-12-31 00:00:10 -05:00
Henrik Lissner
995617edf1
app/irc: update README & clarify gnutls dependency 2019-12-27 01:44:40 -05: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
Sean Farley
da78751ce4 irc: turn off smartparens mode for circe buffers
Users probably don't want ":-(" to be autocompleted as ":-()" so let's
turn of smartparens for chatting.
2019-12-23 12:08:13 -08:00
Henrik Lissner
996188250b
Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
Henrik Lissner
811dbc4e68
app/write: conform hooks to conventions 2019-11-25 16:20:53 -05:00
Foivos Zakkak
74211e11c0
Adds how to build emacs with ImageMagick in app:twitter 2019-10-11 11:56:33 +03:00
Foivos Zakkak
fd6e53be7a
Adds README for app:twitter 2019-10-11 11:56:22 +03:00
Foivos Zakkak
a1a627d871
Add links to plugins in app/write/README.org 2019-10-10 14:22:25 +03:00
Foivos Zakkak
7b3bbe68c6
Fix #+SINCE in app/write/README.org 2019-10-10 01:43:16 +03:00
Foivos Zakkak
fe4bb70a18
Reformat app/write/README.org to match __doom-readme template 2019-10-10 01:20:35 +03:00
Henrik Lissner
a0f0bc836f
Merge pull request #1623 from MannySchneck/languagetool-macos-fix
fix: bump languagetool jar search depth on macos
2019-08-07 21:45:09 -04:00
Manny Schneck
9e3f92a3a4 fix: bump languagetool jar search depth on macos
On macos, the libexec directory for languagetool, as installed by brew,
lives in a version directory. To find the jar, we need to increase the
search depth, since the version directory will change with every version.

Example of brew-installed languagetool:
--------
$ tree -L 2 /usr/local/Cellar/languagetool
=>
/usr/local/Cellar/languagetool
└── 4.6
    ├── CHANGES.md
    ├── CHANGES.txt
    ├── COPYING.txt
    ├── INSTALL_RECEIPT.json
    ├── README.md
    ├── bin
    └── libexec
2019-07-31 12:08:26 -05:00
Henrik Lissner
2b1c60fbd4
app/irc: refactor & fix #1616 2019-07-29 15:05:26 +02:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
a3e262c7ac
💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
Henrik Lissner
82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
c795a988e6
Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
Henrik Lissner
149b2617b0
💥 revise hook/var fns naming convention (2/2)
This is second of three big naming convention changes. In this commit,
we change the naming conventions for hook functions and variable
functions:

1. Replace the bar | to indicate a hook function with a -h suffix, e.g.

     doom|init-ui -> doom-init-ui-h
     doom|run-local-var-hooks -> doom-run-local-var-hooks-h

2. And add a -fn suffix for functions meant to be set on variables,
   e.g.

     (setq magit-display-buffer-function #'+magit-display-buffer-fn)

See ccf327f8 for the reasoning behind these changes.
2019-07-22 02:30:38 +02:00
Henrik Lissner
4a8db3a8cd
app/calendar: remove +calendar-org-gcal-secret-file
The user can load this file themselves.
2019-07-01 18:43:41 +02:00
Henrik Lissner
9a02bd8ac8
Minor refactors across the board
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
Siddharth Shekar
aa64cf9426 Replace kill-this-buffer with kill-current-buffer
As per the documentation for kill-this-buffer, it should only be invoked
from the menu and behaves unpredictably when invoked programmatically.
2019-05-30 18:54:58 -07:00
Henrik Lissner
2214c3175e
Minor tweaks across the board 2019-05-21 00:34:32 -04:00
Henrik Lissner
9561331d05
Fix +calendar/open-calendar
It was using a doom-themes function, which isn't guaranteed to exist,
e.g. if the user isn't using a doom-themes theme.
2019-05-20 21:09:12 -04:00
Henrik Lissner
c3cb7c5000
:tools password-store -> :tools pass
A simpler name and matches the prefix of its module.
2019-05-19 02:18:25 -04:00
Henrik Lissner
20720cda61
Remove visual-fill-column package from Doom core
It is not essential enough to keep in Doom core. I'm working on a new
module (or a rewrite for app/write) to replace it.
2019-05-17 01:58:27 -04:00
Henrik Lissner
ca8202c224
Standardize the READMEs of various modules 2019-05-09 21:31:23 -04:00