ChangeLog 335 KB
Newer Older
1
2
3
4
5
6
7
8
2004-04-13  Johan Sundstrm  <jhs@lysator.liu.se>

	* english-strings.el, swedish-strings.el (global): Give a name for
	kom-review-cross-references too.

	* menus.el (lyskom-menu-template): Add kom-review-cross-references
	here too.

Johan Sundström's avatar
Johan Sundström committed
9
10
11
12
2004-04-12  Johan Sundstrm  <jhs@lysator.liu.se>

	* vars.el.in (lyskom-commands): Add kom-review-cross-references.

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2004-04-11  Johan Sundstrm  <jhs@lysator.liu.se>

	* review.el (kom-review-cross-references): New command. Reviews
	all [aux info] cross refeferenced texts.

	* review.el (lyskom-cross-referenced-text,
	lyskom-review-cross-references): New support functions.

	* english-strings.el (lyskom-en-mode-map): Bind it to "r a x".

	* swedish-strings.el (lyskom-sv-mode-map): Bind it to " a x".

	* english-strings.el, swedish-strings.el (local): added
	review-xrefs-q.

28
29
2004-02-29  David Byers  <byers@lysator.liu.se>

30
31
32
33
34
	* lyskom-rest.el (lyskom-format-plaintext-fonts-body): Updated
	revexp to reduce false positives.
	(lyskom-format-plaintext-fonts-body): More features. Put / back
	again, but only if it's near decent delimiters.

David Byers's avatar
David Byers committed
35
36
37
38
39
40
41
42
	Make fontification turn-offable:
	* option-edit.el (lyskom-customize-buffer-format): Added
	kom-text-properties and kom-fontify-text.
	(lyskom-custom-variables): Same here.

	* vars.el.in (kom-fontify-text): New variable.
	(kom-text-properties): Make server-stored by default.

David Byers's avatar
David Byers committed
43
44
45
46
47
48
	Better fontification code:
	* lyskom-rest.el: (lyskom-format-plaintext-fonts-body): New macro.
	For internal use only.
	(lyskom-format-plaintext-fonts): Don't use / as an italics
	delimiter.

