ChangeLog 229 KB
Newer Older
David Byers's avatar
David Byers committed
1
2
2002-09-11  David Byers  <david.byers@swipnet.se>

3
4
5
6
7
8
	* vars.el.in (kom-old-farts-text-prompt-strategy): Renamed from
	lyskom-old-farts-text-prompt-strategy. This is the name that
	appears in the documentation.
	(lyskom-face-schemes): Bakgrunden fr meddelanden ndrad till
	grna toner. Det passar bttre ihop med det bl.

David Byers's avatar
David Byers committed
9
10
11
12
13
14
15
16
17
18
19
	Speculative fix for bug 738:
	* utilities.el (lyskom-recode-string-for-title): Recode string in
	win32. This should fix the problem.

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

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

20
21
22
23
24
2002-09-10  David Byers  <david.byers@swipnet.se>

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

Joel Rosdahl's avatar
Joel Rosdahl committed
25
26
27
28
29
2002-09-10  Joel Rosdahl  <joel@rosdahl.net>

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

David Byers's avatar
David Byers committed
30
31
32
33
34
35
36
37
38
39
40
41
42
2002-09-08  David Byers  <david.byers@swipnet.se>

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

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

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

David Byers's avatar
David Byers committed
43
44
45
46
2002-09-08  David Byers  <davby@metzengerstein.dyndns.org>

	* Released 0.47

David Byers's avatar
David Byers committed
47
48
49
50
51
52
53
54
55
56
57
58
59
60
2002-09-07  David Byers  <david.byers@swipnet.se>

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

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

2002-08-18  David Byers  <david.byers@swipnet.se>

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

61
62
63
64
65
66
67
68
69
2002-09-07  Per Cederqvist  <ceder@ceder.dyndns.org>

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

Hans Persson's avatar
Hans Persson committed
70
71
72
73
2002-08-28  Hans Persson  <hans@localhost.localdomain>

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

74
75
76
77
78
79
2002-08-15  Ulrik Haugen  <qha@lysator.liu.se>

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

80
81
82
83
84
2002-08-13  David Byers  <david.byers@swipnet.se>

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

85
86
87
88
89
90
91
2002-08-12  David Byers  <david.byers@swipnet.se>

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

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

92
93
94
95
96
97
98
99
100
101
102
103
2002-08-09  David Byers  <david.byers@swipnet.se>

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

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

104
105
106
107
108
109
2002-08-08  Per Cederqvist  <ceder@ceder.dyndns.org>

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

David Byers's avatar
Bug 695  
David Byers committed
110
111
2002-08-06  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
	String "Olsta" in frame title was truncated in Emacs 21:
	* lyskom-rest.el (lyskom-make-lyskom-unread-title-format): Use
	lyskom-recode-string-for-title.

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

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

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

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

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

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

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

144
145
146
147
2002-08-05  David Byers  <davby@metzengerstein.dyndns.org>

	* Release of 0.47-BETA-4

148
149
150
151
152
153
154
155
156
157
2002-08-05  David Byers  <david.byers@swipnet.se>

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

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

David Byers's avatar
David Byers committed
158
159
160
161
162
163
164
165
166
167
2002-08-01  David Byers  <david.byers@swipnet.se>

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

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

David Byers's avatar
David Byers committed
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
2002-07-30  David Byers  <david.byers@swipnet.se>

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

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

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

183
184
185
186
2002-07-30  Per Cederqvist  <ceder@ceder.dyndns.org>

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

188
189
190
	* utilities.el (lyskom-read-text-no-prefix-arg): Don't use caar or
	cdar.

David Byers's avatar
David Byers committed
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
2002-07-29  David Byers  <david.byers@swipnet.se>

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

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

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

2002-07-26  David Byers  <david.byers@swipnet.se>

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

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

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

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

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

224
225
226
227
2002-07-24  David Byers  <david.byers@swipnet.se>

	* Release of 0.46-BETA-3

228
229
230
231
232
2002-07-24  David Byers  <david.byers@swipnet.se>

	* doc/NEWS-0.47: Updated to here for imminent release of
	0.42-BETA-3.

Johan Sundström's avatar
Johan Sundström committed
233
234
235
236
2002-07-24  Johan Sundstrm  <jhs@lysator.ida.liu.se>

	* utilities.el (lyskom-minusp): Very significant bugfix. :)

237
238
239
240
2002-07-24  Johan Sundstrm  <jhs@lysator.liu.se>

	* lyskom-rest.el (lyskom-limited-make-overlay): XEmacs compat fix.

David Byers's avatar
David Byers committed
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
2002-07-23  David Byers  <david.byers@swipnet.se>

	* lyskom-rest.el (lyskom-limited-make-overlay): New function
	limits the number of overlays created.
	(lyskom-special-insert-overlay): Use it.
	(lyskom-format-insert-overlays): Use it.

	* vars.el.in (kom-max-overlays): New variable.
	(lyskom-overlay-pool): New variable.

2002-07-22  David Byers  <david.byers@swipnet.se>

	* mime.el (lyskom-mime-string-charset): Smarter selection of
	coding system for Gnu Emacs. We still use our list whenever
	possible, but if we can't find a coding system, we fall back on
	Emacs' list of coding systems. Not done for XEmacs (yet).

	* utilities.el (lyskom-read-text-no-prefix-arg): Prompt only after
	computing a suitable default. That way we get a default value in
	the prompt (which is a good thing).

2002-07-21  David Byers  <david.byers@swipnet.se>

	* edit-text.el (lyskom-edit-send-check-recipients): Support
	recipient type in send-comments-to.

2002-07-20  David Byers  <david.byers@swipnet.se>

	* english-strings.el,swedish-strings.el: Add "Mozilla" in all
	places where we say "Netscape".

	* vars.el.in (kom-netscape-command): Clarify that mozilla and
	netscape use the same settings.
	(kom-url-managers): Say "Mozilla" in netscape manager.

2002-07-18  David Byers  <david.byers@swipnet.se>

	* tree-edit.el (tree-edit-compute-prefix): Made nonrecursive.
	(tree-edit-compute-prefix-internal): Removed.
	(tree-edit-adjust-markers): Made nonrecursive.
	(tree-edit-draw): Made nonrecursive.

	* vars.el.in (lyskom-text-buttons): Eliminate brackets and semis
	at end of URLs.

	* utilities.el (lyskom-pick-text-no-strategy-alist): Correct
	strategy for kom-private-answer-previous.

2002-06-30  David Byers  <david.byers@swipnet.se>

	Temporary fix:
	* commands1.el (lyskom-list-pers-print): Allocate five characters
	for person numbers.
	(lyskom-list-created-conferences-2): Same.
	(kom-list-re): Same.

297
298
299
300
301
302
2002-07-16  Johan Sundstrm  <jhs@lysator.liu.se>

	* lyskom-rest.el (kom-go-to-next-conf): Treat prefix arguments as
	kom-list-news does, giving upper/lower bounds for the number of
	unread messages you want in the conference you go to.

303
304
305
306
307
308
2002-07-15  Per Cederqvist  <ceder@ingate.com>

	* utilities.el (lyskom-evaluate-text-no-strategy): first, second
	and cddr are not portable to Emacs 19 without using cl.el.  Use
	car and cdr instead.

Johan Sundström's avatar
Johan Sundström committed
309
310
311
312
313
314
315
316
2002-07-13  Johan Sundstrm  <jhs@lysator.liu.se>

	* utilities.el (lyskom-pick-text-no-strategy-alist): Behave as it
	used to; comment the last but one seen text when no prefix
	argument was given. Fixes bug 625.

	(lyskom-get-previous-text): New support function.

Johan Sundström's avatar
Johan Sundström committed
317
318
319
320
2002-07-13  Johan Sundstrm  <jhs@lysator.liu.se>

	* lyskom-rest.el (kom-view): Hopefully my last plusp sin.

321
322
323
324
325
326
327
328
329
330
2002-07-13  Johan Sundstrm  <jhs@lysator.liu.se>

	* utilities.el (lyskom-read-text-no-prefix-arg): Replaced bad code
	that tried and failed to catch errors in strategy predicates. 
	Replaced cl plusp and minusp calls with lyskom client calls that
	don't bail out on any valid prefix argument.

	(lyskom-plusp): New function.
	(lyskom-minusp): New function.

