summaryrefslogblamecommitdiffstats
path: root/2024/captions/emacsconf-2024-theme--my-journey-of-finding-and-creating-the-perfect-emacs-theme--metrowind--answers.vtt
blob: bb183779409e9bc966471bc5a4d4920847f53eab (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405




















































































































































































































































































































































































































                                                                                                                           
WEBVTT

00:00:00.000 --> 00:00:09.279
So just to be clear, right now we are currently streaming. So

00:00:09.280 --> 00:00:12.679
if you want to answer with your voice, you can as well. Oh, I'm

00:00:12.680 --> 00:00:17.999
sorry. Okay. Yeah. So I've got a question. I think there was a

00:00:18.000 --> 00:00:20.279
little bit of a misunderstanding with whether we were doing

00:00:20.280 --> 00:00:25.079
a Q&A on BBB or if we were doing it on Etherpad. So it's really

00:00:25.080 --> 00:00:28.479
up to you. Right now we've set up everything. So if you want to

00:00:28.480 --> 00:00:32.119
start answering questions with your voice, we might as

00:00:32.120 --> 00:00:33.864
well. So OK, so I can just do it live.

NOTE Q: When you choose colors based on the same lightness, does it not hurt readability since the eye sees lightness most?

00:00:33.865 --> 00:00:38.239
So one question is, so I

00:00:38.240 --> 00:00:41.839
assume this is a question on the lab space, where all the

00:00:41.840 --> 00:00:46.959
colors are the same lightness. Does it hurt readability? So

00:00:46.960 --> 00:00:53.679
far, I find it to be OK. For the lab theme, I picked the colors

00:00:53.680 --> 00:01:00.999
manually. So like I could just fix a angle essentially so

00:01:01.000 --> 00:01:11.759
that no colors are similar, so I have good readability. But

00:01:11.760 --> 00:01:18.959
for a random theme in Monte Carlo, it's hard because like

00:01:18.960 --> 00:01:24.639
it's just random. But yeah, that's a really good point. And

00:01:24.640 --> 00:01:28.959
also that's one of the motivations I did the nothing, you

00:01:28.960 --> 00:01:33.999
know, the great scale theme to explore just using

00:01:34.000 --> 00:01:39.759
lightness. Yeah.

00:01:39.760 --> 00:01:48.199
So looking at other questions.

00:01:48.200 --> 00:01:52.279
Okay, great. Do you want to take the next question. So, okay.

NOTE Q: For monte-carlo, are all the "random" colors picked using a colorwheel/hue rotation?

00:01:52.280 --> 00:01:56.959
Okay, let's go to the third first. Let's finish. Yes, for

00:01:56.960 --> 00:01:59.999
Monte Carlo are all the random colors that using a color

00:02:00.000 --> 00:02:06.479
wheel here. Yes. Well, so basically, what this theme does is

00:02:06.480 --> 00:02:14.159
it. It picks a saturation and lightness for me first. These

00:02:14.160 --> 00:02:19.759
are also random, but they are picked with some kind of range.

00:02:19.760 --> 00:02:26.559
And that's a parameter that I can play with, you know, the

00:02:26.560 --> 00:02:28.959
range of lightness and separation.

00:02:28.960 --> 00:02:33.479
Once those are fixed, the colors are picked by angles in the

00:02:33.480 --> 00:02:38.399
color wheel, or heel rotation, as you would put it. So yes,

00:02:38.400 --> 00:02:43.719
that's roughly the process.

NOTE Q: One area I see emacs able to do themes that is "underused?" is changing the font

00:02:43.720 --> 00:02:47.239
OK, great. I think the second question is still in the

00:02:47.240 --> 00:02:51.679
process. Oh, well, maybe you could start fielding it. I

00:02:51.680 --> 00:02:55.319
think you've got already something to work on. I see one area

00:02:55.320 --> 00:03:01.199
I see Emacs able to do. under use is changing the font, font

00:03:01.200 --> 00:03:09.759
size, font type, model space based on various faces. Yeah,

00:03:09.760 --> 00:03:13.439
so to paraphrase the question, one thing that Emacs is

00:03:13.440 --> 00:03:17.399
definitely not doing a whole lot of right now is changing the

00:03:17.400 --> 00:03:21.079
font that is being used, be it the font size, the font family.

00:03:21.080 --> 00:03:25.039
Sometimes you see themes, especially old mode themes,

00:03:25.040 --> 00:03:29.199
fontify differently the headers of the documents versus

00:03:29.200 --> 00:03:31.879
the content, and usually you do have a little bit of a

00:03:31.880 --> 00:03:34.719
contrast that is being introduced. But is it something that

00:03:34.720 --> 00:03:38.959
you find value in, this type of contrast based on font? And to

00:03:38.960 --> 00:03:45.159
me, it's my personal preference to just use one font. I don't

00:03:45.160 --> 00:03:51.479
even change the font size a lot in org mode. It's just

00:03:51.480 --> 00:03:55.319
personal preference.

00:03:55.320 --> 00:03:58.999
I've seen scenes where once I applied, I opened the org doc

00:03:59.000 --> 00:04:04.639
and suddenly all the titles are like Serif or some fancy

00:04:04.640 --> 00:04:12.759
fonts. That works. And to me, again, it's a personal

00:04:12.760 --> 00:04:16.919
preference that I don't really like that, but I know a lot of

00:04:16.920 --> 00:04:21.799
people like that. So it's up to you, I guess. Yeah, I mean,

00:04:21.800 --> 00:04:25.839
this, as we've seen in your talk and as well as the previous

00:04:25.840 --> 00:04:29.279
one we had this morning, you know, themes are very personal

00:04:29.280 --> 00:04:33.079
and at the end, whatever you need to, you know, some people

00:04:33.080 --> 00:04:35.799
are going to need more contrast than others, some people are

00:04:35.800 --> 00:04:37.999
going to need a little more variety in the fonts that they

00:04:38.000 --> 00:04:41.359
use. Ultimately, it's up to you really what you want to use.

00:04:41.360 --> 00:04:45.199
The end point, the angle that one should be aiming for is to

00:04:45.200 --> 00:04:49.039
feel comfortable in what they're editing. And whether this

00:04:49.040 --> 00:04:52.799
comfort translates into a very barebone color theme like

00:04:52.800 --> 00:04:56.319
the one we saw this morning with very slight colors but still

00:04:56.320 --> 00:04:59.079
which has a lot of personality or perhaps something closer

00:04:59.080 --> 00:05:04.279
to yours which tends to use equal luminance or lightness for

00:05:04.280 --> 00:05:07.879
the different entries. Well, everyone needs to tune in and

00:05:07.880 --> 00:05:13.959
find whatever works best for them, I think. Yep. And also, I

00:05:13.960 --> 00:05:18.479
want to note, I actually have a personal rule. It's also in

00:05:18.480 --> 00:05:24.479
all my themes. It's that comments have to be italic. I just

00:05:24.480 --> 00:05:31.999
like the look of italic comments. So, I actually... So, if

00:05:32.000 --> 00:05:37.799
you... In one of the section in the video, I mentioned I have

00:05:37.800 --> 00:05:41.959
hooks. Maybe I didn't mention, but I have hooks when using

00:05:41.960 --> 00:05:47.359
the picking the random theme setup. One of the purpose of

00:05:47.360 --> 00:05:52.359
that hook is I can add italic to all the themes on the comment

00:05:52.360 --> 00:05:58.999
face. Which I don't think it works actually right now, but

00:05:59.000 --> 00:06:02.679
that's the intention. Yeah, but I think it answers the

00:06:02.680 --> 00:06:05.879
question we started on originally. Because changing the

00:06:05.880 --> 00:06:11.559
font, I mean, using the italic variant of the font, it's

00:06:11.560 --> 00:06:14.119
literally a different font. And so, being able to have this

00:06:14.120 --> 00:06:17.479
type of contrast is actually important for you. So, it's

00:06:17.480 --> 00:06:20.839
nice that you managed to find this particular bit of

00:06:20.840 --> 00:06:25.519
knowledge through experimentation. And also I want to add

00:06:25.520 --> 00:06:30.719
that if you pick a monospace font like I do, usually there's

00:06:30.720 --> 00:06:37.439
not a lot of... Creativity? No, that's not the word. It's a

00:06:37.440 --> 00:06:45.639
lot of personality in the regular font part. But people do

00:06:45.640 --> 00:06:51.799
put a lot of different things in the italic. So yeah, if you

00:06:51.800 --> 00:06:55.999
can find a way to utilize the italic face, you could see some

00:06:56.000 --> 00:07:01.239
interesting results. Yeah, definitely. Again, I think

00:07:01.240 --> 00:07:03.719
it's important to consider all the things you can play with

00:07:03.720 --> 00:07:06.519
in terms of contrast. Because at the end of the day, you know,

00:07:06.520 --> 00:07:08.839
some people are going to be more receptive to a change of font

00:07:08.840 --> 00:07:11.639
than change of color. You know, just considering the amount

00:07:11.640 --> 00:07:14.439
of people who are colorblind and who are using software like

00:07:14.440 --> 00:07:19.279
this. You know, sometimes your vision optimizes for

00:07:19.280 --> 00:07:22.039
particular kind of changes and some people are going to be

00:07:22.040 --> 00:07:26.279
more sensitive to a slanted eye than they would be to an eye

00:07:26.280 --> 00:07:31.479
that is red or an eye that is blue. So, But it's not for

00:07:31.480 --> 00:07:31.999
everyone.

00:07:32.000 --> 00:07:37.519
So I'm looking at the time and we have about eight minutes

00:07:37.520 --> 00:07:38.839
until we go into the next talk.

00:07:38.840 --> 00:07:44.519
To be frank, I don't think I've got any more questions on my

00:07:44.520 --> 00:07:46.879
end. I'm not sure if we've got any people on BBB who has joined

00:07:46.880 --> 00:07:49.119
us and would like to ask a question. Let me check on IRC

00:07:49.120 --> 00:07:53.799
quickly if we've got any questions coming our way. I don't

00:07:53.800 --> 00:07:57.199
see any. Do you see any on your end?

00:07:57.200 --> 00:08:06.479
Not really. Well, then I suggest we just leave it at that and

00:08:06.480 --> 00:08:08.679
enjoy a little break before the next chat. So, thank you so

00:08:08.680 --> 00:08:11.559
much Metrowind for coming to EmacsConf and talking about

00:08:11.560 --> 00:08:14.399
colors because, as you saw, many people are interested

00:08:14.400 --> 00:08:17.199
about them, so much that another person decided to have a

00:08:17.200 --> 00:08:20.639
chat about theme. We didn't plan for this, but it's nice to

00:08:20.640 --> 00:08:23.959
see. And, well, perhaps you could collaborate in the future

00:08:23.960 --> 00:08:26.919
and both find the mutual confidence that you need to push

00:08:26.920 --> 00:08:29.799
your stuff to Melpa. Because I did hear that you weren't

00:08:29.800 --> 00:08:33.119
feeling too confident about your random color theme

00:08:33.120 --> 00:08:37.439
package. But, you know, you've done the first step, which is

00:08:37.440 --> 00:08:40.559
talking about it and sharing it with all of us. And perhaps

00:08:40.560 --> 00:08:42.759
the next step is to actually clean up the code to your

00:08:42.760 --> 00:08:47.959
satisfaction and publish it eventually. Oh, I can see

00:08:47.960 --> 00:08:53.460
another question. Should we go to that? Sure.

NOTE Q: Have you ever kept any of the random themes that were thrown up?

00:08:53.461 --> 00:08:54.079
Have you ever

00:08:54.080 --> 00:08:59.719
kept any of the random themes that were thrown up? So I assume

00:08:59.720 --> 00:09:05.119
this is for the Monte Carlo setup. The answer is no. The

00:09:05.120 --> 00:09:09.999
reason is, like I mentioned, I'm using the randomly picking

00:09:10.000 --> 00:09:15.079
a theme setup right now. And Monte Carlo is one of them. Now,

00:09:15.080 --> 00:09:18.639
when Emacs picks Monte Carlo by chance, I wouldn't know

00:09:18.640 --> 00:09:23.239
about it. So I wouldn't know this is my random theme. That's

00:09:23.240 --> 00:09:28.839
the reason I never kept any, like, good color schemes

00:09:28.840 --> 00:09:34.959
generated. So, no. Right, okay. Well, considering we don't

00:09:34.960 --> 00:09:37.359
have any further questions, what I suggest now is that we'll

00:09:37.360 --> 00:09:40.239
leave it at that. So, again, Metrowind, thank you so much.

00:09:40.240 --> 00:09:43.079
Thank you. And hopefully we'll hear more of your themes in

00:09:43.080 --> 00:09:51.120
the future. Cool. Thanks. All right. Bye bye. Bye bye.