49
50
51
52
53
54
55
56
57
58
59
60
	Fix bug 1282:
	* services.el (initiate-query-read-texts): Call correct membership
	parser. Use new names.
	(initiate-get-membership): Ditto.
	(initiate-get-part-of-membership): Ditto.

	* parse.el (lyskom-parse-membership-10) New name.
	(lyskom-parse-membership-list-10): New name.

	Goofing off:
	* lyskom-rest.el (lyskom-format-plaintext-fonts): New function.

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
	* macros.el (lyskom-mime-content-type-get): Moved here from
	mime.el.
	(lyskom-mime-content-type): Moved here from mime.el.

	Fix bug 744 (I think):
	* flags.el (lyskom-save-options): Save unknown variables too.
	(lyskom-save-options): Encode variable names too. Despite them
	being all ASCII, Emacs will sometimes think one is a multibyte
	string, and then convert everything back to multibyte format,
	which will break the user area. Refuse to save if any part of the
	user area is a multibyte string.

	Don't throw away contents of unknown variables:
	* vars.el.in (lyskom-saved-unknown-variables): New variable.
	(lyskom-settings-version): New variable.

	* flags.el (kom-copy-options): Don't discard unknown variables.

	* startup.el (kom-start-anew): Tell the user that unknown
	variables may be due to changing client versions (if settings were
	saved in a different version than we're running right now).

	* flags.el (kom-save-options): Accept prefix argument to delete
	unknown variables.

	* async.el (lyskom-async-new-user-area): Tell the user when
	re-reading settings from the server. Don't discard unknown
	variables.

	* flags.el (lyskom-read-options-eval): The list of ignored
	variables is an alist of name and value.

	* startup.el (kom-start-anew): lyskom-read-flags now returns a
	alist for ignored variables. Don't discard unknown variables.

2004-02-28  David Byers  <byers@lysator.liu.se>

	Prepare for dealing with format=flowed texts:
	* komtypes.el (text->decoded-text-mass): Use new content-type
	functions and format.

	* edit-text.el (lyskom-edit-send): Use new content-type functions
	and format.

	* mime.el (lyskom-mime-decode-content-type): Rewrote to handle
	arbitrary parameters to the content type.
	(lyskom-mime-content-type): New function.
	(lyskom-mime-content-type-get): New function.

110
111
2004-02-27  David Byers  <byers@lysator.liu.se>

112
	Fix bug 1281 and related issues:
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
	* commands1.el (kom-write-comment): Use new def-kom-command
	features.
	(kom-private-answer): Ditto.
	(kom-write-footnote): Ditto.
	(kom-comment-previous): Ditto.
	(kom-private-answer): Ditto.
	(kom-private-answer-previous): Ditto.

	* slow.el (kom-slow-mode): Use def-kom-command instead of defun.
	(kom-quick-mode): Ditto.

	* commands2.el (kom-show-user-area): Use def-kom-command instead
	of defun.

	* command.el (def-kom-command): Added keyword support.
	(def-kom-emacs-command): Ditto.
	(lyskom-start-of-command): Added PROMPT-FORMAT.

David Byers's avatar
David Byers committed
131
132
133
134
135
136
137
138
2004-02-23  David Byers  <byers@lysator.liu.se>

	Further reduce the likelihood of sending alarm messages
	unintentionally:
	* commands2.el (lyskom-interactive-send-message): New function.
	(kom-send-alarm): Use it.
	(kom-send-message): Use it.

David Byers's avatar
David Byers committed
139
140
2004-02-22  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
141
142
	* NEWS-0.48: Updated to here.

David Byers's avatar
David Byers committed
143
144
145
146
147
148
149
150
151
	Clean up for XEmacs:
	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
	Don't bind pers-stat. It's not used.
	(smiley-region): Don't bind plaintext. It's not used.
	(lyskom-fill-message): Suppress warning about variable timer.

	* defvar.el (def-kom-var): Don't ever do a null doc-string. XEmacs
	will complain quite loudly.

David Byers's avatar
David Byers committed
152
153
154
155
156
157
158
159
160
161
162
163
	Fix bug 1125:
	* commands1.el (lyskom-read-cross-reference-and-get-aux-item): Use
	lyskom-a-or-b-or-c-p instead of completing-read.

	* edit-text.el (lyskom-read-link): Moved here from commands1.el
	since this is the only file that uses it.
	(lyskom-read-link): Use lyskom-a-or-b-or-c instead of
	completing-read.

	* commands1.el (kom-list-re): Ask what to search for before asking
	for the search string.

164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
	Fix new bug in kom-is-person-member-of-conference:
	* lyskom-rest.el (lyskom-get-read-texts-for-membership): Removed
	this function again. It isn't used anywhere any more.

	* commands2.el (kom-is-person-member-of-conference): Don't use
	lyskom-get-read-texts-for-membership. Don't need it.

	Refactoring of adding members to simplify all callers:
	* lyskom-rest.el (lyskom-check-go-to-conf): Use lyskom-add-member
	to add self when going to a conference we have been invited to or
	need to depassivate.
	(lyskom-startup-check-recommended-memberships): Use
	lyskom-add-member to accept recommendations.

	* commands1.el (lyskom-add-member): New function.
	(kom-add-self): Use lyskom-add-member.
	(kom-add-member): Use lyskom-add-member.
	(lyskom-add-member-by-no): Use lyskom-add-member.
	(lyskom-go-to-conf): Don't ask for number of unread here.
	(lyskom-add-member-answer): Removed this junk.
	(lyskom-try-add-member): Removed this junk too.
	(kom-change-priority): Use lyskom-add-member. Refuse to change
	priority of passive memberships.

David Byers's avatar
David Byers committed
188
189
190
191
	Fix bug 1251:
	* commands1.el (kom-move-text): Don't try to move footnotes and
	attachments that we can't read.

David Byers's avatar
David Byers committed
192
193
194
	* option-edit.el: Added kom-auto-confirm-new-conferences to the
	settings buffer.

David Byers's avatar
David Byers committed
195
196
2004-02-21  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
197
198
199
200
201
202
	Fix bug 1276:
	* startup.el (lyskom-setup-ssh-relay): Use kom-ssh-command instead
	of hardcoding the ssh command name.

	* vars.el.in (kom-ssh-command): New variable.

David Byers's avatar
David Byers committed
203
204
205
206
207
208
209
210
211
212
213
214
	Fix bug 1250:
	* view-text.el (lyskom-text-read-at-least-once-p): Don't consider
	passive memberships.
	(lyskom-text-read-p): Same here.

	* services.el (initiate-get-part-of-membership): Don't get read texts.

	* lyskom-rest.el (lyskom-get-read-texts-for-membership): New
	function.

	* commands2.el (kom-is-person-member-of-conference): Use it here.

215
216
217
218
219
2004-02-12  David Byers  <byers@lysator.liu.se>

	Make kom-list-new-conferences quittable:
	* commands2.el (lyskom-list-new-conferences): Handle C-g when
	listing conferences or persons using the new lyskom-cancel-calls.
David Byers's avatar
David Byers committed
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
	* internal.el (lyskom-cancel-calls): It works now.

2004-02-11  David Byers  <byers@lysator.liu.se>

	Improve ability to cancel calls:
	* services.el (initiate-get-text): Add lyskom-ref-no to PARSED.
	(initiate-get-text-stat): Ditto.
	(initiate-get-pers-stat): Ditto.
	(initiate-get-conf-stat): Ditto.
	(initiate-get-uconf-stat): Ditto.
	(initiate-get-static-session-info): Ditto.
	(initiate-get-stats-description): Ditto.
	(initiate-get-boottime-info): Ditto.

	* internal.el (lyskom-apply-handler): Allow ref-no in PARSED.

	* parse.el (lyskom-tr-call-to-parsed): Leave the ref-no in PARSED.

	* internal.el (lyskom-cancel-calls): New function.

	Prevent lyskom-ref-no from going negative:
	* macros.el (lyskom-ref-no): New macro to get and increment
	lyskom-ref-no.

	* internal.el (lyskom-send-packet): Ensure that lyskom-ref-no
	never goes negative.

	Fix bug 1272:
	* review.el (kom-review-converted): Don't bind
	lyskom-format-special (why did we *ever* bind it here?)

2004-02-09  David Byers  <byers@lysator.liu.se>

	* clienttypes.el (lyskom-queue-remove-matching): New function.

2004-02-07  David Byers  <byers@lysator.liu.se>

	* utilities.el (lyskom-read-date): Added optional parameter empty.

	Speed up behavior after changing user area:
	* async.el (lyskom-parse-async): Don't re-read settings if the new
	user area is one we've already read (or just created).

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

	Bug 1271 (and then some):
	* commands2.el (kom-list-new-conferences): Accept prefix arg to
	list from a specific date.
	(kom-list-new-persons): Ditto.
	(lyskom-list-new-conferences): Prompt for start date if the caller
	requests it or the command has never been used before.

2004-02-06  David Byers  <byers@lysator.liu.se>

	* utilities.el (lyskom-find-conf-by-date): New function.

David Byers's avatar
David Byers committed
278
279
2004-01-29  David Byers  <byers@lysator.liu.se>

280
281
282
	* macros.el (blocking-do-multiple): Use modern backquote syntax to
	make the code more readable.

David Byers's avatar
David Byers committed
283
284
285
286
287
288
289
	* vars.el.in (lyskom-text-buttons): Improved performance of some
	regexps in lyskom-text-buttons.

	* commands1.el (kom-move-text): Prevent moving from a conference
	back to the same conference. Doing this deletes the recipient
	completely.

290
291
292
293
2004-01-26  David Byers  <byers@lysator.liu.se>

	* vars.el.in (lyskom-format-special): Explicitly format plaintext
	types.
David Byers's avatar
David Byers committed
294
	(lyskom-text-buttons): Simplified the regexps for URLs.
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311

	* lyskom-rest.el (smiley-region): New function.
	(smiley-region): Use it. Clean up some of the code.

2004-01-13  David Byers  <byers@lysator.liu.se>

	* review.el: Made all state variables (for kom-review-more)
	buffer-local.

2004-01-12  David Byers  <byers@lysator.liu.se>

	* services.el (initiate-get-membership): Use call 108 when
	possible.
	(initiate-get-part-of-membership): Same here.

	* parse.el (lyskom-parse-membership-list-11): New function.

312
313
2004-01-01  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
314
315
316
317
318
319
320
	Fix bug 1236:
	* vars.el.in (lyskom-default-conference-strategy): Added
	kom-force-logout.

	* commands1.el (lyskom-return-username): Handle
	static-session-info and session-info in addition to who-info.

321
322
323
324
325
326
327
328
329
	Fix bug 1237:
	* vars.el.in (lyskom-commands-not-in-menu): New variable.

	* check-strings.el (lyskom-check-strings): Check main menu to
	ensure that all commands are in menus.
	(lcs-check-menu-template): New function.
	(lcs-extract-commands-from-menu-template): New function.

	Improve display of accelerators in menus:
330
331
332
	* menus.el (lyskom-define-menu-xemacs): Try to use swedish
	characters rather than brackets and braces for bindings that have
	both.
David Byers's avatar
David Byers committed
333
334
335
	(lyskom-define-menu-gnu): Same here. In W32, encode the keyboard
	shortcut using latin-1. Hopefully that will get rid of the little
	boxes in the menus.
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

	* utilities.el (lyskom-traverse-keymap): New function.

	* compatibility.el (map-keymap): More fixes.

	* menus.el (lyskom-menu-guess-shortcuts): New function.

	* vars.el.in (lyskom-swedish-bindings): New variable.
	(lyskom-swedish-bindings-reverse): Ditto.

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

	* compatibility.el (map-keymap): I think this function will work
	in Gnu Emacs now.

	Make language selection more available:
	* swedish-strings.el (lyskom-menus): Language-related texts in
	swedish and english.
	(lyskom-message): Ditto.

	* menus.el (lyskom-menu-template): Added change local and global
	language.

	* commands2.el (kom-change-global-language): New command.
	(kom-change-local-language): New command.

	Commands at when-done in current language:
	* language.el (lyskom-try-get-string): Added language parameter.
	(lyskom-get-string): Added language parameter.

	* command.el (lyskom-command-name): Added language parameter.

David Byers's avatar
David Byers committed
368
369
370
371
372
373
374
375
376
377
2003-12-17  David Byers  <byers@lysator.liu.se>

	Update menus:
	* utilities.el (lyskom-gensym): New function (it really seems that
	elisp doesn't have a built-in gensym function).

	* menus.el (lyskom-define-menu-gnu): Use gensym to generate
	separator symbols (so we can say just (hline) in the menu spec).
	(lyskom-menu-template): All-new menu definitions.

378
379
380
381
382
2003-12-16  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-change-language): Reverted my improper prefix
	argument hack from 2003-08-30.

David Byers's avatar
David Byers committed
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
2003-12-11  David Byers  <byers@lysator.liu.se>

	Fix bug 1233:
	* commands1.el (kom-change-priority): Pass old mship-type to
	lyskom-add-member-answer.

	Fix bug 1234:
	* lyskom-rest.el (lyskom-update-prompt): New prompts for when
	prioritised texts are in the letterbox, or the prioritised
	conference is the letterbox.

	Fix bug 1233:
	* commands1.el (lyskom-list-clients-collect): Deal with version
	set to nil.

398
399
400
401
402
403
404
405
406
407
2003-12-10  David Byers  <byers@lysator.liu.se>

	* startup.el (kom-start-anew): Show a help link when setting the
	language.

	* lyskom-rest.el (lyskom-format-aux-help): The argument for a
	conditional format is not optional, so we can handle extending
	format strings with additional boolean conditionals without
	altering the argument lists where they are used.

408
409
2003-12-07  David Byers  <byers@lysator.liu.se>

410
411
	* NEWS-0.48: Updated to here.

412
413
414
415
416
417
418
419
420
421
422
	Handle user privileges:
	* commands2.el (kom-change-privileges): New command.
	 (kom-status-person): Print privileges.

	* komtypes.el (pers-stat): Make privileges read-write.

	* utilities.el (lyskom-privilege-string): New function.

	* vars.el.in (lyskom-default-conference-strategy): Added
	change-conf-type, which was missing, to this list.

David Byers's avatar
David Byers committed
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
455
456
457
458
459
2003-12-04  David Byers  <byers@lysator.liu.se>

	* lyskom-rest.el (lyskom-read-number): Use lyskom-string-to-int so
	we never create floats by mistake.

	More features for padding and truncating formatted strings:
	* commands1.el (lyskom-print-comment-like-aux): Don't print FAQ
	links if the data in the aux-item is invalid.

	* utilities.el (lyskom-truncate-string-to-width): New simpler
	implementation that only supports the features we use and supports
	the TRAILER argument.

	* lyskom-rest.el (lyskom-format-aux-help): Support < > and = to
	specify stuff in pad-length. Support a ... trailer for truncated
	strings.

	Improve handling of invalid numeric data:
	* aux-items.el (lyskom-status-print-faq-text): Handle invalid data
	in aux item.
	(lyskom-faq-for-conf-action): Use lyskom-string-to-int to convert
	data and throw an error on invalid format.
	(lyskom-aux-item-validate): New function.
	(lyskom-status-print-faq-text): Validate aux-item data before
	printing.
	(lyskom-print-faq-for-conf): Same here.
	(lyskom-print-send-comments-to): Same here.
	(lyskom-print-recommended-conf): Same here.

	* utilities.el (lyskom-string-to-int): New function.
	(lyskom-integer-conversion-error): New error symbol.

	Fix bug 1229:
	* commands2.el (kom-list-new-conferences): The data got from the
	server is a conf-stat, not an uconf-stat. Treat it as such...
	(lyskom-list-new-conferences): Same here.

460
461
2003-12-03  David Byers  <davby@ida-gw.sysinst.ida.liu.se>

David Byers's avatar
David Byers committed
462
463
	* names.el: Changed some names and tpyos.

464
465
466
	* commands1.el (lyskom-list-clients-collect): Client statistics
	now semi-ignore parentheses in the version field.

467
468
2003-11-17  David Byers  <byers@lysator.liu.se>

469
470
471
472
473
474
475
	Fix bug 1142:
	* commands1.el (lyskom-mark-text): Print the mark type in the
	marking message.

	* commands2.el (lyskom-symbolic-mark-type-string): Added argument
	STRICT. 

476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
	Minor bug fixes:
	* commands2.el (kom-is-person-member-of-conference): When reading
	pers-to-check-mship-for, only read persons.

	* vars.el.in (lyskom-default-conference-strategy): Fixed typo in
	kom-move-text-tree.

	Fix bug 1174:
	* commands2.el (kom-join-all-conferences): Ask about receiving
	group messages in all conferences.

	* commands1.el (lyskom-add-member-answer): Added mship-type
	parameter.
	(lyskom-add-member-by-no): Added mship-type parameter.
	(kom-create-conf): Added mship-type parameter in call to
	lyskom-add-member-by-no 

	Fix bug 1213:
	* commands1.el (lyskom-write-text): Handle argument correctly so
	both prefix arguments and menus work properly.
	(lyskom-add-member-answer): Added mship-type parameter

498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
	Fix bug 1132:
	* commands2.el (lyskom-list-new-conferences): Made this function
	asynchronous. Use lyskom-get-conf-stat since there's a good
	chance, shortly after release at any rate, that this command will
	cause an explosion of get-conf-stats anyway (when the client gets
	the conf-stat in order to display the presentation status).

2003-11-14  David Byers  <byers@lysator.liu.se>

	Fix bug 1140:
	* vars.el.in (kom-pick-text-no-strategy-alist): Added items to
	this list corresponding to commands that have non-standard
	defaults, since these were ignored.

	* faqs.el (kom-add-faq): Don't pass DEFAULT to
	lyskom-read-text-no-prefix-arg (the default made little sense
	anyway).
	(kom-add-server-faq): Same here.

	* commands1.el (kom-set-presentation): Don't pass DEFAULT to
	lyskom-read-text-no-prefix-arg (the default made little sense
	anyway).
	(kom-set-motd-text): Same here.

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

	* commands1.el (lyskom-read-mark-type): Improve handling of empty
	string entered as mark type.

2003-09-17  David Byers  <byers@lysator.liu.se>

	* cache.el (lyskom-tell-server): Never, ever, send nil to
	change-what-i-am-doing since this causes a protocol error.

532
533
534
535
2003-10-26  Per Cederqvist  <ceder@ceder.dyndns.org>

	* lyskom-rest.el (kom-mark-unread): Fixed typos in doc string.

536
537
538
539
540
2003-10-26  Joel Rosdahl  <joel@rosdahl.net>

	* commands1.el (lyskom-get-least-used-mark-types-alist): Handle
	nil in mark list got from cache-get-marked-texts.

Joel Rosdahl's avatar
Joel Rosdahl committed
541
542
543
544
545
546
2003-10-23  Joel Rosdahl  <joel@rosdahl.net>

	Fix bug 1137:
	* commands1.el (lyskom-read-mark-type): Handle empty
	input correctly.

547
548
549
550
551
2003-09-15  Per Cederqvist  <ceder@ingate.com>

	* swedish-strings.el (lyskom-message): Added missing verb in
	new-keep-commented-q format.

552
553
554
555
556
557
558
559
560
561
2003-08-30  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-change-language): Now always changes bindings,
	unless explicitly overridden with an integer argument (for some
	form of backwards compatibility for users who already have burnt
	in "C-u x change language" into their spines by now). I have never
	wanted to change languages without changing key bindings as well,
	but considering it was implemented like this, someone might still
	want to do that (hence this slight prefix awkwardness).

