Commit graph

26 commits

Author SHA1 Message Date
Henrik Lissner
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
Henrik Lissner
9bbc0699ae app/calendar: remove non-existent autoload
my-open-calendar is in the README, but isn't actually defined.
2021-06-07 21:06:17 -04:00
Henrik Lissner
89775f38d5 app/calendar: remove org-gcal--notify hack
This hack was PRed 4+ years ago. The package has since been improved and
the original issue it tackled is very likely long gone (and is now
causing wrong-number-of-arguments errors).

Fixes kidd/org-gcal.el#151
2021-05-01 01:25:42 -04:00
Henrik Lissner
f272137e12 app/calendar: fix C-{l,j,k} in details buffer 2021-03-06 00:15:21 -05:00
Henrik Lissner
7399138736 app/calendar: minor refactor & reformatting 2021-03-06 00:10:55 -05:00
Henrik Lissner
b5f258914d app/calendar: add evil keybind scheme
This should probably be upstreamed to evil-collection.

Fixes #4019
2021-03-06 00:10:55 -05:00
Henrik Lissner
4003d1fdea app/calendar: add cfw:details* popup rule 2021-03-06 00:10:55 -05:00
Max Schlueter
8f994551d4
Add cfw:org-create-file-source to list of commands
Also show how to use it in README.
2020-07-30 09:07:43 +02:00
Nicolas Cavigneaux
048b086d44
Add calfw-cal dependency to allow local cal source 2020-07-29 22:01:19 +02:00
mikeyobrien
907eefb3b8 Include calfw-ical package in :calendar 2020-06-14 18:31:29 -05:00
Akhil Wali
7c188e566b
Remove dead code 2020-05-04 08:59:56 +12:00
Akhil Wali
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
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
7c5eefee3e
General, minor refactoring 2019-02-24 13:58:56 -05:00
Henrik Lissner
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
Henrik Lissner
1e81a35461
Minimize dependence on map!
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).

In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.

This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
Henrik Lissner
5c9ef4ee38
Replace doom-hide-modeline-mode w/ hide-mode-line-mode #423 2018-03-02 19:14:44 -05:00
Henrik Lissner
d6cba4253f
app/calendar: minor refactor; rename +calendar-open-calendar-function 2018-02-19 20:19:54 -05:00
Henrik Lissner
04cb9a2691
app/calendar: general refactor 2018-02-19 15:18:36 -05:00
Henrik Lissner
c8c7bcabc0
app/calendar: fix path in comment header 2018-02-18 03:10:09 -05:00
fuxialexander
41a84a3c6d Add: +calendar/quit binding to "q" 2018-01-14 10:06:36 +08:00
fuxialexander
5bfa365809 Fix: hotfix of +calendar-org-gcal-secret-file 2018-01-13 17:57:38 +08:00
fuxialexander
c63aba39ac Add: =calendar app 2018-01-13 17:26:40 +08:00