ChangeLog 190 KB
Newer Older
1
2
3
4
5
2002-04-27  Per Cederqvist  <ceder@ceder.dyndns.org>

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

6
7
2002-04-27  David Byers  <david.byers@swipnet.se>

8
9
10
11
12
13
14
	* 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.

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
	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
38
39
40
2002-04-27  Ulrik Haugen  <qha@lysator.liu.se>

	Fix bug 458:
41

Ulrik Haugen's avatar
Ulrik Haugen committed
42
43
44
45
46
47
	* 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.

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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.

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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
110
111
2002-04-24  David Byers  <david.byers@swipnet.se>

112
113
114
	* 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
	* 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.

138
139
140
141
142
2002-04-24  David Kgedal  <david@virtutech.se>

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

143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
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.

167
168
169
170
171
172
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
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.

227
228
229
230
231
232
233
234
235
236
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
237

238
239
	* english-strings.el (lyskom-command): Added kom-diff-texts.

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

242
243
2002-04-20  David Byers  <david.byers@swipnet.se>

David Byers's avatar
David Byers committed
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
	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.

280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
	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.

298
299
300
301
302
2002-04-20  Per Cederqvist  <ceder@ceder.dyndns.org>

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

303
304
305
306
307
308
309
310
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
311
312
313
314
315
316
317
318
319
320
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". 

321
322
323
324
325
326
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.

327
328
329
330
331
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
332
333
334
335
336
337
338
339
340
341
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.

342
343
2002-04-14  David Byers  <david.byers@swipnet.se>

344
345
346
	* faqs.el (lyskom-check-for-read-faqs): Handle missing FAQ texts
	better.

347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
	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.

363
364
365
	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
	New function.

366
367
2002-04-13  David Byers  <david.byers@swipnet.se>

368
369
370
371
372
373
374
375
376
	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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
	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.

405
406
407
408
409
410
411
412
413
414
415
416
417
	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.

418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
	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.

445
446
447
448
2002-04-13  Joel Rosdahl  <joel@lysator.liu.se>

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

449
450
451
452
453
454
455
456
457
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
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
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.

474
475
2002-04-11  David Byers  <david.byers@swipnet.se>

476
477
478
	* aux-items.el (lyskom-print-faq-for-conf): Show FAQ for server
	correctly.

479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
	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.

502
503
504
505
506
	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 :-)

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

509
	* swedish-strings.el (lyskom-command): Added kom-create-aux-item.
510
511
512
513
514
515
516
517

	* 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
518
519
2002-04-10  David Byers  <david.byers@swipnet.se>

520
521
522
	Implemented command to create arbitrary aux-items:
	* commands2.el (kom-status-conf): Show unknown aux-items.
	(kom-create-aux-item): New command.
523
524
525
526
527

	* 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
528
529
530
531
532
533
534
535
536
	* 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
537
538
539
540
541
542
543
544
545
546
547
548
549
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
	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:
587
	* filter.el (kom-filter-recipient): New command.
David Byers's avatar
David Byers committed
588
589

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

David Byers's avatar
David Byers committed
593
	Completion on kom-sub-comment and kom-sub-footnote:
David Byers's avatar
David Byers committed
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
	* 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
610
	Completion on kom-sub-comment and kom-sub-footnote:
David Byers's avatar
David Byers committed
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
	* 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.

626
627
2002-04-08  Ulrik Haugen  <qha@lysator.liu.se>

628
629
630
631
	* 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).

632
633
634
635
636
637
638
639
	* 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.

640
641
642
643
2002-04-03  Ulrik Haugen  <qha@lysator.liu.se>

	* Makefile (debian-packages): new target.

644
645
646
647
648
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
649
2002-03-24  Joel Rosdahl  <joel@lysator.liu.se>
David Byers's avatar
David Byers committed
650

David Byers's avatar
David Byers committed
651
652
653
654
	* 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
655
656
657
658
659
660
661
662
663
664
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
665
666
	* swedish-strings.el (lyskom-message): Spelling tweak.

Joel Rosdahl's avatar
Joel Rosdahl committed
667
668
669
	* commands1.el (lyskom-private-answer-soon-prev): Removed unused
	function.

670
671
2002-03-21  Joel Rosdahl  <joel@lysator.liu.se>

672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
	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.

702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
	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
717
718
719
720
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
721
722
723
724
725
2002-03-19  Joel Rosdahl  <joel@lysator.liu.se>

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

726
727
728
729
730
731
732
733
734
735
736
737
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.

738
739
740
741
742
743
2002-03-12  Joel Rosdahl  <joel@lysator.liu.se>

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

744
745
746
747
748
749
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).

750
751
752
753
754
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.
755

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

758
759
2002-03-03  Joel Rosdahl  <joel@lysator.liu.se>

760
761
762
	* vars.el.in (lyskom-month-names): Added property
	'lyskom-language-force.

763
764
765
766
767
768
769
770
771
772
773
	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.

774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
	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
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
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.

811
812
813
814
2002-03-03  Joel Rosdahl  <joel@lysator.liu.se>

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

815
816
2002-03-02  Joel Rosdahl  <joel@lysator.liu.se>

817
818
	* commands2.el: Removed some erroneous indentation.

Joel Rosdahl's avatar
Joel Rosdahl committed
819
820
	Fixed bug 387:

821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
	* 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.

840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
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
859
860
861
862
863
864
865
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".

866
867
2002-02-25  Joel Rosdahl  <joel@lysator.liu.se>

868
869
870
871
872
	* swedish-strings.el (lyskom-message): Ditto.

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

873
874
875
876
877
878
	* 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".

879
880
881
	* vars.el.in (kom-server-aliases): Call com.lysator.liu.se "LysCOM
	(LysKOM in English)" for now.

882
883
884
885
886
887
888
	* 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
889
890
2002-02-24  Joel Rosdahl  <joel@lysator.liu.se>

891
892
893
894
	* copyright: Ditto.

	* Makefile: Ditto.

895
896
897
898
	* *.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
899
900
901
	* utilities.el (lyskom-find-text-by-date): Removed unused local
	variable.

902
903
904
905
906
907
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.

908
909
2002-02-24  Joel Rosdahl  <joel@lysator.liu.se>

910
911
912
	* mship-edit.el (lyskom-read-time): Commented out code that
	generated a compilation warning.

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

915
916
917
	* swedish-strings.el: Corrected terminology in
	quit-in-spite-of-unsent.

918
919
920
921
922
923
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.

924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
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.

946
947
948
949
950
951
952
953
954
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.)

955
956
957
958
959
960
961
962
963
964
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'.

965
966
967
968
969
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
970
971
972
973
974
2002-01-13  David Kgedal  <davidk@lysator.liu.se>

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

975
976
977
978
979
980
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.

981
982
983
984
985
986
987
988
989
990
991
992
993
994
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.

995
996
997
998
999
1000
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.
For faster browsing, not all history is shown. View entire blame