Commit Graph

21 Commits

Author SHA1 Message Date
e9ef904eee docs(calendar): say calfw instead of the calendar 2022-09-21 01:05:34 +02:00
31a6fa77d0 feat(calendar): only initialize calfw if necessary
If the *calendar* workspace is already populated with calfw buffers,
there is no reason to re-initialize calfw.
2022-09-21 01:05:34 +02:00
9d14d093c0 feat(calendar): use a different workspace name
The workspace name *calendar* is more consistent with other app
workspaces like *mu4e*, *notmuch*, *rss*, and *IRC*.
2022-09-21 01:05:34 +02:00
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
cf31d2605f app/calendar: fix edge case with +calendar/quit
The user can open the calendar directly, with `M-x
cfw:open-calendar-buffer`, which sidesteps the workspace init logic in
=calendar. This fixes +calendar/quit so it can deal with this use case.

Mentioned in #4019
2021-03-06 00:10:55 -05:00
fdbf68cf3c Fix #3389: wrong-type-argument on closing calendar
Can happen if you don't open the calendar through =calendar.
2020-10-12 03:37:08 -04:00
4a5cf04761 General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
c795a988e6 Conform many modules to new conventions 2019-07-23 12:30:47 +02: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
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
1ca499bafb adds to falsely branch in case invoked from splash 2019-03-30 16:05:33 +01:00
5c15934733 fixes calfw calendar creation width 2019-03-30 11:23:02 +01:00
a582bdf208 app/calendar: fix typo causing void-variable error 2018-04-04 01:05:20 -04:00
7282553d2d app/calendar: minor indentation refactor 2018-04-02 05:50:07 -04:00
f6f2c92373 app/calendar: don't require :feature workspaces 2018-04-02 05:49:55 -04:00
d6cba4253f app/calendar: minor refactor; rename +calendar-open-calendar-function 2018-02-19 20:19:54 -05:00
04cb9a2691 app/calendar: general refactor 2018-02-19 15:18:36 -05:00
c8c7bcabc0 app/calendar: fix path in comment header 2018-02-18 03:10:09 -05:00
7236404f67 Fix: hotfix of +calendar-open-calendar-function 2018-01-13 17:35:59 +08:00
c63aba39ac Add: =calendar app 2018-01-13 17:26:40 +08:00