ChangeLog 292 KB
Newer Older
David Byers's avatar
David Byers committed
1
2
2003-08-14  David Byers  <byers@lysator.liu.se>

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	* services.el (initiate-first-unused-conf-no): New function.
	(initiate-first-unused-text-no): New function.
	(initiate-find-next-conf-no): New function.
	(initiate-find-previous-conf-no): New function.

	* commands2.el (kom-set-personal-label): Use capitalized strings
	for conf, pers and text.
	(lyskom-list-new-conferences): New function.
	(kom-list-new-persons): New command.
	(kom-list-new-conferences): New command.

	* commands1.el (lyskom-read-cross-reference-and-get-aux-item): Use
	capitalized strings for conf, pers and text.
	(lyskom-read-link): Same here.

18
19
20
21
	Handle async-new-presentation and async-new-motd correctly:
	* async.el (lyskom-parse-async): Set the correct buffer when
	looking for confs in the cache.

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
	Show more stats in non-extended display:
	* commands2.el (kom-status-server): Show text, conf and person
	statistics in the default display.

	Cace get-stats-description:
	* services.el (initiate-get-stats-description): Use cache.

	* vars.el.in (lyskom-stats-description): New variable.

	* parse.el (lyskom-parse-stats-description): Cache result.

	Show some boottime info:
	* commands2.el (kom-status-server): Show server start time and
	soem basic statistics in the default display.

	Cache static-server-info:
	* parse.el (lyskom-parse-static-server-info): Update cache.

	* services.el (initiate-get-boottime-info): Use cache.

	More fine-grained control over extended status:
	* commands2.el (kom-status-server): Only show full server stats if
	the appropriate extended status information is on.

	* utilities.el (lyskom-extended-status-information): New function.

	* commands2.el (kom-status-conf): Set
	kom-extended-status-information to t on entry if it contains conf.
	(kom-status-server): Set kom-extended-status-information to t on
	entry if it contains server.
	(kom-status-person): Set kom-extended-status-information to t on
	entry if it contains pers.

	* aux-items.el (lyskom-print-elisp-client-read-faq): Use
	lyskom-extended-status-information to check for extended status
	information.

	* vars.el.in (kom-extended-status-information): Updated variable
	documentation.

David Byers's avatar
David Byers committed
62
63
64
65
66
67
68
69
70
	Fix bug 1080:
	* commands2.el (kom-status-server): Use point-max, not point, to
	figure out where insertion starts and ends (lyskom-insert always
	inserts at point-max but does not always move point).

	Fix bug 1081:
	* lyskom-rest.el (lyskom-format-aux): Set pad-length to nil when
	no pad-length is specified.

71
72
2003-08-13  Ulrik Haugen  <qha@lysator.liu.se>

73
74
75
	* vars.el.in (kom-default-language): Updated the variable
	documentation.

76
77
78
	* lyskom-rest.el (lyskom-is-loaded): Handle the case when
	kom-default-language is a list.

79
80
2003-08-13  David Byers  <byers@lysator.liu.se>

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
	Work on bug 1075:
	* parse.el (lyskom-parse-static-server-info): New function.

	* services.el (initiate-get-boottime-info): New function.

	* vars.el.in (lyskom-static-server-info): New variable.

	* komtypes.el (static-server-info): New type.

	Fix bug 1078:
	* vars.el.in (lyskom-global-variable-types): Change read of
	integer.
	(kom-default-mark): Put this both in the common area and the elisp
	area. This is a good thing when we set it to values that are not
	legal according to the protocol specification.

	* flags.el (lyskom-flag-read-integer): When reading integers,
	accept nil too.

100
101
102
103
104
	Delete initial value on change:
	* completing-read.el (lyskom-read-from-minibuffer-clear-initial):
	New function.
	(lyskom-read-conf): Put it into before-change-functions in
	minibuffer-setup-hook.
105
106
107
108
109
	(lyskom-read-conf): Set pre-command-hook and post-command-hook.
	(lyskom-read-from-minibuffer-cancel-magic): New function.
	(lyskom-read-from-minibuffer-pre-command): New funtion.
	(lyskom-read-from-minibuffer-post-command): New function.
	(lyskom-minibuffer-point): New variable.
110
111
112
113
114
115

2003-08-12  David Byers  <byers@lysator.liu.se>

	* async.el (lyskom-parse-async): Handle async 20.
	(lyskom-parse-async): Handle async 21.

116
117
118
119
2003-08-05  Per Cederqvist  <ceder@ceder.dyndns.org>

	* completing-read.el (lyskom-read-conf): Typographic doc fix.

120
121
122
123
124
125
126
2003-08-05  Johan Sundström  <jhs@lysator.liu.se>

	* commands1.el (kom-go-to-conf): Never suggest going to the
	conference you are already in. It is a very annoying default.
	(kom-sub-self): Never suggest dropping out of your mailbox. It
	is about the last conference you are likely to want to leave.

127
128
129
130
131
2003-08-04  David Byers  <byers@lysator.liu.se>

	* commands2.el (kom-status-server): Show ascent and descent rates
	for statistics.

132
133
134
135
2003-08-04  Johan Sundström  <jhs@lysator.liu.se>

	* edit-text.el (lyskom-edit-fcc-text): Fix for bug 1073.

David Byers's avatar
David Byers committed
136
137
2003-08-03  David Byers  <byers@lysator.liu.se>

138
139
140
141
142
143
144
145
	* commands2.el (kom-status-server): Show statistics about the
	server.

	* lyskom-rest.el (lyskom-format-aux-help): Added support for
	formatting floats.
	(lyskom-format-aux): Support setting fraction length for floats.
	(lyskom-format-units): New function.

146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
	Support get-stats server call:
	* utilities.el (lyskom-get-server-stats): New function.

	* komtypes.el (server-stats): New type.

	* parse.el (lyskom-parse-float): New function.
	(lyskom-parse-stats): New function.

	* komtypes.el (stats-description): New type.
	(stats): New type.

	* parse.el (lyskom-parse-stats-description): New function.
	(lyskom-parse-stats-array): New function.

	* services.el (initiate-get-stats-description): New function.

	More work on bug 900 (now nags about presentations):
David Byers's avatar
David Byers committed
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
	* vars.el.in (kom-dont-complain-about-missing-presentation): New
	variable.

	* utilities.el (lyskom-nag-about-presentation): New function.

	* startup.el (kom-start-anew): Use new function to nag about
	presentation.

	* commands1.el (lyskom-write-text): Nag about presentation.
	(kom-write-comment): Here too.

	* lyskom-rest.el (lyskom-format-aux-help): Added support for F
	format letter (fill paragraph).
	(lyskom-do-insert): Ditto.

178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
	Coherent and useful defaults reading conference names:
	* filter.el (kom-filter-subject): Don't set default when reading
	conference name (the default default is better). Also cleaned up
	the code some (it was downright embarrasing).
	(kom-filter-author): Same here (sans the cleaning).
	(kom-filter-text): Same here.

	* edit-text.el (lyskom-edit-add-recipient/copy): Don't set default
	when reading conference name (the default default is better).

	* faqs.el (kom-review-faq): Don't set default when reading
	conference name (the default default is better).
	(kom-change-conf-faq): Same here.
	(kom-list-faqs): Same here.

	* review.el (lyskom-review-by-to): Don't set default when reading
	conference name (the default default is better).
	(lyskom-unread-by-to): Same here.

	* commands2.el (kom-status-person): Don't set default when reading
198
 	conference name (the default default is better).
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
	(kom-send-message): Fall back to the default default when reading
	recipient name (better than the empty string, I think).

	* commands1.el (kom-write-text): Don't set default when reading
	conference name (the default default is better).
	(kom-review-presentation): Pass nil as the initial for
	lyskom-read-conf-stat.
	(kom-unread-presentation): Same here.
	(kom-add-self): Same here.
	(kom-change-priority): Same here.
	(kom-sub-member): Same here.
	(kom-sub-self): Same here.
	(kom-go-to-conf): Same here.
	(kom-list-created-conferences): Same here.
	(kom-change-password): Same here.
	(kom-who-is-on-in-conference): Same here.
	(kom-who-is-present-in-conference): Same here.
	(kom-change-parenthesis): Pass lyskom-pers-no in initial.
	(kom-sub-recipient): Use default INITIAL if no better choice is
	found.
	(lyskom-add-helper): Same here.
	(kom-move-text): Same here.
	(kom-move-text-tree): Same here.

	* command.el (def-kom-command): Added binding of
	lyskom-command-point.

	* completing-read.el (lyskom-read-conf): Handle loads of different
	types for INITIAL.
	(lyskom-read-conf-guess-initial): New function that guesses a
	default for conference reading commands. The default is the first
	that fits the predicate of the conference under point, the current
	conference and the current person.

233
234
235
236
237
238
239
240
2003-07-31  David Byers  <byers@lysator.liu.se>

	Make moving memberships work again:
	* mship-edit.el (lp--update-membership): Get priority from entry,
	not membership (which is *all* wrong).
	(lp--mode): Show the correct keymap in documentation.
	(lp--mode-map): Added binding for C-k.

241
242
2003-07-30  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
	Keep membership buffer updated changing membership types:
	* reading.el (lyskom-insert-membership): Added calls to
	lp--update-buffer.
	(lyskom-replace-membership): Added calls to lp--update-buffer.
	(lyskom-remove-membership): Added calls to lp--update-buffer.

	* lyskom-rest.el (lyskom-check-go-to-conf): Added calls to
	lp--update-buffer.

	* commands2.el (kom-change-message-flag): Added calls to
	lp--update-buffer.

	* commands1.el (kom-add-self): Added calls to lp--update-buffer
	when de-passivating.
	(lyskom-sub-member): Added calls to lp--update-buffer.

259
260
261
262
263
264
	* lyskom-rest.el (lyskom-get-holerith-list): Return list in
	original order.
	(lyskom-split-user-area): Don't reverse the list here.

	* flags.el (lyskom-flag-write-symbol-list): Fixed stupid bug.

265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
2003-07-28  David Byers  <byers@lysator.liu.se>

	Better support for message-flag and no-of unread when joining:
	* commands1.el (lyskom-go-to-conf): Ask for number of unread when
	joining.
	(kom-add-self): Ask for message-flag when de-passivating.
	(lyskom-add-member-answer): Ask for message-flag when adding self.

	* lyskom-rest.el (lyskom-check-go-to-conf): Ask for message-flag
	when de-passivating a membership.

	Some more work for kom-handle-membership: 
	* mship-edit.el (lp--create-buffer): Made the header and footer
	adapt to the window width like the contents do.
	(lp--toggle-passive): New command. Also added binding.

	* check-strings.el (lcs-split-format-string): Reflect changes to
	lyskom-format-format here.

	* lyskom-rest.el (lyskom-list-unread-mapping): Removed unused
	variable.
	(lyskom-format-aux-help): Added format directie l.
	(lyskom-format-aux): Support arbitrary pad characters.