331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
2002-07-11  Johan Sundstrm  <jhs@lysator.liu.se>

	* lyskom-rest.el (kom-view): Dropped the call to
	`lyskom-read-text-no-prefix-arg' when invoked from button actions
	or when a text-no was otherwise already provided for the call. It
	is not safe to rely on how prefix arguments are interpreted by
	that function any more since that is fully user configurable now.

	* utilities.el (lyskom-read-text-no-prefix-arg): Rewritten to get
	configurable behaviour via `lyskom-pick-text-no-strategy-alist'.
	Also added new optional argument CONSTRAINT, for providing helpful
	pointers about what kind of text certain commands need. DEFAULT is
	now also legal when supplied as a function returning a text-no.

	(lyskom-pick-text-no-strategy-alist): New variable for declaring
	how lyskom-read-text-no-prefix-arg should treat prefix args, using
	the new functions below. The default strategy picks the text under
	point when no arg was given, prompts for a text-no when 0 is given,
	takes the text N items above / below point for +/- args and the text
	N ancestry levels up the comment tree for N successive C-u:s.

	(lyskom-get-explicit-text): New function.
	(lyskom-get-command-specified-default-text): New function.
	(lyskom-get-last-read-text): New function.
	(lyskom-get-text-at-point): New function.
	(lyskom-get-text-at-point-ancestor): New function.
	(lyskom-prompt-for-text-no): New function.
	(lyskom-get-last-text-written-by-me): New function.
	(lyskom-get-last-written-or-read-by-me): New function.
	(lyskom-get-text-above-point): New function.
	(lyskom-get-text-below-point): New function.

	(lyskom-old-farts-text-prompt-strategy): New constant to set your
	`lyskom-pick-text-no-strategy-alist' to to get the 0.46 strategy.

	(lyskom-join-lists): New utility function.
	(lyskom-get-ancestors-of-text): New function.

	* swedish-strings.el, english-strings.el: prefix-arg-try-again
	string added for showing some CONSTRAINT help. Also added strings
	no-text-at-point and what-ancestor for the new function
	lyskom-get-text-at-point-ancestor.

374
375
376
377
378
2002-07-01  David Kgedal  <david@lysator.liu.se>

	* compatibility.el (lyskom-color-values): Negated the condition
	under which this is defined.

David Byers's avatar
David Byers committed
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
2002-06-29  David Byers  <david.byers@swipnet.se>

	* compatibility.el: Added declarations to avoid warnings about
	set-specifier, make-specifier and color-rgb-components.

	Eliminate warnings because of use of latin-unity:
	* lyskom-rest.el (lyskom-format-text-body): Moved try-require
	outside this function so it gets run when we load LysKOM. This
	avoids a performance hit when the package is unavailable.
	(latin-unity-remap-region): New declaration to avoid compiler
	warnings.
	(latin-unity-preferred-coding-system-list): New declaration.
	(latin-unity-iso-8859-1-aliases): New declaration.
	(latin-unity-cset-codesys-alist): New declaration.
	(coding-system-property): New declaration.

	Improve keyboard menus:
	* keyboard-menu.el (lyskom-read-from-menu): Break out the code
	that draws the menu to...
	(lyskom-keyboard-menu-insert): New function. Format menus in as
	many columns as possible.
	(lyskom-keyboard-menu-format-item): New function to format a
	single item.
	(lyskom-read-from-menu): C-f and C-b do forward and backward. C-p
	and C-n do up and down (not next and previous item). This means
	navigation in the buffer is conventional. Added C-a and C-e.
	(lyskom-keyboard-menu-up): Rewrote.
	(lyskom-keyboard-menu-down): Rewrote.
	(lyskom-keyboard-menu-forward): New command.
	(lyskom-keyboard-menu-backward): New command.
	(lyskom-keyboard-menu-beginning-of-line): New command.
	(lyskom-keyboard-menu-end-of-line): New command.

2002-06-28  David Byers  <david.byers@swipnet.se>

	* keyboard-menu.el (lyskom-read-from-menu): Compute height of menu
	window based on the contents and not the table. Display the menu
	successfully even if there is no room to split the window. 
	(lyskom-keyboard-menu-highlight-selected): Recenter the menu
	window if point is not visible.

Ulrik Haugen's avatar
Ulrik Haugen committed
420
421
422
423
424
425
426
427
428
2002-06-28  Ulrik Haugen  <qha@lysator.liu.se>

        * doc/NEWS-0.47: Updated to this point in ChangeLog in preparation
	for release of 0.47-BETA-3 some time soon.

	* lyskom-rest.el (lyskom-format-text-body): add text-properties
	for unification if latin-unity is available.
	(lyskom-unity-text): new function.

429
430
431
432
433
434
435
436
437
438
439
2002-06-26  David Byers  <david.byers@swipnet.se>

	* keyboard-menu.el: New file.
	(lyskom-read-from-menu): Main function.

	* vars.el.in (kom-keyboard-menu-immediate-selection): New
	variable.

	* lyskom-buttons.el (lyskom-keyboard-menu): Use
	lyskom-read-from-menu.

440
441
442
443
444
445
446
447
448
449
450
2002-06-23  David Byers  <david.byers@swipnet.se>

	Try to fix bug 429 (sort of):
	* command.el (lyskom-command-minibuffer-local-completion-map): New
	variable.
	(lyskom-command-minibuffer-local-must-match-map): New variable.
	(lyskom-read-extended-command): Use new minibuffer maps when
	reading command names. Do completion using
	lyskom-complete-command.
	(lyskom-ok-command): Support vectors from
	lyskom-read-extended-command as inputs.
451
452
453
	(lyskom-command-minibuffer-local-completion-map): Wired in
	lyskom-complete-command-word.
	(lyskom-command-minibuffer-local-must-match-map): Same here.
454

David Byers's avatar
David Byers committed
455
456
2002-06-22  David Byers  <david.byers@swipnet.se>

Ulrik Haugen's avatar
Ulrik Haugen committed
457
458
        * doc/NEWS-0.47: Updated to this point in ChangeLog in preparation
	for release of 0.47-BETA-3 some time soon.
459

David Byers's avatar
David Byers committed
460
461
462
463
464
465
466
467
468
469
470
471
472
473
	* startup.el (lyskom): Renamed all proxy-* variables to
	www-proxy-*. Changed open-network-stream to
	lyskom-open-network-stream in order to support ssh proxies.
	(lyskom-open-network-stream): New function.
	(lyskom-setup-ssh-proxy): New function.
	(lyskom): Use lyskom-open-network-stream to open network
	connections.

2002-06-14  David Byers  <david.byers@swipnet.se>

	* review.el (kom-toggle-mark-as-read-prefix): New function toggles
	state of kom-review-marks-as-read and then runs one single command
	with the state toggled.

474
475
2002-06-21  Joel Rosdahl  <joel@lysator.liu.se>

476
477
478
	* swedish-strings.el, english-strings.el: kom-change-language no
	longer changes language in all sessions; fixed command name.

479
480
481
	* english-strings.el: Corrected command name in
	ignored-user-area-var.

482
483
484
485
486
2002-06-19  Per Cederqvist  <ceder@ceder.dyndns.org>

	* swedish-strings.el (lyskom-message): Removed a spurious % in
	conf-has-no-faq.

487
488
489
490
491
2002-06-14  Per Cederqvist  <ceder@ingate.com>

	* Makefile (vars.el): Shorten the version string for the CVS
	versions.

492
493
494
495
496
497
498
499
500
2002-06-14  Ulrik Haugen  <qha@lysator.liu.se>

	* distribution-Makefile.in (LANGUAGE-EL): Include the compiled
	help-files in "lyskom.el".

	* Makefile (EXTRA-SRCVERBATIM): Distribute the help-xml-files and
	help-compile in the source packages as they don't include a
	"lyskom.el".

David Byers's avatar
David Byers committed
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
2002-06-13  David Byers  <david.byers@swipnet.se>

	Hopefully did the right thing to Debian packages wrt bug 575:
	* debian/rules: Removed references to help-compile.el and the help
	files since they are now included in lyskom.el.

	* debian/emacsen-common-install: Same here.

	Fix bug 575:
	* help-sv.xml, help-en.xml: Renamed to swedish-help.xml and
	english-help.xml to facilitate language selection when building
	lyskom.el.

	* Makefile: Removed help-compile.el from all old targets.
	(EXTRA-SRCVERBATIM): Removed help files and help-compile.el since
	they are now included in lyskom.el.

	* lyskom-rest.el (lyskom-format-aux-help): Moved parens so that
	error handing for %d is correct again.

521
522
523
524
525
2002-06-12  Ulrik Haugen  <qha@lysator.liu.se>

	* Makefile (EXTRA-SRCVERBATIM): name the help files by their
	actual names after renaming.

David Byers's avatar
David Byers committed
526
527
2002-06-12  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
528
529
530
531
532
533
534
535
536
537
	Fix bug 575:
	* Makefile (%-hep.el): New target to convert help XML files to
	elisp files.

	* help-compile.el (lyskom-help-parse-buffer): New function
	extracted from lyskom-help-parse-help-file.
	(lyskom-help-parse-help-file): Use it.
	(lyskom-help-compile-to-el): New function to compile a help XML to
	an elisp file. This is required to fix build issues.

David Byers's avatar
David Byers committed
538
539
540
541
542
543
544
545
546
547
548
549
	Fix bug 573:
	* lyskom-rest.el: (lyskom-format-aux-help): Support formatting
	floating-point numbers since that's what we'll get when the ints
	from the server are too large for Emacs.
	(lyskom-format-html): Look at kom-format-html-authors to decide
	whether to format HTML or not.

	* vars.el.in (kom-format-html-authors): New variable.

	* lyskom-rest.el (lyskom-format-html): Only delete first five
	characters if we're looking at html:

David Byers's avatar
David Byers committed
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
	Fix bug 457:
	* aux-items.el (send-comments-to): Changed into to info.
	(mx-reject-forward): Added text-name property.

	* view-text.el (lyskom-view-text): Print unknown aux-items in
	header, if there are any and we are doing noconversion.

	* macros.el (lyskom-traverse-aux): Put progn around body or we can
	only have one form in the body.

	* view-text.el
	(lyskom-view-text-convert-ISO-646-SE-to-ISO-8859-1): Use it.
	(lyskom-view-text): Use it (two places).
	(lyskom-filter-signature-hook): Use it.
	(lyskom-view-text): When reviewing with noconversion, print
	content-type and similar aux items.

	* utilities.el (lyskom-viewing-noconversion): New function.


2002-06-11  David Byers  <david.byers@swipnet.se>

	* flags.el (lyskom-save-options): Set content-type p user-arean
	till x-kom/user-area (dock utan charset).

	Korrigera felaktig formattering av hjlpen:
	* help.el (lyskom-help-format-p): Gjorde om point-marker till
	point-max-marker s att formatteringen fungerar ven om point inte
	fljer med till slutet av bufferten.
	(lyskom-help-format-text-properties): Dito.

	Fix bug 589:
	* commands1.el (kom-add-bcc): Fixade s att prompten blir rtt:

	* option-edit.el (lyskom-custom-variables): Add no-server-break to
	options for kom-server-priority-breaks. Used to be no-break, which
	is wrong.

David Byers's avatar
David Byers committed
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
2002-06-09  David Byers  <david.byers@swipnet.se>

	Fix bug 583:
	* flags.el (lyskom-read-options-eval): New variable
	lyskom-ignored-user-area-vars.
	(lyskom-maybe-set-var-from-string): Use it. Removed comment from
	one of the validity checks.

	Applied patch from Per Starbck (bug 582):
	* vars.el.in (kom-presence-messages-in-echo-area): Ny variabel.
	Den gamla, kom-presence-messages, finns kvar men anvnds inte.

	* async.el (lyskom-parse-async): Changed kom-presence-messages to
	kom-presence-messages-in-echo-area.
	(lyskom-show-logged-in-person): Same.
	(lyskom-show-logged-out-person): Same.
	(lyskom-show-changed-person): Same.

2002-06-08  David Byers  <david.byers@swipnet.se>

	* mime.el (lyskom-charset-alist): Added iso-8859-15 to
	lyskom-charset-alist. This will eliminate problems where
	iso-8859-15 was encoded as latin-1 and Emacs brain-dead recoding
	would use escape sequences for characters that existed in both
	charsets.

614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
2002-06-07  David Byers  <david.byers@swipnet.se>

	* help-sv.xml: New file, renamed from help.sv.

	* help-en.xml: New file, renamed from help.en.

	* help-compile.el (lyskom-help-compile): Read from help-XX.xml
	instead of help.XX.

	Improve help data:
	* help.en: Set language to "en", not "sv".

	* help.en, help.sv: Put cross references in reading inside a list
	element.

	Fix some problems with help:
	* help.el (lyskom-help-format-section): New.
	(lyskom-help-format-refer): Make cross-references clickable.

2002-06-06  David Byers  <david.byers@swipnet.se>

	Fix some problems with help:
	* help.el (lyskom-help-format-list): Fixed so it works.
	(lyskom-help-format-item): Ditto.
	(lyskom-help-show-section): This used to be
	lyskom-help-format-section.

	* help-compile.el (lyskom-help-parse-string): Support optional
	attributes.
	(lyskom-help-syntax): Added optional attributes.
	(lyskom-help-syntax-required-attrs): New function.
	(lyskom-help-syntax-optional-attrs): New function.
	(lyskom-help-parse-help-file): Added optional attributes to bogus
	toplevel syntax specification.

2002-06-05  David Byers  <david.byers@swipnet.se>

	* flags.el (lyskom-maybe-set-var-from-string): Refuse to set
	variables from the user area that are not specified as
	server-stored LysKOM variables.

655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
2002-06-03  David Byers  <david.byers@swipnet.se>

	* commands2.el (lyskom-send-message): Use new faces for dashed
	lines and message bodies.

	* vars.el.in (kom-async-highlight-dashed-lines): New variable.
	(kom-async-highlight-text-body): New variable.
	(lyskom-face-schemes): Added kom-async-dashed-lines-face and
	kom-async-text-body-face to all schemes.
	(lyskom-faces): Added kom-async-dashed-lines-face and
	kom-async-text-body-face.

	* utilities.el (lyskom-set-face-scheme): Set up faces for async
	messages.

	* distribution-Makefile.in (lyskom-@@CLIENTVERSION@@.elc): Load
	help-compile.el when compiling.

673
674
675
676
677
678
679
680
681
682
2002-06-02  David Byers  <david.byers@swipnet.se>

	* Release of 0.47-BETA-2

2002-05-31  David Byers  <david.byers@swipnet.se>

	Fix bug 235:
	* parse.el (lyskom-parse-unparsed): When an error is signalled
	from a handler, delete the parsed message.

683
684
685
686
687
2002-06-01  Ulrik Haugen  <qha@lysator.liu.se>

	* Makefile (DOCFILES): include NEWS for 0.47 instead of 0.46.
	(EXTRA-SRCVERBATIM): include help-compile.el, help.en, help.sv.

David Byers's avatar
David Byers committed
688
689
2002-05-29  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
690
691
692
693
694
695
696
        * NEWS-0.47: Updated to this point in history in preparation for
	next BETA release.

	* user-hooks.el (kom-list-summary-hook-conf-list): Added * to
	front of docstring.
	(kom-read-last-text-hook-conf-list): Same.

David Byers's avatar
David Byers committed
697
698
699
700
701
702
703
704
	Fix bug 503:
	* commands2.el (kom-apropos): New function.
	(lyskom-apropos-insert): New function.
	(lyskom-apropos-insert-docstring): New function.

	* view-mode.el (lyskom-view-mode-map): Bind = to
	kom-menu-button-press, as in other modes.

705
706
707
708
2002-05-28  David Byers  <david.byers@swipnet.se>

	* help-compile.el (lyskom-help-parse-string): Fixed search for end
	tag so it doesn't cause a stack overflow in the 20.7 regexp
709
	matcher.
710

David Byers's avatar
David Byers committed
711
712
2002-05-27  David Byers  <david.byers@swipnet.se>

713
714
715
716
717
718
719
720
721
722
723
724
	* commands2.el (kom-change-language): Show which language we just
	set.

	Fix bug 491:
	* swedish-strings.el (lyskom-messages): Use downcase in
	language-set-to.

	* lyskom-rest.el (lyskom-format-aux-help): Added support for
	downcasing from the format string.
	(lyskom-format-aux): Same.
	(lyskom-format-format): Added _ as downcase flag.

725
726
727
	* check-strings.el: Added checking of matching sections for all
	languages in new help.

David Byers's avatar
David Byers committed
728
729
730
731
732
733
734
735
736
737
738
739
740
741
	* help.en: New file.

	* vars.el.in: Removed lyskom-help-categories.

	* swedish-strings.el: Removed help strings.

	* commands2.el: Removed old help-related-commands.

	New help system:
	* help.el (lyskom-help-format-h1): Updated newline handling
	(lyskom-help-format-h2): Same
	(lyskom-help-format-h3): Same
	(lyskom-help-format-cref): No newline after reference.

David Byers's avatar
David Byers committed
742
743
2002-05-26  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
744
	New help system:
David Byers's avatar
David Byers committed
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
	* help-compile.el: New file.

	* help.el: New file.

	* help.sv: New file.

	* vars.el.in (lyskom-help-data): New variable.
	(lyskom-maybe-setq-default): Removed eval since eval will be done
	after macro expansion.
	(lyskom-maybe-setq): Same here.

	* swedish-strings.el (sv): Load swedish help strings.

	* Makefile (SOURCES): Added help.el.

	* macros.el (defmacro): New macro (only exists during compile).

David Byers's avatar
David Byers committed
762
763
764
765
766
767
768
769
770
771
772
773
774
2002-05-25  David Byers  <david.byers@swipnet.se>

	Fix bug 528:
	* lyskom-buttons.el (lyskom-button-copy-text-no): New function.

	* vars.el.in (lyskom-button-actions): Added
	lyskom-button-copy-text-no for texts.

	Fix bug 571:
	* utilities.el (lyskom-delete-duplicates): New function.

	* edit-text.el (lyskom-edit-send-check-recipients): Misplaced
	paren caused two loops to be nested when they shouldn't have been.
775
	Use lyskom-delete-duplicates to eliminate duplicate authors.
David Byers's avatar
David Byers committed
776

777
778
779
780
781
782
2002-05-25  Per Cederqvist  <ceder@ceder.dyndns.org>

	* vars.el.in (lyskom-maybe-setq): Added missing commas: we want to
	use the supplied arguments, not the symbols "var" and "value".
	(lyskom-maybe-setq-default): Ditto.

783
784
785
786
787
788
789
790
2002-05-24  David Kgedal  <davidk@lysator.liu.se>

	* startup.el (kom-start-anew): Don't reset the default
	kom-default-language if the user set it in .emacs.

	* vars.el.in (lyskom-maybe-setq, lyskom-maybe-setq-default): New
	macros to facilitate using kom-dont-read-saved-variables.

791
792
793
794
795
796
797
2002-05-24  Per Cederqvist  <ceder@ingate.com>

	* Makefile: Force re-creation of $(VARS-EL) when lyskom.el is
	created, so that the build date is updated when a new version is
	fetched from CVS.  Previously, the build date was only updated i
	Makefile or vars.el.in had been changed.

798
799
2002-05-22  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
	More work on 468:
	* commands2.el (kom-compare-texts): Use ediff-diff-program and
	diff-command for the error message since ediff seems to use
	ediff-diff-program, but diff-command is a good backup guess.

	Fix bug 506:	
	* commands2.el (lyskom-display-help-item): Print key binding for
	each command.

	* startup.el (kom-start-anew): Set default global language
	(default bindings for kom-default-language and lyskom-language) on
	first login. This is usually what we want.

	* commands2.el (kom-status-person): Print motd after aux-items.
	Otherwise it looks really bad.

	* faqs.el (lyskom-startup-check-faqs): Rewrote completely.

	* commands1.el (lyskom-go-to-empty-conf): Use
	lyskom-enter-conf-print-unread to print data on entry to conf.

	* lyskom-rest.el (lyskom-enter-conf-print-unread): New function
	prints number of unreads and unread faqs when entering a
	conference.
	(lyskom-enter-conf): Call it.

	* faqs.el (lyskom-get-unread-faqs): New function split from
	lyskom-check-for-read-faqs.
	(lyskom-presend-unread-faqs): Ditto.

	* commands1.el (lyskom-go-to-empty-conf): Use
	lyskom-enter-conf-print-unread.

	Fix bug 567:
	* startup.el (kom-start-anew): It seems that the forms inside an
	unwind-protect were a bit off. There were several unwind-forms,
	where I think there should have only been one (I know for sure
	that some of the code was not intended to be an unwind-form). I
	moved forms so lyskom-end-of-command is the only unwind-form.
	(lyskom-refetch): Moved updating of read FAQs and rejected
	invitations here.
	(kom-start-anew): Moved call to lyskom-refetch to late in the
	body. Thus we will not clear any caches after starting the
	prefetch and we can put other forms into lyskom-refetch that rely
	on lyskom-pers-no being set.

	* commands2.el (kom-help): Don't allow the user to enter an empty
	string for the category since this causes a failure.
	(lyskom-fast-reply): Prevent creation of fast-reply aux-items that
	contain line breaks or are otherwise inappropriate.
	(lyskom-check-fast-reply-message): New function to define what
	inappropriate is.

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
	* utilities.el (lyskom-get-color-highlight): Handle the case of
	the color parameter being nil.

2002-05-21  David Byers  <david.byers@swipnet.se>

	Fix bug 561:
	* lyskom-rest.el (lyskom-get-error-text): Renamed call to
	lyskom-get-string-internal.

	* check-strings.el (lcs-check-customize-variables): Renamed call
	to lyskom-get-string-internal.

	* option-edit.el (lyskom-widget-command-value-create): Use
	lyskom-try-get-string instead of lyskom-get-string-internal.

	* language.el (lyskom-try-get-string): Renamed from
	lyskom-get-string-internal.
	(lyskom-get-string): Renamed call to lyskom-get-string-internal.
	(lyskom-get-string-sol): Same.
	(lyskom-get-menu-string): Same.

	Fix bug 531:
	* view-text.el (lyskom-print-text): Use lyskom-truncate-to-lines
	so we can take the setting of truncate-lines into account. Check
	truncation settings using numberp.

	* utilities.el (lyskom-truncate-to-lines): New function.

	Fix bug 529:
	* commands2.el (kom-obsolete-who-is-on-in-conference): New
	function.

	* swedish-strings.el (lyskom-sv-mode-map): Added key binding lv.

	Fix bug 566:
	* services.el (initiate-get-map): Updated docstring.

	Fix bug 532:
	* swedish-strings.el,english-strings.el (lyskom-messages): Removed
	information about passive memberships by priority (it doesn't work
	that way now). Changed wording of priority-q.

	Fix bug 530:
	* commands1.el (kom-move-text-tree): Fix bug that caused only
	every other text to be moved.

899
900
2002-05-08  David Byers  <david.byers@swipnet.se>

901
902
903
904
	Bug 516:
	* menus.el (lyskom-define-menu-xemacs): Handle hline items in the
	menu specification according to what works in XEmcas 21.4.

905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
	Automatic color selection for highlight colors:
	* compatibility.el (lyskom-color-values): Smarter definition that
	can handle both strings and specifiers in XEmacs.

	* vars.el.in (lyskom-face-schemes): Added incredibly ugly hack to
	put properties in lyskom-face-schemes.

	* utilities.el (lyskom-get-color-highlight): Modified to take list
	of RGB and distance from 0 to 1.

	Bug 525:
	* swedish-strings.el (lyskom-sv-mode-map): Bind fm till
	kom-filter-recipient.

	* english-strings.el (lyskom-en-mode-map): Bind fr till
	kom-filter-recipient.

922
923
924
925
926
927
928
929
930
931
2002-05-07  David Byers  <david.byers@swipnet.se>

        Every KOM client needs color model conversion code:
	* utilities.el (lyskom-string-to-rgb): New function.
	(lyskom-rgb-to-hls): New function.
	(lyskom-hls-to-rgb): New function.
	(lyskom-hls-to-rgb-value): New function.
	(lyskom-get-color-highlight): New function.
	(lyskom-string-to-rgb): New function.

David Byers's avatar
David Byers committed
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
2002-05-06  David Byers  <david.byers@swipnet.se>

	* utilities.el (lyskom-unicase): Get the length from the converted
	string and not the string, because for some reason they don't come
	out the same every time (and this is *probably* an Emacs bug).

2002-05-05  David Byers  <david.byers@swipnet.se>

	* commands2.el (kom-compare-texts): Catch the file-error that
	occurs when the external diff command is missing.

	* vars.el.in: Changed all hooks that are for users to play with
	from lyskom-<foo> to kom-<foo>. The lyskom-<foo> versions still
	work but are discouraged. Created dummy variables for some
	configuration variables that I did not dare change right now. It
	should now be possible to get all the user-accessible
	configuration parameters and hooks when doing apropos on ^kom.

	* async.el (lyskom-default-new-text-hook): Run kom-new-text-hook
	when running lyskom-new-text-hook.
	(lyskom-default-deleted-text-hook): Run kom-deleted-text-hook when
	running lyskom-deleted-text-hook.
	(lyskom-default-new-recipient-hook): Run kom-new-recipient-hook
	when running lyskom-new-recipient-hook.
	(lyskom-show-personal-message): Run kom-personal-message-hook when
	running lyskom-personal-message-hook.

	* edit-text.el (lyskom-edit-send): Run kom-create-text-hook when
	running lyskom-create-text-hook.

	* vars.el.in (kom-filter-outgoing-messages): Renamed from
	lyskom-filter-outgoing-messages.

	* commands1.el (lyskom-go-to-empty-conf): Run
	kom-after-change-conf-hook when running
	lyskom-after-change-conf-hook.

	* user-hooks.el: Changed docstring references to
	lyskom-change-conf-hook to kom-change-conf-hook. Changed docstring
	references to lyskom-after-change-conf-hook to
	kom-after-change-conf-hook.

	* startup.el (kom-start-anew): Run kom-change-conf-hook when
	running lyskom-change-conf-hook.

	* commands1.el (lyskom-go-to-empty-conf): Run kom-change-conf-hook
	when running lyskom-change-conf-hook.

	* lyskom-rest.el: Run kom-after-load-hook when running
	lyskom-after-load-hook.

	* commands2.el (lyskom-send-message): Call kom-send-message-hook
	when calling lyskom-send-message-hook.
	(lyskom-send-message-minibuffer-setup-hook): Call
	kom-send-message-setup-hook when calling
	lyskom-send-message-setup-hook.
	(lyskom-send-message-minibuffer-exit-hook): run
	kom-send-message-exit-hook when calling
	lyskom-send-message-exit-hook.
	(lyskom-send-message-turn-off-resize-on-exit): Use
	kom-send-message-exit-hook instead of
	lyskom-send-message-exit-hook.
	(lyskom-send-message-resize-minibuffer): Same here.

	* view-text.el: Changed all docstring references to
	lyskom-view-text-hook to kom-view-text-hook. Call
	kom-view-text-hook when lyskom-view-text-hook is called.

	* lyskom-rest.el (lyskom-do-insert): Allow special-insert to be a
	list, where the car is the function to call and cdr are the
	arguments to the function.
	(lyskom-format-transform-result): New function.
	(lyskom-special-insert-overlay): New function.
	(lyskom-do-insert): We were unable to handle special-insert
	properties that were adjacent to each others.

	* async.el (lyskom-format-as-personal-message): Updated to handle
	new format strings that have overlays for text and dashed lines.

	* commands2.el (lyskom-send-message): Same here.

	* startup.el (lyskom): Optionally highlight motd-of-lyskom

	Added my hook functions:
	* user-hooks.el (kom-read-last-text-hook): New function.
	(kom-list-summary-hook): New function.
	(kom-read-last-text-hook-conf-list): New variable.
	(kom-list-summary-hook-conf-list): New variable.

1021
1022
1023
1024
1025
2002-05-05  Ulrik Haugen  <qha@lysator.liu.se>

	* commands2.el (kom-obsolete-extended-command-binding): Balanced
	parens.

1026
1027
1028
1029
1030
2002-05-03  Per Cederqvist  <ceder@ingate.com>

	* commands2.el (kom-obsolete-extended-command-binding): Be
	annoying both ways.

David Byers's avatar
David Byers committed
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
2002-05-01  David Byers  <david.byers@swipnet.se>

	* commands1.el (kom-move-text-tree): New command, innit?

	Improve parser error reporting and recovery:
	* utilities.el (lyskom-text-comments): New function.

	* parse.el (lyskom-parse-recover): New function.
	(lyskom-parse-unparsed): Signal a parse error if we start parsing
	and see anything but '%', '=' or ':'. Recover from parse errors by
	scanning until we see a '%', a '=' or a ':' at the beginning of a
	line (sure, not perfect, but a lot better than what we've got
	now).

	* vars.el.in (lyskom-parser-recovering): New variable.

	* parse.el (lyskom-parse-unparsed): If the key is invalid, signal
	a protocol error rather than continue. Otherwise we can't see
	where the error really occurs.

	Fix bug setting language on logon:
	* startup.el (kom-start-anew): Set kom-have-on-login if login is
	successful.

	Fix dependency on mapc, which is not available in Emacs 20.7:
	* komtypes.el (text-mapping->global-numbers): Use lyskom-traverse
	instead of mapc.

	Improve performance when debugging communications:
	* lyskom-rest.el (lyskom-debug-insert): Limit buffer size to
	lyskom-debug-communications-limit.
	(lyskom-filter): Limit size of *kom*-replies to
	lyskom-debug-communications-limit.

2002-04-29  David Byers  <david.byers@swipnet.se>

	Fix bug where changing presentation of FAQ lost recipients:
	* commands1.el (lyskom-get-recipients-from-misc-list): Don't
	downcase the recipient type.

	* swedish-strings.el, english-strings.el: Hnvisa till ? och Hjlp
	i first-greeting.

	* vars.el.in (kom-default-language): Fixed bug 495.

	* commands2.el (kom-obsolete-extended-command-binding): Clarified
	message.

1079
1080
1081
1082
1083
2002-04-29  Ulrik Haugen  <qha@lysator.liu.se>

	* vars.el.in (kom-default-language): Added a pointer to
	lyskom-languages in the doc-string.

1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
2002-04-28  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands1.el (kom-status-session): When a prefix argument is
	given, see the status of the author of that text (as given by
	lyskom-read-text-no-prefix-arg), otherwise behave as usual.
	Also added info on last logout when a person is not available.

	* swedish-strings.el, english-strings.el (lyskom-message):
	Changed person-not-logged-in-r to optionally state last logout.

	* commands2.el (kom-force-logout): Updated to reflect change in
	person-not-logged-in-r.

1097
1098
1099
2002-04-28  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-status-person): When a prefix argument is
1100
1101
	given, see the status of the author of that text (as given by
	lyskom-read-text-no-prefix-arg), otherwise behave as usual.
1102
1103
1104
1105

	* swedish-strings.el, english-strings.el (lyskom-message): 
	Added text-to-see-author-status-of.

1106
1107
2002-04-28  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
	* view-text.el (lyskom-format-mx-author): If mx-author is the
	empty string, pretend that it is nil.
	(lyskom-view-text): Don't put a space character after the time
	zone.

	* swedish-strings.el,english-strings.el (lyskom-messages):
	Uppdaterade presentation-form.

	* compatibility.el (lyskom-color-values): New function (mimics
	x-color-values, color-values etc).

	* lyskom-rest.el (lyskom-format-insert-overlays): Set extent
	priority to 1000 to override text properties in the same area
	under XEmacs.
	(lyskom-is-loaded): Get language from LC_ALL and LC_MESSAGES too.

1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
	* header.el: When detecting a buggy read-kbd-macro, attempt to
	load good definitions from known libraries rather than just bail.

	* vars.el.in (lyskom-face-schemes): Added scheme "bark".

2002-04-28  David Byers  <david.byers@swipnet.se>

	* edit-text.el (lyskom-edit-fcc-text): Delete the add button when
	fcc-ing texts.

	* services.el (initiate-set-pers-flags): New function.

	* commands1.el (kom-who-is-on): Improve documentation.

1138
1139
1140
1141
1142
2002-04-27  Per Cederqvist  <ceder@ceder.dyndns.org>

	* commands2.el (kom-obsolete-extended-command-binding): Use ding
	if the user invokes this command.

1143
1144
2002-04-27  David Byers  <david.byers@swipnet.se>

1145
1146
1147
1148
1149
1150
1151
	* Release of 0.47-BETA-1

	* commands2.el (kom-obsolete-extended-command-binding): Print the
	warning (and if Emacs supports it, the prompt in the minibuffer)
	using kom-warning-face. I find that I miss the warning too easily
	otherwise.

1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
	Fix bug 485:
	* english-strings.el, swedish-strings.el: Number of lines in
	view-text-first-line was formatted as a text number, not a simple
	integer.

	* header.el: Updated check for macedit to look for the library and
	include some information on autoloads.

	* startup.el (kom-start-anew): Set languages globally on the first
	login.

	* vars.el.in (lyskom-have-one-login): Nwe variable.

	Fix bug 484:
	* edit-text.el (kom-edit-next-button-or-self-insert): Don't do
	self-insert-command, but traverse the current keymaps to figure
	out what to do.

	* check-strings.el (lcs-check-face-schemes): New function to check
	consistency of face schemes.

	* vars.el.in (lyskom-face-schemes): Added scheme black-and-tan.

Ulrik Haugen's avatar
Ulrik Haugen committed
1175
1176
1177
2002-04-27  Ulrik Haugen  <qha@lysator.liu.se>

	Fix bug 458:
1178

Ulrik Haugen's avatar
Ulrik Haugen committed
1179
1180
1181
1182
1183
1184
	* swedish-strings.el, english-strings.el
	(lyskom-message): New string: who-is-friend.

	* commands1.el (lyskom-who-is-on-9, lyskom-who-is-on-8): print
	who-is-friend if given non-nil show-friends-only.

1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
2002-04-26  David Byers  <david.byers@swipnet.se>

	* option-edit.el (lyskom-custom-variables): Added
	kom-edit-hide-add-button. 
	(lyskom-customize-buffer-format): Added kom-edit-hide-add-button.

	* vars.el.in (kom-edit-hide-add-button): New variable.

	* edit-text.el (lyskom-edit-insert-aux-item): Number of lines to
	back up depends on kom-edit-hide-add-button.
	(lyskom-edit-insert-miscs): Insert add button only if
	kom-edit-hide-add-button is nil.

	Fix bug 475:
	* edit-text.el (kom-ispell-message): Don't search for
	ispell-message-start-skip unless it is a string.
	New command.
	(kom-edit-prev-button): New command.
	(lyskom-edit-find-separator): New function. Extracted code that
	finds the separator line.
	(kom-ispell-message): Use it.
	(lyskom-edit-insert-aux-item): Use it.
	(lyskom-edit-replace-headers): Use it.
	(lyskom-edit-parse-headers): Use it.
	(lyskom-edit-extract-text): Use it.
	(lyskom-edit-on-aux-item): Use it.
	(lyskom-edit-fcc-text): Use it.

	* english-strings.el, swedish-strings.el: Bind * and = in
	lyskom-edit-mode-map to kom-button-click-or-self-insert and
	kom-button-press-or-self-insert respectively. Bind TAB and M-TAB
	to kom-edit-next-button-or-self-insert and kom-edit-prev-button
	respectively.

	* lyskom-buttons.el (kom-button-press-or-self-insert-command): New
	function.
	(kom-menu-button-press-or-self-insert-command): New function.

1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
2002-04-25  David Byers  <david.byers@swipnet.se>

	* view-text.el (lyskom-print-text): Use kom-highlight-text-body to
	control highlighting text body. Use kom-highlight-first-line to
	control highlighting of first line. Print first line using a
	single format string. Use kom-highlight-dashed-lines to control
	highlighting of dashed lines.

	* vars.el.in (lyskom-face-schemes): Updated kom-first-line-face to
	not inherit from default and not be invisible by default.
	(kom-highlight-first-line): New variable.
	(kom-highlight-dashed-lines): New variable.
	(kom-highlight-text-body): Renamed from
	kom-color-text-background.

	Fix bug 479:
	* lyskom-rest.el (lyskom-format-aux): Track depth of subformats.
	(lyskom-format-aux-help): Record format-state depth with delayed
	properties and delayed overlays.
	(lyskom-tweak-format-state): Only add properties for delayed
	property lists that are at the same current format-state depth.
	Only set end positions for overlays that were created at the
	current format-state depth.

David Byers's avatar
David Byers committed
1247
1248
2002-04-24  David Byers  <david.byers@swipnet.se>

1249
1250
1251
	* header.el: Added a check for obsolete read-kbd-macro (found in
	macedit.el which is installed with the calc package in XEmacs).

David Byers's avatar
David Byers committed
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
	* compatibility.el (make-temp-file): Maybe compatibility with
	XEmacs. At least the warnings are gone...

	* commands2.el (kom-diff-texts): Survive even if diff-command is
	not bound (assume that the command is called "diff").

	* lyskom-rest.el (lyskom-format-insert-overlays): Made XEmacs
	compatible.
	(lyskom-format-aux-help): Removed unused variables.

	* edit-text.el (lyskom-edit-send-check-recipients): Removed unused
	variables.

	* commands2.el (kom-status-server): Removed unused variables.

	* startup.el (kom-start-anew): Removed unused variable err.

	* aux-items.el (lyskom-print-faq-format-subject): Removed unused
	variable "subject".

	Fix bug 473:
	* vars.el.in (lyskom-max-int): Define as variable, not constant.

1275
1276
1277
1278
1279
2002-04-24  David Kgedal  <david@virtutech.se>

	* commands2.el (kom-change-language): Added prefix parameter to
	make global changes.

1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
2002-04-23  David Byers  <david.byers@swipnet.se>

	Alternate text background color:
	* utilities.el (lyskom-set-face-scheme): Don't always copy default
	face. Only copy a face when we explicitly ask for it.

	* view-text.el (lyskom-print-text): Optionally use
	kom-text-background-face on texts.

2002-04-22  David Byers  <david.byers@swipnet.se>

	Alternate text background color:
	* vars.el.in (kom-color-text-background): New variable.

	* lyskom-rest.el (lyskom-format-aux-help): Added support for $
	(overlay) format specifier.
	(lyskom-format-insert-overlays): New function.
	(lyskom-format-insert): Call lyskom-format-insert-overlays.
	(lyskom-format-insert-at-point): Call
	lyskom-format-insert-overlays.

	* clienttypes.el (make-format-state): Added delayed-overlays to
	format state.

1304
1305
1306
1307
1308
1309
2002-04-22  Per Cederqvist  <ceder@ceder.dyndns.org>

	* lyskom-rest.el: Fix language selection code.  The default case,
	when neither of kom-default-language, KOMLANGUAGE and LANG was
	set, was missing a "car".

David Byers's avatar
David Byers committed
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
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
2002-04-21  David Byers  <david.byers@swipnet.se>

	* lyskom-buttons.el (lyskom-make-button-menu): Temporarily bind
	lyskom-language to lyskom-global-language to avoid changing
	language in the popup menu.

	* check-strings.el (lcs-check-language-vars): New function.
	(lyskom-check-strings): Check for missing language-specific
	variables.

	* english-strings.el: Added lyskom-unread-title-format
	and lyskom-unread-mode-line.

	Better default language selection:
	* option-edit.el (lyskom-mark-association): Changed help-echo to
	default-help-echo.
	(lyskom-name): Same here.
	(lyskom-command): Same here.

	* lyskom-rest.el (lyskom-is-loaded): Get default language from
	environment variables KOMLANGUAGE or LANG, if they are set and
	kom-default-language was not. Otherwise 
	(lyskom-language-from-environment): New function.

	* language.el (lyskom-define-language): Don't set language here.
	It will be set in lyskom-rest.el.

	Better language switching:
	* startup.el (kom-start-anew): Pass scope parameter to
	lyskom-set-language. 

	* commands2.el (kom-change-language): Pass scope parameter to
	lyskom-set-language.

	* language.el (lyskom-language-strings): Added SCOPE parameter.
	(lyskom-get-string-internal): Honor scope in
	lyskom-language-strings.
	(lyskom-language-var): Added SCOPE parameter.
	(lyskom-set-language-vars): Added SCOPE parameter. Honor scope
	when setting language-specific variables.

	* vars.el.in (lyskom-language): Made this setting buffer-local
	again.

	Cleanup mapcars and macro definitions:
	* language.el (lyskom-set-language-vars): Removed function before
	lambda.
	(lyskom-set-language-keymaps): Same here.
	(lyskom-get-strings): Same here.
	(lyskom-string-check-category): Same here.
	(lyskom-language-var): Use backquote for macro definition.
	(lyskom-language-keymap): Ditto.
	(lyskom-language-strings): Ditto.

1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
2002-04-20  Per Cederqvist  <ceder@ceder.dyndns.org>

	Implemented "View diff"/"Se diff":
	* commands2.el (lyskom-create-temp-file): New function.
	(kom-diff-texts): New command.

	* vars.el.in (lyskom-commands): Added kom-diff-texts.

	* swedish-strings.el (lyskom-command): Added kom-diff-texts.
	(lyskom-help-strings): Ditto.
David Byers's avatar
David Byers committed
1374

1375
1376
	* english-strings.el (lyskom-command): Added kom-diff-texts.

1377
1378
	* compatibility.el (make-temp-file): Provide it if it is missing.

1379
1380
2002-04-20  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
	Support context-sensitive error reporting:
	* vars.el.in (lyskom-error-codes): New variable.

	* lyskom-rest.el (lyskom-insert-error): Added error-descriptions
	parameter for context-sensitive error reporting.
	(lyskom-report-command-answer): Added error-descriptions
	parameter.
	(lyskom-get-error-text): Added error-descriptions parameter.

	Fix bug 467:
	* lyskom-rest.el (lyskom-prot-a-format-aux-item-flags): Rename
	reserved1 to dont-garb as per the specification.

	* komtypes.el (aux-item-flags): Renamed reserved1 field to
	dont-garb, as per the specification.

	* english-strings.el, swedish-strings.el: Changed aux-item flag
	"reserved1" to "dont-garb".

	Support send-comments-to:
	* commands2.el (kom-redirect-comments): New command.

	* edit-text.el (lyskom-edit-send-check-recipients): Completely
	rewrite checking of commented author. 

	Clean up the code:
	* lyskom-rest.el (lyskom-prot-a-format-misc-item): Changed case of
	all pseudo misc-info types to UPPERCASE to match real misc-infos.

	* edit-text.el: Changed case of all pseudo misc-info types to
	UPPERCASE to match real misc-infos. Changed explicit lists of
	recipient types to lyskom-recpt-types-list.

	* All files: Changed case of all pseudo misc-info types to
	UPPERCASE to match real misc-infos.

1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
	Move binding of 'a' to 'x' in the swedish keymaps:
	* commands2.el (kom-obsolete-extended-command-binding): New
	command. Note that this command is temporary and will only ever be
	used in the Swedish version and doesn't do any LysKOM-ish stuff,
	so we don't have to use def-kom-command or be able to deal with
	multiple languages.

	* swedish-strings.el (lyskom-sv-mode-map): Change binding of
	kom-extended-command from a to x. Bind a to
	kom-obsolete-extended-command-binding.

	People were annoyed that all read FAQs were shown in status
	person:
	* aux-items.el (lyskom-print-elisp-client-read-faq): Only print
	read FAQs when kom-extended-status-information is set.

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

1435
1436
1437
1438
1439
2002-04-20  Per Cederqvist  <ceder@ceder.dyndns.org>

	* commands1.el (lyskom-comment-recipients): Removed a stray "x"
	accidentally inserted in the last commit.

1440
1441
1442
1443
1444
1445
1446
1447
2002-04-18  Jonas Frid  <jonas.frid@softlab.ericsson.se>

	* swedish-strings.el (lyskom-custom-strings): Bugfix in
	kom-auto-list-faqs-tag. Missing '.'.

	* option-edit.el (lyskom-custom-variables): Bugfix in
	kom-auto-list-faqs and kom-auto-review-faqs. Missing parantheses.

Ulrik Haugen's avatar
Ulrik Haugen committed
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
2002-04-17  Ulrik Haugen  <qha@lysator.liu.se>

	Fix bug 464:
	
	* lyskom-rest.el (lyskom-update-prompt): (This paragraph concerns
	xemacs only.) Use extents to make the prompt read-only. This seems
	necessary to set duplicable to nil for the prompt extents/
	properties though the info-pages on text-properties states: "The
	predefined properties are the same as those for extents". 

1458
1459
1460
1461
1462
1463
2002-04-16  David Kgedal  <david@kagedal.org>

	* lyskom-rest.el (kom-view-next-text): When calling
	lyskom-view-text, dont give t as the flat-review parameter when
	reviewing FAQs.

1464
1465
1466
1467
1468
2002-04-15  Johan Sundstrm  <jhs@lysator.liu.se>

	* swedish-strings.el, english-strings.el (lyskom-message):
	Bugfix in there-are-faqs format string.

Per Cederqvist's avatar
Per Cederqvist committed
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
2002-04-14  Per Cederqvist  <ceder@ceder.dyndns.org>

	Improve "Compare two texts".
	* commands2.el (lyskom-create-text-buffer): Add a trailing newline
	in the temporary buffer, so that ediff behaves if new lines were
	added at the end of one of the texts to compare.

	* vars.el.in (kom-server-aliases): Changed "CSD-KOM" to "UppKOM",
	as requested by Thorild Seln.

1479
1480
2002-04-14  David Byers  <david.byers@swipnet.se>

1481
1482
1483
	* faqs.el (lyskom-check-for-read-faqs): Handle missing FAQ texts
	better.

1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
	Handle conference recommendations:
	* lyskom-rest.el (lyskom-reject-recommendation): Renamed from
	lyskom-reject-invitation.
	(lyskom-recommendation-already-rejected): Renamed from
	lyskom-invitation-already-rejected.
	(lyskom-update-rejected-recommendations): Renamed from
	lyskom-update-rejected-invitations.
	(lyskom-check-go-to-conf): Don't record rejected invitations.
	(lyskom-startup-check-recommended-memberships): Renamed from
	lyskom-startup-check-recommended-memberships. Interactively ask
	whether the user wants to become a member of recommended
	conferences instead of creating invitations.

	* commands1.el (lyskom-try-add-member): Removed use-priority and
	use-position again. Added default-priority instead.

1500
1501
1502
	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
	New function.

1503
1504
2002-04-13  David Byers  <david.byers@swipnet.se>

1505
1506
1507
1508
1509
1510
1511
1512
1513
	Handle conference recommendations:
	* lyskom-rest.el (lyskom-check-go-to-conf): Don't do stuff for
	secret and passive memberships if we just rejected an invitation
	(this was a bug). Record rejected invitations.
	(lyskom-reject-invitation): New function.
	(lyskom-invitation-already-rejected): New function.

	* vars.el.in (lyskom-rejected-invitations): New variable.

David Byers's avatar
David Byers committed
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
	New FAQ support:
	* faqs.el: New file contains all FAQ-related stuff.
	(lyskom-register-read-faq): New function.
	(lyskom-update-read-faqs): New function.
	(lyskom-do-review-faq): New function.

	* lyskom-rest.el (lyskom-format-aux-help): Support ?z format code.

	* commands2.el (lyskom-list-summary): Support REVIEW-FAQ.

	* lyskom-rest.el (kom-view-next-text): Add support for REVIEW-FAQ.
	(lyskom-update-prompt): Ditto.
	(lyskom-what-to-do): Ditto.

	* aux-items.el: Added read-action that records all read FAQs.

	* commands1.el: Moved all FAQ-related commands to faqs.el.

	* commands2.el: Moved all FAQ-related commands to faqs.el.

	* lyskom-rest.el (lyskom-read-num-range): Handle prompt which is a
	symbol and not a string.

	Initial support for conference recommendataions:
	* commands2.el (kom-recommend-conference): New command.

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

1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
	Fix language consistency:
	* english-strings.el: Changed "article" to "text" in a bunch of
	strings.

	Check for server FAQs when logging on:
	* startup.el (lyskom): Do get-version-info before get-server-info,
	because otherwise we won't get the aux-items.
	(kom-start-anew): Check for new FAQs when logging on.
	(lyskom-startup-check-faqs): New function.

	* utilities.el (lyskom-union): New function.
	(filter-list): New non-recursive implementation.

1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
	More stringent format-string check (each arg needs to appear the
	same number of times in all strings):
	* check-strings.el (lcs-delete-format-arg): New function.
	(lcs-check-format-string): Use it.

	Full server FAQ support:
	* commands1.el (kom-change-server-faq): New command.
	(kom-change-conf-faq): Broke out main logic.
	(lyskom-change-faq): Inlined logic from kom-change-conf-faq.
	Support server FAQs.
	(lyskom-change-faq-2): Broke out callback for modify-x-info to
	lykom-change-faq-3. Renamed from lyskom-change-conf-faq-2. Handle
	server FAQs.
	(lyskom-change-faq-3): New function.

	* commands2.el (kom-add-faq): Break out logic to a separate
	function.
	(lyskom-add-text-no): New function. Generic for conferences and
	the server.
	(kom-add-server-faq): New command.
	(kom-del-faq): Removed args from this function. Broke out main
	logic to lyskom-del-faq.
	(kom-review-server-faq): New Command.
	(kom-review-faq): Entering an empty conf gives the server FAQ.
	Broke out main logic.
	(lyskom-review-faq): New function.

1582
1583
1584
1585
2002-04-13  Joel Rosdahl  <joel@lysator.liu.se>

	* Makefile (verbose-el): Made target "verbose" work again.

1586
1587
1588
1589
1590
1591
1592
1593
1594
2002-04-13  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands1.el (kom-review-presentation): When a prefix argument
	is given, review the presentation of the author of that text (as
	given by lyskom-read-text-no-prefix-arg), otherwise behave as usual.

	* swedish-strings.el, english-strings.el (lyskom-message): 
	Added text-to-see-author-of.

Ulrik Haugen's avatar
Ulrik Haugen committed
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
2002-04-13  Ulrik Haugen  <qha@lysator.liu.se>

	Fix bug 447:
	
	* vars.el.in (lyskom-unread-mode-line) 
	(lyskom-unread-title-format): Set langage-force.

	* lyskom-rest.el (lyskom-make-lyskom-unread-mode-line)
	(lyskom-make-lyskom-unread-title-format): New functions. They both
	return what used to be in lyskom-unread-mode-line and
	lyskom-unread-title-format respectively.

	* swedish-strings.el, english-strings.el (lyskom-unread-mode-line)
	(lyskom-unread-title-format): Made these variables language
	dependent.

1611
1612
2002-04-11  David Byers  <david.byers@swipnet.se>

1613
1614
1615
	* aux-items.el (lyskom-print-faq-for-conf): Show FAQ for server
	correctly.

1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
	Show extended server status:
	* commands2.el (kom-status-server): New command.

	Support aux-items on the server:
	* aux-items.el (lyskom-aux-item-terminating-button): Support
	server aux-items.

	* lyskom-buttons.el (lyskom-button-delete-aux): Support server
	aux-items. 
	(lyskom-button-info-aux): Support server aux-items.

	Handle more aux-item types:
	* edit-text.el (kom-edit-add-world-readable): New command.

	* aux-items.el (canonical-name): New aux-item definition
	(mx-list-name): Same here.
	(send-comments-to): Ditto.
	(world-readable): And once more.
	(lyskom-print-mx-list-name): New function.
	(lyskom-print-world-readable): New function.
	(lyskom-edit-insert-world-readable): New function.
	(lyskom-parse-world-readable): New function.

1639
1640
1641
1642
1643
	Beter kom-who-is-on-and-friend:
	* commands1.el (lyskom-select-friends-from-who-list): Show
	lyskom-pers-no when filtering friends. Perhaps this should be a
	configurable option. Someone else can deal with that :-)

1644
1645
	* vars.el.in (lyskom-commands): Added kom-create-aux-item.

1646
	* swedish-strings.el (lyskom-command): Added kom-create-aux-item.
1647
1648
1649
1650
1651
1652
1653
1654

	* english-strings.el (lyskom-command): Added kom-create-aux-item.

	* ChangeLog: Changed Swedish to English.

	* english-strings.el: Changed "extra information" to "auxiliary
	information".

David Byers's avatar
David Byers committed
1655
1656
2002-04-10  David Byers  <david.byers@swipnet.se>

1657
1658
1659
	Implemented command to create arbitrary aux-items:
	* commands2.el (kom-status-conf): Show unknown aux-items.
	(kom-create-aux-item): New command.
1660
1661
1662
1663
1664

	* lyskom-buttons.el (lyskom-button-info-aux): Print info even if
	there is no info handler for the aux-item type (required to handle
	unknown types).

David Byers's avatar
David Byers committed
1665
1666
1667
1668
1669
1670
1671
1672
1673
	* lyskom-rest.el (lyskom-check-go-to-conf): When we don't want to
	accept an invitation, don't make the membership *passive*. That
	causes all kinds of odd messages.

	Better user interaction when an async-new-membership for an
	invitation is seen:
	* async.el (lyskom-async-new-membership): Print invitations
	special.

David Byers's avatar
David Byers committed
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
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
	We can usually have FAQs on persons too:
	* commands1.el (kom-change-conf-faq): Can apply to persons too. 

	* commands2.el (kom-add-faq): Can apply to persons too.
	(kom-del-faq): Same here.
	(kom-review-faq): Same here.

	Print subject line of FAQ when showing a list of FAQs in status
	conf and review presentation:
	* commands1.el (lyskom-insert-deferred-comment-like-aux-2): Print
	subject line of FAQ.
	(lyskom-insert-deferred-comment-like-aux): Split into two
	functions (this one and
	lyskom-insert-deferred-comment-like-aux-2).
	(lyskom-insert-comment-like-aux): Print subject line of FAQ.
	(lyskom-print-comment-like-aux): Get text mass when not doing
	deferred printing.

	* aux-items.el (lyskom-status-print-faq-text): Print the subject
	of each FAQ.

	* komtypes.el (text->decoded-text-mass): Do save-match-data so we
	don't clobber match data.

	Fix bug 408:
	* commands2.el (kom-change-conf-type): Removed redunant argument
	from change-type-prompt.
	(kom-status-conf): Removed redundant argument from status-record.
	(kom-status-person): Removed redundant argument from
	pers-status-record.
	(kom-change-conf-type): Place nope or done string after the
	prompt.

	Fix that some strings are not changed when language changes:
	* vars.el.in (lyskom-month-names): Set language-force.
	(lyskom-onoff-table): Same.
	(lyskom-language-codes): Same.
	(lyskom-filter-predicate-list): Same.
	(lyskom-filter-what): Same.
	(lyskom-filter-actions): Same.
	(lyskom-prioritize-header-lines): Same.
	(lyskom-prioritize-header): Same.

	* defvar.el (def-kom-var): Added property language-force.

	Fix problem where personal answer to own texts have no subject:
	* commands1.el (lyskom-private-answer): Don't delete subject when
	doing personal reply to my own texts.

	New filter command:
1724
	* filter.el (kom-filter-recipient): New command.
David Byers's avatar
David Byers committed
1725
1726

	Update aliases:
David Byers's avatar
David Byers committed
1727
1728
1729
	* vars.el.in (kom-server-aliases): Changed sno.pp.se to
	kom.sno.pp.se.

David Byers's avatar
David Byers committed
1730
	Completion on kom-sub-comment and kom-sub-footnote:
David Byers's avatar
David Byers committed
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
	* commands1.el (kom-add-footnote): Read prefix arg here and not in
	lyskom-add-sub-footnote.
	(kom-sub-footnote): Same here.
	(lyskom-add-sub-footnote): Don't read prefix arg here. Removed
	prompt argument.
	(lyskom-add-sub-footnote): Do completion on footnote number.
	(lyskom-add-sub-comment): Do completion on comment number.
	(lyskom-add-sub-footnote): Use current text as default text to
	add/remove only if applicable. If there is only one completion,
	use that. If the current text is in the completions, use it. If we
	are adding, use the current text unless it is the one we are
	adding/removing to/from.
	(lyskom-add-sub-comment): Dito.

2002-04-09  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
1747
	Completion on kom-sub-comment and kom-sub-footnote:
David Byers's avatar
David Byers committed
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
	* commands1.el (lyskom-add-sub-footnote): Show text number we are
	removing from or adding to in the prompt (important when using
	prefix args to this command).
	(lyskom-add-sub-comment): Show text number we are removing from or
	adding to in the prompt (important when using prefix args to this
	command).
	(kom-add-comment): Read prefix arg here and not in
	lyskom-add-sub-comment.
	(kom-sub-comment): Same here.
	(lyskom-add-sub-comment): Don't read prefix arg here. Removed
	prompt argument.

	* lyskom-rest.el (lyskom-read-number): Added completions parameter
	to this function.

1763
1764
2002-04-08  Ulrik Haugen  <qha@lysator.liu.se>

1765
1766
1767
1768
	* lyskom-rest.el: When running GNU Emacs let Emacs look up the
	string for mode-line-unread and frame-title-unread when setting
	the mode-line or frame-title (fixes bug 447 for GNU Emacs).

1769
1770
1771
1772
1773
1774
1775
1776
	* english-strings.el (lyskom-message):
	add-recpt-button-text-regex: updated the regex to reflect the
	change to add-recpt-button-text some time ago.

	* swedish-strings.el (lyskom-message):
	add-recpt-button-text-regex: bug-fix: the backslashes must be
	escaped by backslashes.

1777
1778
1779
1780
2002-04-03  Ulrik Haugen  <qha@lysator.liu.se>

	* Makefile (debian-packages): new target.

1781
1782
1783
1784
1785
2002-03-25  Joel Rosdahl  <joel@lysator.liu.se>

	* distribution-configure.in: Corrected help text for
	--with-default-language.

David Byers's avatar
David Byers committed
1786
2002-03-24  Joel Rosdahl  <joel@lysator.liu.se>
David Byers's avatar
David Byers committed
1787

David Byers's avatar
David Byers committed
1788
1789
1790
1791
	* Release of 0.46.2-BETA-2 (approximately: there was originally no
	ChangeLog entry for this release). This entry was added after the
	fact by David Byers.

Joel Rosdahl's avatar
Joel Rosdahl committed
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
2002-03-23  Joel Rosdahl  <joel@lysator.liu.se>

	Fix bug 422:

	* commands1.el (lyskom-private-answer): Print informative text if
	replying to Anonymous user.

	* english-strings.el, swedish-strings.el (lyskom-message): Added
	personal-comment-to-anonymous string.

Joel Rosdahl's avatar
Joel Rosdahl committed
1802
1803
	* swedish-strings.el (lyskom-message): Spelling tweak.

Joel Rosdahl's avatar
Joel Rosdahl committed
1804
1805
1806
	* commands1.el (lyskom-private-answer-soon-prev): Removed unused
	function.

1807
1808
2002-03-21  Joel Rosdahl  <joel@lysator.liu.se>

1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
	Fiddled with various release-related things. Fixes bugs 298, 299
	and 300.

	* Makefile: Revamped and somewhat commented. Create three
	different kinds of distribution archives: 1. A "source" dist with
	configure + Makefile + separate .el files; 2. A single lyskom.el
	with all languages included; 3. A single lyskom.el with just one
	included language. Archives are named lyskom-elisp-client-*
	instead of lyskom-*. autoconf files config.{cache,log,status} are
	no longer included.

	* distribution-Makefile.in: Create file lists from the "developer"
	Makefile.

	* distribution-configure.in: Make English the default language.

	* distribution-README: Removed.

	* distribution-README.begin: New file. Common begin text for
	source and non-source dists.

	* distribution-README.end: New file. Common end text for source
	and non-source dists.

	* distribution-README.install-nonsrc: New file. Installation
	instructions for non-source dists.

	* distribution-README.install-src: New file. Installation
	instructions for the source dist.

1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
	Added "View session status" to the person button menu and
	grouped actions in text number buttons:

	* lyskom-buttons.el (lyskom-button-view-session-status): New
	button action.

	* vars.el.in (lyskom-button-actions): Added above action to "pers"
	buttons.

	* english-strings.el, swedish-strings.el (lyskom-message): Added
	action text.

	* vars.el.in (lyskom-button-actions): Reordered "text" buttons so
	that similar actions are near each other.

Joel Rosdahl's avatar
Joel Rosdahl committed
1854
1855
1856
1857
2002-03-20  Joel Rosdahl  <joel@lysator.liu.se>

	* vars.el.in (kom-server-aliases): Changed IP name of CSD-KOM.

Joel Rosdahl's avatar
Joel Rosdahl committed
1858
1859
1860
1861
1862
2002-03-19  Joel Rosdahl  <joel@lysator.liu.se>

	* commands2.el (lyskom-construct-summary-format-string): Removed
	unused local variable.

1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
2002-03-16  Joel Rosdahl  <joel@lysator.liu.se>

	Changed language behaviour: Language is now a global setting, and
	changing it thus affects all sessions.  Fixes bugs 238 and 239.

	* vars.el.in (lyskom-language): Make lyskom-language global.

	* swedish-strings.el (lyskom-command): Mention that the language
	is changed in all sessions in kom-change-language.

	* english-strings.el (lyskom-command): Likewise.

1875
1876
1877
1878
1879
1880
2002-03-12  Joel Rosdahl  <joel@lysator.liu.se>

	* language.el (lyskom-languages)
	(lyskom-language-categories)
	(lyskom-language-keymaps): Corrected spelling in doc strings.

1881
1882
1883
1884
1885
1886
2002-03-12  Ulrik Haugen  <qha@lysator.liu.se>

	* lyskom-rest.el (lyskom-insert-before-prompt): don't let xemacs
	add the text-properties of the prompt to all text inserted before
	the prompt (fixes bug 421).

1887
1888
1889
1890
1891
2002-03-11  Joel Rosdahl  <joel@lysator.liu.se>

	* english-strings.el (lyskom-message): Changed last-log-in to say
	"Last login or logout" instead of "Last login", since that's what
	the server gives us.
1892

1893
1894
	* swedish-strings.el (lyskom-message): Likewise.

1895
1896
2002-03-03  Joel Rosdahl  <joel@lysator.liu.se>

1897
1898
1899
	* vars.el.in (lyskom-month-names): Added property
	'lyskom-language-force.

1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
	Fixes to make "make check" happy again:

	* english-strings.el: Added ending mismatch exception for
	newyeareve.
	(lyskom-message): Added year reference to newyearevelate.
	(lyskom-month-names): Make lyskom-month-names belong to en instead
	of sv.  Corrected month names.

	* option-edit.el (lyskom-custom-variables): Removed bogus nil at
	the end.

1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
	Fixed bug 392 and cleaned up printing of text summaries in
	kom-list-summary and kom-list-marks:

	* commands2.el (lyskom-max-text-no-width): New function.
	(lyskom-construct-summary-format-string): New function.
	(lyskom-do-list-summary): Use lyskom-construct-summary-format-string.
	(lyskom-print-summary-line): Get format string as an argument
	instead of building it at each call.
	(kom-list-marks): Use lyskom-construct-summary-format-string.
	(lyskom-print-mark-summary-line): Get format string as an argument
	instead of building it at each call.
	(lyskom-max-mark-width): Added doc string.

	* swedish-strings.el (lyskom-message): Don't abbreviate Lines.

	* english-strings.el (lyskom-message): Don't abbreviate Lines and
	mark-type.  Trimmed whitespace from Author and Subject.

Per Cederqvist's avatar
Per Cederqvist committed
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
2002-03-03  Per Cederqvist  <ceder@lysator.liu.se>

	Fix bug 406:
	* lyskom-rest.el (lyskom-report-command-answer): Factor out some
	code to lyskom-insert-error.
	(lyskom-insert-error): New function.
	(lyskom-current-error): Call lyskom-insert-error instead of
	issuing a broken call to lyskom-format-insert

	* commands1.el (lyskom-add-member-answer): Save err-stat as well
	as errno.  Use lyskom-insert-error instead of a broken call to
	lyskom-format-insert.  Use the saved errno in all cases, not just
	some.
	(kom-create-conf): Use lyskom-insert-error instead of a broken
	call to lyskom-format-insert.

	* commands2.el (kom-change-conf-type): Use lyskom-insert-error
	instead of a broken call to lyskom-format-insert.

1948
1949
1950
1951
2002-03-03  Joel Rosdahl  <joel@lysator.liu.se>

	* utilities.el (lyskom-current-time): Removed obsolete function.

1952
1953
2002-03-02  Joel Rosdahl  <joel@lysator.liu.se>

1954
1955
	* commands2.el: Removed some erroneous indentation.

Joel Rosdahl's avatar
Joel Rosdahl committed
1956
1957
	Fixed bug 387:

1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
	* lyskom-buttons.el (lyskom-view-url-windows): Rewritten (based on
	work by Klaus Zeuge).

	* compatibility.el (w32-shell-execute): New dummy function.

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

	* option-edit.el (lyskom-customize-buffer-format): Added
	kom-windows-browser-command.
	(lyskom-custom-variables): Added kom-windows-browser-command.

	* english-strings.el (lyskom-custom-strings): Added
	kom-windows-browser-command-doc.
	(lyskom-custom-strings): Added kom-windows-browser-command-tag.

	* swedish-strings.el (lyskom-custom-strings): Added
	kom-windows-browser-command-doc.
	(lyskom-custom-strings): Added kom-windows-browser-command-tag.

1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
2002-02-28  Joel Rosdahl  <joel@lysator.liu.se>

	Made it possible to run the client uncompiled.

	* feature.el (lyskom-have-feature): Removed comma so that the
	client can run uncompiled.
	(lyskom-feature-value): Ditto.

	* startup.el (lyskom-compilation-in-progress): New, horrid
	function.
	(lyskom-is-running-compiled): New constant.
	(lyskom): Inform the user that it is a good idea to compile the
	client, should it not be compiled.

	* swedish-strings.el (lyskom-message): Added
	warning-about-uncompiled-client string.

	* english-strings.el (lyskom-message): Ditto.

Joel Rosdahl's avatar
Joel Rosdahl committed
1996
1997
1998
1999
2000
2001
2002
2002-02-26  Joel Rosdahl  <joel@lysator.liu.se>

	* swedish-strings.el (lyskom-message): Likewise.

	* english-strings.el (lyskom-message): Corrected who-to-throw-out
	to ask "who's session", not "which session".

2003
2004
2002-02-25  Joel Rosdahl  <joel@lysator.liu.se>

2005
2006
2007
2008
2009
	* swedish-strings.el (lyskom-message): Ditto.

	* english-strings.el (lyskom-message): Added missing full stop and
	newline in cant-read-textno.

2010
2011
2012
2013
2014
2015
	* swedish-strings.el (lyskom-sv-mode-map): Bind
	kom-change-conf-faq to " q".

	* english-strings.el (lyskom-en-mode-map): Bind
	kom-change-conf-faq to "A q".

2016
2017
2018
	* vars.el.in (kom-server-aliases): Call com.lysator.liu.se "LysCOM
	(LysKOM in English)" for now.

2019
2020
2021
2022
2023
2024
2025
	* commands2.el (lyskom-do-list-summary): Print Written/Skrivet
	instead of Date/Datum in review lists.

	* swedish-strings.el (lyskom-message): Datum --> Skrivet.

	* english-strings.el (lyskom-message): Date --> Written.

Joel Rosdahl's avatar
Joel Rosdahl committed
2026
2027
2002-02-24  Joel Rosdahl  <joel@lysator.liu.se>

2028
2029
2030
2031
	* copyright: Ditto.

	* Makefile: Ditto.

2032
2033
2034
2035
	* *.el: Unified copyright year range to 1991-2002.  Changed "This
	file is part of the LysKOM server" to "This file is part of the
	LysKOM Emacs LISP client".

Joel Rosdahl's avatar
Joel Rosdahl committed
2036
2037
2038
	* utilities.el (lyskom-find-text-by-date): Removed unused local
	variable.

2039
2040
2041
2042
2043
2044
2002-02-24  David Byers  <davby@sen2.ida.liu.se>

	* utilities.el (lyskom-find-text-by-date): Fixed assignment to
	date variable inside the binary search loop. Use date variable in
	later comparison.

2045
2046
2002-02-24  Joel Rosdahl  <joel@lysator.liu.se>

2047
2048
2049
	* mship-edit.el (lyskom-read-time): Commented out code that
	generated a compilation warning.

Joel Rosdahl's avatar
Joel Rosdahl committed
2050
2051
	* vars.el.in (kom-server-aliases): Added com.lysator.liu.se.

2052
2053
2054
	* swedish-strings.el: Corrected terminology in
	quit-in-spite-of-unsent.

2055
2056
2057
2058
2059
2060
2002-02-18  Per Cederqvist  <ceder@moria>

	* commands2.el (lyskom-create-text-buffer): New helper function.
	(kom-compare-texts): Use blocking-do-multiple for efficiency and
	lyskom-create-text-buffer to simplify the code.

2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2002-02-09  Per Cederqvist  <ceder@lysator.liu.se>

	New command: "Compare two texts".

	* vars.el.in (lyskom-commands): Added kom-compare-texts.

	* swedish-strings.el (lyskom-message): Added diff-what-text-new
	and diff-what-text-old.
	(lyskom-command): Added kom-compare-texts.
	(lyskom-help-strings): Added kom-compare-texts.

	* english-strings.el (lyskom-message): Added diff-what-text-new
	and diff-what-text-old.
	(lyskom-command): Added kom-compare-texts.

	* commands2.el (kom-compare-texts): New command.

	* commands1.el (lyskom-text-stat-commented-texts): New function.
	(lyskom-view-commented-text): Extract the computation of the
	commented texts to lyskom-text-stat-commented-texts, so that it
	can be reused by kom-compare-texts.

2083
2084
2085
2086
2087
2088
2089
2090
2091
2002-02-04  Johan Sundstrm  <jhs@lysator.liu.se>

	* view-text.el
	(lyskom-view-text-convert-ISO-646-SE-to-ISO-8859-1):
	Also, don't convert texts created by a mail importer. (The theory
	here is that all ol'e farts writing swedish in swascii pursue this
	practice only in kom, and that few people writing on mailing lists
	imported to kom do.)

2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2002-01-30  Johan Sundstrm  <jhs@lysator.liu.se>

	* view-text.el
	(lyskom-view-text-convert-ISO-646-SE-to-ISO-8859-1): New function
	that, when put in `lyskom-view-text-hook', rewrites }{| as  in
	read texts. Mostly written by Klaus Zeuge.

	* swedish-strings.el, english-strings.el (lyskom-message): Added
	the string `reformat-deswascii'.

2102
2103
2104
2105
2106
2002-01-21  Ulrik Haugen  <qha@lysator.liu.se>

	* vars.el.in (lyskom-text-buttons): Changed the regexps for conf-,
	text- and pers-pointers to accept descriptions with numbers.

David Kågedal's avatar
David Kågedal committed
2107
2108
2109
2110
2111
2002-01-13  David Kgedal  <davidk@lysator.liu.se>

	* commands1.el (lyskom-misc-infos-from-list): Make sure that the
	result is correctly ordered.

2112
2113
2114
2115
2116
2117
2002-01-08  Per Cederqvist  <ceder@lysator.liu.se>

	* vars.el.in (kom-server-aliases): Change HelKOM to HesaKOM, as
	that is what the local community calls it.  Reported by Eva
	Isaksson.

2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2002-01-07  Ulrik Haugen  <qha@lysator.liu.se>

	* aux-items.el (lyskom-edit-insert-cross-reference)
	(lyskom-edit-insert-no-comments) 
	(lyskom-edit-insert-personal-comments) 
	(lyskom-edit-insert-request-confirmation): Added the flags to the
	string returned.

	* edit-text.el (lyskom-edit-generate-aux-item-flags): New
	function, the parts of lyskom-edit-insert-aux-item-flags that do
	not alter the buffer.
	(lyskom-edit-insert-aux-item-flags): Split out the parts that do
	not alter the buffer.

2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2002-01-07  David Byers  <davby@ida.liu.se>

	* edit-text.el (lyskom-edit-insert-miscs): Place add button after
	aux-items. Make a button out of the aux-item prefix.
	(lyskom-edit-insert-aux-item): Place new aux-items before add
	button.
	(lyskom-edit-parse-headers): Use aux-item-prefix-regexp
	(lyskom-edit-on-aux-item): Same here.

	* utilities.el (lyskom-parse-date): New function (not complete)
	that can be used to translate a string to a date specification.

	* vars.el.in (lyskom-button-actions): Changed add-recipient to
	add-recipient-or-xref and added choices for aux-items.

2147
2148
2149
2150
2151
2152
2153
2154
2002-01-03  David Byers  <davby@ida.liu.se>

	* commands2.el (kom-set-unread): Reindented.

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

	* commands2.el (lyskom-time-greater): Reindented.

David Byers's avatar
David Byers committed
2155
2156
2002-01-02  David Byers  <davby@ida.liu.se>

2157
2158
2159
2160
	* parse.el (lyskom-parse-text-mapping): New implementation that
	actually corresponds to the protocol specification.

	Work on bug 280:
David Byers's avatar
David Byers committed
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
	* commands1.el (kom-remove-presentation): New command.

	* vars.el.in (lyskom-commands): Added kom-set-presentation and
	kom-set-motd-text.

	* swedish-strings.el (lyskom-command): Added kom-set-presentation
	and kom-set-motd.

	* commands1.el (kom-set-presentation): New command.
	(kom-set-motd): New command
	(lyskom-set-pres-or-motd-2): New function.

2173
	Various bugs:
David Byers's avatar
David Byers committed
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
	* vars.el.in (lyskom-button-actions): Set pers actions for
	kom-list-news and kom-membership to the values they have for conf
	(bug 293).

	* commands2.el (kom-force-logout): Reindented.
	(kom-force-logout): Handle negative answer from
	lyskom-read-session-no (bug 224).

	* commands1.el (lyskom-misc-infos-from-list): Made this function
	nonrecursive (bug 345)

2185
2186
2187
2188
2189
2190
2191
2192
2001-12-15  Ulrik Haugen  <qha@lysator.liu.se>

	* edit-text.el (lyskom-edit-parse-headers): handle the brackets in
	`[Add recipient]'.

	* swedish-strings.el, english-strings.el (lyskom-message): new
	string: add-recpt-button-text-regex.