David Byers's avatar
David Byers committed
562
563
2003-08-30  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
564
565
566
567
568
	Fix bug 1101:
	* komtypes.el (text-list->trim-head): The new length was computed
	incorrectly, leading to problems if this function was called
	without intervening calls to functions that corrected the error.

David Byers's avatar
David Byers committed
569
570
571
572
	Fix bug 1131:
	* parse.el (lyskom-init-parse): Inherit inheritable variables from
	lyskom-buffer since the parsers may depend on them.

David Byers's avatar
David Byers committed
573
574
575
576
2003-08-29  David Byers  <byers@lysator.liu.se>

	* lyskom-rest.el (lyskom-fill-message): Don't kill the last char.

577
578
579
580
581
2003-08-28  Ulrik Haugen  <qha@lysator.liu.se>

	* vars.el.in (kom-builtin-server-aliases, kom-server-aliases): Fix
	documentation string ((NICKNAME . SERVER) -> (SERVER . NICKNAME)).

David Byers's avatar
David Byers committed
582
583
2003-08-28  David Byers  <byers@lysator.liu.se>

584
585
586
587
588
589
590
591
592
593
	Handle breaking very long texts:
	* lyskom-rest.el (lyskom-fill-message): Added option of a timeout
	for filling, replaced whitespace deletion at the end with a method
	that does not rely on regexps (it seems that anchoring a regexp at
	the end of the buffer does not improve performance as much as I
	expected), and caused C-g to break out of the filling loop, but
	not out of the function.

	* vars.el.in (kom-autowrap-timeout): New variable.

