diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-12-08 10:21:03 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-12-08 10:21:03 -0500 |
commit | 6ebf0ccbfab1b51b51d3417a482222386a5ceca6 (patch) | |
tree | 0d83904e3e611821f24c33c98cfb14b7a7e10235 /2023/talks/flat.md | |
parent | 6fe4bd517e53db15640622e6ed138922ef271ee4 (diff) | |
download | emacsconf-wiki-6ebf0ccbfab1b51b51d3417a482222386a5ceca6.tar.xz emacsconf-wiki-6ebf0ccbfab1b51b51d3417a482222386a5ceca6.zip |
add all the comments from IRC and the pad
Diffstat (limited to '2023/talks/flat.md')
-rw-r--r-- | 2023/talks/flat.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/2023/talks/flat.md b/2023/talks/flat.md index 924acd17..6c2d8037 100644 --- a/2023/talks/flat.md +++ b/2023/talks/flat.md @@ -22,6 +22,38 @@ and soon started using the DJGPP port of emacs on a 386 at home. Currently lecturing at a university in Madrid, he uses emacs for most of his teaching activities. +# Discussion + +## Questions and answers + +- Q: Do you plan to upstream this style into core Emacs? + - A: It\'s in core emacs +- Q: How difficult is it to modify face styles like this internally? + - A: It\'s very simple, just set the :style of the :box face + attribute. +- Q: How much work was involved in implementing this style internally + in Emacs core? + - A: About a 20-line patch. +- Q: Could you please share the code for copy and paste? Thx! + - A: + - (defun flat-style(theme &rest args) + - (custom-set-faces + - \`(mode-line + - ((t (:inherit mode-line + - :box (:line-width ,mode-line-height :style + flat-button)))) t) + - \`(mode-line-inactive + - ((t (:inherit mode-line-inactive + - :box (:line-width ,mode-line-height :style + flat-button)))) t))) + - (advice-add \'load-theme :after \#\'flat-style) +- Q: Do you teach Emacs to any of your university students? + - A: No teaching, but a lot of introdcuing ;-) + +## Notes + +- It looks great, thanks for upstreaming it in GNU Emacs core as well! + [[!inline pages="internal(2023/info/flat-after)" raw="yes"]] |