2193
2194
2001-12-14  Ulrik Haugen  <qha@lysator.liu.se>

2195
2196
2197
	* commands1.el (kom-list-re): case insensitive search is now the
	default.

2198
	* swedish-strings.el, english-strings.el (lyskom-message): new
2199
	string: add-recpt-button-text.
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210

	* edit-text.el (lyskom-edit-insert-miscs): use
	add-recpt-button-text for the add recipient-button.

2001-11-24  Ulrik Haugen  <qha@lysator.liu.se>

	* ChangeLog: fixed spelling and formatting for a few old entries.

	* swedish-strings.el (lyskom-help-strings): really added help on
	kom-who-is-on-and-friend.

2211
2001-12-09  Per Cederqvist  <ceder@lysator.liu.se>
2212
2213
2214
2215
2216
2217

	* commands2.el (kom-is-person-member-of-conference): When the
	optional arguments pers-no and conf-no were given, the function
	used the conf-no instead of the pers-no argument.  Removed
	spurious &optional keyword in argument list.

2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2001-11-27  Johan Sundstrm  <jhs@lysator.liu.se>

	* lyskom-buttons.el (lyskom-button-review-comments,
	lyskom-button-review-tree, lyskom-button-write-footnote,
	lyskom-button-fast-reply): New button actions.

	* vars.el.in (lyskom-button-actions): Added above button actions
	for text buttons.

	* swedish-strings.el, english-strings.el (lyskom-message): Added
	action names.