594
595
596
597
598
	Fix bug 1117:
	* commands2.el (kom-set-garb-nice): Moved kom-set-keep-commented
	into this function. It makes more sense that way.
	(kom-set-keep-commented): Deleted this command.

David Byers's avatar
David Byers committed
599
600
601
602
603
604
605
606
607
	Fix bug 1128:
	* commands2.el (kom-limit-import): Support refusing HTML import.

	Fix bug 1125:
	* edit-text.el (lyskom-edit-insert-miscs): Make more of the
	separator line read-only, taking care (I hope) to get text
	properties right so the read-only property does not affect the
	subject line.

608
609
2003-08-27  David Byers  <davby@ida.liu.se>

610
611
	* compatibility.el (string-to-vector): Don't just compute the
 	result. Return it too...
612

613
614
615
616
	* utilities.el (lyskom-completing-read): Protect the value of
	this-command from alteration.
	(lyskom-read-from-minibuffer): Same here.

617
618
619
620
621
622
623
624
625
626
627
2003-08-26  David Byers  <byers@lysator.liu.se>

	* utilities.el (lyskom-magic-minibuffer-mangle-initial):
	Explicitly make properties at the front of the initial value
	nonsticky (mainly for XEmacs where they are sticky by default).
	(completing-read): Add explicity uses for all variables to avoid
	compiler warnings in XEmacs at run time.
	(read-from-minibuffer): Same.

	* commands2.el (kom-send-message): Remoed unused variables.

628
629
2003-08-25  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
630
	* vars.el.in (lyskom-error-codes): Added error codes 55-61.
David Byers's avatar
David Byers committed
631

David Byers's avatar
David Byers committed
632
	* english-strings.el,swedish-strings.el: Added error codes 55-61.
David Byers's avatar
David Byers committed
633

634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
	* startup.el (kom-start-anew): Use lyskom-default-language instead
	of kom-default-language to set the initial language for the
	session.

	* lyskom-rest.el (lyskom-is-loaded): Changed initialization of
	language variables to use new function in language.el. Also do not
	alter kom-default-language unless it was nil to begin with.
	Convert kom-default-language from symbol to list if necessary.

	* language.el (lyskom-language-from-environment): Moved here from
	lyskom-rest.el.
	(lyskom-default-language): New function.

	* completing-read.el (lyskom-read-conf-internal): We use
	uconf-stats internally, so don't use conf-stat accessors.

650
651
2003-08-25  David Byers  <davby@ida.liu.se>

652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
	Fix problems entering conferences in the edit buffer:
	* completing-read.el (lyskom-default-conference-saved): Read the
	value of lyskom-read-conf-saved-inputs in the LysKOM buffer.
	(lyskom-read-conf-save-input): Same here.
	(lyskom-get-initial-conf-strategy): Print warning about missing
	strategy in LysKOM buffer.

	* vars.el.in (lyskom-read-conf-saved-inputs): Moved here from
	completing-read.el and made it buffer-local.

	* completing-read.el (lyskom-read-conf): Create dynamic binding of
	lyskom-current-command to lyskom-current-command or this-command
	so lyskom-read-conf-guess-initial has good data to operate on even
	if this-command is changed during execution of lyskom-read-conf.

667
668
669
670
671
672
673
	* vars.el.in (lyskom-last-personal-message-sender): Default to
	nil. 
	(lyskom-last-group-message-recipient): Default to nil.

	* commands2.el (lyskom-default-conference-for-send-message):
	Return nil when there is no suitable recipient.

674
675
676
677
678
679
680
2003-08-25  David Byers  <byers@lysator.liu.se>

	Fixed assertion failure when receiving broadcast messages:
	* messages.el (lyskom-filter-message-handler): Filtering on
	recipient used checks on sender. Filtering worked most of the time
	anyway.

681
682
2003-08-24  David Byers  <byers@lysator.liu.se>

683
684
685
686
687
688
689
690
691
	* completing-read.el (lyskom-default-conference-empty): New function.

	* vars.el.in (lyskom-default-conference-strategy): Corrected
	listings for review and unread functions.

	* review.el (lyskom-review-by-to): Correct prompt in call to
	lyskom-read-conf-no.
	(lyskom-unread-by-to): Same here.

692
693
694
695
696
697
698
699
700
701
702
703
704
	* commands1.el (kom-status-session): Pass prompt to
	lyskom-read-session-no as symbol.

	* commands2.el (kom-force-logout): Pass prompt to
	lyskom-read-session-no as symbol.

	* remote-control.el (kom-remote-autoreply): Pass prompt to
	lyskom-read-session-no as symbol.
	(kom-remote-set-message): Same.
	(kom-remote-list-messages): Same.
	(kom-remote-erase-messages): Same.
	(kom-remote-quit): Same.

705
706
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
740
741
742
743
744
745
746
747
748
749
750
751
	* Makefile (TARGET): Default to debug compile.

	Fix bug 459:
	* commands2.el (kom-send-message): Use standard strategy for
	initial value when reading conf.
	(lyskom-default-conference-for-send-message): New function.

	* async.el (lyskom-show-personal-message): Save conf-no, not name
	in lyskom-last-personal-message-sender.
	(lyskom-show-personal-message): Same here.

	* vars.el.in (lyskom-default-conference-strategy): Added
	strategy for set-keep-commented and kom-send-message.

	* completing-read.el (lyskom-get-initial-conf-strategy): Display a
	warning if there is no prompt-specific strategy (there should be).
	This only happens if compiled with debugging.

	* macros.el (lyskom-debug-forms): New macro.

	* utilities.el (lyskom-completing-read): Fix handling of default
	argument (twas broken before).

	* commands1.el (kom-move-text-tree): Handle initial values for
	reading conference names through standard strategy configuration.

	* vars.el.in (lyskom-default-conference-strategy): Added
	strategies for kom-move-text and kom-sub-recipient.

	* commands1.el (lyskom-default-recpt-for-sub): Removed this
	function. It is implemented through the standard strategy
	configuration instead.
	(kom-move-text): Handle initial values for reading conference
	names through standard strategy configuration.

	* vars.el.in (lyskom-last-added-rcpt): Removed this variable.
	(lyskom-last-added-ccrcpt): Same.
	(lyskom-last-added-bccrcpt): Same.
	(lyskom-last-sub-rcpt): Same.

	* commands1.el (kom-sub-recipient): Don't save answer reading
	conference. Rely on standard strategy for default initial value.
	Sort the recipient list so RECPT is first.

	* vars.el.in (lyskom-default-conference-strategy): Handle initials
	formerly set in lyskom-add-helper through save strategy.

