Commit Graph

19 Commits

Author SHA1 Message Date
Henrik Lissner
51ec5493f3
Bump :input chinese japanese
skk-dev/ddskk@11d91b4 -> skk-dev/ddskk@fe7f82b
tumashu/pyim@b934273 -> tumashu/pyim@e54153f
2020-08-06 15:27:20 -04:00
Henrik Lissner
ffbd7b63bf
Fix #3654: prevent org-export-to-html removing line-breaks
When either :input chinese or :input japanese is enabled, due to
overzealous advice.
2020-08-02 01:33:51 -04:00
Henrik Lissner
e567cc56f2
Support fcitx5
Closes #3574

Co-authored-by: BenYip <yebenmy@protonmail.com>
2020-07-17 19:40:19 -04:00
Henrik Lissner
8ab8f40c89
Bump :input
skk-dev/ddskk@f9a2333 -> skk-dev/ddskk@11d91b4
tumashu/pyim@7717072 -> tumashu/pyim@b934273

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:29:34 -04:00
Henrik Lissner
06d5d5e6c0
General refactors, reformatting & comment revision 2020-04-23 23:56:17 -04:00
Henrik Lissner
4f9dadfcc2
Bump :input
tumashu/pyim@bbeb686 -> tumashu/pyim@7717072
skk-dev/ddskk@51747f7 -> skk-dev/ddskk@f9a2333

And remove redundant pyim entry in :input chinese
2020-03-27 17:25:29 -04: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
mahajan-abhay
a945a3ab69
Update packages.el 2019-10-26 15:33:46 +05:30
Sunn Yao
8f061eb6b8 input/{chinese,japanese}: fix org-html-paragraph advice 2019-09-02 00:48:33 -04:00
Henrik Lissner
ef4424bda6
input/{chinese,japanese}: fix org-html advice regexp #1649 2019-08-07 23:36:21 -04:00
Henrik Lissner
b2aec5f546
input/{chinese,japanese}: fix #1649 2019-08-07 17:07:36 -04: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
d5646d2b88
input/{japanese,chinese}: conform to new conventions 2019-07-23 00:01:59 +02:00
Henrik Lissner
51d3b1b424
💥 revise advice naming convention (1/2)
This is first of three big naming convention updates that have been a
long time coming. With 2.1 on the horizon, all the breaking updates will
batched together in preparation for the long haul.

In this commit, we do away with the asterix to communicate that a
function is an advice function, and we replace it with the '-a' suffix.
e.g.

  doom*shut-up -> doom-shut-up-a
  doom*recenter -> doom-recenter-a
  +evil*static-reindent -> +evil--static-reindent-a

The rationale behind this change is:

1. Elisp's own formatting/indenting tools would occasionally struggle
   with | and * (particularly pp and cl-prettyprint). They have no
   problem with / and :, fortunately.
2. External syntax highlighters (like pygmentize, discord markdown or
   github markdown) struggle with it, sometimes refusing to highlight
   code beyond these symbols.
3. * and | are less expressive than - and -- in communicating the
   intended visibility, versatility and stability of a function.
4. It complicated the regexps we must use to search for them.
5. They were arbitrary and over-complicated to begin with, decided
   on haphazardly way back when Doom was simply "my private config".

Anyhow, like how predicate functions have the -p suffix, we'll adopt the
-a suffix for advice functions, -h for hook functions and -fn for
variable functions.

Other noteable changes:
- Replaces advice-{add,remove}! macro with new def-advice!
  macro. The old pair weren't as useful. The new def-advice! saves on a
  lot of space.
- Removed "stage" assertions to make sure you were using the right
  macros in the right place. Turned out to not be necessary, we'll
  employ better checks later.
2019-07-22 02:27:45 +02:00
Henrik Lissner
7c05662d91
input/chinese: lazy load pyim & pangu-spacing
And refactor how fcitx & ace-pinyin load.
2019-05-21 22:19:31 -04:00
Henrik Lissner
2f0c56f705
input/chinese: remove chinese-wbim
See fadbfb321f (commitcomment-33512172)
2019-05-13 14:40:10 -04:00
Henrik Lissner
fadbfb321f
Add :input chinese module #1371 2019-05-13 00:57:59 -04:00