2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2001-11-23  Ulrik Haugen  <qha@lysator.liu.se>

	* edit-text.el (lyskom-edit-insert-miscs): print a button with
	type add-recipient after the recipients.
	(lyskom-edit-parse-headers): Ignorera 'add-recipient i headrarna.

	* vars.el.in (lyskom-button-actions): new button type:
	add-recipient.

	* swedish-strings.el, english-strings.el (lyskom-message): new
	string: add-recipient

2242
2243
2244
2245
2246
2247
2248
2001-11-21  Johan Sundstrm  <jhs@lysator.liu.se>

	* startup.el (lyskom): A `C-u' prefix argument makes the session
	invisible.

	* startup.el (kom-start-anew): New argument `invisiblep'.

2249
2250
2251
2252
2253
2254
2255
2256
2257
2001-11-19  David Byers  <davby@ida.liu.se>

	Make it possible to remove recipients by removing their name and
	number but not the header line itself
	* edit-text.el (lyskom-looking-at-header): Implement 'empty for
	second argument. Limit angled headers to one line of text.
	(lyskom-edit-parse-headers): Skip empty recipient headers without
	warning.

2258
2259
2260
2261
2001-11-19  Ulrik Haugen  <qha@lysator.liu.se>

	* vars.el.in (lyskom-button-actions): added "remove" option to the
	recpt-type menu. Better argument names for the lambda-functions in