752
753
	* commands1.el (kom-create-conf): Ask about keep-commented when
	creating conference.
754
755
756
757
758
	(lyskom-add-helper): Don't explicitly save last-added stuff.
	Removed last-added variable parameter.
	(kom-add-copy): Updated parameter list to lyskom-add-helper.
	(kom-add-bcc): Same here.
	(kom-add-recipient): Same here.
759

760
761
762
763
764
	* NEWS-0.48: Updated to here.

	Support setting keep-commented:
	* commands2.el (kom-set-keep-commented): New command.

765
766
2003-08-20  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
767
768
769
770
	More work on bug 459:
	* vars.el.in (lyskom-default-conference-strategy): Documented this
	variable.

771
772
773
774
775
776
777
778
779
	Support saving most recent input:
	* completing-read.el (lyskom-read-conf-saved-inputs): New
	variable.
	(lyskom-read-conf-save-input): New function.
	(lyskom-read-conf): Call it to save user input.
	(lyskom-read-conf-guess-initial): Support arguments to strategy
	functions.
	(lyskom-default-conference-saved): New function.

780
781
2003-08-17  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
782
783
784
785
786
	Fix bug 1044:
	* lyskom-buttons.el (lyskom-view-url-windows): Protect execution
	of w32-shell-execute from errors (e.g. caused by bad settings).
	(lyskom-view-url-windows): Added a bunch of paths to iexplore.exe.

787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
	Support UTC time in the server:
	* startup.el (lyskom): Select UTC time format if the server
	supports it.

	* utilities.el (lyskom-set-connection-format): New function.

	* parse.el (lyskom-parse-time): Use lyskom-create-time-from-utc.
	Convert day-of-year to starting from one.
	(lyskom-init-parse): Add the parse buffer as a child of the main
	buffer so UTC setting is propagated to it.

	* komtypes.el (lyskom-create-time-from-utc): Simplified. It seems
	that the right thing to do is pass zero in TZ to encode-time. This
	should speed things up slightly in normal cases. Handle case when
	server does not use UTC.

	* services.el: (initiate-get-last-text): Commented out since we
	can't convert local time to UTC, which this function requires.

806
807
808
809
810
811
812
813
	Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat:
	* startup.el (kom-start-anew): Don't allow EMPTY when logging on.

	* filter.el (kom-filter-subject): Don't use /=. Use not eq
	instead.
	(kom-filter-author): Same here.
	(kom-filter-text): Same here.

814
	* commands2.el (kom-create-aux-item): Set MUSTMATCH when reading
815
816
817
818
819
820
821
822
823
824
825
826
827
828
	conference name.

	* vars.el.in (lyskom-default-conference-strategy): Default for
	kom-set-permitted-submitters new-permitted-submitters-q is empty.

	* commands1.el (kom-change-presentation): Don't allow EMPTY when
	reading conf name (it means the same as the default initial
	value).
	(kom-change-conf-motd): Same here.
	(kom-set-presentation): Same here.
	(kom-set-motd-text): Same here.
	(kom-remove-presentation): Same here.
	(kom-change-password): Same here.

829
830
831
832
	* macros.el (lyskom-with-external-functions): Work even if
	byte-compile-unresolved-functions is not bound (e.g. in
	check-strings.el and when not compiled).

833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
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
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
	Make initial value for reading confs more configurable:
	* filter.el (kom-filter-author): Simplified. Initial values are
	now computed in completing-read.el, not here.

	* completing-read.el (lyskom-read-conf-guess-initial): Added
	PROMPT parameter.
	(lyskom-get-initial-conf-strategy): Added PROMPT parameter.
	Operate on new format. Combine prompt-specific, command-specific
	and default configuration.

	* vars.el.in (lyskom-default-conference-strategy): New format.
	Removed lyskom-default-conference-self as default.

	* completing-read.el (lyskom-default-conference-last-author): New
	function. 

	Pass symbols or lists to lyskom-read-conf-stat and friends:
	* startup.el (kom-start-anew): Pass symbol as prompt to
	lyskom-read-conf-stat.

	* review.el (lyskom-review-by-to): Pass symbol as prompt to
	lyskom-read-conf-stat.
	(lyskom-unread-by-to): Same.

	* filter.el (kom-filter-subject): Pass symbol as prompt to
	lyskom-read-conf-stat.
	(kom-filter-author): Same.
	(kom-filter-text): Same.

	* faqs.el (kom-change-conf-faq): Pass symbol as prompt to
	lyskom-read-conf-stat.
	(kom-list-faqs): Same.

	* edit-text.el (kom-edit-add-recipient): Pass symbol as prompt to
	lyskom-read-conf-stat.
	(kom-edit-add-bcc): Same.
	(kom-edit-add-copy): Same.
	(kom-edit-move-text): Same.

	* completing-read.el (lyskom-read-conf): Support list as prompt.

	* commands2.el (kom-status-conf): Pass symbol as prompt to
	lyskom-read-conf-stat.
	(kom-status-person): Same.
	(kom-set-garb-nice): Same.
	(kom-set-permitted-submitters): Same.
	(kom-set-super-conf): Same.
	(kom-set-personal-label): Same.
	(kom-is-person-member-of-conference): Same.
	(kom-will-person-read-text): Same.

	* commands1.el (kom-delete-conf): Pass symbol as prompt to
	lyskom-read-conf-stat.
	(kom-review-presentation): Same.
	(kom-unread-presentation): Same.
	(kom-add-member): Same.
	(kom-add-self): Same.
	(kom-change-priority): Same.
	(kom-sub-member): Same.
	(kom-sub-self): Same.
	(kom-change-presentation): Same.
	(kom-change-conf-motd): Same.
	(kom-set-presentation): Same.
	(kom-set-motd-text): Same.
	(kom-remove-presentation): Same.
	(kom-unset-conf-motd): Same.
	(kom-go-to-conf): Same.
	(lyskom-write-text): Same.
	(kom-change-name): Same.
	(kom-change-parenthesis): Same. Also moved initial to vars.el.in.
	(kom-change-supervisor): Same.
	(kom-change-password): Same.
	(kom-who-is-on-in-conference): Same.
	(kom-who-is-present-in-conference): Same.
	(lyskom-add-helper): Same.
	(kom-sub-recipient): Same.
	(lyskom-read-cross-reference-and-get-aux-item): Same. Also cleanup.
	(lyskom-read-link): Same.

912
913
2003-08-16  David Byers  <byers@lysator.liu.se>

914
915
916
917
918
	Work on supporting UTC timestamps from the server:
	* komtypes.el (lyskom-create-time-from-utc): New function.

	* utilities.el (lyskom-days-in-year): New function.

David Byers's avatar
David Byers committed
919
920
921
922
923
924
925
926
927
	Support for new server calls:
	* parse.el (lyskom-parse-scheduling-info): New function.

	* komtypes.el (scheduling-info): New datatype.

	* services.el (initiate-get-scheduling): New function.
	(initiate-set-scheduling): New function.
	(initiate-set-connection-time-format): New function.