David Byers's avatar
David Byers committed
289
290
2003-07-27  David Byers  <byers@lysator.liu.se>

291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
	Like bug 755 but for footnotes:
	* utilities.el (lyskom-maybe-get-footnoted-text): New function.

	* vars.el.in (kom-pick-text-no-strategy-alist): Added better
	default for kom-sub-footnote.

	* commands1.el (kom-sub-comment): Print a message when there are
	no comments to the text rather than continue.
	(kom-sub-footnote): Ditto, for footnotes.

	Fix bug 755:
	* utilities.el (lyskom-maybe-get-commented-text): New function.

	* vars.el.in (kom-pick-text-no-strategy-alist): Added defaults for
	kom-sub-comment.

	* edit-text.el (lyskom-edit-insert-miscs): Make the read-only
	marking on the separator non-sticky at the end.

David Byers's avatar
David Byers committed
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
	Fix bug 747:
	* commands2.el (lyskom-status-pers-list-one-membership): New
	function.
	(kom-status-person): Use it.

	Fix bug 709:
	* faqs.el (kom-list-faqs): New command.
	(kom-list-server-faqs): New command.
	(lyskom-do-list-faqs): New function.

	* lyskom-rest.el (lyskom-next-property-bounds): New function.
	(lyskom-do-special-inserts): Use it. Added end parameter.
	(lyskom-do-insert): Pass end parameter.

	* lyskom-buttons.el (lyskom-button-transform-text): Do links from
	kom-text-buttons after the hard-coded stuff.

David Byers's avatar
David Byers committed
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
	Fix bug 761:
	* startup.el (kom-start-anew): Set lyskom-is-administrator to nil
	after logging on.

	Fix bug 1058:
	* edit-text.el (lyskom-edit-insert-miscs): Make the separator
	read-only.

2003-07-26  David Byers  <byers@lysator.liu.se>

	Minor fixes:
	* commands1.el (kom-sub-self): Restrict this command to
	membership.

	Improvements to completing read:
	* completing-read.el (lyskom-read-conf-internal): Added membership
	predicate to lyskom-read-conf-internal.
	(lyskom-read-conf): Support integer argument in initial. Default
	to placing point at the start of input.


	Fix bug 1036:
	* commands2.el (kom-change-message-flag): Nwe command.

	* commands2.el (kom-is-person-member-of-conference): Show if a
	person receives group messages to the conference.

	* utilities.el (lyskom-return-membership-type): Show message-flag
	if it is not the default.

2003-07-25  David Byers  <byers@lysator.liu.se>

	UI support for bug 1036:
	* mship-edit.el (lp--compute-format-string): Support message-flag.
	(lp--format-entry): Ditto.
	(lp--flag-menu-get): Ditto.
	(lp--flag-menu-set): Ditto.
	(lp--format-insert-entry): Ditto.

	Protocol support for bug 1036:
	* komtypes.el (membership-type): Added message-flag.

	* parse.el (lyskom-parse-membership-type): Set message-flag from
	message-invert.

	* lyskom-rest.el (lyskom-prot-a-format-membership-type): Transmit
	message-invert instead of message-flag.

2003-07-22  David Byers  <byers@lysator.liu.se>

	* commands2.el (lyskom-update-membership-buffer): Fixed typo.

379
380
381
382
383
2003-07-23  Per Cederqvist  <ceder@ingate.com>

	* swedish-strings.el (lyskom-message): Fixed spelling error in
	Swedish 'pers-is-member-of-rcpt: inlågg => inlägg.

384
385
2003-07-21  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
386
387
	* NEWS-0.48: Updated to here.

388
389
390
391
392
393
394
395
396
	Fix bug 708:
	* flags.el (lyskom-flag-global-variable-from-common): New function.
	(lyskom-flag-global-variable-from-elisp): New function.
	(lyskom-flag-write-boolean): New function.
	(lyskom-flag-read-boolean): New function.
	(lyskom-flag-write-symbol-list): New function.
	(lyskom-flag-read-symbol-list): New function.
	(lyskom-flag-read-from-string): New function.

David Byers's avatar
David Byers committed
397
398
2003-07-20  David Byers  <byers@lysator.liu.se>

399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
	Fix bug 708:
	* language.el (lyskom-first-available-language): New function.
	(lyskom-set-language): Use it to support setting language from a
	list.

	* startup.el (kom-start-anew): Use lyskom-first-available-language
	when dealing with kom-default-language.

	* defvar.el (def-kom-var): Added support for common flag. Use
	lyskom-global-variables instead of the old stuff. Added support
	for transition flag.
	(lyskom-global-variables): New variable.
	(lyskom-transition-variables): New variable.

	* check-strings.el (lcs-check-customize-variables): Handle new
	lyskom-global-variables. 

	* flags.el (lyskom-set-var-from-string): Added type parameter.
	(lyskom-maybe-set-var-from-string): Ditto.
	(lyskom-save-options): Use lyskom-global-variables, not the old
	stuff.
	(lyskom-maybe-set-var-from-string): Require that variable is a
	symbol, not a string.
	(lyskom-set-var-from-string): Ditto.

	* vars.el.in (lyskom-global-boolean-variables): Removed.
	(lyskom-global-non-boolean-variables): Removed.
	(lyskom-global-variable-types): New variable.

	Fix bugs adding self to conferences:
	* commands1.el (kom-add-self): Handle re-joining passive
	conferences and conferences with invitations (how did this slip
	through).

	Make text-list operations more constant-time:
	* komtypes.el (text-list->append): Use the tail field to make this
	a constant time operation.
	(text-list->delq): Support the tail field.
	(text-list->trim-head): Ditto.
	(set-text-list->texts): Ditto.
	(text-list): Added tail field.
	(text-list): Added length-internal field.
	(text-list->length): Wrapper for length-internal.
	(text-list->delq): Handle length-internal.
	(text-list->append): Ditto.
	(text-list->trim-head): Ditto.

	Fix for fix of bug 409:
	* komtypes.el (text-mapping->remove-local): Fixed bug that made
	clearing local no in a dense map impossible.

	Better error reporting:
	* parse.el (lyskom-parse-unparsed): Do not catch non-protocol
	errors. This finally allows us to get decent backtraces even for
	errors in callbacks.

David Byers's avatar
David Byers committed
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
	Fix bug 409 (use local-to-global):
	* prefetch.el (lyskom-fetch-start-of-map): Use text-mapping
	instead of map.
	(lyskom-prefetch-map-handler): Use text-mapping instead of map.
	(lyskom-prefetch-one-request): Use local-to-global instead of
	get-map.

	* lyskom-rest.el (lyskom-list-unread): Handle text-mappings, not
	just maps.
	(lyskom-list-unread-mapping): New function.

	* services.el (initiate-local-to-global): Pretend to do
	local-to-global using get-map.

2003-07-19  David Byers  <byers@lysator.liu.se>

	Work on bug 409:
	* komtypes.el (def-komtype): Added :constructor-hook modifier.
	(text-mapping-iterator): New type.
	(text-mapping->iterator): New function.
	(text-mapping-iterator->init): New function.
	(text-mapping-iterator->next): New function.
	(text-mapping-iterator->step): New function.
	(text-mapping->remove-local): New function.
	(text-mapping->remove-local): New function.