2262
	recpt-type.
2263
2264

	* lyskom-buttons.el (lyskom-generate-button): do a car on
2265
	menu-title so we get an error message if it's not a cons when the
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
	button is generated in stead of when it's used.

	* swedish-strings.el, english-strings.el (lyskom-message): new
	string: lyskom-button-recpt-type-sub.

	* edit-text.el (lyskom-edit-insert-misc-conf): use lyskom-format
	to add text properties for the recipient type.
	(lyskom-edit-do-add-recipient/copy): use save-excursion in stead
	of lyskom-save-excursion.
	(lyskom-edit-sub-recipient/copy): new function.

2001-11-14  Ulrik Haugen  <qha@lysator.liu.se>

	* vars.el.in (lyskom-button-actions): added remove alternative for
	recpt-type buttons.

	* edit-text.el (lyskom-edit-sub-recipient/copy): new function.

	* swedish-strings.el, english-strings.el (lyskom-message): new
	string: lyskom-button-recpt-type-sub.

2287
2001-11-17  Per Cederqvist  <ceder@lysator.liu.se>
2288
2289
2290
2291
2292
2293
2294
2295

	Use content types as specified in the current version of the
	protocol A specification.
	* vars.el.in (lyskom-format-special): Treat "x-kom/text" as an
	alias for "text/x-kom-basic".
	* edit-text.el (lyskom-edit-send): Set the content type
	"text/x-kom-basic", not "x-kom/text", on new texts.

2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2001-11-13  David Byers  <davby@ida.liu.se>

	List unique subjects when prefix is given to kom-list-summary
	* commands2.el: (kom-list-summary): Prefix argument sets "unique"
	flag to lyskom-list-summary.
	(lyskom-list-summary): Added "unique" argument.
	(lyskom-do-list-summary): Aded "unique" argument.
	(kom-list-summary): List unique subjects when a prefix argument is
	given.

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

2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2001-11-13  Ulrik Haugen  <qha@lysator.liu.se>

	* vars.el.in (lyskom-button-actions): added button-type:
	recpt-type.

	* edit-text.el (lyskom-edit-add-recipient/copy): new paramter:<