928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
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
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
	Handle async-text-aux-changed:
	* async.el (lyskom-parse-async): Handle async-text-aux-changed.

	* aux-items.el (lyskom-aux-item-modify-list): New function.

	* komtypes.el (text-stat): Make aux-items field read-write.

	Major cleanup of compatibility code:
	* compatibility.el: Cleaned up compatibility code a lot. We no
	longer provide fake versions of MULE-related functions or any
	other function that other code might take to mean there's some
	major feature in Emacs. The only definitions we make in the
	standard namespace are "safe" functions. Removed functions that
	are not used. Simplified some of the macros. Moved code here from
	utilities.el.
	(lyskom-gnu-keysym,lyskom-xemacs-keysym): Removed swedish chars
	from the lists since we don't use lyskom-keys for that any more.

	* commands2.el (kom-diff-texts): split-string to
	lyskom-split-string.

	* compatibility.el (coding-system-type): New compatibility def.
	(coding-system-property): New compatibility def.
	(split-string): Provide compatibility definition for split-string.

	* lyskom-rest.el (lyskom-unity-text): Use compatibility functions
	for MULE stuff.

	* macros.el (lyskom-end-of-compilation): Don't remove
	compatibility definitions from the list of warnings for unresolved
	functions since this serves no purpose and hides actual errors.

	* lyskom-rest.el (lyskom-unity-text): coding-system-type to
	lyskom-coding-system-type.

	* option-edit.el (lyskom-widget-click): event-point to
	lyskom-event-point.

	* slow.el (kom-slow-click-or-yank): event-closest-point to
	lyskom-event-closest-point.

	* utilities.el (lyskom-unicase-char): char-to-int to
	lyskom-char-to-int.

	* lyskom-rest.el (lyskom-fill-message-initial-wrap): char-to-int
	to lyskom-char-to-int.
	(lyskom-fill-message): Same here.
	(lyskom-is-loaded): Same here.

	* faces.el (lyskom-setup-faces-for-buffer): frame-property to
	lyskom-frame-property.

	* review.el (lyskom-get-texts-by-and-to): mapcar2 to
	lyskom-mapcar2.

	* lyskom-rest.el (lyskom-split-user-area): mapcar2 to
	lyskom-mapcar2.

	* feature.el (lyskom-list-features): mapcar2 to lyskom-mapcar2.

	* slow.el (lyskom-expand-slow-command): char-before to
	lyskom-char-before.

	* option-edit.el (lyskom-widget-click): event-point to
	lyskom-event-point.

	* lyskom-buttons.el (kom-button-click): event-point to
	lyskom-event-point. event-glyph to lyskom-event-glyph.
	(kom-popup-menu): Same here.

	* mship-edit.el (lp--entry-set-background): find-face to
	lyskom-find-face.
	(lp--entry-set-foreground): Same here.

	* lyskom-rest.el (lyskom-face-default-p): find-face to
	lyskom-find-face.

	* aux-items.el (lyskom-maybe-add-face-to-string): find-face to
	lyskom-find-face.

	* mship-edit.el (lp--format-entry): lyskom-face-background-name to
	lyskom-face-background. lyskom-face-foreground-name to
	lyskom-face-foreground.
	(lp--redraw-entry-mark): Same here.

	* lyskom-rest.el (lyskom-verified-read-enter): minibuffer-message
	to lyskom-minibuffer-message.

	* command.el (lyskom-command-complete-word): minibuffer-message to
	lyskom-minibuffer-message.

	* utilities.el (lyskom-maybe-recode-string): multibyte-string-p to
	lyskom-multibyte-string-p.
	(lyskom-string=): multibyte-string-p to
	lyskom-multibyte-string-p.

	* compatibility.el (lyskom-string-width): multibyte-string-p to
	lyskom-multibyte-string-p.

	* buffers.el (lyskom-recode-buffer-name): multibyte-string-p to
	lyskom-multibyte-string-p.

	* compatibility.el (lyskom-string-width): string-make-unibyte to
	lyskom-string-make-unibyte. string-make-multibyte to
	lyskom-string-make-multibyte.

	* lyskom-rest.el (lyskom-filter): string-as-unibyte to
	lyskom-string-as-unibyte.
	(lyskom-prot-a-format-string): Same here.
	(lyskom-prot-a-format-raw-string): Same here.

	* mime.el (lyskom-mime-string-charset): find-charset-string to
	lyskom-find-charset-string.

	* utilities.el (lyskom-truncate-string-to-width): char-width to
	lyskom-char-width.

	* view-text.el (lyskom-format-text-footer): string-width to
	lyskom-string-width.

	* completing-read.el (lyskom-read-session-resolve-ambiguity):
	string-width to lyskom-string-width.

	* utilities.el (lyskom-check-configuration): coding-system-get to
	lyskom-coding-system-get.

	* mime.el (lyskom-mime-string-charset):
	find-coding-systems-for-charsets to
	lyskom-find-coding-systems-for-charsets
	(lyskom-mime-string-charset): coding-system-get to
	lyskom-coding-system-get.

	* parse.el (lyskom-parse-coded-string): check-coding-system to
	lyskom-check-coding-system.

	* mime.el (lyskom-mime-charset-coding-system): check-coding-system
	to lyskom-check-coding-system.

	* lyskom-rest.el (lyskom-prot-a-format-string): string-bytes to
	lyskom-string-bytes.
	(lyskom-prot-a-format-raw-string): string-bytes to
	lyskom-string-bytes.

	* flags.el (lyskom-save-options): string-bytes to
	lyskom-string-bytes.

	* utilities.el (lyskom-compute-char-classes): decode-coding-string
	to lyskom-decode-coding-string.
	(lyskom-string=): decode-coding-string to
	lyskom-decode-coding-string.

	* parse.el (lyskom-parse-coded-string): decode-coding-string to
	lyskom-decode-coding-string.

	* mime.el (lyskom-mime-decode-string): decode-coding-string to
	lyskom-decode-coding-string.

	* parse.el (lyskom-parse-string): decode-coding-string to
	lyskom-decode-coding-string.

	* flags.el (lyskom-read-options-eval-get-holerith):
	decode-coding-string to lyskom-decode-coding-string.
	(lyskom-get-holerith): decode-coding-string to
	lyskom-decode-coding-string.

	* compatibility.el (lyskom-buggy-decode-coding-string):
	decode-coding-string to lyskom-decode-coding-string.

	* buffers.el (lyskom-recode-buffer-name): decode-coding-string to
	lyskom-decode-coding-string.

	* aux-items.el (lyskom-aux-item-decode-data): decode-coding-string
	to lyskom-decode-coding-string.

	* compatibility.el (lyskom-buggy-encode-coding-string):
	encoded-coding-string to lyskom-encode-coding-string.

	* utilities.el (lyskom-maybe-recode-string): encode-coding-string
	to lyskom-encode-coding-string.
	(lyskom-unicase): encode-coding-string to
	lyskom-encode-coding-string.

	* mime.el (lyskom-mime-encode-string): encode-coding-string to
	lyskom-encode-coding-string.

	* lyskom-rest.el (lyskom-prot-a-format-string):
	encode-coding-string to lyskom-encode-coding-string.

	* language.el (lyskom-get-menu-string): encode-coding-string to
	lyskom-encode-coding-string.

	* keyboard-menu.el (lyskom-keyboard-menu-keys-for-string):
	encode-coding-string to lyskom-encode-coding-string.

	* flags.el (lyskom-save-options): encode-coding-string to
	lyskom-encode-coding-string.

	* buffers.el (lyskom-recode-buffer-name): encode-coding-string to
	lyskom-encode-coding-string.

	* aux-items.el (lyskom-aux-item-encode-data): encode-coding-string
	to lyskom-encode-coding-string.

	* startup.el (lyskom): set-process-coding-system to
	lyskom-set-process-coding-system.

	* parse.el (lyskom-init-parse): set-buffer-multibyte to
	lyskom-set-buffer-multibyte.

	* mship-edit.el (lp--maybe-update-unreads): Use
	lyskom-next-property-bounds, not next-text-property-bounds.

	* lyskom-rest.el (lyskom-do-special-inserts): Use
	lyskom-next-property-bounds, not next-text-property-bounds.

	* view-mode.el (lyskom-view-base-mode): set-keymap-parent to
	lyskom-set-keymap-parent.

	* language.el (lyskom-set-language-keymaps): set-keymap-parent to
	lyskom-set-keymap-parent.

	* completing-read.el (lyskom-minibuffer-local-must-match-map):
	set-keymap-parent to lyskom-set-keymap-parent.

	* command.el (lyskom-command-minibuffer-local-must-match-map):
	set-keymap-parent to lyskom-set-keymap-parent.

	* commands2.el (lyskom-help-get-keylist): map-keymap to
	lyskom-map-keymap. Removed other branches since map-keymap is
	always defined now.

	* mship-edit.el (lp--calculate-distance): signum to lyskom-signum.

	* commands1.el (lyskom-window-width): frame-width to
	lyskom-frame-width.

	* lyskom-rest.el (lyskom-format-aux-help): int-to-char to
	lyskom-int-to-char.

	* commands2.el (lyskom-help): characterp to lyskom-characterp

	* keyboard-menu.el (lyskom-read-from-menu): characterp to
	lyskom-characterp.

	* lyskom-rest.el (lyskom-format-aux-help): characterp to
	lyskom-characterp.

	* regexp.el (lyskom-re-convert-finalize-result): characterp to
	lyskom-characterp.
	(lyskom-re-convert-finalize-result): Same here.

	* mime.el (lyskom-mime-string-charset): Use :mime-charset next to
	mime-charset (Gnus does this ans says it is the Emacs 22 way).

