Commit graph

365 commits

Author SHA1 Message Date
Protesilaos Stavrou f08a85b136
Stop building the modus-themes.texi
It is no longer needed, as upstream Emacs now pulls directly the
original modus-themes.org.
2021-03-06 12:56:40 +02:00
Protesilaos Stavrou 0a36239baf
Update to version 1.2.3 2021-03-05 19:43:30 +02:00
Protesilaos Stavrou 0e8c7fedc0
Revise addition to custom-theme-load-path
This code is courtesy of Basil L. Contovounesios.[1] It is meant to
account for the presence of the Modus themes in core Emacs.

[1]: <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45068#218>.
2021-03-05 19:41:12 +02:00
Protesilaos Stavrou 209cdf6eff Merge branch 'blc/provide' into 'main'
Remove redundant calls to 'provide'

See merge request protesilaos/modus-themes!28
2021-03-05 17:13:39 +00:00
Protesilaos Stavrou c2b19ca3a6
Refine epa-validity-{disabled,high} faces
Those are present in, for example, 'M-x epa-list-keys'.
2021-03-05 19:08:09 +02:00
Basil L. Contovounesios 5b1b28022c
Remove redundant calls to 'provide'
* modus-operandi-theme.el:
* modus-vivendi-theme.el: Remove (provide 'foo-theme), which is
already done by (provide-theme 'foo).
2021-03-05 16:16:52 +00:00
Protesilaos Stavrou ece5f3b92e
Update to version 1.2.2 2021-03-05 14:03:04 +02:00
Protesilaos Stavrou eb9f300b8f
Use 'expand-file-name' when adding to theme path 2021-03-05 14:01:04 +02:00
Protesilaos Stavrou c61b4b6fc8
Fix conditional use of 'require-theme'
This snippet is courtesy of Basil L. Contovounesios.  It is meant to
make the themes load their main library regardless of version or setup,
as discussed in issue 162:
<https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-05 13:48:45 +02:00
Protesilaos Stavrou 754e4edbfc
Use simplified syntax for face property annulments 2021-03-05 10:22:15 +02:00
Protesilaos Stavrou a7e37ab1d4
Minor tweaks to the manual's formatting 2021-03-05 09:47:37 +02:00
Protesilaos Stavrou c0223c6397
Clarify phrases in manual's Enable and Load part 2021-03-04 22:29:35 +02:00
Protesilaos Stavrou 9e4495b349
Wrap cl-lib call in eval-when-compile 2021-03-04 22:26:36 +02:00
Protesilaos Stavrou dd11964310
Fix modus-vivendi docstring 2021-03-04 22:26:07 +02:00
Protesilaos Stavrou 695787439a
Update acknowledgements' section 2021-03-04 22:00:38 +02:00
Protesilaos Stavrou 68dff175de
Update to version 1.2.0 2021-03-04 15:08:06 +02:00
Protesilaos Stavrou c971fe94a2
Add CHANGELOG entry on version 1.2.0 2021-03-04 15:07:02 +02:00
Protesilaos Stavrou 3b28ce227a
Prepare manual for version 1.2.0 2021-03-04 15:06:39 +02:00
Protesilaos Stavrou bdf9e4f2e8
Revert commit 0a5ec7d
This is because it breaks things with existing installs, as reported by
several users in issue 162:
<https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-04 13:57:33 +02:00
Protesilaos Stavrou 1f41820678
Add support for 'spray'
This was reported to me via a private channel.
2021-03-04 11:01:16 +02:00
Protesilaos Stavrou 7ff93b566b
Fix contributors name in the manual 2021-03-04 07:14:24 +02:00
Protesilaos Stavrou 6eb515e589
Test for 'require-theme' before trying (Emacs28)
This is because the feature/native-comp branch on emacs.git does not
have that function yet.  Thanks to Mark Barton for reporting the problem
in issue 162: <https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-04 06:38:43 +02:00
Protesilaos Stavrou aa81321344
Reword parts of the manual 2021-03-03 20:35:16 +02:00
Protesilaos Stavrou 0a5ec7dbe0
Update theme files for Emacs 28 inclusion+upgrade
The themes are already in Emacs, but we have to use a new function for
things to work as intended with the new version of the files (check the
Emacs source code for the technicalities of 'require-theme').

This is in preparation of the imminent release of version 1.2.0.
2021-03-03 19:21:57 +02:00
Protesilaos Stavrou b5a198df86
Make org-macro conditionally use fixed-pitch
This means that it will inherit 'fixed-pitch' by default, unless
'modus-themes-no-mixed-fonts' is non-nil.

Also makes the face consistent with org-code, as seen in commit 37e0400.
2021-03-03 19:18:32 +02:00
Protesilaos Stavrou 37e0400a1c
Add subtle background to org-code
This is to make things consistent between =verbatim=, ~code~, and
{{{macro}}} constructs.
2021-03-03 19:17:15 +02:00
Protesilaos Stavrou 4b9976a43d
Minor tweaks to the manual 2021-03-03 19:11:55 +02:00
Protesilaos Stavrou dd42be8e13
Re-organise manual's header meta data 2021-03-03 19:11:10 +02:00
Protesilaos Stavrou 2e2ccc9adc
Downcase all Org meta data comments
I did not do this manually.  Check the blog post:
<https://protesilaos.com/codelog/2021-03-03-emacs-query-replace-downcase/>.
2021-03-03 19:05:33 +02:00
Protesilaos Stavrou 4fe8412e19
Minor spacing tweaks in the manual 2021-03-03 11:22:23 +02:00
Protesilaos Stavrou 33dfd8e386
Several minor tweaks to the manual; recompile it 2021-03-03 11:06:12 +02:00
Protesilaos Stavrou 724e515ccc
Document report on deuteranopia diffs 2021-03-03 10:41:15 +02:00
Protesilaos Stavrou 3b2ee734da
Simplify annulment of dired-subtree backgrounds 2021-03-02 11:13:17 +02:00
Protesilaos Stavrou 49f8f1721a
Make bongo-album-title more distinct 2021-03-02 10:36:01 +02:00
Protesilaos Stavrou 9d3538f8a5
Minor documentation refinements 2021-02-28 22:12:26 +02:00
Protesilaos Stavrou afcf36ab25
Refine the manual's note on prism.el 2021-02-28 21:48:52 +02:00
Protesilaos Stavrou 3ab743ae6e
Add note on mmm-mode faces (extend commit 11c86a8)
Thanks to Davor Rotim fr the feedback in issue 161:
<https://gitlab.com/protesilaos/modus-themes/-/issues/161>.
2021-02-28 19:02:28 +02:00
Protesilaos Stavrou 11c86a8649
Add support for mmm-mode and recompile manual
Thanks to Davor Rotim for the valuable feedback in issue 161:
<https://gitlab.com/protesilaos/modus-themes/-/issues/161>.
2021-02-28 16:56:00 +02:00
Protesilaos Stavrou 96a21ab229
Update doc of deftheme modus-vivendi 2021-02-27 04:52:29 +02:00
Protesilaos Stavrou 7701224ca9
Update doc of deftheme modus-operandi 2021-02-27 04:52:19 +02:00
Protesilaos Stavrou 85bd448b2a
Add support for new tab-line-mode face (Emacs 28)
This comes into effect when 'tab-line-tab-face-functions' includes
'tab-line-tab-face-inactive-alternating'.
2021-02-26 10:53:07 +02:00
Protesilaos Stavrou 08dd39b6e3
Exclude indices from manual's HTML output 2021-02-25 21:16:46 +02:00
Protesilaos Stavrou 012d803a58
Add (setq modus-themes-diffs 'deuteranopia)
This partially addresses the wishlist entry to provide options that
account for color diffiency (thanks to Hörmetjan Yiltiz):
<https://gitlab.com/protesilaos/modus-themes/-/issues/118>.

I was also inspired to implement this feature after reading Sam
Kleinman's blog post on "Editor Themes" (2021-02-24):
<https://tychoish.com/post/editor-themes/>.

Apart from what this new option provides, please consider this a
statement of intent: to make the themes cope well with such
requirements.  There is more work to be done on that front and any user
feedback would be most welcome.
2021-02-25 14:12:05 +02:00
Protesilaos Stavrou 4640d8d688
Update theme-agnostic advice-add in the manual
Thanks to Daniel Mendler for the valuable feedback in issue 131:
<https://gitlab.com/protesilaos/modus-themes/-/issues/131>.
2021-02-25 07:06:08 +02:00
Protesilaos Stavrou 1643f57fc3
Update links to theme-agnostic hook in the manual
Thanks to Daniel Mendler for the valuable feedback in issue 131:
<https://gitlab.com/protesilaos/modus-themes/-/issues/131>.
2021-02-25 07:02:51 +02:00
Protesilaos Stavrou 13ac9edece
Add support for the built-in shortdoc
I contributed the updated faces to Emacs' development target (Emacs 28):
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46748>.
2021-02-25 06:54:42 +02:00
Protesilaos Stavrou bbee2ba99a
Refine org-tree-slide header overlay face
This fixes an issue where it would inherit the overline of level 1
headings when 'modus-themes-headings' had a value for those headings
equal to 'line', 'section', and variants.  Like this:

    (setq modus-themes-headings
          '((1 . section)
            ...))

It also make the face behave like that of Org document titles.
2021-02-25 06:49:31 +02:00
Protesilaos Stavrou a4ebf915d8 Merge branch 'ace-window' into 'main'
Ensure ace-window window hints consistency

See merge request protesilaos/modus-themes!27
2021-02-24 10:27:43 +00:00
Nicolas De Jaeghere abe6c5e614
Set slant of ace-window window hint
Setting the slant face property of the ace-window window hint face
explicitly, prevents that property of the underlying face from
bleeding through.
2021-02-24 10:02:35 +01:00
Protesilaos Stavrou fefe018603
MAJOR REVIEW of the manual's formatting for texi
The idea is to improve the output of the manual in Texinfo, so that it
is easier for me to send it to upstream Emacs with the proper markup.

While core Emacs should be covered, there still are some issues I need
to deal with, as those 'kbd' and 'file' macros do not export any markup
for the HTML backend.  Ideally, those should be interpreted as <code>,
though I do not really mind if that is not doable because I only publish
the HTML on my website where this lack of markup does not really affect
the meaning of the instructions.

This is done in response to Emacs bug#45143.
2021-02-24 09:15:13 +02:00