481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
2003-07-02  David Byers  <byers@lysator.liu.se>

	Removed unused variables:
	* commands1.el (lyskom-get-marked-texts): Removed variable
	mark-list.

	* commands2.el (kom-leave-all-conferences): Removed variable
	unsubscribed.

	* lyskom-rest.el (lyskom-format-x-kom/user-area): Removed variable
	tmpbuf.

	* lyskom-buttons.el (lyskom-generate-button): Removed variable
	persno.

	Fixed empty lines in nameday display:
	* names.el (lyskom-nameday-2): Say so when there are no namedays
	(we more or less have to when showing names from more than one
	list, and it ain't bad 

	Fixed bug 1064:
	* lyskom-buttons.el (kom-button-click): Handle null position
	properly.

2003-07-01  David Byers  <byers@lysator.liu.se>

	* commands1.el (lyskom-write-text): Handle prefix args correctly
	(so C-u i works).

David Byers's avatar
David Byers committed
510
511
512
513
514
515
516
2003-06-04  David Byers  <byers@lysator.liu.se>

	Fix bug 1054:
	* filter.el (lyskom-create-filter-function-body): Handle a null
	author.
	(lyskom-filter-text-p-3): Allow a null author.

517
518
2003-06-01  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
519
520
521
522
523
524
525
526
527
528
	Fix bug 587:
	* lyskom-rest.el (lyskom-format-x-kom/user-area): New function.

	* view-text.el (lyskom-print-text): Special patch for user area
	(which has no subject line).

	* flags.el (lyskom-get-holerith): New function that does what
	lyskom-read-options-eval-get-holerith does, but does it without
	side effects in lyskom-options-text.

529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
	Fix bug 1046:
	* option-edit.el (lyskom-customize-mode): New major mode.
	(kom-customize): Use it.

	Fix bug 1047:
	* review.el (lyskom-find-root): Only visit each text once. This
	also eliminates problems with cyclic structures.
	(kom-find-root-review): Proper error message when the root cannot
	be found (e.g. in when there are cycles in the comment graph).
	(kom-find-root): Ditto.
	(kom-unread-root): Ditto.

	* swedish-strings.el,swedish-strings.el: Completed fix of 1038.
	Per Starbäck, not Magnus Bark, provided the patch. Fixed that in
	this file.

2003-05-21  David Byers  <byers@lysator.liu.se>

	* vars.el.in (lyskom-text-buttons): Do RFC-compliant URLs after
	doing pseudo-urls since otherwise the first line will be marked
	as a pseudo URL, rather than the whole thing being marked as a
	real URL.

David Byers's avatar
David Byers committed
552
553
2003-05-17  David Byers  <byers@lysator.liu.se>

554
555
556
557
	Fix bug 750:
	* lyskom-buttons.el (kom-button-click): Pop up the menu if there
	is no button action.

David Byers's avatar
David Byers committed
558
559
560
561
562
563
564
565
	Fix bug 986:
	* lyskom-buttons.el (lyskom-view-url-netscape): Support
	kom-netscape-variant.

	* vars.el.in (kom-netscape-variant): New variable.

	Fix bug 1038:
	* swedish-strings.el,english-strings.el: Fixed problem with
566
	accepting-recommendation (patch from Per Starbäck).
David Byers's avatar
David Byers committed
567
568
569
570
571
572
573
574
575
576
577

	Fix bug 1039:
	* commands1.el (lyskom-private-answer): Misc-list for personal
	replys to our own texts were wrong.

2003-05-10  David Byers  <byers@lysator.liu.se>

	Illegal argument stringp nil when listing missing texts:
	* commands2.el (lyskom-do-list-summary): Fix problem when listing
	texts that don't exist.

578
579
580
581
582
583
584
585
2003-05-09  David Byers  <byers@lysator.liu.se>

	Fix bug 868:
	* commands2.el (kom-add-private-answer): New function.

	Minor usability fix:
	* english-strings.el,swedish-strings.el: Clarify error-2.

586
587
2003-05-04  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
588
589
590
	Fix bug 1024:
	* names.el (fi-orthodox): More fixes.

591
592
593
594
595
596
597
598
599
600
601
	Fix bug 1032:
	* command.el (lyskom-read-extended-command): Do not permit null
	input.

	Fix bug 1031:
	* faces.el (lyskom-setup-faces-for-buffer): Set defaults to nil,
	not default.

	Fixed bug 1024:
	* names.el (fi-sv): Fixed tYpo

602
603
2003-04-26  Ulrik Haugen  <qha@lysator.liu.se>

604
605
	My previous attempt to fix bug 1022 was incomplete, trying to
	repair it I realised how it should be done.
606
607
608
609
610
611
612
613
614

	* lyskom-rest.el (lyskom-modify-prompt): Don't "use current-time
	instead of lyskom-current-client-time".

	* lyskom-buttons.el (lyskom-default-button): Use
	lyskom-current-client-time instead of current-time.
	(lyskom-button-copy-timestamp): Use lyskom-format-time instead of
	format-time-string.

615
616
617
618
619
620
2003-04-26  Ulrik Haugen  <qha@lysator.liu.se>

	* swedish-strings.el (lyskom-sv-edit-mode-map) english-strings.el
	(lyskom-en-edit-mode-map): Added binding for
	kom-insert-last-info-nodename.

621
	Fix bug 1022:
622
623
624
625
626
	* lyskom-buttons.el (lyskom-button-copy-timestamp): Fixed typo.

	* lyskom-rest.el (lyskom-modify-prompt): Use current-time instead
	of lyskom-current-client-time (fixes bug 1022).

627
628
629
630
631
2003-04-25  David Byers  <byers@lysator.liu.se>

	* vars.el.in (kom-highlight-conferences): Corrected order of
	elements in kom-highlight-conferences.

632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
2003-04-21  David Byers  <byers@lysator.liu.se>

	More work on debugging stuff:
	* macros.el (lyskom-assert-error): Handle non-LysKOM-buffer
	situations smarter.

	Work on bug 868:
	* aux-items.el (mx-refuse-import): Added this aux-item.
	(lyskom-print-mx-refuse-import): New function.

	Microfix bugfix:
	* lyskom-buttons.el (lyskom-highlight-function-get-conf-stat):
	Return nil when getting conf-stat in background. Fix text for
	conf-z-info.

	Bugfix:
	* commands1.el (kom-list-created-conferences): Fixed bug where we
	called conf-stat->name on an uconf-stat.

David Byers's avatar
David Byers committed
651
652
2003-04-20  David Byers  <byers@lysator.liu.se>

653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
	Microfix:
	* lyskom-buttons.el (lyskom-highlight-function-get-conf-stat): Get
	conf-stat in background if it was not cached so it will be next
	time around. Also support conf-z-info.

	Better debugging support (would have caught bug 1013):
	* komtypes.el (def-komtype): Added assertions on data type to
	accessors and mutators.

	* macros.el (lyskom-assert): New macro.

	* header.el (lyskom-debug-compile): Added definition of
	lyskom-debug-compile.

	* komtypes.el (def-komtype): Added assertions to accessor and
	mutators to check type.

David Byers's avatar
David Byers committed
670
671
672
673
674
	Fix bug 1013:
	* lyskom-buttons.el (lyskom-default-button): Fixed cut-and-paste
	bug that caused uconf-stat and pers-stat-based buttons not to be
	generated correctly in many cases.

Per Cederqvist's avatar
Per Cederqvist committed
675
676
677
678
679
680
2003-04-14  Per Cederqvist  <ceder@ceder.dyndns.org>

	Fix bug 1012:
	* vars.el.in (lyskom-text-buttons): Allow 8- and 9-digit text
	numbers.  

681
682
683
684
685
686
687
688
689
2003-04-07  Johan Sundström  <jhs@lysator.liu.se>

	* swedish-strings.el,english-strings.el (lyskom-filter-actions): 
	New filter action obliterate.

	* view-text.el (lyskom-view-text): The new obliterate filter
	action performs filtering without leaving a trace in the kom
	buffer at all.

690
2003-04-06  David Byers  <byers@lysator.liu.se>
691

David Byers's avatar
David Byers committed
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
	Fix bug 678:
	* vars.el.in (lyskom-text-buttons): Made RFC-compliant URL
	specifications "pseudo" URLs, since there may be incomplete URLs
	inside brackets and stuff. Added validity check to RFC-compliant
	URL specifications, so not anything in <> will pass.

	* utilities.el (lyskom-is-url): New function.

	* lyskom-buttons.el (lyskom-button-transform-text): Support match
	predicates in lyskom-text-buttons.
	(lyskom-button-get-pred): New function.

	* vars.el.in (lyskom-text-buttons): Added support for URLs
	according to Appendix E in RFC2396.

707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
	Cosmetic fix:
	* commands1.el (lyskom-list-conf-print): Don't make each line
	clickable in its entirety. Just print things normally.

	Handle conf-z-info more correctly in lyskom-format:
	* lyskom-buttons.el (lyskom-default-button): Support conf-z-info
	as argument for conf and pers buttons.

	* lyskom-rest.el (lyskom-format-aux-help): When conf-z-info is
	passed to %M, create a button.

	Fix error message when trying to unread everything:
	* review.el (lyskom-get-texts-globally): Added do-unread parameter.
	(kom-unread-more): Pass do-unread to lyskom-get-texts-by-to.
	(lyskom-unread-by-to): Ditto.
	(lyskom-get-texts-by-to): Added do-unread parameter to
	lyskom-get-texts-by-to.

	Fix bug 697:
	* commands1.el (kom-jump): Treat REVIEW-FAQ-TREE like REVIEW-TREE.

	* lyskom-rest.el (kom-view-next-text): Treat REVIEW-FAQ-TREE like
	review when altering the read list, but not otherwise.
	(lyskom-update-prompt): Treat REVIEW-FAQ-TREE like REVIEW-FAQ.

	* commands2.el (lyskom-list-summary): Added REVIEW-FAQ-TREE and
	REVIEW-TREE to if statement towards the end.

	* vars.el.in (lyskom-review-types-list): Added REVIEW-FAQ-TREE.

	* faqs.el (lyskom-present-unread-faqs): Pass t as review-tree
	argument to lyskom-do-review-faq.
	(lyskom-do-review-faq): Added argument review-tree.
740
741

2003-04-05  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
742

743
744
745
746
747
	* lyskom-buttons.el (lyskom-highlight-has-no-presentation): Don't
	highlight secret conferences.

	* Changed my e-mail address to one I actually read.

David Byers's avatar
David Byers committed
748
749
750
751
752
753
	Fix bugs 951 and 952:
	* Makefile: Echo x-ctext coding to all emacs lisp files created in
	Makefile, since there is now an x-ctext file in the sources.

	* names.el (hu, cz): Added hungarian and czech names.

David Byers's avatar
David Byers committed
754
755
756
757
758
759
760
761
762
763
764
	Fix bug 664:
	* option-edit.el (lyskom-custom-variables): Support third value
	for kom-pop-personal-messages.

	* async.el (lyskom-handle-as-personal-message): If
	kom-pop-personal-messages is non-nil and non-t, don't pop up
	the frame.

	* buffers.el (lyskom-display-buffer): Added parameter
	keep-frame-iconfiied.

David Byers's avatar
David Byers committed
765
766
767
	Fix bug 742:
	* commands2.el (kom-will-person-read-text): New command.

David Byers's avatar
David Byers committed
768
769
770
771
772
773
774
	Fix bug 950:
	* names.el (lyskom-nameday): Allow a list of nameday lists.
	(lyskom-nameday-2): Added parameter show-list-name.

	* option-edit.el (lyskom-custom-variables): Support lists for
	kom-show-namedays.

David Byers's avatar
David Byers committed
775
776
777
778
	Fix bug 1003:
	* lyskom-rest.el (lyskom-beep): Handle conf-stat and uconf-stat
	type optargs, or kom-ding-on-group-messages and stuff won't work.

David Byers's avatar
David Byers committed
779
780
781
782
783
	Fix bug 1002:
	* vars.el.in (kom-pick-text-no-strategy-alist): Set correct
	default for kom-view-previous-commented-text.
	(kom-old-farts-text-prompt-strategy): Ditto.

David Byers's avatar
David Byers committed
784
785
786
787
788
789
790
791
792
793
794
795
796
797
	Fix bug 1006:
	* commands2.el (kom-is-person-member-of-conference): Show number
	of unread (only when deferred printing is on).

	* deferred-insert.el (lyskom-defer-insertion): Handle a list as
	the arguments for the server call.

	Fix bug 1000:
	* swedish-strings.el: Fix cut-n-paste error.

	Fix bug 1008:
	* commands1.el (lyskom-list-created-conferences-2): Show garb-nice
	in listing.

798
2003-03-16  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
799

800
801
802
803
	Fix bug 815:
	* commands2.el (lyskom-send-message): Print the correct error code
	on failure.

804
805
806
807
808
	Fix bug 975:
	* commands1.el (lyskom-write-text): New function.
	(kom-write-text): Use it. Now letters and texts are the same.
	(kom-send-letter): Use it. Now letters and texts are the same.

809
810
811
812
	Fix bug 250:
	* lyskom-rest.el (lyskom-check-go-to-conf): Change priority when
	accepting an invitation.

813
814
815
	Fix bug 839:
	* commands1.el (kom-add-self): Don't re-add self.

816
817
818
819
820
821
822
823
824
825
826
827
828
	Fix bug 854:
	* commands2.el (kom-join-all-conferences): New command.
	(kom-leave-all-conferences): New command.

	* commands1.el (lyskom-add-member-by-no): Added no-of-unread
	parameter.

	* lyskom-buttons.el (lyskom-highlight-i-am-supervisor): Use
	lyskom-i-am-supervisor.

	* utilities.el (lyskom-i-am-supervisor): New function.
	(lyskom-get-all-conferences): New function.

829
830
831
832
	Fix bug 842:
	* commands1.el (kom-add-member-answer): Don't enter memberships
	under the current session priority.

833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
	Fix bug 260:
	* commands1.el (kom-add-self): Ask for number of unread.
	 (lyskom-try-add-member): Show no-of-unread in text.
	 (lyskom-add-member-answer): Set unread if requested.

	* lyskom-rest.el (lyskom-read-num-range-or-date): Added initial,
	empty and default arguments.

	Language-dependent variables were set incorrectly in all but the
	first session:
	* startup.el (kom-start-anew): Unconditionally set the language,
	even if it looks like we're already on the right page.

	* language.el (lyskom-set-language-vars): When setting the
	language globally, muck with the default values of variables too.

849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
	Fix bug 859:
	* swedish-strings.el,english-string.el (lyskom-messages): Fixed
	show-membership-info-q.

	Fix bug 591:
	* feature.el (read-ranges): New feature variable.

	* parse.el (lyskom-parse-membership-11): New function.
	(lyskom-convert-read-ranges-to-map): New function.

	* startup.el (lyskom-setup-client-for-server-version): Added
	features for protocol version 11.

	* utilities.el (lyskom-is-member): Pass want-read-ranges nil.

	* user-hooks.el (kom-read-last-text-hook): Pass want-read-ranges
	t.

	* prefetch.el (lyskom-prefetch-one-request): Pass want-read-ranges
	t.

	* mship-edit.el (lyskom-prioritize-flag-toggle): Pass
	want-read-ranges t.

	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
	Pass want-read-ranges nil.
	(lyskom-get-membership): Pass want-read-ranges t.

	* edit-text.el (lyskom-edit-send-check-recipients): Pass
	want-read-ranges nil.

	* commands2.el (kom-status-conf): Pass want-read-ranges t.
	(kom-set-unread): Ditto.

	* async.el (lyskom-parse-async): Pass want-read-ranges t.

	* commands1.el (lyskom-add-member-answer): Pass want-read-ranges
	t.

	* services.el (initiate-query-read-texts): Use call 107 when
	possible.

891
892
893
894
895
896
897
898
	Fix bug 946:
	* commands2.el (lyskom-print-summary-line): Can print the number
	of comments to a text.
	(lyskom-construct-summary-format-string): Support
	number-of-comments column.
	(lyskom-list-summary): Include number-of-comments column.
	(lyskom-do-list-summary): Same here.

899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
	Fix bug 983:
	* vars.el.in (kom-highlight-conferences): Added highlighting of no
	presentation and supervised conferences to the default.

	* faces.el (kom-active-strikethrough-face): New face.
	(kom-active-highlight-face): New face.
	(kom-face--default--active-strikethrough-face): New face.
	(kom-face--default--active-highlight-face): New face.
	(kom-face--user-defined--active-strikethrough-face): New face.
	(kom-face--user-defined--active-highlight-face): New face.

	* lyskom-buttons.el (lyskom-highlight-has-no-presentation): New
	function.
	(lyskom-highlight-i-am-supervisor): New function.
	(lyskom-highlight-function-get-conf-stat): New function.

	* option-edit.el (lyskom-face-widget): Handle explicit list of
	faces.

	* lyskom-buttons.el (lyskom-default-button): Pass
	conf-stat/uconf-stat/whatever to lyskom-default-button. Use
	uconf-stat instead of conf-stat when looking in the cache.
	(lyskom-generate-button): Support functions in
	kom-highlight-conferences.

924
925
926
927
928
929
930
931
932
933
934
935
936
	Fixed bug 984:
	* commands1.el (lyskom-get-marked-texts): New function.
	(lyskom-review-marked-texts): Use it.
	(lyskom-unread-marked-texts): New function.
	(kom-unread-all-marked-texts): New command.
	(kom-unread-marked-texts): New command.

	* faqs.el (lyskom-unread-faq): New function.
	(kom-unread-faq): New command.
	(kom-unread-server-faq): New command.

	* commands1.el (kom-unread-presentation): New command.

David Byers's avatar
David Byers committed
937
938
939
	* review.el (kom-unread-all): New command.
	(kom-unread-first): New command

940
2003-03-15  David Byers  <byers@lysator.liu.se>
941
942

	Work on bug 984:
David Byers's avatar
David Byers committed
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
	* review.el (kom-unread-last-normally-read): New command.
	(kom-unread-tree): New command.
	(kom-unread-comments): New command.
	(kom-unread-root): New command.
	(kom-unread-root-review): New command.

	* lyskom-rest.el (lyskom-format-aux-help): Added ?+ format
	directive.
	(lyskom-insert-error): Handle negative error codes (used for
	internal error reporting).

	* commands1.el (kom-view-previous-commented-text): This command
	always did the next-to-last text, regardless of prefix args.
	(lyskom-unread-commented-text): New function.
	(kom-unread-previous-commented-text): New command.
	(kom-unread-commented-text): New command.

	* review.el (lyskom-unread-by-to): New function.
	(kom-unread-more): New command.
	(kom-unread-by-to): New command.

964
965
966
967
968
969
970
971
972
973
	* lyskom-rest.el (kom-initial-digit-unread): New command.

	* vars.el.in (lyskom-text-no-prompts-defaults): Added
	kom-mark-unread.

	* lyskom-rest.el (lyskom-mark-unread): New function.
	(kom-mark-unread): New command.

	* services.el (initiate-mark-as-unread): New function.

974
2003-03-13  David Byers  <byers@lysator.liu.se>
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007

	Some work on bug 983:
	* option-edit.el (lyskom-custom-variables): Added
	kom-highlight-conferences.

	* lyskom-buttons.el (lyskom-generate-button): Allow explicit lists
	of numbers as the key in kom-highlight-conferences.

	Fix bug 745 (Patch from C C Magnus Gustavsson):
	* review.el (kom-review-converted): New command.

	* vars.el.in (lyskom-commands): Added kom-review-converted.
	(lyskom-button-actions): Added lyskom-button-review-converted.

	* lyskom-buttons.el (lyskom-button-review-converted): New
	function.

	Fix bug 987:
	* commands1.el (kom-list-conferences): Print legend.

	Fix bug 995:
	* utilities.el (lyskom-get-send-comments-to): Handle CONF-NO set
	to nil.

	Fix bug 979:
	* option-edit.el (lyskom-customize-buffer-format): Added
	kom-show-sync-messages.
	(lyskom-custom-variables): Ditto.

	* vars.el.in (kom-show-sync-messages): New variable.

	* async.el (lyskom-parse-async): Use it.

1008
2003-03-11  David Byers  <byers@lysator.liu.se>
1009
1010
1011

	* utilities.el (lyskom-buffer-display-message): New function.

1012
2003-02-09  David Byers  <byers@lysator.liu.se>
1013
1014
1015
1016
1017
1018
1019
1020

	* lyskom-buttons.el (lyskom-generate-button): Use
	kom-highlight-conferences instead of kom-friends and kom-morons.

	* vars.el.in (kom-highlight-conferences): New variable

2003-03-08  Per Cederqvist  <ceder@ceder.dyndns.org>

1021
1022
1023
1024
	kom-review-backward always raised an error.
	* review.el (kom-review-backward): Extract the list of texts to
	see with text-list->texts, not cdr.  Using cdr no longer works.

1025
1026
1027
1028
1029
1030
2003-03-04  Johan Sundström  <jhs@lysator.liu.se>

	* swedish-strings.el (lyskom-sv-mode-map): [ä], [Ä], [å] and [Å] are
	now also bound in all appropriate places. (These are used by XEmacs,
	at least when run under screen in a PuTTY, and worked in 0.47.1.)

1031
1032
1033
1034
1035
1036
1037
1038
2003-03-03  Johan Sundström  <jhs@lysator.liu.se>

	* english-strings.el, swedish-strings.el: Improved garb-nice strings.

	* commands1.el (kom-create-conf): In the interest of not losing	texts
	unintentionally due to a low default expiration time, always ask the
	conference creator for its expiration policy.

1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
2003-03-03  Per Cederqvist  <ceder@ceder.dyndns.org>

	Print the conference type when entering a conference.
	* swedish-strings.el (status-record): Removed a space.

	* english-strings.el (status-record): Removed a space.

	* lyskom-rest.el (lyskom-enter-conf-print-unread): Fixed broken
	indentation.  Print the type of the conference.

	* commands2.el (lyskom-conf-status-marker): New function,
	extracted from kom-status-conf.
	(kom-status-conf): Simplified by using lyskom-conf-status-marker.

1053
1054
1055
1056
1057
1058
1059
1060
1061
2003-02-13  Per Cederqvist  <ceder@ingate.com>

	Fix kom-postpone, which has been broken a while.
	* komtypes.el (text-list->trim-head): New function.

	* commands2.el (kom-postpone): Use text-list->trim-head instead of
	accessing internals of the text-list type in a way that no longer
	works.

Hans Persson's avatar
Hans Persson committed
1062
1063
1064
1065
2003-02-05  Hans Persson  <hans@localhost.localdomain>

	* swedish-strings.el (local): Spelling fix.

1066
2003-01-15  David Byers  <byers@lysator.liu.se>
1067

David Byers's avatar
David Byers committed
1068
	* vars.el.in: Minor fixes to documentation.
1069

1070
1071
1072
1073
1074
1075
1076
	* vars.el.in: YES! YES! YES! FINALLY DONE (FOR NOW)! All user
	variables (well at least nearly all) are documented! God, this was
	boring work.

	* vars.el.in (kom-low-priority): Removed this variable. It is
	unused.

1077
2003-01-14  David Byers  <byers@lysator.liu.se>
1078
1079
1080
1081

	* vars.el.in: More documentation updates.
	Evidently the insanity won't end today.

1082
2003-01-13  David Byers  <byers@lysator.liu.se>
1083
1084
1085
1086

	* vars.el.in: More documentation
	updates. Will the insanity never end?

1087
2003-01-12  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1088

1089
1090
1091
1092
	* option-edit.el (lyskom-custom-variables): Changed
	kom-galeon-command, kom-netscape-command and kom-mosaic-command to
	widget type command. Added Lynx-related variables.

David Byers's avatar
David Byers committed
1093
	* vars.el.in: More documentation updates.
1094
1095
1096
	(kom-lynx-terminal): Added to server-stored variables.
	(kom-lynx-xterm-command): Ditto.
	(kom-lynx-terminal-command): Ditto.
David Byers's avatar
David Byers committed
1097
1098
1099
1100

	* lyskom-rest.el (lyskom-beep): List arguments were not handled
	correctly (the default key, t, was not used).

1101
2003-01-11  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1102
1103
1104
1105

	* vars.el.in: Documented some more variables. Variables that have
	been documented properly have "**" at the start of the docstring.

1106
2003-01-09  David Byers  <byers@lysator.liu.se>
1107

1108
1109
	* vars.el.in: Started working on variable documentation.

1110
1111
1112
1113
1114
1115
1116
	* option-edit.el (lyskom-create-widget): Insert the variable name
	in the buffer, after the help toggle. This is to make the buffer
	searchable for the actual variable names.

	* lyskom-rest.el (lyskom-format-format): Added format-letter % so
	the sequence %% works.

1117
2003-01-08  David Byers  <byers@lysator.liu.se>
1118
1119
1120
1121
1122
1123
1124
1125
1126

	* filter.el (kom-super-jump): Fixed problem with prefix arg.

	* faqs.el: Fixed some invalid variable references in the new
	docstrings.

	* commands1.el: Fixed some invalid variable references in the new
	docstrings.

1127
	* faqs.el: Fixed some invalid vxariable references in the new
1128
1129
	docstrings.

David Byers's avatar
David Byers committed
1130
1131
1132
1133
1134
2003-01-08  David Byers  <davby@ida.liu.se>

	* utilities.el (lyskom-month-limits): Wrong number of days for
	July. Fixed.

1135
2003-01-08  David Byers  <byers@lysator.liu.se>
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154

	Documetned the remaining commands:
	* remote-control.el: Documented all commands.

	* mship-edit.el: Documented all commands.

	* lyskom-rest.el: Documented all commands.

	* flags.el: Documented all commands.

	* filter.el: Documented all commands.
	(kom-super-jump): Use the standard prefix arguments.

	* ansaphone.el: Documented all commands.

	* faqs.el: Documented all commands.

	* review.el: Documented all commands.

1155
1156
1157
1158
1159
1160
2003-01-08  Ulrik Haugen  <qha@lysator.liu.se>

	* Makefile (DEBIANCLIENTVERSIONSUFFIX): New variable.
	(debian-packages): Use DEBIANCLIENTVERSIONSUFFIX to suffix the
	client version.

1161
2003-01-07  David Byers  <byers@lysator.liu.se>
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181

	Fix bug 962:
	* edit-text.el (lyskom-edit-send-check-recipients): Use
	lyskom-get-send-comments-to.

	* utilities.el (lyskom-get-send-comments-to): New function.

	* commands1.el (kom-write-text): Add sender as recipient when
	sending to a conference the sender is not a member of. Respect
	send-comments-to.
	(lyskom-comment-recipients): Respect send-comments.to when adding
	lyskom-pers-no as a recipient.

	Started working on a command reference manual:
	* commands2.el: Wrote user documentation for all commands in the
	docstrings. Lisp-level documentation, where it still exists, is
	placed after the user-level documentation, below the legend "Lisp
	documentation". I intend to generate the english command reference
	from the source code.

1182
2003-01-06  David Byers  <byers@lysator.liu.se>
1183

1184
1185
1186
1187
1188
1189
1190
1191
1192
	Started working on a command reference manual:
	* commands1.el: Wrote user documentation for all commands in the
	docstrings. Lisp-level documentation, where it still exists, is
	placed after the user-level documentation, below the legend "Lisp
	documentation". I intend to generate the english command reference
	from the source code.

	* NEWS-0.48: Synched up to here.

David Byers's avatar
David Byers committed
1193
	Handle async-new-user-area message (bug 837):
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
	* startup.el (lyskom-accept-async): Accept async 19.

	* async.el (lyskom-parse-async): Parse async type 19. Update
	pers-stat based on results.
	(lyskom-async-new-user-area): New function updates cache and
	re-reads options if necessary.
	(lyskom-parse-async): Call it.

	* flags.el (lyskom-read-options-eval): Set
	lyskom-current-user-area.

	* vars.el.in (lyskom-current-user-area): New variable.

	* flags.el (lyskom-save-options-3): Don't delete the person from
	the cache; just set the user-area. Set lyskom-current-user-area.

	* komtypes.el (pers-stat): user-area is no longre read-only.

	Fix parse of text-mapping (I thought I did this a year ago):
	* parse.el (lyskom-parse-list): Read the terminating brace in the
	list.
	(lyskom-parse-local-to-global-block): The array length is a
	number, not a string.

1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
	Clean up :variable assignments:
	* compatibility.el (lyskom-make-self-evaluating): New macro. Use
	it to make several :symbols self-evalutaing in Emacs 19.

	Fix bug 964:
	* faces.el (lyskom-setup-faces-for-buffer): Catch errors cause
	when generating faces since running this code in a tty usually
	causes problems. Don't just check window-system, because the color
	stuff might work on some implementations.

	Fix bug 753:
	* flags.el (kom-copy-options): New command.

	* english-strings.el (lyskom-command): Added kom-copy-options.

	* swedish-strings.el (lyskom-command): Renamed "Spara variabler"
	to "Spara inställningar". Added kom-copy-options.

	Fix bug 831 as well as possible:
	* lyskom-rest.el (lyskom-scroll): Cleaned up for readability. Move
	point six chars in from the right margin when not scrolling to the
	end to prevent automatic hscrolling in Emacs 21.x.

	Fix bug 927:
	* commands1.el (lyskom-who-is-on-check-membership-9): Don't
	include passive members.
	(lyskom-who-is-on-check-membership-8): Ditto.

1246
2003-01-05  David Byers  <byers@lysator.liu.se>
1247

David Byers's avatar
David Byers committed
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
	* I have cleaned up all over the place. There are no ChangeLog
	entries for most of the changes. Changes include: converting types
	to use def-komtype; removing who-buffer code; removing who-info
	cache; removing dead code; removing commented-out code.

	* mship-edit.el (lp--hide-memberships-by-date): Call
	lyskom-read-date.

	Code cleanup:
	* prefetch.el (lyskom-prefetch-whobuffer-handler): Commented out
	the code since thw who buffer is gone.

	* commands2.el (kom-bury): Removed who-buffer code.

	* cache.el: Removed who-info cache.

	* async.el (lyskom-parse-async): Removed who-buffer code.
	(lyskom-parse-async): Don't cache who info.

	* filter-edit.el (filter-entry): Redefined using def-komtype.

	* komtypes.el (conf-no-list): Redefined using def-komtype.

	* prioritize.el (prioritize-entry): Redefined using def-komtype.

	* clienttypes.el: Removed format-props and who-buffer-related
	types.

	* lyskom-rest.el (lyskom-format-aux-help): Removed something about
	format-props, which aren't used anywhere.

	* komtypes.el,deferred-insert.el,clienttypes.el,mship-edit.el,names.el,
	regexp.el,tree-edit.el: Rewrote all uses of def-komtype. Defined
	more datatypes using def-komtype. Removed unused functions.

	* clienttypes.el (format-state): Renamed argl to args, since
	that's what we actually use.
	(format-state): Converted to new def-komtype syntax.

	* lyskom-rest.el (lyskom-membership-highest-index): Unused.
	Removed.

	* komtypes.el (def-komtype): Added support for &optional in the
	arg list and for default values.
	(privs): Re-implemented with def-komtype.
	(pers-stat): Ditto.
	(text-stat): Ditto.
	(conf-stat): Ditto.
	(flags): Ditto.
	(map): Ditto.
	(membership): Ditto.
	(conf-list): Ditto.
	(text): Ditto.
	(misc-info): Ditto.
	(mark): Ditto.
	(lyskom-create-who-info): Ditto.
	(session-info): Ditto.
	(conf-type): Ditto.
	(server-info): Ditto.
	(version-info): Ditto.
	(conf-z-info-list): Ditto.

	* deferred-insert.el (defer-info): Re-implemented with
	def-komtype.

	* language.el (lyskom-string-check-category): Unused. Removed.

	* async.el (lyskom-show-changed-person): Unused. Removed.

	* utilities.el (lyskom-set-face-foreground): Unused. Removed.
	(lyskom-set-face-background): Unused. Removed.

	* lyskom-buttons.el (lyskom-set-default-button-action): Unused.
	Removed.

	* startup.el (lyskom-print-name): Unused. Removed.

	* lyskom-buttons.el (lyskom-menu-selection): Unused. Removed.

	* aux-items.el (lyskom-map-aux-items): Unused. Removed.

	* view-text.el (lyskom-fetch-author-for-cache): Unused. Removed.

	* utilities.el (lyskom-emacs-version): Unused. Removed.

	* view-text.el (lyskom-fetch-text-for-cache): Unused. Removed.

	* utilities.el (lyskom-face-resource): Unused. Removed.
	(lyskom-modify-face): Unused. Removed.

	* startup.el (lyskom-extract-persons): Unused. Removed.
	(lyskom-extract-confs): Unused. Removed.
	(lyskom-do-extract-persons-or-confs): Unused. Removed.

	* edit-text.el (lyskom-edit-goto-char): Unused. Removed.
	(lyskom-edit-on-aux-item): Unused. Removed.

	* utilities.el (lyskom-background-mode): Unused. Removed.

1347
1348
1349
1350
1351
1352
	Fix bug 677:
	* filter.el (kom-super-jump): Fixed recipient selection. The order
	is now current conf, recipient user is a member of, cc user is a
	member of, bcc user is a member of, other recipient, other cc,
	other bcc.

1353
2003-01-04  David Byers  <byers@lysator.liu.se>
1354
1355
1356
1357
1358
1359
1360
1361

	Fix bug 961:
	* faqs.el (lyskom-faq-is-read): Handle server FAQs correctly so
	they are not presented even when they have been read.
	(lyskom-register-read-faq): If conf-no is nil, set it to zero.
	(lyskom-get-unread-faqs): If conf-stat is nil, set conf-no to
	zero.

1362
2003-01-03  David Byers  <byers@lysator.liu.se>
1363

1364
1365
1366
1367
1368
1369
1370
	Fix bug 823:
	* commands1.el (kom-write-text): Ask for recipient by default. Old
	behavior is on C-u kom-write-text.
	(kom-send-letter): Only complete letterboxes when reading
	recipient.

	Fix bug 834:
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
	* swedish-strings.el (lyskom-sv-mode-map): Added prefix "a" for
	add commands. Added bindings for add and subtract commands.
	(lyskom-sv-mode-map): Commented out obsolesence bindings for a and
	lv. Moved kom-rview-backward to å B from B. Cleaned up some.

	* english-strings.el (lyskom-en-mode-map): Changed "A" to "h", so
	"h" is now prefix for change commands. Added prefix "a" for add
	and substract commands. Moved kom-review-backward to r b from B.
	Moved a bunch of other important bindings with complete disregard
	for all users who will surely be annoyed.

1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
	* lyskom-buttons.el (lyskom-default-button): Use default, not
	kom-text-face for timestamp buttons since kom-text-face is no
	more.

	Implement face customization:
	* option-edit.el (lyskom-face-widget, lyskom-face-widget): New
	widget type.
	(lyskom-widget-functions): Added face widget to the list.

	* view-text.el (lyskom-print-text): Get generated faces if the
	user hasn't selected any specific faces.

	* startup.el (lyskom): Get generated faces if the user hasn't
	selected any specific faces.

	* commands2.el (lyskom-send-message): Get generated faces if the
	user hasn't selected any specific faces.

	* async.el (lyskom-format-as-personal-message): Get generated
	faces if the user hasn't selected any specific faces.

1403
2003-01-02  David Byers  <byers@lysator.liu.se>
1404

1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
	Implement face customization:
	* faces.el (lyskom-setup-faces-for-buffer): Don't muck with the
	user-selectable values.

	* option-edit.el: Added var parameter to all widget conversion
	functions. 

	* utilities.el (lyskom-current-client-time): Removed some
	comments.

1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
	Cosmetics:
	* commands2.el (kom-set-unread): Don't include range in prompt. It
	will be included by lyskom-read-num-range-or-date.

	Compatibility issues with date reading:
	* compatibility.el (lyskom-minibuffer-contents): Provide an alias
	for minibuffer-contents.

	* lyskom-rest.el (lyskom-verified-read-enter): Use
	lyskom-minibuffer-contents instead of minibuffer-contents.

	Work on new face code:
	* faces.el: Fixed bug in call to defface that worked in Gnu Emacs
	but not in XEmacs.

1430
2003-01-01  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1431

1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
	Work on new face code:
	* view-text.el (lyskom-view-text): Send evaluated face properties
	to lyskom-format.
	(lyskom-print-text): Ditto.

	* utilities.el (lyskom-check-configuration): Send evaluated face
	properties to lyskom-format.

	* startup.el (lyskom): Send evaluated face properties to
	lyskom-format.

	* commands2.el (kom-status-conf): Send evaluated face properties
	to lyskom-format.
	(kom-status-person): Ditto.
	(lyskom-send-message): Ditto.
	(kom-obsolete-extended-command-binding): Ditto.

	* commands1.el (kom-delete-text): Send evaluated face properties
	to lyskom-format.

	* async.el (lyskom-show-logged-in-person): Send evaluated face
	properties to lyskom-format.
	(lyskom-show-logged-out-person): Ditto.
	(lyskom-format-as-personal-message): Ditto.

	* check-strings.el (lyskom-check-strings): Removed all
	face-related goop.

	* vars.el.in: Removed all face-related goop.

	* faces.el: New file.

	* startup.el (lyskom): Call lyskom-setup-faces-for-buffer, not
	lyskom-setup-faces.

	* option-edit.el (kom-customize): Evaluate face variables instead
	of quoting face names.

	* mship-edit.el (lp--format-entry): Evaluate face variables
	instead of quoting face names.
	(lp--redraw-entry-mark): Ditto.

	* lyskom-rest.el (kom-next-command): Evaluate face variables
	instead of quoting face names
	(lyskom-format-aux-help): Ditto.

	* lyskom-buttons.el (lyskom-button-add-links): Evaluate face
	variable kom-url-face instead of quoting face name.
	(lyskom-button-get-face): Evaluate the face found for the button
	type.
	(lyskom-generate-button): Evaluate face variables instead of
	quoting face names
	(lyskom-default-button): Ditto.

	* keyboard-menu.el (lyskom-keyboard-menu-highlight-selected):
	Evaluate face variable, instead of quoting face name
	kom-mark-face.

	More flexible date parser:
	* utilities.el (lyskom-all-prefixes): New function.
	(lyskom-parse-date): Permit prefixes for "days", "years",
	"months". Allow whitespace before and after input. Do not require
	minus sign when specifying number of days. Do not require
	whitespace separators in several places. Permit spaces around
	separators. Accept space as a separator.

David Byers's avatar
David Byers committed
1498
1499
	Fix bug 921:
	* commands1.el (kom-jump): Use lyskom-read-text-no-prefix-arg.
David Byers's avatar
David Byers committed
1500
1501
	Print which text we're skipping comments from. Print special
	message when skipping reviewed comments.
David Byers's avatar
David Byers committed
1502

David Byers's avatar
David Byers committed
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
	Fix bug 291:
	* vars.el.in (lyskom-language): Added to minibuffer variables or
	lyskom-get-string will fail in predicate functions used in
	lyskom-verified-read-from-minibuffer.

	* commands2.el (kom-set-unread): Allow date entry in addition to
	number entry.

	Implement date input (for bug 291):
	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): New function.
	(lyskom-verified-read-map): New variable.
	(lyskom-verified-read-enter): New function.
	(lyskom-verified-read-predicate): New variable.
	(lyskom-read-num-range-or-date): Nre function.

	* utilities.el (lyskom-read-date): New function.