1182
1183
2003-08-15  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
	* view-text.el (lyskom-get-text-belongs-to): New function.

	Fix bug 301:
	* commands1.el (kom-move-text): Move attachments and footnotes
	together with the text.
	(kom-sub-recipient): Remove recipient from attachments and
	footnotes too.
	(lyskom-add-helper): Add recipients to attachments and footnotes
	too.

David Byers's avatar
David Byers committed
1194
1195
1196
1197
1198
	Fix bug 623:
	* commands2.el (kom-set-unread): Delete conf-stat from cache
	before prompting. Fixed error handling.

	Better handling of minibuffer reading:
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
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
	* completing-read.el (lyskom-read-conf): Don't call
	lyskom-with-lyskom-minibuffer since it's integrated in
	lyskom-completing-read now.
	(lyskom-read-session-resolve-ambiguity): Same here.

	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): Don't
	call lyskom-with-lyskom-minibuffer since it's integrated in
	lyskom-read-from-minibuffer now.

	* commands2.el (kom-calculate): Don't call
	lyskom-with-lyskom-minibuffer since it's integrated in
	lyskom-read-from-minibuffer now.
	(kom-set-personal-label): Same here.

	* command.el (lyskom-read-extended-command): Don't use
	lyskom-with-lyskom-minibuffer since it's integrated in
	lyskom-completing-read now.

	* utilities.el (lyskom-completing-read): Moved here from
	compatibility.el and turned into a regular function. Integrate
	lyskom-with-lyskom-minibuffer and lyskom-with-magic-minibuffer.
	(lyskom-read-from-minibuffer): Ditto.

	* commands1.el (kom-sub-self): Undo previous change. The new
	configuration mechanism takes care of things.
	(kom-go-to-conf): Same here.

	Even better defaults for initial conference:
	* compatibility.el (lyskom-completing-read): Use defsubst in Gnu
	Emacs so we can advise it.

	* vars.el.in (lyskom-default-conference-strategy): New variable.

	Rewrote magic minibuffer handling:
	* utilities.el (lyskom-magic-minibuffer-pre-command): New
	function.
	(lyskom-magic-minibuffer-before-change): New function.
	(lyskom-magic-minibuffer-post-command): New function.
	(lyskom-magic-minibuffer-cancel): New function.
	(lyskom-magic-minibuffer-mangle-initial): New function.
	(read-from-minibuffer): New advice.
	(completing-read): New advice.
	(lyskom-magic-minibuffer-add-advice): New function.
	(lyskom-magic-minibuffer-cancel-advice): New function.
	(lyskom-with-magic-minibuffer): New macro.

Ulrik Haugen's avatar
Ulrik Haugen committed
1245
1246
2003-08-15  Ulrik Haugen  <qha@lysator.liu.se>

1247
1248
1249
1250
1251
1252
1253
1254
1255
	* english-strings.el (local): Changed "what conference" -> "which
	conference" in conf-to-check-mship-of, conf-to-list-faqs.

	* english-strings.el, swedish-strings.el (local): Renamed
	conf-to-faq -> conf-to-list-faqs.

	* faqs.el (kom-list-faqs): Caller changed.

	Fix for bug 1082.
Ulrik Haugen's avatar
Ulrik Haugen committed
1256
1257
1258
1259
1260

	* faqs.el (kom-list-faqs): Removed hard coded string when asking
	for conference.

	* english-strings.el, swedish-strings.el (local): added
1261
	conf-to-faq.
Ulrik Haugen's avatar
Ulrik Haugen committed
1262

David Byers's avatar
David Byers committed
1263
1264
2003-08-14  David Byers  <byers@lysator.liu.se>

1265
1266
1267
1268
	* completing-read.el (lyskom-read-conf): Cancel magic in
	minibuffer-exit-hook to avoid triggering bugs in Gnu Emacs 20.7
	(and probably all earlier versions).

1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
	Update NEWS file:
	* NEWS-0.48: Updated to here.

	Don't show nil in message area when silently saving settings:
	* flags.el (lyskom-save-options): Support nil message properly.
	(lyskom-save-options-2): Ditto.
	(lyskom-save-options-3): Ditto.

	Suppoert non-interactive use of kom-list-new-conferences etc:
	* vars.el.in (kom-auto-confirm-new-conferences): New variable.

	* commands2.el (lyskom-list-new-conferences): Support
	auto-confirmation.

	* lyskom-rest.el (lyskom-do-format): Better error reoprting
	(report argument number and actual argument).
	(lyskom-format-aux-help): Provide data for error reporting.

	* faqs.el (kom-list-server-faqs): Updated documentation.

	New commands:
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
	* 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.

1305
1306
1307
1308
	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.

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
1347
1348
	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
1349
1350
1351
1352
1353
1354
1355
1356
1357
	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.

1358
1359
2003-08-13  Ulrik Haugen  <qha@lysator.liu.se>

1360
1361
1362
	* vars.el.in (kom-default-language): Updated the variable
	documentation.

