Commit Graph

269 Commits

Author SHA1 Message Date
1ad59fa1ca add app/rss readme 2020-05-12 19:48:42 +03:00
9f25e52fb7 Init app/rss readme.org 2020-05-12 18:42:00 +03:00
7eea945f9b Bump :app calendar
kidd/org-gcal.el@1667aba -> kidd/org-gcal.el@2ee2b31
2020-05-04 09:00:31 +12:00
7c188e566b Remove dead code 2020-05-04 08:59:56 +12:00
eb0b7f14a5 Encrypt and change location of org-gcal-token-file
* Move `org-gcal-token-file` to `doom-cache-dir`
* Encrypt `org-gcal-token-file` using GPG
* If old file exists, move it to new location with encryption
2020-05-04 08:59:39 +12:00
fb831a3bcf Bump :app
abo-abo/avy@3bf8314 -> abo-abo/avy@509471b
kidd/org-gcal.el@6821e34 -> kidd/org-gcal.el@1667aba
skeeto/elfeed@d0405e6 -> remyhonig/elfeed-org@77b6bbf

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:28:02 -04:00
d12752324a Introduce letf! convenience macro
A more succinct cl-letf, which allows for local functions and macros.
2020-04-29 23:48:21 -04:00
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
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
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
611ddb2263 Refactor & comment #1862 fix
Relevant to #2727
2020-03-27 15:14:15 -04:00
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
8648c9ad91 syntactic and cosmetic changes 2020-03-27 09:50:35 +01:00
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
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
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
bc025adc19 Remove reference to removed +rss-elfeed-files var 2020-03-01 12:19:44 -05:00
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
5689fe5a23 Set elfeed dir vars before package loads
To be consistent with other dir/file vars.
2020-02-29 17:59:03 -05:00
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
60fde473d4 Remove +rss-elfeed-files & use rmh-elfeed-org-files
No need for the abstraction.
2020-02-18 00:20:35 -05:00
4a5cf04761 General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
12094788d7 Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
a680a4c96d Replace :app write with :checkers grammar 2020-01-09 16:43:03 -05:00
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
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
995617edf1 app/irc: update README & clarify gnutls dependency 2019-12-27 01:44:40 -05:00
ac336a55ea app/irc: use SERVER for :host if no host is specified 2019-12-27 01:44:40 -05:00
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
436d36fcd2 app/irc: fix workspace integration #2243 2019-12-24 22:16:26 -05:00
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
996188250b Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
811dbc4e68 app/write: conform hooks to conventions 2019-11-25 16:20:53 -05:00
74211e11c0 Adds how to build emacs with ImageMagick in app:twitter 2019-10-11 11:56:33 +03:00
fd6e53be7a Adds README for app:twitter 2019-10-11 11:56:22 +03:00
a1a627d871 Add links to plugins in app/write/README.org 2019-10-10 14:22:25 +03:00
7b3bbe68c6 Fix #+SINCE in app/write/README.org 2019-10-10 01:43:16 +03:00
fe4bb70a18 Reformat app/write/README.org to match __doom-readme template 2019-10-10 01:20:35 +03:00
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
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
2b1c60fbd4 app/irc: refactor & fix #1616 2019-07-29 15:05:26 +02:00
19ecf8e46a Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
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
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
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
c795a988e6 Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
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
4a8db3a8cd app/calendar: remove +calendar-org-gcal-secret-file
The user can load this file themselves.
2019-07-01 18:43:41 +02:00