1521
2002-12-31  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1522

David Byers's avatar
David Byers committed
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
	Implement date parsing (for bug 291):
	* utilities.el (lyskom-parse-date): Implemented the remaining
	branches in the parser. Fixed various bugs. Validate results
	before returning. This function should work now.
	(lyskom-is-leap-year): New function (date-leap-year-p doesn't
	exist in Emacs 19, so this is needed).
	(lyskom-days-in-month): New function.
	(lyskom-adjust-day-for-date): New function.
	(lyskom-month-limits): New variable.

1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
	Fix bug 879:
	* utilities.el (lyskom-read-text-no-prefix-arg): When new-default
	is computed successfully, set default to new-default. I *think*
	that's the right thing to do...

	Fix bug 817:
	* vars.el.in (kom-send-text-hook): Updated docstring.

	* edit-text.el (lyskom-edit-send): Run kom-send-text-hook before
	doing anything else so it can manipulate headers.

	More work on text links:
	* option-edit.el (lyskom-custom-variables): Added kom-text-links.
	(lyskom-customize-buffer-format): Ditto.
	(lyskom-widget-functions): Added `list' widget type.
	(lyskom-list-widget): New function.

	Bugs in kom-list-summary:
David Byers's avatar
David Byers committed
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
	* commands2.el (lyskom-list-summary): Copy the list of texts we're
	reviewing so we can delete stuff from it.

	Initial support for text link specifications in aux-items:
	* regexp.el: New file for code to convert other regexp syntaxes to
	Emacs syntax. Currently supports POSIX EREs and Emacs syntax only.
	(lyskom-re-converters): New variable.
	(lyskom-re-cache): New variable.
	(lyskom-re-cache-get): New function.
	(lyskom-re-cache-put): New function.
	(lyskom-re-have-chclass): New variable.
	(lyskom-re-have-backrefs): New variable.
	(regex-parse): New type.
	(lyskom-re-parse-posix-limit): New function.
	(lyskom-re-parse-posix-charclass): New function.
	(lyskom-re-parse-start-subexpression): New function.
	(lyskom-re-parse-end-subexpression): New function.
	(lyskom-re-parse-accumulate): New function.
	(lyskom-re-parse-modify-last): New function.
	(lyskom-re-parse-posix-ere): New function.
	(lyskom-re-convert-finalize-result): New function.
	(lyskom-re-convert-posix-ere): New function.
	(lyskom-re-convert-regexp): New function, and this is the only one
	you should be calling.

	Improve kom-list-summary:
	* commands2.el (lyskom-do-list-summary): Damn. Already midnight.
	Don't print the subject on comments more than once in a row.
	(lyskom-print-summary-line): Don't compute subject here. Get it in
	a param instead.

1582
1583
1584
1585
1586
1587
1588
1589
1590
2002-12-31  Per Cederqvist  <ceder@ceder.dyndns.org>

	Improve doc of kom-text-links, and set it so that the
	functionality of the removed bugzilla links are present again.
	* vars.el.in (kom-text-links): Added the sentence "Use the value t
	as the car to apply the specification in all conferences." to the
	documentation.  Let "bug X" link to the Bugzilla of Lysator by
	default, so that we have a good sample value.

1591
2002-12-30  David Byers  <byers@lysator.liu.se>
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625

	Improve kom-list-summary:
	* commands2.el (lyskom-print-summary-line): Print deep comment
	levels without additional indent, like nn does.

	Remove bugzilla links (text links supersede these):
	* lyskom-buttons.el (lyskom-button-transform-text): De-implemented
	bugzilla links.
	(lyskom-button-show-bugzilla-bug): Removed this function.

	* vars.el.in (kom-my-bugzilla): Removed this variable. Text links
	generalize bugzilla links.
	(lyskom-text-buttons): Removed bugzilla text buttons.
	(lyskom-button-actions): Same here.

	More text links:
	* lyskom-buttons.el (lyskom-button-add-links): New function.
	(lyskom-button-transform-text): Call it to create links from
	kom-text-links.

	* vars.el.in (kom-text-links): New variable.

	* clienttypes.el (lyskom-create-lyskom-text-link): New function.
	(lyskom-text-link->pattern): New function.
	(lyskom-text-link->replacement): New function.
	(lyskom-text-link->highlight): New function.
	(lyskom-text-link->ignore-case): New function.

	New nameday lists from Hans Persson:
	* names.el (sv-1993): New nameday list.
	(sv-pre-1901): Renamed nameday list from sv-1901
	(sv-1901): New nameday list.
	(sv-1986): New nameday list.

1626
2002-12-22  David Byers  <byers@lysator.liu.se>
1627
1628
1629
1630
1631
1632

	Work on bug 946:
	* commands2.el (lyskom-do-list-summary): Display texts in comment
	order with indentation.
	(lyskom-print-summary-line): Support indentation.

1633
2002-12-18  David Byers  <byers@lysator.liu.se>
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646

	* lyskom-buttons.el (lyskom-button-transform-text): Added
	text-stat argument.

	Implement text links:
	* lyskom-rest.el (lyskom-format-ö): Pass text-stat to
	lyskom-button-transform-text.
	(lyskom-format-enriched): Ditto.
	(lyskom-format-text-body): Ditto. 
	(lyskom-format-aux-help): Handle cons in format-letter r.

	* view-text.el: Send the text-stat when formatting subject.

1647
2002-12-17  David Byers  <byers@lysator.liu.se>
1648
1649
1650
1651
1652

	Work on bug 753:
	* flags.el (lyskom-read-options): Added optional buffer argument
	to support reading settings from a different session.

1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
2002-12-17  Ulrik Haugen  <qha@lysator.liu.se>

	* startup.el (lyskom-read-server-name): Updated docstring wrt.
	kom-builtin-server-aliases.

	* lyskom-rest.el (lyskom-update-prompt, lyskom-format-prompt)
	(lyskom-mode-name-from-host): Use both kom-server-aliases and
	kom-builtin-server-aliases.

	* commands2.el (kom-modeline-select-unread-kom)
	(kom-status-server): Use both kom-server-aliases and
	kom-builtin-server-aliases.

	* async.el (lyskom-show-logged-in-person)
	(lyskom-show-logged-out-person): Use both kom-server-aliases and
	kom-builtin-server-aliases.

1670
2002-12-16  David Byers  <byers@lysator.liu.se>
1671

David Byers's avatar
David Byers committed
1672
1673
1674
1675
1676
1677
1678
	Fix bug 701:
	* utilities.el (lyskom-get-ancestors-of-text): Provide completions
	when reading text numbers.

	* lyskom-rest.el (lyskom-read-number): Set require-match when
	reading numbers with completion.

David Byers's avatar
David Byers committed
1679
1680
1681
1682
1683
	Fix bug 919:
	* faqs.el (lyskom-change-faq-3): Handle creating FAQs.
	(lyskom-change-faq-2): Ditto.
	(lyskom-change-faq): When there is no FAQ, create a new FAQ.

1684
1685
1686
1687
1688
1689
1690
1691
1692
	Fix bug 305:
	* lyskom-buttons.el (lyskom-button-transform-text): Added support
	for bugzilla links.
	(lyskom-button-show-bugzilla-bug): New function.

	* vars.el.in (kom-my-bugzilla): New variable.
	(lyskom-text-buttons): Added bugzilla links.
	(lyskom-button-actions): Added bugzilla links.

1693
2002-12-13  David Byers  <byers@lysator.liu.se>
1694

David Byers's avatar
David Byers committed
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
	Bug 915:
	* vars.el.in (kom-builtin-server-aliases): Renamed from
	kom-server-aliases.
	(kom-server-aliases): New variable.

	* startup.el (lyskom-read-server-name): Use both
	kom-server-aliases and kom-builtin-server-aliases.
	(lyskom): Same here.

	Fix obsoleteness:
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
	* lyskom-rest.el (lyskom-update-prompt): Change `insert-string' to
	`insert' since the former is obsolete.

	Bog 928:
	* commands1.el (lyskom-times): Added Lucia.

	Finished bug 924:
	* option-edit.el (lyskom-nameday-widget): New widget type.

	* vars.el.in (kom-url-transformation-rules): Improved the
	Aftonbladet regexp.

1717
2002-12-11  David Byers  <byers@lysator.liu.se>
1718
1719
1720
1721
1722
1723

	* swedish-strings.el (lyskom-sv-mode-map): Define swedish chars
	using all possible methods.

	* macros.el (lyskom-try-define-key): New macro.

1724
2002-12-09  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1725

1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
	Work on bug 924:
	* vars.el.in (kom-show-namedays): Updated documentation.

	* commands1.el (kom-display-time): Display namedays in all
	languages.

	* names.el: New file.
	Added namedays for swedish, pre-1901 swedish, finnish,
	finlandssvenska and finnish orthodox. Thanks to Linus Sjöberg and
	Hans Persson for the data.
	(lyskom-nameday): Moved here from commands1.el. Made
	language-independent (the code had hard-coded swedish strings).
	(lyskom-define-namedays): New function.

David Byers's avatar
David Byers committed
1740
1741
1742
1743
1744
1745
	Bug 923:
	* vars.el.in (kom-url-transformation-rules): New variable.

	* lyskom-buttons.el (lyskom-transform-url): New function.
	(lyskom-button-open-url): Use lyskom-transform-url.

1746
2002-11-26  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1747
1748
1749
1750
1751
1752
1753

	Fix bug 880 and related problems:
	* commands1.el (lyskom-read-mark-type): Ditto.

	* lyskom-rest.el (lyskom-read-number): Permit whitespace around
	the input.

1754
2002-11-21  David Byers  <byers@lysator.liu.se>
1755

David Byers's avatar
David Byers committed
1756
	Fix compiler warnings for 21.3:
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
	* lyskom-buttons.el (lyskom-generate-button): Protect call to car
	that was done to cause an error if menu-title was not a cons from
	warnings in the byte compiler.

	* review.el (kom-review-comments): Call to lyskom-insert-string
	was not in parens.

	* prefetch.el (lyskom-prefetch-membership-handler): Commeted out a
	loop that didn't contain a body that did anything useful.

	* keyboard-menu.el (lyskom-keyboard-menu-keys-for-string): Fixed
	bug found by warnings in pretest for 21.3.

	* compatibility.el (condition-case): Fix warnings in Gnu Emacs
	pretest for 21.3.
	(lyskom-dummy-variable-to-fool-the-byte-compiler): New variable
	for putting values of forms called only for their side effects in.

1775
1776
1777
1778
1779
1780
2002-11-21  Joel Rosdahl  <joel@rosdahl.net>

	* lyskom-rest.el (lyskom-modify-prompt): Use lyskom-format-time to
	create the prompt timestamp string so that you see seconds if
	wanted.

1781
1782
1783
1784
1785
1786
2002-10-30  Per Cederqvist  <ceder@ingate.com>

	* commands2.el (kom-compare-texts): Don't give a backtrace if one
	of the texts are unreadable.  Report no-such-text-no instead.
	(kom-diff-texts): Ditto.

1787
1788
1789
1790
2002-10-23  David Byers  <davby@metzengerstein.dyndns.org>

	* Release of 0.47.1

1791
2002-10-23  David Byers  <byers@lysator.liu.se>
1792
1793
1794
1795

	* keyboard-menu.el (lyskom-keyboard-menu-keys-for-string): Guard
	use of default-keyboard-coding-system.

1796
2002-10-20  David Byers  <byers@lysator.liu.se>
1797

1798
1799
1800
	* autoconf.el (extract-site-lisp-dir): Fixed regexp for site-lisp
	directory.

1801
1802
1803
1804
1805
	* utilities.el (lyskom-check-configuration): New function to check
	Emacs configuration on startup.

	* startup.el (lyskom): Added call to lyskom-check-configuration.

1806
1807
1808
1809
	Fix bug 832:
	* async.el (lyskom-async-new-recipient): Check
	kom-mark-texts-as-read-in-new-recipient.

1810
1811
1812
1813
1814
1815
	* vars.el.in (kom-mark-read-texts-as-read-in-new-recipient): New
	variable.

	* async.el (lyskom-async-new-recipient): Use
	kom-mark-read-texts-as-read-in-new-recipient. 

1816
2002-10-19  David Byers  <byers@lysator.liu.se>
1817
1818
1819
1820

	* vars.el.in (kom-created-texts-are-read): Changed default value
	of kom-created-texts-are-read.

1821
2002-10-16  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1822

David Byers's avatar
David Byers committed
1823
1824
	* doc/NEWS-0.47.1: Updated to here.

David Byers's avatar
David Byers committed
1825
	* menus.el (lyskom-menu-template): Applied patch from Per Starbäck
David Byers's avatar
David Byers committed
1826
	to add more commands to the menus (bug 727).
David Byers's avatar
David Byers committed
1827
1828
1829
1830

	* commands1.el (kom-change-parenthesis): Print error message if
	name contains more than one parenthesis.

1831
2002-09-21  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1832
1833
1834
1835
1836
1837

	Make review commands fail more gracefully:
	* review.el (lyskom-cant-review-error): Set error-message
	property.
	(lyskom-review-error): Set error-conditions property.

1838
2002-09-20  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1839
1840
1841
1842
1843

	More fixes for bug 619:
	* commands1.el (lyskom-list-conf-print): Increased field length
	for conference number.

1844
1845
1846
1847
1848
2002-10-13  Per Cederqvist  <ceder@ceder.dyndns.org>

	* distribution-README.end: Added two missing quote characters.
	Thanks to "Martin Svensson, ABC" for reporting the bug.

1849
1850
1851
1852
1853
1854
1855
2002-09-22  Per Cederqvist  <ceder@ceder.dyndns.org>

	* lyskom-rest.el (lyskom-minimum-triangle-size): This was formerly
	named lyskom-minimum-triagle-size, with a spelling error in the
	"triangle".
	(lyskom-fill-message): Updated for the above change.

1856
1857
1858
1859
2002-09-19  David Byers  <davby@metzengerstein.dyndns.org>

	* Release of 0.47.1-BETA-2

1860
2002-09-19  David Byers  <byers@lysator.liu.se>
1861
1862
1863
1864

	* english-strings.el (local): Added server-has-motd, which was
	missing.

1865
1866
1867
1868
1869
2002-09-19  Joel Rosdahl  <joel@rosdahl.net>

	* swedish-strings.el, english-strings.el: Added missing group in
	regexps comment-prefix and footnote-prefix.

1870
2002-09-18  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1871

David Byers's avatar
David Byers committed
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
	Fix bug 762:
	* commands2.el (kom-set-motd): Rewrote using blocking commands.
	The old code didn't really work. Also pick recipients for the text
	correctly.

	Fix bug 763:
	* edit-text.el (lyskom-looking-at-header): Changed from match
	number 1 to match number 2 because we need that for english
	strings. 

David Byers's avatar
David Byers committed
1882
1883
1884
1885
1886
1887
	Fix bug 522:
	* startup.el (lyskom): Print motd of lyskom sort of like a normal
	text. Don't print the header because it distracts attention. Do
	print the footer using whatever settings are currently loaded
	(usually the defaults).

David Byers's avatar
David Byers committed
1888
1889
1890
1891
1892
	Fix bug 757:
	* compatibility.el (make-temp-file): Removed last argument from
	write-region since the parameter lists in Gnu Emacs and XEmacs
	differed.

1893
2002-09-17  David Byers  <byers@lysator.liu.se>
1894
1895
1896

	* Release av 0.47.1-BETA-1

1897
2002-09-16  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1898

1899
1900
1901
	* vars.el.in (lyskom-old-farts-text-prompt-strategy): Added this
	as alias for kom-old-farts-text-prompt-strategy.

David Byers's avatar
David Byers committed
1902
1903
1904
1905
1906
	Fix bug 722:
	* edit-text.el (kom-edit-send-anonymous): Set is-anonymous
	parameter to non-nil.
	(lyskom-edit-send): Ask to remove self when sending anonymously. 

David Byers's avatar
David Byers committed
1907
1908
1909
1910
	Fix bug 679:
	* commands1.el (kom-delete-text): Nag if the user tries to delete
	a text with comments. Rewrote the main logic.

1911
2002-09-15  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1912

1913
	Fix bug 733:
1914
1915
1916
1917
1918
	* utilites.el (lyskom-read-text-no-prefix-arg): Moved cond branch
	for prompting when there is no prefix argument to the first
	branch so that errors occurring when looking for texts for a
	command that always prompts will not be signalled.

1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
	kom-write-footnote footnoted the wrong text:
	* utilities.el (lyskom-read-text-no-prefix-arg): Use default
	parameter as default in prompt when the command is specified to
	always prompt.

	Fix problem with overlays in XEmacs when viewing HTML:
	* lyskom-rest.el (lyskom-do-special-inserts): Extracted logic to
	handle special-insert from lyskom-do-insert.
	(lyskom-do-insert): Call the new function once for overlays and
	once for special-insert.
	(lyskom-format-insert-at-point): Call
	lyskom-format-transform-result to convert overlay positions to
	text properties. Don't explicitly insert overlays.
	(lyskom-format-insert): Same here.
	(lyskom-format-insert-overlays): Removed this function. No longer
	used as we use lyskom-special-insert-overlay instead.

David Byers's avatar
David Byers committed
1936
1937
1938
1939
1940
	Fix bug 746:
	* commands2.el (kom-status-person): Count unreads in passive
	conferences separately. Show passive memberships in gray.
	(kom-status-conf): Show passive members in gray.

1941
2002-09-14  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1942

David Byers's avatar
David Byers committed
1943
1944
1945
1946
1947
1948
1949
1950
1951
	Start fixing bug 750:
	* lyskom-buttons.el (kom-button-press): Handle missing default
	action by showing the keyboard menu.

	* vars.el.in (lyskom-button-actions): Removed default action for
	aux-edit-menu.
	(lyskom-button-actions): Removed no-op default action for
	add-recipient-or-xref.

David Byers's avatar
David Byers committed
1952
1953
1954
1955
1956
1957
1958
	Fix bug 752:
	* commands1.el (kom-list-re): Use lyskom-a-or-b-or-c-p to choose
	what to search in.

	* lyskom-rest.el (lyskom-a-or-b-or-c-p): New function. Generalized
	y-or-n-p sort of.

1959
>>>>>>> 44.678
1960
2002-09-12  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1961
1962
1963
1964
1965
1966
1967
1968
1969

	* english-strings.el,swedish-strings.el: Fixed speling error for
	ssh-closing (was ssh-closnig).

	Fix bug 745:
	* commands1.el (lyskom-quit): Check that lyskom-ssh-proxy is
	non-nil before trying to use it. Otherwise this function will die
	and we will call lyskom-end-of-command in kom-quit.

1970
2002-09-11  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
1971

1972
1973
1974
1975
1976
1977
	* vars.el.in (kom-old-farts-text-prompt-strategy): Renamed from
	lyskom-old-farts-text-prompt-strategy. This is the name that
	appears in the documentation.
	(lyskom-face-schemes): Bakgrunden för meddelanden ändrad till
	gröna toner. Det passar bättre ihop med det blå.

David Byers's avatar
David Byers committed
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
	Speculative fix for bug 738:
	* utilities.el (lyskom-recode-string-for-title): Recode string in
	win32. This should fix the problem.

	Fix bug 737:
	* distribution-README.install-nonsrc: Fix name of .el file.

	Fix bug 718:
	* lyskom-buttons.el (lyskom-view-url-windows): Post starting
	messages before attempting to start the process.

1989
2002-09-10  David Byers  <byers@lysator.liu.se>
1990
1991
1992
1993

	* mime.el (lyskom-mime-string-charset): Deal with not having any
	coding systems at all (happens in non-multibyte emacsen).

Joel Rosdahl's avatar
Joel Rosdahl committed
1994
1995
1996
1997
1998
2002-09-10  Joel Rosdahl  <joel@rosdahl.net>

	* swedish-strings.el, english-strings.el: Fixed typos and
	spelling errors.

1999
2002-09-08  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011

	* Makefile (lyskom-%-$(CLIENTVERSION).el): Copy help strings into
	single-language-version files.

	Fix bug 717:
	* commands2.el (lyskom-switch-to-kom-buffer): Applied patch from
	Christer Ekholm. 

	Fix bug 728:
	* commands1.el (kom-set-motd-text): Applied patch from Per
	Starbäck. 

David Byers's avatar
David Byers committed
2012
2013
2014
2015
2002-09-08  David Byers  <davby@metzengerstein.dyndns.org>

	* Released 0.47

2016
2002-09-07  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2017
2018
2019
2020
2021
2022
2023

	* commands2.el (kom-change-conf-type): allow-secret was inversely
	displayed.

	* vars.el.in (lyskom-face-schemes): kom-first-line-face for
	inverse should be the same as for default.

2024
2002-08-18  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2025
2026
2027
2028
2029

	* vars.el.in (kom-extended-status-information): Changed default
	value to nil, 'cos for the most part extended status information
	is not something the default user is interested in.

2030
2031
2032
2033
2034
2035
2036
2037
2038
2002-09-07  Per Cederqvist  <ceder@ceder.dyndns.org>

	Regexp matching searches among persons, conferences or both.
	* commands1.el (kom-list-re): New optional argument: what.  This
	function can now search among persons, conferences, or both.
	* english-strings.el, swedish-strings.el (lyskom-message): Added
	'include-persons, 'include-conferences, 'matching-regexp-perss and
	'matching-regexp-confs.

Hans Persson's avatar
Hans Persson committed
2039
2040
2041
2042
2002-08-28  Hans Persson  <hans@localhost.localdomain>

	* swedish-strings.el (local): Spelling fix.

2043
2044
2045
2046
2047
2048
2002-08-15  Ulrik Haugen  <qha@lysator.liu.se>

	* swedish-strings.el, english-strings.el (local): y-or-n-instring
	and y-instring modified to make j-or-n-p behave more like
	y-or-n-p.

2049
2002-08-13  David Byers  <byers@lysator.liu.se>
2050
2051
2052
2053

	* lyskom-rest.el (lyskom-clean-read-faqs-1): Fixed negated
	condition that cause read *existing* FAQs to be marked as unread.

2054
2002-08-12  David Byers  <byers@lysator.liu.se>
2055
2056
2057
2058
2059
2060

	* startup.el (lyskom-refetch): Call lyskom-clean-read-faqs.

	* lyskom-rest.el (lyskom-startup-clean-read-faqs): New function. 
	(lyskom-startup-clean-read-faqs-1): New function.

2061
2002-08-09  David Byers  <byers@lysator.liu.se>
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072

	Better font handling:
	* utilities.el (lyskom-set-face-scheme): Set faces for overlays
	only if they haven't been set by the user. Don't require expected
	background in face schemes.

	Attempt to fix irreprudicble hangs:
	* services.el (lyskom-wait-queue): Rewrote without using
	blocking-return. Use collector instead. The use of blocking-return
	and dynamic binding was questionable and probably wrong.

2073
2074
2075
2076
2077
2078
2002-08-08  Per Cederqvist  <ceder@ceder.dyndns.org>

	The "sparar" marker could be left indefinitely in the mode line.
	* parse.el (lyskom-parse-unparsed): Force an update of the mode
	line when the server stops saving.

2079
2002-08-06  David Byers  <byers@lysator.liu.se>
David Byers's avatar
Bug 695    
David Byers committed
2080

David Byers's avatar
David Byers committed
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
	String "Olästa" in frame title was truncated in Emacs 21:
	* lyskom-rest.el (lyskom-make-lyskom-unread-title-format): Use
	lyskom-recode-string-for-title.

	* utilities.el (lyskom-recode-string-for-title): New function.

	Clear out some old junk:
	* compatibility.el (lyskom-compatibility-definition-ct): Unused.
	Removed.

	* lyskom-rest.el (lyskom-call-hook): Unused. Removed.

	* lyskom-buttons.el (lyskom-button-send-mail): Unused. Removed.

	* utilities.el (skip-first-zeros): Unused. Removed.
	(reverse-assoc): Unused. Removed.
	(lyskom-string-to-rgb): Unused. Removed.

	Fix compatibility problem with Emacs 20:
	* utilities.el (lyskom-union): Rebuilt to preserve A and append
	the relevant bits of B.
	(lyskom-join-lists): Removed. This function used mapc, which is in
	cl.el, and is functionally very similar to lyskom-union. Rewrote
	lyskom-union to the specifications of this function.
	(lyskom-get-ancestors-of-text): Use (new) lyskom-union instead of
	lyskom-join-lists.

David Byers's avatar
Bug 695    
David Byers committed
2108
2109
2110
2111
2112
	Fix bug 695:
	* startup.el (kom-start-anew): Insert language-set-to before the
	prompt, not immediately. This ensures that it is printed after any
	other messages generated before the language is set.

2113
2114
2115
2116
2002-08-05  David Byers  <davby@metzengerstein.dyndns.org>

	* Release of 0.47-BETA-4

2117
2002-08-05  David Byers  <byers@lysator.liu.se>
2118
2119
2120
2121
2122
2123
2124
2125
2126

	Bug 662:
	* async.el (lyskom-add-new-text): When we get a new text in the
	conference we're in, enter the info in lyskom-reading-list in the
	proper priority order. Entering it first fscks up reviewing.

	* english-strings.el (lyskom-en-prioritize-mode-map): Use kbd for
	all bindings (how did we ever miss this).

2127
2002-08-01  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2128
2129
2130
2131
2132
2133
2134
2135
2136

	Fix bug 685:
	* flags.el (lyskom-read-options): The return value is now nil on
	all error conditions (no user area, invalid person etc).

	Fix bug 683:
	* startup.el (kom-start-anew): Don't accept empty string as a
	name.

2137
2002-07-30  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151

	Fix bug 675:
	* startup.el (lyskom-setup-ssh-relay): Set LC_ALL before starting
	ssh (and restore it afterwards).

	Fix bug 620:
	* english-strings.el, swedish-strings.el: Added bindings for
	lyskom-help to lyskom-sv­who-prefix, lyskom-en-who-prefix and
	lyskom-en-previous-prefix.

	* commands2.el (kom-change-language): With prefix arg, set both
	local and global language attributes (like the NEWS file says we
	do).

2152
2153
2154
2155
2002-07-30  Per Cederqvist  <ceder@ceder.dyndns.org>

	cadr, caar and cdar are not portable to all Emacsen.
	* vars.el.in (lyskom-button-actions): Don't use cadr.
David Byers's avatar
David Byers committed
2156

2157
2158
2159
	* utilities.el (lyskom-read-text-no-prefix-arg): Don't use caar or
	cdar.

2160
2002-07-29  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171

	* utilities.el: Removed lyskom-pick-text-no-strategy-alist.

	* vars.el.in (kom-pick-text-no-strategy-alist): Renamed from
	lyskom-pick-text-no-prefix-strategy-alist to
	kom-pick-text-no-strategy-alist and moved here from utilities.el

	Fix bug 668:
	* english-strings.el, swedigh-strings.el: Added binding of S-TAB
	wherever we bound M-TAB.

2172
2002-07-26  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192

	Fix bug 661:
	* utilities.el (lyskom-set-face-scheme): Warn when faces are
	missing and copy the default. Set highlight faces unconditionally
	when they are not specify (never warn that these are missing).

	* compatibility.el (lyskom-color-values): Removed bogus definition
	that fscked up everything.

	Fix bug 660:
	* flags.el (lyskom-ignored-user-area-vars): Removed from here.
	(lyskom-read-options-eval): Removed warning about ignored vars.
	Return list of ignored variables.
	(lyskom-maybe-set-var-from-string): Added return value.

	* startup.el (kom-start-anew): Moved warning about ignored vars
	here so it is shown after language is set.

	* vars.el.in (lyskom-ignored-user-area-vars): Moved here.

2193
2002-07-24  David Byers  <byers@lysator.liu.se>
2194
2195
2196

	* Release of 0.46-BETA-3

2197
2002-07-24  David Byers  <byers@lysator.liu.se>