1363
1364
1365
	* lyskom-rest.el (lyskom-is-loaded): Handle the case when
	kom-default-language is a list.

1366
1367
2003-08-13  David Byers  <byers@lysator.liu.se>

1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
	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.

1387
1388
1389
1390
1391
	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.
1392
1393
1394
1395
1396
	(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.
1397
1398
1399
1400
1401
1402

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

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

1403
1404
1405
1406
2003-08-05  Per Cederqvist  <ceder@ceder.dyndns.org>

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

1407
1408
1409
1410
1411
1412
1413
2003-08-05  Johan Sundstrm  <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.

1414
1415
1416
1417
1418
2003-08-04  David Byers  <byers@lysator.liu.se>

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

1419
1420
1421
1422
2003-08-04  Johan Sundstrm  <jhs@lysator.liu.se>

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

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

1425
1426
1427
1428
1429
1430
1431
1432
	* 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.

1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
	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
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
	* 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.

1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
	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
1485
 	conference name (the default default is better).
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
	(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.

1520
1521
1522
1523
1524
1525
1526
1527
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.

1528
1529
2003-07-30  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
	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.

1546
1547
1548
1549
1550
1551
	* 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.

1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
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.

1563
	Some more work for kom-handle-membership:
1564
1565
1566
1567
1568
1569
1570
1571
1572
	* 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.
1573
	(lyskom-format-aux-help): Added format directive l.
1574
1575
	(lyskom-format-aux): Support arbitrary pad characters.

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

1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
	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
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
	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
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
	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.

1665
1666
1667
1668
1669
2003-07-23  Per Cederqvist  <ceder@ingate.com>

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

1670
1671
2003-07-21  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
1672
1673
	* NEWS-0.48: Updated to here.

1674
1675
1676
1677
1678
1679
1680
1681
1682
	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
1683
1684
2003-07-20  David Byers  <byers@lysator.liu.se>

1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
	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
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
	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.

1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
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
1796
1797
1798
1799
1800
1801
1802
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.

1803
1804
2003-06-01  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
	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.

1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
	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 Starbck, 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
1838
1839
2003-05-17  David Byers  <byers@lysator.liu.se>

1840
1841
1842
1843
	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
1844
1845
1846
1847
1848
1849
1850
1851
	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
1852
	accepting-recommendation (patch from Per Starbck).
David Byers's avatar
David Byers committed
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863

	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.

1864
1865
1866
1867
1868
1869
1870
1871
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.

1872
1873
2003-05-04  David Byers  <byers@lysator.liu.se>

David Byers's avatar
David Byers committed
1874
1875
1876
	Fix bug 1024:
	* names.el (fi-orthodox): More fixes.

1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
	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

1888
1889
2003-04-26  Ulrik Haugen  <qha@lysator.liu.se>

1890
1891
	My previous attempt to fix bug 1022 was incomplete, trying to
	repair it I realised how it should be done.
1892
1893
1894
1895
1896
1897
1898
1899
1900

	* 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.

1901
1902
1903
1904
1905
1906
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.

1907
	Fix bug 1022:
1908
1909
1910
1911
1912
	* 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).

1913
1914
1915
1916
1917
2003-04-25  David Byers  <byers@lysator.liu.se>

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

1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
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
1937
1938
2003-04-20  David Byers  <byers@lysator.liu.se>

1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
	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
1956
1957
1958
1959
1960
	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
1961
1962
1963
1964
1965
1966
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.  

1967
1968
1969
1970
1971
1972
1973
1974
1975
2003-04-07  Johan Sundstrm  <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.

1976
2003-04-06  David Byers  <byers@lysator.liu.se>
1977

David Byers's avatar
David Byers committed
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
	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.

1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
	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.
2026
2027

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

2029
2030
2031
2032
2033
	* 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
2034
2035
2036
2037
2038
2039
	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
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
	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
2051
2052
2053
	Fix bug 742:
	* commands2.el (kom-will-person-read-text): New command.

David Byers's avatar
David Byers committed
2054
2055
2056
2057
2058
2059
2060
	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
2061
2062
2063
2064
	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
2065
2066
2067
2068
2069
	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
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
	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.

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

2086
2087
2088
2089
	Fix bug 815:
	* commands2.el (lyskom-send-message): Print the correct error code
	on failure.

2090
2091
2092
2093
2094
	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.

2095
2096
2097
2098
	Fix bug 250:
	* lyskom-rest.el (lyskom-check-go-to-conf): Change priority when
	accepting an invitation.

2099
2100
2101
	Fix bug 839:
	* commands1.el (kom-add-self): Don't re-add self.

2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
	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.

2115
2116
2117
2118
	Fix bug 842:
	* commands1.el (kom-add-member-answer): Don't enter memberships
	under the current session priority.

2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
	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.

2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
	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.

2177
2178
2179
2180
2181
2182
2183
2184
	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.

2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
	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.

2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
	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
2223
2224
2225
	* review.el (kom-unread-all): New command.
	(kom-unread-first): New command

2226
2003-03-15  David Byers  <byers@lysator.liu.se>
2227
2228

	Work on bug 984:
David Byers's avatar
David Byers committed
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
	* 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.

2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
	* 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.

2260
2003-03-13  David Byers  <byers@lysator.liu.se>
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293

	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.

2294
2003-03-11  David Byers  <byers@lysator.liu.se>
2295
2296
2297

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

2298
2003-02-09  David Byers  <byers@lysator.liu.se>
2299
2300
2301
2302
2303
2304
2305
2306

	* 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>

2307
2308
2309
2310
	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.

2311
2312
2313
2314
2315
2316
2003-03-04  Johan Sundstrm  <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.)

2317
2318
2319
2320
2321
2322
2323
2324
2003-03-03  Johan Sundstrm  <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.

2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
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.

2339
2340
2341
2342
2343
2344
2345
2346
2347
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
2348
2349
2350
2351
2003-02-05  Hans Persson  <hans@localhost.localdomain>

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

2352
2003-01-15  David Byers  <byers@lysator.liu.se>
2353

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

2356
2357
2358
2359
2360
2361
2362
	* 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.

2363
2003-01-14  David Byers  <byers@lysator.liu.se>
2364
2365
2366
2367

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

2368
2003-01-13  David Byers  <byers@lysator.liu.se>
2369
2370
2371
2372

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

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

2375
2376
2377
2378
	* 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
2379
	* vars.el.in: More documentation updates.
2380
2381
2382
	(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
2383
2384
2385
2386

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

2387
2003-01-11  David Byers  <byers@lysator.liu.se>
David Byers's avatar
David Byers committed
2388
2389
2390
2391

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

2392
2003-01-09  David Byers  <byers@lysator.liu.se>
2393

2394
2395
	* vars.el.in: Started working on variable documentation.

2396
2397
2398
2399
2400
2401
2402
	* 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.

2403
2003-01-08  David Byers  <byers@lysator.liu.se>
2404
2405
2406
2407
2408
2409
2410
2411
2412

	* 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.

2413
	* faqs.el: Fixed some invalid vxariable references in the new
2414
2415
	docstrings.

David Byers's avatar
David Byers committed
2416
2417
2418
2419
2420
2003-01-08  David Byers  <davby@ida.liu.se>

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

2421
2003-01-08  David Byers  <byers@lysator.liu.se>
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440

	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.

2441
2442
2443
2444
2445
2446
2003-01-08  Ulrik Haugen  <qha@lysator.liu.se>