Commit Graph

356 Commits

Author SHA1 Message Date
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
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
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
2214c3175e Minor tweaks across the board 2019-05-21 00:34:32 -04:00
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
c3cb7c5000 :tools password-store -> :tools pass
A simpler name and matches the prefix of its module.
2019-05-19 02:18:25 -04:00
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
ca8202c224 Standardize the READMEs of various modules 2019-05-09 21:31:23 -04:00
84c5da844b Add email/{wanderlust,mu4e,notmuch} modules
Removed app/{email,notmuch}
2019-05-05 14:14:12 -04:00
4aa65aa019 Move avy, ace-link & ace-window out of core
They don't belong there, and ace-window is no longer a core dependency
anyhow.
2019-05-01 21:02:28 -04: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
d6839fc4c6 Remove references to old scratch buffer functions 2019-04-19 20:50:53 -04:00
ca32f7b7d1 app/rss: improve entry readability
By not using variable-pitch fonts in the SHR-converted output and
allowing images to be larger than 60% of the window's width.

Also corrects the docstring for +rss|elfeed-wrap, promising to use
`visual-fill-column-mode` when it doesn't (and never did).

Also changes `=rss` to an alias.
2019-04-02 15:47:09 -04:00
1ca499bafb adds to falsely branch in case invoked from splash 2019-03-30 16:05:33 +01:00