ChangeLog 126 KB
Newer Older
Joel Rosdahl's avatar
Joel Rosdahl committed
1
2
3
4
5
6
7
8
9
10
11
2001-03-15  Joel Rosdahl  <joel@rosdahl.net>

	* Makefile: Include build date in client version if built from a
	checked-out CVS module.  Somewhat crude, but maybe nice.

	* swedish-strings.el (lyskom-message): Added missing word.
	Different formatting for client statistics lines.

	* english-strings.el (lyskom-en-edit-mode-map): Fixed cut-n-paste
	error.  Different formatting for client statistics lines.

Joel Rosdahl's avatar
Joel Rosdahl committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
2001-02-25  Joel Rosdahl  <joel@rosdahl.net>

	* Release av 0.46.1.

	* view-text.el (lyskom-view-text): Don't sort remarks when
	reviewing without conversion.

	* swedish-strings.el (lyskom-command): "Anmrkningar" instead of
	"korta repliker".

	* english-strings.el (lyskom-message): "Remarks" instead of
	"fast/quick replies".

	* commands2.el (kom-fast-reply): Updated doc string.

	* Makefile (release-files): Include spec file in release.

	* Makefile: Removed release-cleanup.

	* distribution-README: Note about RPMs.

	* lyskom-elisp-client.spec: Include NEWS-0.46.1.  Better source
	URL.

	* Makefile (clean): Don't remove RPM spec.

Joel Rosdahl's avatar
Joel Rosdahl committed
38
39
40
41
42
43
44
45
46
47
48
49
2001-02-20  Joel Rosdahl  <joel@rosdahl.net>

	* debian/docs: Added NEWS-0.46.1.

	* english-strings.el (lyskom-message): Reworded
	{author,other}-fast-replies.

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

	* commands1.el (kom-change-parenthesis): Use name of current user
	as default.

Joel Rosdahl's avatar
Joel Rosdahl committed
50
51
2001-02-03  Joel Rosdahl  <joel@rosdahl.net>

52
53
54
55
56
57
58
59
	* lyskom-rest.el (lyskom-update-prompt): Show "read next
	attachment" prompt if next text is an attachment.

	* swedish-strings.el (lyskom-message): Added
	read-next-attachment-prompt.

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

Joel Rosdahl's avatar
Joel Rosdahl committed
60
61
	* distribution-README: Various small updates.

Joel Rosdahl's avatar
Joel Rosdahl committed
62
63
2001-01-28  Joel Rosdahl  <joel@rosdahl.net>

Joel Rosdahl's avatar
Joel Rosdahl committed
64
65
	* Release av 0.46.1-BETA-5.

66
67
68
69
70
71
	* english-strings.el (lyskom-en-edit-mode-map): Bind
	kom-button-click-or-yank to different buttons depending on Emacs
	flavour.

	* swedish-strings.el (lyskom-sv-edit-mode-map): Ditto.

72
73
74
75
76
77
78
79
80
81
82
83
	* view-text.el (lyskom-view-text): Show fast replies made by
	author first.

	* english-strings.el: New strings for fast replies.

	* swedish-strings.el: Ditto.

	* aux-items.el (lyskom-print-fast-reply): Removed.

	* aux-items.el: Added recommended-conf and
	allowed-content-type aux items.

Joel Rosdahl's avatar
Joel Rosdahl committed
84
85
86
	* edit-text.el (lyskom-edit-mode): Fixed typo found by Per
	Starbck.

David Byers's avatar
David Byers committed
87
88
89
90
91
92
93
2001-01-07  David Byers  <davby@ida.liu.se>

	* swedish-strings.el: Changed useful bindings of button2up to
	button2. Changed useful bindings of button3up to button3. In a fit
	of paranoia bound button2up and button3up in corresponding places
	to kom-mouse-null.

94
95
96
97
98
99
2001-01-18  Joel Rosdahl  <joel@rosdahl.net>

	* view-text.el (lyskom-print-text): Keep viewed text in cache a
	bit longer so that it won't be prefetched a second time.
	(lyskom-view-text): Ditto.

100
101
102
103
104
105
106
107
108
109
110
2001-01-02  Ulrik Haugen  <qha@lysator.liu.se>

	* All files changed when I replaced
	(or (eq foo 'a) (eq foo 'b) ...) with (member foo '(a b ...)):
	Replaced member with memq which compares with `eq', and
	substituted lyskom-comment-types-list & c. where apropriate.

	* vars.el.in (lyskom-comment-types-list): Added constant.
	(lyskom-recpt-types-list): Ditto.
	(lyskom-review-types-list): Ditto.

111
112
2000-12-31  Ulrik Haugen  <qha@lysator.liu.se>

113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
	* view-text.el (lyskom-view-text): Replaced
	(or (eq foo 'a) (eq foo 'b) ...) with (member foo '(a b ...))
	This means that the comparison will be done by `equal' instead,
	but that shouldn't matter.
	(lyskom-text-read-p): Ditto.
	(lyskom-text-read-at-least-once-p): Ditto.
	(lyskom-mark-as-read): Ditto.

	* utilities.el (lyskom-text-recipients): Ditto.

	* review.el (lyskom-get-texts-by-to): Ditto.
	(kom-review-backward): Ditto.
	(kom-review-clear): Ditto.

	* prefetch.el (lyskom-prefetch-text-all-handler): Ditto.
	(lyskom-prefetch-texttree-handler): Ditto.
	(lyskom-prefetch-texts-handler): Ditto.

	* parse.el (lyskom-parse-bitstring): Ditto.

	* mship-edit.el (lp--format-insert-entry): Ditto except I replaced
	(and (not (eq foo a)) (not (eq foo b)) ...) with
	(not (member foo (list a b))

	* lyskom-rest.el (kom-view-next-new-text): Ditto.
	(kom-view-next-text): Ditto.
	(lyskom-is-read-handler): Ditto.
	(lyskom-get-prioritized-session): Ditto.
	(lyskom-what-to-do): Ditto.

	* lyskom-buttons.el (lyskom-generate-button): Ditto.
	(lyskom-view-url-windows): Ditto.
	(lyskom-view-url-netscape): Ditto.

	* komtypes.el (lyskom-is-recipient): Ditto.

	* filter.el (lyskom-filter-text-p-2): Ditto.

	* filter-edit.el (lyskom-verify-filter-pattern): Ditto.
	(lyskom-format-filter-pattern-insert): Ditto.
	(lyskom-filter-edit-insert-pattern): Ditto.

	* edit-text.el (lyskom-edit-send-check-recipients): Ditto.
	(lyskom-edit-send-check-recipients): Ditto.
	(lyskom-edit-get-commented): Ditto.

	* completing-read.el (lyskom-complete-string): Ditto.

	* commands2.el (kom-list-summary): Ditto.
	(kom-postpone): Ditto.
	(kom-set-personal-label): Ditto.

	* commands1.el (lyskom-get-recipients-from-misc-list): Ditto.
	(lyskom-list-created-conferences-2): Ditto except I replaced
	(or (eq (a) foo) (eq (b) foo) ...) with
	(member foo (list (a) (b) ...))
	(lyskom-jump): Ditto.

	* clienttypes.el (read-list-delete-text): Ditto.

	* buffers.el (lyskom-display-buffer): Ditto.

	* autoconf.el (extract-configuration-option): Ditto.

	* async.el (lyskom-async-new-text): Ditto.
	(lyskom-async-deleted-text): Ditto.

180
181
182
183
184
	* swedish-strings.el (lyskom-sv-mode-map): Made "<delete>" scroll
	up as well as the other delete-keys.

	* english-strings.el (lyskom-en-mode-map): Ditto.

185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
2000-12-22  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (kom-page-next-command): Added (temporary)
	workaround for emacs-21.0.94.
	(kom-view): Same here.

2000-12-15  David Byers  <davby@ida.liu.se>

	* buffers.el (lyskom-display-buffer): Fixed problem with
	displaying windows in iconified frames. This could cause Emacs to
	lock up. Maybe.

2000-12-12  David Byers  <davby@ida.liu.se>

	* commands1.el (kom-move-text): Default recipient of kom-move-text
	is finally correct.

202
203
2000-12-29  Ulrik Haugen  <qha@lysator.liu.se>

204
	* lyskom-rest.el (j-or-n-p lyskom-j-or-n-p): Removed the parameter
205
206
207
208
	quittable and rewrote the functions as if it were always
	t. Callers changed (in aux-items.el, commands1.el, commands2.el,
	edit-text.el, filter-edit.el and startup.el).

209
210
211
212
2000-12-17  Ulrik Haugen  <qha@lysator.liu.se>

	* utilities.el: applied patch from Per Starbck, device-class
	isn't defined if it doesn't exist, lyskom-device-class is. Caller
213
	changed. (See text 5867166 in LysLysKOM.)
214

215
216
217
218
219
220
221
222
223
224
225
226
227
2000-12-12  David Byers  <davby@sen5.ida.liu.se>

	* Release av 0.46.1-BETA-4

2000-12-12  David Byers  <davby@ida.liu.se>

	* commands2.el (kom-modeline-next-unread-kom): Don't check for
	Emacs version.
	(kom-modeline-select-unread-kom): Don't check for Emacs version.

	* lyskom-rest.el (lyskom-is-loaded): Set modeline keymap for
	lyskom-unread-mode-line in Gnu Emacs too.

228
229
230
231
232
233
234
235
236
237
2000-12-09  Joel Rosdahl  <joel@rosdahl.net>

	* commands2.el (kom-status-conf): More space allocated for the
	"Unread" column.
	(kom-status-person): Ditto.

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

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

238
239
2000-12-06  Joel Rosdahl  <joel@rosdahl.net>

240
241
242
	* edit-text.el (lyskom-edit-send-check-recipients): Ask if normal
	recipient or carbon copy recipient should be added.

243
244
245
246
247
	* distribution-configure.in: Ignore stderr output from Emacs.

	* autoconf.el (extract-autoconf-data): Print autoconf data to
	stdout.

248
249
2000-12-03  Per Cederqvist  <ceder@moria>

Per Cederqvist's avatar
Per Cederqvist committed
250
251
	* macros.el (blocking-do-multiple): Fixed typo in docstring.

252
253
254
255
	* english-strings.el (kom-ispell-dictionary): Set the value for
	"en", not "sv".
	(kom-tell-phrases): Likewise.

256
257
258
259
260
261
262
263
2000-12-02  Per Cederqvist  <ceder@moria>

	Enable colors on tty devices under Emacs 21.
	* utilities.el (device-class): Provide a better version if 
	display-color-p exists.

	* compatibility.el (window-list): Removed. This was no longer used.

264
265
266
267
268
269
2000-11-30  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-make-re-case-insensitive): Eliminate use of
	split-string since it doesn't exist in all Emacsen (and fails in
	XEmacs).

270
271
272
273
2000-11-29  David Byers  <davby@sen5.ida.liu.se>

	* Release av 0.46.1-BETA-3

Joel Rosdahl's avatar
Joel Rosdahl committed
274
275
276
277
2000-11-27  Joel Rosdahl  <joel@rosdahl.net>

	* debian/control (Depends): Saner dependency default.

David Byers's avatar
David Byers committed
278
279
280
281
282
283
2000-11-23  David Byers  <davby@ida.liu.se>

	* filter.el (kom-super-jump): Check for empty subject by matching
	subject againts regexp, not regexp against subject (which would be
	plain wrong).

284
285
286
287
288
2000-11-19  Joel Rosdahl  <joel@rosdahl.net>

	* vars.el.in (kom-dont-check-commented-authors): Added inherit
	property.

289
290
291
292
293
294
2000-11-19  Per Starbck (commit by Per Cederqvist  <ceder@moria>)

	* buffers.el (lyskom-undisplay-buffer): Don't use window-list,
	since it takes different arguments under Emacs 21 and other
	emacsen.

295
296
2000-11-18  Joel Rosdahl  <joel@rosdahl.net>

297
298
299
	* lyskom-elisp-client.spec: Changed file names in %install
	section.

300
301
302
303
304
305
	* commands1.el (kom-change-parenthesis): Handle multiple
	parentheses and paranthesis not located at the end.

	* vars.el.in (kom-server-aliases): kom.hem.liu.se instead of
	rydkom.rydnet.lysator.liu.se.

306
307
308
309
	* command.el (lyskom-read-extended-command): Revived the
	minibuffer completion code from 0.46-BETA-P.
	(lyskom-ok-command): Ditto.

310
311
312
313
314
315
2000-11-18  Per Starbck (commit by Per Cederqvist  <ceder@moria>)

	* commands2.el (kom-status-person): Use mod instead of %, since
	floating point numbers can result from string-to-number in Emacs
	21.

316
317
318
319
320
321
322
323
324
325
326
327
2000-10-05  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-sentinel): Use dead-ok argument to
	lyskom-start-of-command.

	* command.el (lyskom-start-of-command): Added dead-ok argument.

2000-09-22  David Byers  <davby@sen2.ida.liu.se>

	* commands1.el (lyskom-go-to-empty-conf): Check
	lyskom-is-anonymous.

328
329
330
331
332
333
334
335
336
337
338
2000-10-01  Per Cederqvist  <ceder@moria>

	* commands1.el (lyskom-make-re-case-insensitive): New function.
	(kom-list-re): Be case insensitive if a prefix arg is given.
	* vars.el.in (lyskom-char-classes): New variable.
	* utilities.el (lyskom-default-collate-table): Doc-string
	improved.  Value fixed.
	(lyskom-compute-char-classes): New function.
	* startup.el (lyskom): Set lyskom-char-classes.
	* lyskom-rest.el: Set a default value for lyskom-char-classes.

339
340
341
342
343
344
345
346
347
2000-09-15  David Byers  <davby@ida.liu.se>

	* command.el (lyskom-command-complete-word): Prevent multiple
	spaces at end of a word (you'd get them when you typed a full word
	and then a space).
	(lyskom-read-extended-command): Bind last-exact-completion for
	XEmacs compatibility.
	(last-exact-completion): New variable.

348
349
2000-09-14  David Byers  <davby@sen2.ida.liu.se>

350
351
	* Release av 0.46.1-BETA-2

352
353
354
355
356
357
358
359
	* english-strings.el: We tried to bind things in the *swedish*
	keymaps. Bad idea. Fixed.

2000-09-13  David Byers  <davby@sen2.ida.liu.se>

	* english-strings.el: Bind C-c C-y in edit mode. Bind keys in
	lyskom-en-customize-map (used to say lyskom-sv-customize-map). 

360
361
362
363
2000-09-14  Joel Rosdahl  <joel@lysator.liu.se>

	* vars.el.in: Proof-read variable descriptions.

364
365
2000-09-09  David Byers  <davby@sen2.ida.liu.se>

366
367
368
369
370
371
	Fix problems with slow commands:
	* slow.el (lyskom-expand-slow-command): Return the command when
	there is an exact match.
	(kom-parse-command-and-execute): Use lyskom-expand-slow-command
	instead of kom-expand-slow-command.

372
373
374
375
376
377
	* Release av 0.46.1-BETA-1

	* swedish-strings.el: Changed ".)" to ")." where appropriate.

	* english-strings.el: Changed ".)" to ")." where appropriate.

378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
	* buffers.el (lyskom-buffer-kill-trim-hook): New function. Add
	call to lyskom-ignore to avoid warnings about unused variables.
	(kill-buffer-hook): Add lyskom-buffer-kill-trim-hook instead of
	anonymous lambda. Add to the global value since the local value of
	the hook is undefined at load time.

	Compatibility definition lyskom-read-from-minibuffer:
	* option-edit.el (lyskom-widget-string-action): Use
	lyskom-read-from-minibuffer.

	* filter.el (kom-filter-subject): Use lyskom-read-from-minibuffer.
	(kom-filter-text): Use lyskom-read-from-minibuffer.

	* filter-edit.el (lyskom-filter-edit-insert-pattern): Use
	lyskom-read-from-minibuffer.

	* edit-text.el (kom-edit-insert-text): Use
	lyskom-read-from-minibuffer.

	* commands2.el (kom-calculate): Use lyskom-read-from-minibuffer.
	(kom-set-personal-label): Same here.
	(kom-set-personal-label): Same here.

	* ansaphone.el (kom-change-auto-reply): Use
	lyskom-read-from-minibuffer.

	Start to fix command completion:
	* command.el (lyskom-read-extended-command): Roll our own
	completing-read by emulating the standard behavior.

	* compatibility.el (lyskom-read-from-minibuffer): New
	compatibility definition.

	* command.el (lyskom-completing-strip-command): Replace parens
	with empty string, not space.
	(lyskom-command-match-string-regexp): Allow initial space. 

2000-09-05  David Byers  <davby@sen2.ida.liu.se>

	* commands1.el (kom-change-priority): Bind
	kom-membership-default-priority to nil to force
	lyskom-try-add-member to ask.
	(kom-change-priority): Don't break when user is not a member of
	the conference. Useful error message when conference does not
	exist.

2000-09-03  David Byers  <davby@sen2.ida.liu.se>

	* command.el (lyskom-update-command-completion): Save unicased
	version of string.
	(lyskom-complete-command): Fix updating of exact.

430
431
432
433
2000-09-05  Joel Rosdahl  <joel@lysator.liu.se>

	* distribution-README: Information about the Debian package.

434
435
436
437
438
439
440
441
2000-09-05  Joel Rosdahl  <joel@lysator.liu.se>

	* english-strings.el: Proof-read (to the best of my ability...).
	Removed misspelled key.

	* swedish-strings.el: Corrected spelling.  Fixed inconsistency.
	Removed misspelled key.

442
443
444
445
446
447
448
449
2000-09-03  Ulrik Haugen  <qha@lysator.liu.se>

	* buffers.el (kill-buffer-hook): Moved the adding to kill-buffer-hook
	here and added a check for the major-moded; this should keep it from
	affecting all buffers.

	* english-strings.el (lyskom-custom-strings): Fixed a spelling error.

450
451
452
453
454
2000-09-02  Ulrik Haugen  <qha@lysator.liu.se>

	* startup.el (lyskom-mode): kill-buffer-hook runs the
	lyskom-trim-buffer-hook on the whole buffer.

David Byers's avatar
David Byers committed
455
456
457
458
2000-09-02  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46

459
460
2000-09-02  David Byers  <davby@ida.liu.se>

461
462
	* Makefile (release-files): Build zip file too.

463
464
465
466
467
468
	* command.el (lyskom-command-match-string-regexp): New function.
	(lyskom-completing-strip-command): New function.
	(lyskom-complete-command): Record exact matches when iterating
	through alternatives. Fix lyskom-lookup to return the exact match,
	not just the first possible match.

469
470
471
472
	* distribution-Makefile (INFODIR): Changed to default location for
	Emacs installations.
	(LISPDIR): Same here.

David Byers's avatar
David Byers committed
473
474
475
476
477
478
479
480
481
482
483
484
485
	* slow.el (lyskom-expand-slow-command): Use
 	lyskom-slow-list-completions to sort possible completions.
	(lyskom-slow-list-completions): New function.
	(kom-slow-list-completions): Use lyskom-slow-list-completions.

	* compatibility.el (char-before): New compatibility definition.

	* utilities.el (lyskom-maybe-frob-completion-table): Add third
	argument to lyskom-recode-string.

	* lyskom-buttons.el (lyskom-make-button-menu): Add third argument
	to lyskom-recode-string.

486
487
2000-09-01  David Byers  <davby@sen2.ida.liu.se>

David Byers's avatar
David Byers committed
488
489
	* slow.el (kom-slow-click-or-yank): Fixed typo.

490
491
	* Release of 0.46-BETA-W

492
493
2000-09-01  David Byers  <davby@ida.liu.se>

494
495
496
497
498
499
500
501
	
	Selective checking of commented author's membership:
	* edit-text.el (lyskom-edit-send-check-recipients): Use
	kom-dont-check-commented-authors. 

	* vars.el.in (kom-dont-check-commented-authors): New variable.

	Better command completion:
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
	* command.el (lyskom-complete-command): Fix. We didn't handle
	check for exact match properly. Fix unibyte incompatibility.
	(lyskom-read-extended-command): Use lyskom-complete-command.
	(lyskom-ok-command): Work the elements from
	lyskom-command-alternatives.

	* vars.el.in (lyskom-command-alternatives): Made a minibuffer
	variable.
	(lyskom-is-administrator): Same here.

	* command.el (lyskom-ok-command): Rewrote to work with new
	completion thingy.

	Buttons and menus in slow mode:
	* slow.el (kom-expand-slow-command-or-next-link): New command.
	(kom-slow-click-or-yank): New command.
	(kom-slow-button-press): New command.
	(kom-slow-menu-button-press): New command.
	(kom-expand-slow-command-or-next-link): New command.
	(lyskom-slow-on-prompt-line): New function.

2000-08-31  David Byers  <davby@ida.liu.se>

	* slow.el (kom-slow-start-of-line): Do the right thing when not on
	the last line of the buffer.

528
529
2000-08-31  Ulrik Haugen  <qha@lysator.liu.se>

530
	* lyskom-rest.el (lyskom-trim-buffer): Saves point and mark and
531
532
	resets point, mark and lyskom-last-viewed after taking into
	consideration lyskom-trim-buffer-delete-to.
533
534
	(lyskom-trim-buffer): Except point and mark doesn't need this
	treatment.
535

536
537
538
539
Thu Aug 31 14:38:34 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-Q

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
2000-08-31  David Byers  <davby@ida.liu.se>

	* option-edit.el (lyskom-customize-buffer-format): Moved
	lyskom-trim-buffer-minimum to a better position.

	* english-strings.el, swedish-strings.el: Fixed some minor rookie
	mistakes made by Ulrik.

	* completing-read.el (lyskom-completing-match-string-regexp):
	Moved to avoid compiler warnings and to make inlining work.
	(lyskom-completing-match-string): Ditto.

	* Makefile (SOURCES): Moved completing-read up to avoid warnings.

2000-08-30  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-update-prompt): Don't fsck up the command
	the user is currently entering at the prompt when in slow mode.

	* vars.el.in (lyskom-command-alternatives): New variable.

	* slow.el (kom-slow-list-completions): New command.

	* swedish-strings.el (lyskom-command): Renamed "terstarta kom" so
	that "terse" would be easier to complete when using slow
	commands.

	* language.el (lyskom-set-language): Call
	lyskom-update-command-completion. 

	* lyskom-rest.el (lyskom-is-loaded): Set the default value of
	lyskom-collate-table so that lyskom-unicase works even before we
	connect to the server.

	* utilities.el (lyskom-unicase): Don't attempt to switch to lyskom
	buffer if there is none.

	* command.el (lyskom-update-command-completion): New function.
	(lyskom-lookup-command-by-name): New function.
	(lyskom-complete-command): New function.

	* completing-read.el (lyskom-completing-match-string-regexp): New
	function.
	(lyskom-completing-match-string): Use it.
	
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
2000-08-30  Ulrik Haugen  <qha@lysator.liu.se>

	* english-strings.el (lyskom-custom-strings)
	(lyskom-custom-strings): Added
	lyskom-trim-buffer-minimum.

	* swedish-strings.el (lyskom-custom-strings)
	(lyskom-custom-strings): Added
	lyskom-trim-buffer-minimum.

	* vars.el.in (kom-trim-buffer-minimum): Added this variable.

	* option-edit.el (lyskom-customize-buffer-format)
	(lyskom-custom-variables): Added lyskom-trim-buffer-minimum.

	* lyskom-rest.el (lyskom-trim-buffer): lyskom-trim-buffer-hook is only
	run when there's kom-trim-buffer-minumum bytes or more to remove.

603
604
605
606
607
2000-08-30  David Byers  <davby@ida.liu.se>

	* utilities.el (lyskom-maybe-frob-completion-table): Added missing
	table argument.

608
609
610
611
612
613
2000-08-29  Joel Rosdahl  <joel@lysator.liu.se>

	* Makefile (debian-build): Use new Makefile target.

	* debian/rules (binary-indep): Use new Makefile target.

614
615
616
617
2000-08-29  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-P

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
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
2000-08-29  David Byers  <davby@ida.liu.se>

	* check-strings.el: Support strings and user variables declared as
	missing to eliminate spurious warnings. Support expected ending
	mismatches.

	* language.el (lyskom-language-missing-string-internal): New
	function. 
	(lyskom-language-missing-string): New macro.

	* startup.el (kom-start-anew): Print e-mail address for server
	admin if user does not enter the correct password.

2000-08-29  David Byers  <davby@sen2.ida.liu.se>

	Correct multibytedness of buffer names:
	* buffers.el (lyskom-recode-buffer-name): New function.
	(lyskom-generate-new-buffer): Use it instead of
	lyskom-maybe-recode-string.
	(lyskom-get-buffer-create): Same here.

2000-08-29  David Byers  <davby@ida.liu.se>

	* edit-text.el (lyskom-edit-add-recipient/copy): Obey
	kom-confirm-add-recipients.

	Fix question whether to add cc-recipient:
	* commands1.el (lyskom-add-helper): Inline check for cc-recipient.
	Removed call to lyskom-last-added-rcpt.
	(lyskom-verify-add-recipient): Removed.

	* vars.el.in (kom-confirm-add-recipients): New variable.
	(lyskom-add-recipient-hook): Removed.

	Fix defaults for sub and move recipients:
	* commands1.el (kom-sub-recipient): Use lyskom-last-sub-recipient
	if it is one of the recipients. If a default recipient does not
	exist, try the next.
	(lyskom-default-recpt-for-sub): New function.
	(kom-sub-recipient): Use lyskom-default-recpt-for-sub.

	* vars.el.in (lyskom-last-added-rcpt): Made local.
	(lyskom-last-added-ccrcpt): Ditto.
	(lyskom-last-added-bccrcpt): Ditto.
	(lyskom-last-sub-rcpt): New variable.

	Bugfix for status session:
	* commands1.el (lyskom-deferred-client-1): Work even when
	defer-info data is just the session number.
	(lyskom-deferred-client-2): Handle case when there is no
	collector. 

670
671
2000-08-28  David Byers  <davby@ida.liu.se>

672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
	Make nearly all hooks local:
	* vars.el.in (kom-quit-hook): Declare as server-hook.
	(lyskom-view-text-hook): Declare as local-hook.
	(lyskom-send-message-hook): Ditto.
	(lyskom-login-hook): Ditto.
	(lyskom-change-conf-hook): Ditto.
	(lyskom-send-text-hook): Ditto.
	(lyskom-send-message-exit-hook): Ditto.
	(lyskom-personal-message-hook): Ditto.

	Summary statistics at end of list:
	* commands1.el (lyskom-list-clients-statistics-2): New function.
	(lyskom-list-clients-statistics-1): New function.
	(lyskom-list-clients-collect): New function.
	(lyskom-deferred-client-2): Collect client statistics.
	(kom-list-clients): Collect client statistics. Print client
	statistics.

	Improve FAQ handling:
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
	* vars.el.in (lyskom-commands): Added kom-change-conf-faq.

	* commands1.el (lyskom-change-conf-faq-2): New function.
	(lyskom-change-conf-faq): New function.
	(kom-change-conf-faq): New command.

	* commands2.el (kom-del-faq): If there is only one FAQ, assume
	that is the one to delete.

Fri Aug 25 22:12:16 2000  David Byers  <davby@sen2.ida.liu.se>

	Correct definition of mday in lyskom-client-date:
	* async.el (lyskom-format-as-personal-message): Assume correct
 	value of mday.

	* utilities.el (lyskom-client-date): Correct setting of mday.

2000-08-23  David Byers  <davby@ida.liu.se>

	* talkback.el (lyskom-insert-bug-report): Added command-line-args
	to output.

713
714
715
716
2000-08-23  David Byers  <davby@sen2.ida.liu.se>

	* Release of 0.46-BETA-O

David Byers's avatar
David Byers committed
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
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
2000-08-23  David Byers  <davby@ida.liu.se>

	* commands2.el (lyskom-stop-keep-alive): Use disable-timeout for
	XEmacs 20.4 compatibility.
	(lyskom-keep-alive): Use add-timeout for XEmacs 20.4
	compatibility.

	Get rid of compiler warnings:
	* utilities.el (functionp): Use lyskom-compiled-function-p, not
	byte-code-function-p to eliminate a warning.
	(lyskom-compiled-function-p): Define depending on Emacs version to
	avoid using function marked as obsolete in XEmacs but not in Emacs
	and vice versa (compiled-function-p vs byte-code-function-p).
	
	* lyskom-buttons.el (kom-mouse-null): Added call to identity to
	get rid of compiler warning in Gnu Emacs 20.2.

	* lyskom-rest.el (lyskom-is-loaded): defvar
	frame-icon-title-format to avoid compiler warnings.

	* compatibility.el (strikethrough): Define face strikethrough
	here. The type of definition is set at compile time.

	* utilities.el (lyskom-setup-faces): Move creation of face
	strikethrough to compatibility.el.

2000-08-22  David Byers  <davby@ida.liu.se>

	Get rid of compiler warnings:
	* compatibility.el (lyskom-encode-coding-char): Test emacs version
	at compile time to get rid of some warnings. Downside is that we
	need to run in the same version (more or less) that we compiled
	in.

	Get completing-read to work in unibyte MULE emacsen:
	* startup.el (lyskom-read-server-name): Use
	lyskom-completing-read.

	* remote-control.el (kom-remote-autoreply): Use
	lyskom-completing-read.

	* lyskom-buttons.el (lyskom-keyboard-menu): Use
	lyskom-completing-read. Recove completion table as necessary.

	* filter.el (lyskom-filter-read-action): Use
	lyskom-completing-read.

	* filter-edit.el (lyskom-filter-edit-insert-entry): Use
	lyskom-completing-read.
	(lyskom-filter-edit-insert-pattern): Use lyskom-completing-read.

	* edit-text.el (kom-edit-add-cross-reference): Use
	lyskom-completing-read.

	* completing-read.el (lyskom-read-session-resolve-ambiguity): Use
	lyskom-completing-read.

	* command.el (lyskom-read-extended-command): Use
	lyskom-completing-read. 

	* commands2.el (kom-change-language): Use lyskom-completing-read.
	(kom-del-faq): Use lyskom-completing-read.
	
	* utilities.el (lyskom-default-collate-table): Rewrote the string
	so it can be safely encoded in iso-8859-1 so that Gnu Emacs will
	not attempt to save it in emacs-mule encoding, which would fuck it
	up completely.

	* startup.el (lyskom-read-server-name): Recode completion table as
	necessary.

	* remote-control.el (kom-remote-autoreply): Recode completion
	table as necessary.

	* commands2.el (kom-del-faq): Recode completion table as
	necessary.

	* completing-read.el (lyskom-read-session-resolve-ambiguity):
	Recode completion table as necessary.

	* filter-edit.el (lyskom-filter-edit-insert-entry): Recode
	completion tables as necessary.
	(lyskom-filter-read-action): Recode completion table as necessary.


	* commands2.el (kom-change-language): Recode completion table as
	necessary.

	* command.el (lyskom-read-extended-command): Recode completion
	table as necessary.
	
	* utilities.el (lyskom-maybe-frob-completion-table): New function
	to recode completion tables for completing-read according to the
	state of enable-multibyte-characters.

2000-08-22  David Byers  <davby@ida.liu.se>

	* completing-read.el (lyskom-completing-match-string): Quote
	string to be used as regexp.

	* commands1.el (kom-list-created-conferences): Re-signal caught
	quit signal.

2000-08-21  David Byers  <davby@ida.liu.se>

	* buffers.el (lyskom-traverse-buffer-hierarchy): Test liveness of
	current buffer, not root buffer (doh!).

825
826
827
828
2000-08-21  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-N

David Byers's avatar
David Byers committed
829
830
2000-08-21  David Byers  <davby@ida.liu.se>

831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
	* Reworked some MULE details. Hopefully things will work better in
	unibyte mode now.

	* lyskom-buttons.el (lyskom-make-button-menu): Use
	lyskom-maybe-recode-string, not encode-coding-string.

	* vars.el.in (lyskom-mule-compiled): Redefined to catch multibyte
	strings in multibyte-capable but disabled Emacsen (i.e. all Gnu
	Emacs).

	* compatibility.el: Never set coding system of server process to
	raw-text. 

	* buffers.el (lyskom-fix-buffer-name): Removed.

	* utilities.el (lyskom-maybe-recode-string): Test agains
	multibyte-string-p not enable-multibyte-characters since we may
	have multibyte strings in a unibyte environment.

David Byers's avatar
David Byers committed
850
851
852
853
	* vars.el.in (lyskom-button-actions): Fixed typo.
	(lyskom-text-buttons): Fixed email regexp to combat very slow
	matching of long words.

David Byers's avatar
David Byers committed
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
2000-08-17  David Byers  <davby@ida.liu.se>

	Reimplement kom-bug-report:
	* talkback.el: New file.
	(kom-bug-report): I'm baaaack!

	Misc fixes:
	* swedish-strings.el (lyskom-command): Lista organisatrsskap
	changed to Lista gda mten.
	(lyskom-custom-strings): Fixed typo.

	* commands1.el (kom-list-created-conferences): Ugly hack to fix
	cursor positioning problem. Something is badly broken here.

	* lyskom-rest.el (lyskom-is-loaded): Encode frame title string to
	latin1.

	* vars.el.in (lyskom-mule-compiled): New variable.

	* commands2.el (kom-who-am-i): Print MULE indicator for Emacs and
	client.

Kent Engström's avatar
Kent Engström committed
876
877
878
879
2000-08-16  Kent Engstrm  <kent@ceres.unit.liu.se>

	* Makefile, lyskom-elisp-client.spec: Support for building RPMS.

David Byers's avatar
David Byers committed
880
881
882
883
884
885
886
2000-08-16  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-list-created-conferences-2): sit-for to
	update display. Superconf flag is only shown if the conference
	does not accept comments.
	(kom-list-created-conferences): Print header for the list.

887
888
889
890
Wed Aug 16 16:55:56 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-M

891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
2000-08-16  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-list-created-conferences-2): Show if
	conference is secret or protected.

	* swedish-strings.el (lyskom-message): Skyddat->Hemligt.

	* commands1.el (kom-add-recipient): Rewrote.
	(kom-add-copy): Rewrote.
	(kom-add-bcc): Rewrote.
	(lyskom-verify-add-recipient): Rewrote.
	(lyskom-add-helper): New function.
	(kom-sub-recipient): Rewrote. Only allow completion of actual
	recipients. 
	(kom-move-text): Rewrote. Only complete actual recipients.
	(lyskom-move-recipient): New function replaces
	lyskom-add-sub-recipients. Better error messages.

	* vars.el.in (lyskom-add-recipient-hook): New variable.
	(lyskom-add-sub-recipients-hook): Removed.
	

	* completing-read.el (lyskom-read-conf-internal-verify-type):
	Added restrict predicate.
	(lyskom-read-conf-internal): Changed x-list to candidate-list
	since x-list is probably not the right thing to look at.
	Implement more efficient matching if the restrict predicate is
	used. Get persons or conferences only as needed according to the
	predicate.
	(lyskom-completing-lookup-z-name): want-pers and want-conf were
	swapped in call to lookup-z-name (and it didn't matter since we
	always called it with both set to 1).

	* utilities.el (lyskom-text-recipients): New function.

926
927
2000-08-15  David Byers  <davby@ida.liu.se>

928
929
930
931
	* async.el (lyskom-is-in-minibuffer): Check cursor-in-echo-area.

	* lyskom-rest.el (j-or-n-p): Inhibit minibuffer messages.

932
933
934
935
936
937
938
939
940
941
	* commands2.el (kom-set-unread): Immediately go to
	lyskom-current-conf if that is the conf being changed.

	* prefetch.el (lyskom-fetch-start-of-map): Fix off-by-one error in
	map fetching.

	* commands2.el (kom-set-unread): Use lyskom-fetch-start-of-map to
	block until we see a text in the map of the conference we are
	setting unread in.

942
943
944
945
946
947
948
949
950
951
	* commands1.el (lyskom-add-member-answer): Block until we get at
	least one text in the map or have read the entire map.
	(lyskom-add-membership): Add parameter BLOCKING to allow blocking
	until we have read at least one text in the map.

	* prefetch.el (lyskom-fetch-start-of-map): New function.

	* lyskom-rest.el (lyskom-check-go-to-conf): Start prefetch when
	converting passive membership to active membership.

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
2000-08-14  David Byers  <davby@ida.liu.se>

	* services.el (lyskom-server-call): Return the ref-no of the call
	just made.

	* commands1.el (kom-list-created-conferences): Attempt to cancel
	calls still in the pipe before quitting.

	* services.el (lyskom-cancel-call): New function.

	* clienttypes.el (lyskom-queue-set-data): New function.

	* compatibility.el (nil): Set lyskom-server-coding-system
	according to the value of enable-multibyte-characters in Gnu Emacs
	to make stuff work better in multibyte-disabled Gnu Emacsen.

	* commands1.el (kom-list-conferences): Wait for membership to be
	read.
	(kom-list-created-conferences): Wait for membership to be read.
	(lyskom-list-conf-membership-char): New function to print
	membership char in name lists.
	(lyskom-list-created-conferences-2): Use it.
	(lyskom-list-conf-print): Use it.
	(kom-list-created-conferences): Make it possible to quit with C-g.

977
978
979
980
Fri Aug 11 17:34:39 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-L

981
982
983
984
985
986
987
988
2000-08-11  David Byers  <davby@ida.liu.se>

	* option-edit.el (lyskom-file-widget): Fixed bug so that help
	button appears on the same line as the file name.

	* edit-text.el (lyskom-edit-parse-headers): Skip comments in
	headers.
	(lyskom-edit-replace-headers): Anchor search for header separator.
989
	(lyskom-edit-fcc-text): New function to save text almost as if it
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
	were printed properly to a log file.
	(lyskom-edit-parse-headers): Items in the header can be commented
	out by prepending a "#". This may be useful if we ever want to put
	temporary information into the header lines. Maybe.

	* lyskom-rest.el (kom-save-text): Factor out saving code to
	lyskom-save-text. Use lyskom-save-text. Added FILENAME parameter.
	(lyskom-save-text): New function.

	* edit-text.el (lyskom-create-text-handler): It appeared that
	the edit buffer for anonymously created texts was never deleted
	and the successful creation never recorded. Fixed. Save created
	text if kom-created-texts-are-saved is non-nil.
	(lyskom-edit-send): Call lyskom-create-text-hook. 

	* vars.el.in (lyskom-new-text-hook): Fixed doc-string (no-message
	does not exist). Don't save in server per default. Do not list as
	a user variable (anyone who needs to use this hook should be smart
	enough to find it anyway).
	(kom-created-texts-are-saved): New variable.
	(lyskom-button-actions): Added save text body to context menu for
	texts.
	(lyskom-deleted-text-hook): Same here.
	(lyskom-new-recipient-hook): Same here.
	(lyskom-create-text-hook): New variable.

	* lyskom-buttons.el (lyskom-button-save-text-body): New function.

David Byers's avatar
David Byers committed
1018
1019
2000-08-10  David Byers  <davby@ida.liu.se>

1020
	* commands1.el (kom-list-created-conferences): New command.
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
	(lyskom-list-created-conferences-2): New function.

	Kill da bottlenecks:
	* parse.el (lyskom-parse-raw-string): Get rid of call to
	lyskom-string-to-parse.

	Improve list names:
	* commands1.el (kom-list-conferences): Use lookup-z-name instead
	of lookup-name.
	(lyskom-list-conf-print): Show passive memberships as "-" in the
	result list. Use conf-z-infos instead of conf-nos. Better error
	messages.
	(kom-list-re): Send conf-z-infos to lyskom-format to speed things
	up a bit. Better error messages.
	(kom-list-persons): Use lookup-z-name instead of lookup-name.
	Better error messages.
	(lyskom-list-pers-print): Use conf-z-infos instead of conf-nos to
	speed things up a bit. 

	* lyskom-rest.el (lyskom-format-aux-help): Allow conf-z-info as
	argument to lyskom-format letters M, P, m, p.
	(lyskom-current-error): New function.
	
	Cleanup of easy TODO items:
	* aux-items.el (lyskom-print-creating-software): Print creating
	software when current command is kom-review-noconversion.

1048
1049
1050
1051
1052
1053
1054
1055
	Fix review many to conferences with few texts:
	* review.el (lyskom-get-letters-to): Protect nthcdr from negative
	arguments. 
	(lyskom-get-texts-by-and-to): Ditto.
	(lyskom-get-texts-by-generic): Ditto.
	(lyskom-get-texts-to): Ditto.

	Fix kom-super-jump on empty subject:
David Byers's avatar
David Byers committed
1056
1057
1058
1059
	* filter.el (kom-super-jump): Protect empty subject with ^$.

2000-08-01  David Byers  <davby@ida.liu.se>

1060
	Menus were sometimes very wide:
David Byers's avatar
David Byers committed
1061
1062
1063
	* lyskom-buttons.el (lyskom-make-button-menu): Truncate menu title
	to 43 characters.

1064
1065
2000-07-30  Johan Sundstrm  <jhs@lysator.liu.se>

1066
1067
1068
1069
1070
1071
1072
1073
1074
	* lyskom-rest.el (lyskom-trim-buffer): Point no longer flickers
	when trimming the buffer.
	(lyskom-trim-buffer-hook): New hook; run before the trimming.
	(lyskom-trim-buffer-delete-to): New variable; how far the buffer
	will be trimmed, useful in lyskom-trim-buffer-hook functions.
	(lyskom-garb-lyskom-buffer-to-file): Fairly ugly hack for flowing
	the trimmed portion of the lyskom buffer into a file. Ought to use
	some configurable variable for the filename.

1075
1076
1077
1078
	* commands2.el (kom-next-unread-kom): More info, as suggested by
	Hans Persson. Tells whether there are any other sessions
	whatsoever when there are no other sessions with unread texts.

1079
1080
1081
1082
1083
1084
1085
2000-07-28  Johan Sundstrm  <jhs@lysator.liu.se>

	* utilities.el (lyskom-read-text-no-prefix-arg): Policy change;
	prefix argument zero means text under point. Empty (C-u) prefix
	argument now prompts for a text number. This influence compliments
	of Ulrik Haugen. :-)

1086
1087
1088
1089
Fri Jul 28 14:15:12 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-K

David Byers's avatar
David Byers committed
1090
1091
2000-07-28  David Byers  <davby@ida.liu.se>

1092
1093
1094
1095
1096
1097
1098
	* vars.el.in (lyskom-prefetch-conf-tresh): Not really a user
	variable. Don't save in server.
	(lyskom-prefetch-confs): Not really a user variable. Don't save in
	server.
	(lyskom-fetch-map-nos): Not really a user variable. Don't save in
	server. 

David Byers's avatar
David Byers committed
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
	* completing-read.el (lyskom-read-conf-lookup-specials): Return
	conf-z-info, not uconf-stat.

2000-07-27  David Byers  <davby@ida.liu.se>

	* lyskom-buttons.el: Go to point-max in relevant button actions.

2000-07-25  David Byers  <davby@ida.liu.se>

	* lyskom-buttons.el (lyskom-keyboard-menu): Couldn't handle
	symbols for menu items in lyskom-button-actions. Fixed.

1111
1112
1113
1114
1115
1116
1117
1118
1119
2000-07-17  David Byers  <davby@ida.liu.se>

	* vars.el.in (lyskom-add-sub-recipients-hook): Renamed function
	specified in default hook.
	(lyskom-add-sub-recipients-hook): Made local-hook.

	* lyskom-buttons.el (lyskom-button-open-url): Don't go to end of
	buffer when viewing an URL.

1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
2000-07-05  David Byers  <davby@ida.liu.se>

	* vars.el.in (lyskom-button-actions): Moved definition of
	lyskom-button-actions here. Removed all constant strings. Fixed
	the title string symbols.

	* english-strings.el (lyskom-message): Added lyskom-button-action
	strings.

	* swedish-strings.el (lyskom-message): Added lyskom-button-action
	strings.

David Byers's avatar
David Byers committed
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
2000-07-03  David Byers  <davby@ida.liu.se>

	* swedish-strings.el (lyskom-button-actions): Added button type
	func.

	* vars.el.in (lyskom-text-buttons): Fixed problem with info-node
	regexp: it had the space after the colon in the nodename and did
	not allow stuff like ``(file.info)nodename''. 

2000-06-13  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (forward-text): Go to point-max if after the last
	text.
	(backward-text): Go to point-min if before the first text.

	* utilities.el (lyskom-next-area): Added parameter goto-point-max.
	(lyskom-prev-area): Added parameter goto-point-min.

2000-06-06  David Byers  <davby@ida.liu.se>

	* vars.el.in (kom-ispell-dictionary): Make inherited.

 	Prefetch messes up attachment display:
	* prefetch.el (lyskom-prefetch-text-stat-all): New function.

	* view-text.el (lyskom-skip-attachments): Mark skipped attachments
	as read.

 	Check for bad calls to zerop:
	* review.el (lyskom-review-by-to): Protect zerop check on
	lyskom-current-conf by checking if it is nil first.

	* commands2.el (kom-set-unread): Protect zerop check on
	lyskom-current-conf by checking if it is nil first.

	* commands1.el (kom-sub-self): Protect zerop check on
	lyskom-current-conf by checking if it is nil first.
	(kom-write-text): Same here.

	* async.el (lyskom-parse-async): Cleanup not->null.

Joel Rosdahl's avatar
Joel Rosdahl committed
1173
1174
1175
1176
1177
2000-06-14  Joel Rosdahl  <joel@lysator.liu.se>

	* review.el (lyskom-review-comments): Review texts in correct
	order.

1178
1179
1180
1181
1182
2000-06-11  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-is-person-member-of-conference): Replaced
	redundant check code with a call to lyskom-is-member.

1183
1184
1185
1186
2000-06-11  Joel Rosdahl  <joel@lysator.liu.se>

	* swedish-strings.el: Spelling updates.

1187
1188
1189
1190
1191
1192
2000-06-11  Johan Sundstrm  <jhs@lysator.liu.se>

	* utilities.el (lyskom-read-text-no-prefix-arg): A zero prefix
	argument now means "always ask for the argument" -- just as it
	said it did in the NEWS file! Good idea; let's implement it! :-)

1193
1194
1195
1196
1197
1198
1199
1200
2000-06-11  Joel Rosdahl  <joel@lysator.liu.se>

	* view-text.el (lyskom-follow-comments): Documentation update.
	Only review texts that can be read.

	* review.el (lyskom-review-comments): Only review texts that can
	be read.

1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
2000-06-10  Johan Sundstrm  <jhs@lysator.liu.se>

	* vars.el.in (lyskom-add-sub-recipients-hook): New hook.

	* commands1.el (lyskom-add-recipient): New macro.
	(kom-add-recipient): Standard prefix-arguments. Uses above macro.
	(lyskom-sub-recipient): New macro.
	(kom-sub-recipient): Standard prefix-arguments. Uses above macro.
	(lyskom-add-copy): New macro.
	(kom-add-copy): Standard prefix-arguments. Uses above macro.
	(lyskom-add-bcc): New macro.
	(kom-add-bcc): Standard prefix-arguments. Uses above macro.
	(kom-move-text): Standard prefix-arguments.
	(lyskom-annoying-verify-add-rcpt): New function.
	(lyskom-add-sub-recipient): Arguments changed. Runs the hook
	lyskom-add-sub-recipients-hook, which may alter the new variables
	lyskom-add-sub-recipient-action,
	lyskom-add-sub-recipient-source-conf and/or
	lyskom-add-sub-recipient-target-conf.

1221
1222
1223
1224
1225
1226
1227
1228
2000-06-06  Joel Rosdahl  <joel@lysator.liu.se>

	* commands1.el (lyskom-comment-recipients): Don't send footnotes
	to the super conference of a original-type conference.

	* commands1.el (lyskom-comment-recipients): Fixed a bug that
 	sometimes prevented the author's mailbox from being added as
 	recipient when it should.
1229

David Byers's avatar
David Byers committed
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
2000-06-05  David Byers  <davby@ida.liu.se>

	* utilities.el (lyskom-read-text-no-prefix-arg): Don't use zerop
	on something that might be a symbol

	* review.el (kom-review-comments): Fixed nesting error that caused
	this command not to work at all.

2000-06-04  David Byers  <davby@ida.liu.se>

 	Experimantal special handling of attachments:
	* view-text.el (lyskom-insert-deferred-header-comm): Use
	lyskom-get-text-attachments.
	(lyskom-follow-comments): Same here.
	(lyskom-insert-deferred-header-comm): Same here.
	(lyskom-insert-header-comm): Same here.
	(lyskom-skip-attachments): New function.
	(lyskom-get-text-attachments): New function.
	(lyskom-follow-comments): Skip and mark attachments as read (if
	requested).

1251
1252
1253
1254
1255
1256
1257
2000-06-04  Per Cederqvist  <ceder@moria>

	* edit-text.el (lyskom-edit-send-check-recipients): The code that
	checks if all the authors of all the commented texts are a member
	in at least one of the recipients only worked if there was at most
	one author.  Fix.

1258
1259
2000-06-02  David Byers  <davby@ida.liu.se>

David Byers's avatar
David Byers committed
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
	* view-text.el (lyskom-follow-comments): Don't follow attachments
	unless kom-follow-attachments is set.

	* vars.el.in (kom-follow-attachments): New variable.

	* view-text.el (lyskom-view-text): Removed SOJGE code.
	(lyskom-follow-comments): Removed SOJGE code. Get mx-attachments
	from text. 
	(lyskom-view-text-handle-saved-comments): Removed SOJGE code.

	* vars.el.in (kom-w3-simplify-body): Removed SOJGE code
	(kom-no-comments-to-motd, lyskom-show-comments)

	* startup.el (kom-start-anew): Removed SOJGE code.

1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
	* lyskom-rest.el (kom-save-text): Use lyskom-saved-file to save
	the most recently specified file name.

	* lyskom-buttons.el (lyskom-button-save-text): New function.

	* lyskom-rest.el (kom-save-text): Accept list of texts to save as
	argument.

	* swedish-strings.el: Lade till arkivera i kontextmenyn fr
	inlggsnummer. 

	* vars.el.in (kom-saved-file-name): New variable replaces
	lyskom-saved-file.

	* lyskom-rest.el (kom-save-text): Put the default file in the
	minibuffer. Do not display the default file in the prompt. More
	informative prompt (show number of texts if saving many or text
	number if saving one). Expand file name.

1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
	* review.el (kom-find-root): Better error message.
	(kom-find-root-review): Better error message.

	* commands2.el (kom-add-request-confirm): Better error messages.
	(kom-review-mail-headers): Better error message.

	* lyskom-rest.el (kom-save-text-body): Better error message.

	* commands2.el (kom-add-private-answer): Better error message.

	* commands1.el (lyskom-add-sub-comment): Handle failure to read
	text-no. 
	(lyskom-add-sub-footnote): Handle failure to read text-no.
	(lyskom-add-sub-recipient): Same here.
	(kom-mark-text): Better error message.
	(kom-unmark-text): Same here.

	* review.el (kom-review-noconversion): Better error message.
	Handle failure to read text-no.

	* lyskom-rest.el (kom-view): Better error message. Handle failure
	to read text-no.

	* commands1.el (kom-delete-text): Better error message. Handle
	failure to read text-no.

	* utilities.el (lyskom-read-text-no-prefix-arg): Zero default is
	the same as no default. Prompt for text number if there is no
	default.

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
 	Unify reading of text numbers:
	* commands2.el (kom-add-no-comments): Changed default text number.
	(kom-agree): Argument is not optional.

	* lyskom-rest.el (kom-save-text-body): Handle null text-no.

	* commands1.el (kom-view-commented-text): Argument is not
	optional.
	(kom-review-presentation): Use def-kom-command.
	(kom-comment-previous): Use lyskom-read-text-no-prefix-arg.
	(kom-write-footnote): Argument is not optional. Don't force prompt
	for text.
	(kom-private-answer-previous): Use lyskom-read-text-no-prefix-arg.
	

	* review.el (kom-review-noconversion): Use def-kom-command.
	(kom-review-tree): Use lyskom-read-text-no-prefix-arg.
	(kom-find-root): Use lyskom-read-text-no-prefix-arg.
	(kom-find-root-review): Use lyskom-read-text-no-prefix-arg.
	(kom-review-comments): Use lyskom-read-text-no-prefix-arg.

	* lyskom-rest.el (kom-view): Use lyskom-read-text-no-prefix-arg.

	* commands1.el (lyskom-add-sub-footnote): Use
	lyskom-read-text-no-prefix-arg.
	(lyskom-add-sub-comment): Use lyskom-read-text-no-prefix-arg.

	* utilities.el (lyskom-read-text-no-prefix-arg): Check
	kom-prompt-for-text-no.

	* commands1.el (lyskom-add-sub-recipient): Use
	lyskom-read-text-no-prefix-arg.

	* vars.el.in (kom-prompt-for-text-no): New variable.

	* commands1.el (kom-delete-text): Use
	lyskom-read-text-no-prefix-arg.

1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
2000-05-31  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-J

2000-05-31  David Byers  <davby@ida.liu.se>

	* edit-text.el (kom-edit-insert-commented): Don't use 62 instead
	of ">" or ?>. Please.
	(kom-edit-insert-commented): Don't send the default prefix to
	lyskom-edit-insert-commented. nil now means default.
	(lyskom-edit-insert-commented): Prefix nil means use default prefix.

 	New calling conventions for lyskom-view-text-hook
	* view-text.el (lyskom-filter-signature-hook): Use
	lyskom-view-text-text and lyskom-view-text-text-stat

	* vars.el.in (lyskom-view-text-hook): Fixed docstring.

	* view-text.el (lyskom-view-text): Set lyskom-view-text-text and
	lyskom-view-text-text-stat.

	Scrolling problems
	* mship-edit.el (lp--scroll-advice): Fixed bug that caused most of
	the code to run in any buffer.

1387
1388
1389
1390
1391
2000-05-30  David Byers  <davby@ida.liu.se>

	* command.el (lyskom-fix-interactive-decl): Bind
	lyskom-current-command, not lyskom-executing-command.

1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
2000-05-30  Johan Sundstrm  <jhs@lysator.liu.se>

	* view-text.el (lyskom-filter-signature-hook): New function. Would
	probably be nice to add as a configuration option too, instead of
	being just hookable. :-]
	(lyskom-text-is-mail-p): New ad-hoc support function.

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

1402
1403
2000-05-29  David Byers  <davby@ida.liu.se>

1404
1405
1406
1407
	* lyskom-rest.el (lyskom-is-loaded): Don't bind
	frame-icon-title-format or frame-title-format unless they already
	exist. 

1408
1409
1410
1411
1412
1413
1414
1415
1416
	* commands2.el (lyskom-iter-list-news): Added at-least and at-most
	arguments. Renamed all variables referenced in the calleing
	environment to lyskom-iter-list-news-*.
	(kom-list-news): Same here.

	* command.el (def-kom-emacs-command): Moved paren that caused
	commands never to be run as Emacs commands.
	(def-kom-emacs-command): Removed pointless concat.

1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
2000-05-29  Johan Sundstrm  <jhs@lysator.liu.se>

	* view-text.el (lyskom-view-text): Marks now show themselves,
	always. Perhaps ought not to when kom-default-mark is set, and
	this really ought to be done as a %m or something flag to
	lyskom-format with context menus to change or remove a mark, but
	that will have to wait for the time being.

	* swedish-strings.el, english-strings.el (lyskom-message): Altered
	the strings marked-by-you and marked-by-you-and-others somewhat.

1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
2000-05-28  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-list-news): Rehacked from scratch. Now
	complies to present-day (..., present-time! Moah-ha-ha! :-)
	elisp-client coding standards. Also generally faster now.
	(lyskom-list-news): New function.
	(lyskom-iter-list-news): [New] support function to kom-list-news.

	* english-strings.el (lyskom-message): Fixed what looked like a
	bug in total-unreads.

	* swedish-strings.el, english-strings.el (lyskom-message): Added
	the strings shown-unreads and no-unreads-shown.

1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
2000-05-28  Johan Sundstrm  <jhs@lysator.liu.se>

	* edit-text.el (kom-edit-insert-commented): Edit-mode ^C^Y may now
	be preceded with ^U to insert the text totally unchanged, that is,
	without prefixing its rows with anything at all.
	(lyskom-edit-get-commented): Now takes an optional additional
	argument list sent to the callback.
	(lyskom-edit-insert-commented): Now takes an optional additional
	parameter `prefix' that is prepended to each line. Unfortunately I
	had to add a kludge to stay compatible with kom-edit-insert-text,
	which seems to be doing some black magic. These functions really
	ought to be changed to use a lyskom-edit-insert-text function.

Johan Sundström's avatar
Oops.    
Johan Sundström committed
1455
1456
1457
1458
1459
2000-05-27  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-list-news): Fixed introduced bug. Works
	without arguments again.

1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
2000-05-27  Johan Sundstrm  <jhs@lysator.liu.se>

	* commands2.el (kom-list-news): Now understands negative numeric
	arguments as signifying "list conferences with at most |argument|
	and at least one unread message in them". A prefix argument of
	zero still lists all conferences.

	* swedish-strings.el, english-strings.el (lyskom-message): Added
	the string list-unread-with-at-most-n-unread.

1470
1471
2000-05-26  David Byers  <davby@ida.liu.se>

1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489

 	Unread marker in title bar
	* vars.el.in (kom-show-unread-in-frame-title): New variable.
	
	* lyskom-rest.el (lyskom-is-loaded): Set
	lyskom-unread-title-format, frame-title-format and
	frame-icon-title-format.
	(lyskom-unread-title-format): New variable.

	* buffers.el (lyskom-traverse-buffer-hierarchy): New function.
	(lyskom-remove-unread-buffer): Clear flags in the buffer saying
	that the buffer has unreads.
	(lyskom-add-unread-buffer): Set flags in the buffer saying that
	the buffer has unreads.

	* commands1.el (lyskom-quit): Use lyskom-remove-unread-buffer.

 	Bind lyskom-executing-command in interactive forms
1490
1491
1492
1493
1494
1495
1496
1497
1498
	* command.el (lyskom-fix-interactive-decl): New function puts a
	let around evaluated arguments to interactive that binds
	lyskom-executing-command to the current command.
	(def-kom-command): Use it.
	(def-kom-emacs-command): Use it.
	(def-kom-command): Sanity check and attempt repair when missing
	docstring or interactive declaration.
	(def-kom-emacs-command): Same here.

1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
2000-05-24  David Byers  <davby@ida.liu.se>

	* utilities.el (lyskom-default-collate-table): Removed \201s added 
	by MULE Emacs. ELUM ckuF

	* compatibility.el (lyskom-encode-coding-char): New set of
	compatibility definitions for Gnu Emacs.

	* utilities.el (lyskom-unicase): Don't use aset on a string. Make
	a vector from the string, use aset and make a string from the
	vector.
	(string-to-sequence): Stole from Gnu Emacs mule-utils.
	(string-to-vector): Also stolen.

1513
1514
2000-05-23  David Byers  <davby@ida.liu.se>

1515
1516
1517
	* compatibility.el: Detect buggy versions of encode-coding-string
	and decode-coding-string and provide a correcting wrapper.

1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
	* lyskom-rest.el (lyskom-w3-region): Remove compiler warning about 
	unreferenced variable.
	(lyskom-do-insert): Same here.

	* flags.el (lyskom-save-options): Remove compiler warning about
	unreferenced variable.

	* utilities.el (lyskom-unicase-char): Use
	lyskom-encode-coding-char.

	* compatibility.el (lyskom-encode-coding-char): New function/macro.
	
	* async.el (lyskom-show-logged-in-person): Print server name, not
	KOM if the server is not in kom-server-aliases.
	(lyskom-show-logged-out-person): Same here.

	* commands1.el (lyskom-info-line-format-string): Compute field
	widths correctly, even for very wide windows.

2000-05-22  David Byers  <davby@sen2.ida.liu.se>

	* completing-read.el (lyskom-complete-string): Construct the final
	string by using concat rather than filling the chars of a vector
	by hand. The losing MULE implementation will fail if you say
	something like (aset string 0 ?) because  is multibyte and aset
	will only set one *byte*.

2000-05-19  David Byers  <davby@sen2.ida.liu.se>

	* startup.el (lyskom): Get the collate table from the
	server. Note: thie needs to be protected so it isn't called on
	servers that don't have the call!

	* utilities.el (lyskom-unicase-char): Encode the char using server
	default coding system. Otherwise this will not work with multibyte
	latin1 chars in Gnu Emacs. ELUM wercS.

1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
2000-05-19  David Byers  <davby@ida.liu.se>

	* vars.el.in: Reinstated changes lost between 44.98 and 44.99.

	* commands1.el (kom-write-footnote): Reinstated changes lost
	between 44.66 and 44.67.

	* commands2.el (kom-add-faq): Reinstated changes lost between
	44.63 and 44.64.

2000-05-15  David Byers  <davby@ida.liu.se>
	
	* commands2.el (lyskom-send-message-resize-minibuffer): New
	implementation. 

Johan Sundström's avatar
News!    
Johan Sundström committed
1570
2000-05-19  Johan Sundstrm  <jhs@lysator.liu.se>
1571

Johan Sundström's avatar
News!    
Johan Sundström committed
1572
	* commands2.el (kom-is-person-member-of-conference): New function.
1573

1574
1575
	* vars.el.in (lyskom-commands): New function. [Added
	kom-is-person-member-of-conference]
1576

Johan Sundström's avatar
News!    
Johan Sundström committed
1577
1578
1579
1580
1581
1582
	* swedish-strings.el, english-strings.el (lyskom-message): Added
	the strings pers-to-check-mship-for, conf-to-check-mship-of,
	conf-is-empty, pers-is-member-of-conf and
	pers-is-not-member-of-conf to provide for the needs of
	kom-is-person-member-of-conference.
	(lyskom-command): kom-is-person-member-of-conference added.
1583

Johan Sundström's avatar
News!    
Johan Sundström committed
1584
1585
1586
1587
1588
1589
1590
1591
1592
	* commands1.el (kom-view-commented-text): Removed code already
	covered by lyskom-read-text-no-prefix-arg.
	(kom-unmark-text, kom-mark-text): Harmonized to use
	lyskom-read-text-no-prefix-arg, as should IMO all interactive
	message-handling functions.
	(lyskom-unmark-text): Now take just one	argument, not two. Fully
	non-interactive, since questions are posed in kom-unmark-text.
	(lyskom-mark-text): Second argument changed to an optional mark to
	use, other changes analogous to the above function.
1593

Johan Sundström's avatar
News!    
Johan Sundström committed
1594
1595
	* lyskom-buttons.el (lyskom-button-mark-text,
	lyskom-button-unmark-text): Function calls to the above altered.
1596

1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
2000-05-04  David Byers  <davby@ida.liu.se>

	* utilities.el (lyskom-read-text-no-prefix-arg): Added default
	parameter.
	
	* commands2.el (kom-add-faq): Default text is the most recently
	seen text the user wrote, or the most recently written one.

	* commands1.el (kom-write-footnote): Default text is the most
	recently seen text the user wrote, or the most recently written
	one.

	* view-text.el (lyskom-print-text): Update
	lyskom-last-seen-written.

	* commands2.el (kom-add-faq): Use lyskom-read-text-no-prefix-arg.

	* vars.el.in (lyskom-last-seen-written): New variable.

1616
1617
1618
1619
Thu May  4 15:05:51 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-I

David Byers's avatar
David Byers committed
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
2000-05-04  David Byers  <davby@ida.liu.se>

	* edit-text.el (lyskom-edit-insert-buglist): Use our copy of
	thing-at-point-looking-at instead of the one in thingatpt.

	* utilities.el (lyskom-thing-at-point-looking-at): Copied from
	thing-at-point-looking-at in thingatpt.el

	* english-strings.el (lyskom-en-edit-mode-map): Added binding for
	kom-edit-insert-buglist.

1631
1632
1633
1634
1635
2000-05-01  David Byers  <davby@ida.liu.se>

	* async.el (lyskom-parse-async): Expanded comment for
	async-deleted-recipient.

Johan Sundström's avatar
News!    
Johan Sundström committed
1636
2000-05-01  Johan Sundstrm  <jhs@lysator.liu.se>
1637
1638
1639
1640
1641
1642

	* edit-text.el (lyskom-edit-insert-buglist): Bugfixed, somewhat
	improved regarding the matcher regexps, but most of all commented
	-- it still uses thing-at-point-looking-at for no good reason,
	though.

1643
1644
2000-04-29  Johan Sundstrm  <jhs@lysator.liu.se>

1645
1646
1647
	* utilities.el (lyskom-read-text-no-prefix-arg): Minor code
	cleanup and more error handling.

1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
	* edit-text.el (kom-edit-insert-buglist): New command in the edit
	window for inserting a commented Roxen IS style bug/todo-list.
	(lyskom-edit-insert-buglist): Implements the lower-level parts of
	the above. Relies on the availability of thing-at-point-looking-at
	from lack of better knowledge of elisp. :-}

	* swedish-strings.el (lyskom-sv-edit-mode-map): Added binding for
	kom-edit-insert-buglist; C-c C-b for now.
	(lyskom-menu): Added menu shortcut for kom-edit-insert-buglist.

1658
	* utilities.el: (lyskom-read-text-no-prefix-arg): Negative prefix
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
	arguments are now interpreted as a reference to the text-no `arg'
	messages up in the kom buffer.

	* commands1.el (kom-view-commented-text): Now uses
	lyskom-read-text-no-prefix-arg to optionally override text-no via
	prefix arguments instead of the current text.

	* review.el (kom-review-noconversion): Same here.

	* swedish-strings.el (lyskom-message): Added strings
	review-noconversion-q and review-commented-q to accomodate for
	the above functions.

David Byers's avatar
David Byers committed
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
2000-04-01  David Byers  <davby@ida.liu.se>

	* mship-edit.el (lp--calculate-distance): Fix problem when
	stepping backwards too far.
	(lp--next-entry): Handle invisible entries.
	(lp--previous-entry): Same here.
	(lp--last-entry): Handle case when all entries are invisible.
	(lp--first-entry): Same here.
	(lp--scroll-advice): Same here.

2000-03-29  David Byers  <davby@ida.liu.se>

	* commands2.el (kom-review-mail-headers): Never wrap e-mail
	headers.

2000-03-27  David Byers  <davby@ida.liu.se>

	* utilities.el (nfirst): Non-recursive implementation to avoid
	hitting max-eval-depth when reviewing old texts.

1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
2000-03-26  David Byers  <davby@ida.liu.se>

	* vars.el.in (kom-morons): New variable.
	(lyskom-faces): Added kom-morons-face.
	(lyskom-face-schemes): Added kom-korons-face.

	* vars.el (kom-presence-messages): Document use of morons.

	* option-edit.el (lyskom-customize-buffer-format): Added kom-korons.
	(lyskom-custom-variables): Added kom-morons.

	* lyskom-buttons.el (lyskom-generate-button): Added support for
	kom-morons.

	* english-strings.el (lyskom-custom-strings): Added strings for
	kom-morons.

	* async.el (lyskom-show-presence): Added support for kom-morons.

1711
1712
2000-03-22  David Byers  <davby@ida.liu.se>

1713
1714
	* compatibility.el (signum): New compatibility function.

1715
1716
1717
1718
1719
	* mship-edit.el: Support for hidden entries in motion and entry
	movement commands.
	(lp--next-visible-entry): New function.
	(lp--get-last-visible-entry): Renamed from lp--get-last-entry.

1720
1721
2000-03-21  David Byers  <davby@ida.liu.se>

1722
1723
1724
1725
1726
1727
1728
	* mship-edit.el (lp--do-select-entries): Never select invisible
	entries.
	(lp--entry-set-visible): New function.
	(lp--redraw-entry): Don't draw invisible entries.
	(lp--move-up): Use lp--calculate-distance to take invisible
	elements into account.

1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
	* compatibility.el (lyskom-make-face): New function.
	(find-face): New compatibility function.
	(face-background-name): New compatibility function.

	* macros.el: Removed lyskom-make-face.

	* mship-edit.el (lp--entry-set-background): New function.
	(lp--entry-update-extents): New function.
	(lp--format-entry): Set background according to selected status.
	(lp--redraw-entry-mark): Same here.
	(lp--print-entry): Update entry extents when done.
	(lp--erase-entry): Same here.

	* lyskom-rest.el (kom-next-command): Set the priority of the
	scroll indicator extent to something high so it overrides whatever
	is already on that line.

1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
2000-03-16  David Byers  <davby@ida.liu.se>

	* mship-edit.el: Renamed set-lp--entry-pri-and-pos to
	lp--set-entry-pri-and-pos.
	(lyskom-change-membership-priority): Don't lyskom-sort-to-do-list
	since lyskom-sort-membership will.
	(lyskom-change-membership-position): Don't lyskom-sort-to-do-list
	since lyskom-update-membership-positions will.
	(lp--update-membership): Don't update position or priority unless
	necessary. 
1756
	(lp--quit): New command.
1757

1758
1759
2000-03-15  David Byers  <davby@ida.liu.se>

1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
	* option-edit.el (lyskom-create-widget): Use `-' and not `!' in
	help button when documentation is visible.
	(lyskom-customize-buffer-format): Added kom-keep-alive-interval.
	(lyskom-custom-variables): Ditto.

	* command.el (lyskom-start-of-command): Print special message if
	called in something that does not look like it has ever been a
	LysKOM buffer.

	* commands2.el (lyskom-keep-alive-timers): New variable.
	(lyskom-keep-alive-callback): New function.
	(kom-keep-alive): New command.
	(lyskom-keep-alive): New function.
	(kom-stop-keep-alive): New command.
	(lyskom-stop-keep-alive): New function.

	* vars.el.in (kom-keep-alive-interval): New variable.

	* lyskom-rest.el (lyskom-debug-insert): Fixed bug that caused
	debug output to be inserted in LysKOM buffer (took five seconds to
	do, has been put off for *years*).

1782
1783
	* Release av 0.46-BETA-H

1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
	* view-text.el (lyskom-format-mx-author): Make mx-from clickable.

	* lyskom-buttons.el (lyskom-default-button): URLs and e-mail get
	kom-url-face.

	* commands2.el (kom-review-mail-headers): Transform text headers
	as an external text.

	* lyskom-buttons.el (lyskom-button-transform-text): Don't add
	text, conf or pers buttons when transforming an external text.

David Byers's avatar
David Byers committed
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
2000-03-11  David Byers  <davby@ida.liu.se>

	* menus.el (lyskom-define-menu-xemacs): Encode menu item strings
	to avoid the 201s showing up in menus.

	* lyskom-buttons.el (lyskom-make-button-menu): Encode menu item
	strings to avoid the 201s showing up in popup menus.

	* mship-edit.el: Tweaked various motion commands.

2000-03-10  David Byers  <davby@ida.liu.se>

	* mship-edit.el (lp--format-entry-expansion): New function.
	(lp--format-entry): Split off formatting the second line. Do
	lyskom-replace-deferred here.
	(lp--format-insert-entry-2): Removed.
	(lp--format-insert-entry): Call lp--format-entry do replace
	deferred on the first line and lp--format-entry-expansion for the
	second line, if needed. Check if the second line needs to be
	formatted here rather than in lp--format-entry.

2000-03-07  David Byers  <davby@ida.liu.se>

	* option-edit.el (lyskom-ispell-dictionary-widget): Fixed bug that
	caused no dictionary names to be listed if ispell was installed.

	* swedish-strings.el (lyskom-sv-customize-map): Bound button2 and
	button3 to kom-mouse-null.

	* english-strings.el (lyskom-en-customize-map): Fixed definition
	of lyskom-sv-customize-map.

2000-03-06  David Byers  <davby@ida.liu.se>

	* lyskom-buttons.el (lyskom-view-url-netscape): Quote parens in
	URLs sent to Netscape.

1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
2000-03-03  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-w3-region): Save restriction, make start
	and end markers so that simplifying the body tag won't screw
	things up.

	* startup.el (lyskom-www-proxy-connect-filter): Match HTTP/1.1
	responses (and also 1.2 and 1.3 and so on.)
	(lyskom): Send additional headers to HTTP proxy.

	* vars.el.in (kom-www-proxy-headers): New variable.

1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
2000-02-26    <davby@ida.liu.se>

	* option-edit.el (lyskom-ispell-dictionary-widget): Protect this
	agains ispell not being available or failing to load. 

2000-02-21    <davby@ida.liu.se>

	* vars.el.in (kom-url-managers): Added "windows" url manager.
	(kom-url-viewer-preferences): Use "windows" instead of "netscape"
	as default url manager.

David Byers's avatar
David Byers committed
1855
1856
1857
1858
1859
1860
1861
2000-02-20    <davby@ida.liu.se>

	* lyskom-buttons.el (lyskom-view-url-netscape): Added more
	possible values for window-system on MS-Windows systems (courtesy
	RMS who does not want to associate "win" with MS-Windows and the
	XEmacs team who thinks mswindows is prettier than w32 or win32.)

1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
2000-02-17  David Byers  <davby@sen2.ida.liu.se>

	* aux-items.el: Encode aux-items that need to be encoded with the
	default server coding system.

2000-02-17  David Byers  <davby@ida.liu.se>

	* utilities.el: Honor standard-output if no stream is specified.

	* swedish-strings.el: Bind swedish characters explicitly as well
	as with lyskom-keys so that bindings will work in Windows XEmacs
	too. 

1875
1876
1877
1878
Wed Feb 16 16:13:46 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-G

1879
1880
1881
1882
1883
2000-02-11  David Byers  <davby@ida.liu.se>

	* utilities.el (lyskom-lookup-key): Vectorify event no matter what
	keymap is.

1884
1885
1886
1887
2000-01-17  David Byers  <davby@ida.liu.se>

	* vars.el.in (kom-server-aliases): Added Roxen Community KOM.

1888
1889
1890
1891
1892
1893
1894
2000-02-08  David Byers  <davby@ida.liu.se>

	* vars.el.in (kom-complete-numbers-before-names): New variable.

	* completing-read.el (lyskom-read-conf-internal): Add the option
	to complete numbers before completing names.

David Byers's avatar
David Byers committed
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
2000-01-27  David Byers  <davby@ida.liu.se>

	* flags.el (lyskom-flag-value-to-string): New function.
	(lyskom-flag-value-to-string): New function.
	(lyskom-save-options): Use it.

	* filter.el (lyskom-create-filter): New function.
	(make-filter): Use it.

2000-01-17  David Byers  <davby@ida.liu.se>

	* compatibility.el (lyskom-xemacs-keysym): Fixed C- and C-.

2000-01-11  David Byers  <davby@ida.liu.se>

	* edit-text.el (lyskom-edit-add-recipient/copy): Make moving texts
	work again.

	* commands1.el (kom-move-text): Pass the correct text number to
	lyskom-add-sub-recipient.
	(lyskom-add-sub-recipient): Read text number if text-no-arg is
	nil, even if caller claims it's done.
	(kom-move-text): Pass the correct text-no to
	lyskom-add-sub-recipient. 

1920
1921
1922
1923
Tue Jan 11 11:58:38 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-F

1924
1925
1926
1927
1928
1929
1930
1931
2000-01-11  David Byers  <davby@ida.liu.se>

	* flags.el (kom-save-options): Was removed by mistake.

	* compatibility.el (plist-member): New function.

	* distribution-Makefile (SOURCES): Added mship-edit.el

1932
1933
1934
1935
Tue Jan 11 00:37:57 2000  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-E

David Byers's avatar
David Byers committed
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2000-01-03  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-private-answer-soon): Fix buggy nesting.
	How the *hell* does this happen?

1999-12-21  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-fill-region): Never signal errors in
 	fill-region.

1999-12-20  David Byers  <davby@ida.liu.se>

	* services.el (initiate-create-anonymous-text): Work. Put STRING
	in front of message string so lyskom-format-objects recognizes
	what it is.

1999-12-18  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-next-command): Use unwind-protect to
	reset lyskom-doing-default-command because Gnu Emacs loses when
	you let a buffer-local variable and change buffers inside the let
	body (it resets the value in buffer current when leaving the let)

1999-12-13  David Byers  <davby@ida.liu.se>

	* reading.el: Set buffer to lyskom-buffer in several
	membership-related functions.

	* lyskom-rest.el (lyskom-try-get-membership): Set buffer to
 	lyskom-buffer.
	(lyskom-get-membership): Same here.

1999-12-11  David Byers  <davby@ida.liu.se>

	* option-edit.el: Honor properties specified in
	lyskom-custom-variables by using lyskom-build-simple-widget-spec
	to build all widgets.
 	(lyskom-build-simple-widget-spec): New function.
	

	* reading.el (lyskom-do-insert-membership): New function.
	(lyskom-replace-membership): Use lyskom-do-insert-membership and
	lyskom-do-remove-membership.
	(lyskom-do-remove-membership): New function.
	(lyskom-remove-membership): Use it.

	* commands1.el (lyskom-sub-member): Don't call
	lyskom-remove-membership with membership-list arg.

	* async.el (lyskom-async-forced-leave-conf): Don't call
	lyskom-remove-membership with membership-list arg.

	* mship-edit.el (lyskom-prioritize-flag-toggle): Don't call
	lyskom-replace-members with membership-list arg.

	* commands2.el (kom-set-unread): Don't call lyskom-replace-members
 	with membership-list arg.

	* async.el (lyskom-async-new-membership): Don't call
	lyskom-replace-members with membership-list arg.

	* reading.el (lyskom-insert-membership): Insert the membership at
	the correct position in the membership list.

	* commands1.el (lyskom-add-membership): Call without
	membership-list argument.

	* startup.el (lyskom-set-membership): Use lyskom-sort-membership.

	* lyskom-rest.el (lyskom-membership-<): Consider positions as well 
	as priorities.

	* commands1.el (lyskom-try-add-member): Added
 	need-extra-information parameter.
	(kom-add-member): Call lyskom-try-add-member with
 	need-extra-information.
	(kom-add-self): Same here.
	(kom-change-priority): Same here.
	(lyskom-add-member-by-no): Same here.
	(lyskom-add-member-answer): Accept answer containing position
	parameter. Set position of new membership using position parameter 
	if it is not supplied by the server.

1999-12-10  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-sub-member): Don't try to passivate unless
	we have passive memberships in the server.

	* option-edit.el (lyskom-customize-apply): Set the default value
	of a variable when the user says not to save it in the server.
	(lyskom-customize-send): Set variables in the Emacs buffer using
	setq-default. Don't quote nil or t in the output.

2029
2030
2031
2032
2033
2034
2035
2036
2037
2000-01-10  David Byers  <davby@ida.liu.se>

	* flags.el (lyskom-read-options-eval): Add format argument to
	lyskom-message to avoid possible problems with
	error-in-options-short string.

	* edit-text.el (lyskom-edit-send-check-recipients): Same here.
	(kom-insert-last-info-nodename): Same here.

2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2000-01-06  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (j-or-n-p): Output the answer in the minibuffer
	like y-or-n-p in XEmacs (and probably Emacs) does.

	* swedish-strings.el (lyskom-message): Added yes-string and
	no-string.

	* services.el (blocking-do-multiple): Added edebug-form-spec for
	blocking-do-multiple.

	* commands1.el (lyskom-add-sub-recipient): Confirm adding as full
	recipient. 

	* edit-text.el (lyskom-edit-add-recipient/copy): Removed duplicate
	calls to lyskom-edit-do-add-recipient/copy. Confirm adding as full
	recipient.

1999-12-29  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-add-sub-recipient): Point at start of
	minibuffer when reading target conference.

2061
2062
2063
2064
2065
2066
2067
1999-12-13  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-recursive-prompt-update): New variable.
	(lyskom-update-all-prompts): Set lyskom-recursive-prompt-update to
	avoid endlessly recursing into this function (via lyskom-beep,
	sit-for and the filter function.)

2068
2069
2070
2071
2072
1999-12-10  David Byers  <davby@ida.liu.se>

	* commands1.el (kom-move-text): Supply better defaults for
	conferences. 

2073
2074
2075
2076
2077
1999-12-07  David Kgedal  <davidk@lysator.liu.se>

	* swedish-strings.el (lyskom-sv-mode-map): lyskom-keys was called
	with at string at a couple of places.

2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
1999-12-05  David Byers  <davby@ida.liu.se>

	* Makefile (SOURCES): Added mship-edit.el.

1999-12-04  David Byers  <davby@ida.liu.se>

	* mship-edit.el (lp--maybe-update-entry-for-conf): New function.
	(lp--compute-format-string): Properties on unreads.
	(lp--maybe-update-unreads): New function.
	(lp--update-buffer): Support adding and removing memberships.

	* deferred-insert.el (lyskom-replace-deferred): Perform the
	deferred insertion in the right buffer.

	* view-text.el (lyskom-mark-as-read-callback): New function.
	(lyskom-mark-as-read): Call it.

1999-12-03  David Byers  <davby@ida.liu.se>

	* flags.el: Removed commented kom-edit-options stuff.

	* swedish-strings.el (lyskom-sv-mode-map): Fixed remaininig
	bindings of swedish characters.

2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
1999-12-03  David Byers  <davby@sen2.ida.liu.se>

	* swedish-strings.el, english-strings.el (lyskom-command): Removed
	kom-edit-options.

	* flags.el: Commented out all the kom-edit-options stuff.
	(lyskom-save-options): Fix string encoding of user area
	(it was really messed up.)

1999-12-03  David Byers  <davby@ida.liu.se>

	* command.el (lyskom-read-extended-command): Use
	lyskom-maybe-recode-string in place of last patch.

	* buffers.el (lyskom-generate-new-buffer): Use
	lyskom-maybe-recode-string to maybe recode the buffer name.
	(lyskom-get-buffer-create): Here too.

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

David Byers's avatar
David Byers committed
2122
2123
2124
2125
2126
2127
1999-12-03  David Byers  <davby@sen2.ida.liu.se>

	* command.el (lyskom-read-extended-command): Patch in order to do
	correct completion in a unibyte environment with multibyte strings
	as alternatives.

2128
2129
2130
2131
Fri Dec  3 11:54:28 1999  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-D

2132
2133
1999-12-03  David Byers  <davby@ida.liu.se>

2134
2135
2136
2137
2138
2139
2140
	* startup.el (lyskom): Use lyskom-string-rassoc to find KOMSERVER
	in kom-server-aliases.
	(lyskom-read-server-name): Use lyskom-string-assoc to find server
	name.

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

2141
2142
2143
2144
2145
2146
2147
2148
	* option-edit.el (lyskom-customize-buffer-format): Added
	kom-server-priority and kom-server-priority-breaks.
	(lyskom-custom-variables): Same here.

	* english-strings.el,swedish-strings.el (lyskom-custom-strings):
	Updated customization strings for kom-server-priority and
	kom-server-priority-breaks.

2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
1999-12-02  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-what-to-do): Fix code to handle
	kom-server-priority-breaks properly.

	* option-edit.el (lyskom-custom-variables): Added
	kom-server-priority-breaks.

	* lyskom-rest.el (lyskom-set-mode-line): Use
	lyskom-remove-unread-buffer and lyskom-add-unread-buffer.
	(lyskom-sentinel): Use lyskom-remove-unread-buffer.
	(lyskom-update-all-prompts): New function.

	* buffers.el (lyskom-remove-buffer-from-unread-lists): New
	function.

1999-12-01  David Byers  <davby@ida.liu.se>

	* commands2.el (lyskom-next-kom): Use
	lyskom-clean-all-buffer-lists.

	* commands1.el (lyskom-quit): Use lyskom-remove-buffer-from-lists.

	* buffers.el (lyskom-add-unread-buffer): New function.

	* command.el (lyskom-start-of-command): Use
	lyskom-current-prompt-args.

	* vars.el.in (lyskom-current-prompt-args): New variable.

	* lyskom-rest.el (lyskom-update-prompt): Added
	lyskom-current-prompt-args

1999-11-23  David Byers  <davby@ida.liu.se>

	* vars.el.in (kom-server-priority): New variable.

1999-11-22  David Byers  <davby@ida.liu.se>

	* lyskom-rest.el (lyskom-what-to-do): Added PRI-SESSION.
	(lyskom-next-command): Added next-pri-session.
	(lyskom-update-prompt): Added next-pri-session. Prompts are now
	format strings.
	(kom-go-to-pri-session): New function.

1999-11-21  David Byers  <davby@ida.liu.se>

	* view-text.el (lyskom-mark-as-read): Check for null text-stat.

	* services.el (initiate-create-text): Fix old version of the call.

2200
2201
2202
2203
2204
2205
2206
2207
1999-12-02  David Byers  <davby@sen2.ida.liu.se>

	* flags.el (lyskom-read-options-eval-get-holerith): Skip newlines
	too.
	(lyskom-read-options-eval): Surround everything with a catch-all
	error handler or we won't be able to log in if the user area is
	broken.

2208
2209
2210
2211
2212
2213
2214
2215
2216
1999-12-01  David Byers  <davby@ida.liu.se>

	* compatibility.el (decode-coding-string, encode-coding-string):
	Copy the string using copy-sequence to really emulate the real
	thing.

	* utilities.el (lyskom-string=):  Works even if an argument is
	nil.

2217
2218
2219
2220
Thu Nov 25 17:05:19 1999  David Byers  <davby@sen2.ida.liu.se>

	* Release av 0.46-BETA-C p riktigt

2221
2222
1999-11-25  David Byers  <davby@ida.liu.se>

David Byers's avatar
David Byers committed
2223
2224
2225
2226
2227
2228
	* swedish-strings.el: Use lyskom-keys for all swedish chars in the
	keymaps.
	
	* compatibility.el (lyskom-gnu-keysym): Added swedish chars to the
	list.
	
2229
2230
2231
	* commands1.el (lyskom-change-pres-or-motd-2): Fixed nesting bug
	that caused the callback not to be called.

David Byers's avatar
David Byers committed
2232
2233
2234
2235
2236
1999-11-23  David Byers  <davby@ida.liu.se>

	* commands1.el (lyskom-private-answer-soon): Fixed nesting bug
	that caused two personal reply buffers to be created.

2237
2238
2239
2240
1999-11-23  Per Hedbor	 <per@idonex.se>
	* services.el (initiate-create-text): Fixed support for old lyskom
	servers without call 86.
	
2241
2242
1999-11-22  David Byers  <davby@ida.liu.se>

David Byers's avatar
David Byers committed
2243
2244
2245
	* completing-read.el (lyskom-complete-string): Use character space
	and not ASCII space.

2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
	* lyskom-rest.el (lyskom-modeline-keymap): Go to unread session on
	mouse up, not mouse down since mouse up event is bound to bad
	things in XEmacs.

	* edit-text.el (lyskom-edit-get-commented): Rewrote as blocking.

	* option-edit.el (lyskom-custom-variables): Added last-recipient
	option to kom-default-message-recipient.

	* vars.el.in (lyskom-last-message-recipient): New variable.

	* commands2.el (kom-send-message): Added last-recipient option to
	kom-default-message-recipients..

David Byers's avatar
David Byers committed
2260
2261
1999-11-21  David Byers  <davby@ida.liu.se>

2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
	* edit-text.el (lyskom-edit-insert-miscs): Use lyskom-princ to
	insert subject.

	* slow.el (kom-expand-slow-command): Use lyskom-string=

	* flags.el (lyskom-read-options-eval): Use lyskom-string=

	* edit-text.el (kom-ispell-message): Use lyskom-string=
	(lyskom-send-enriched): Same here.

	* completing-read.el (lyskom-completing-member): Same here.

	* commands1.el (kom-change-password): Use lyskom-string=
	(lyskom-return-username): Same here.

	* utilities.el (lyskom-string=): New function.
	(lyskom-string-assoc): Use it.

	* language.el (lyskom-language-coding): New function.
	(lyskom-define-language): Added argument CODING.

David Byers's avatar
David Byers committed
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
	* lyskom-rest.el (lyskom-update-prompt): Set rear-nonsticky on
	prompt text properties.

	* view-text.el (lyskom-format-text-footer): Use string-width, not
	length to compute width of author name, width of text number,
	flags.

	* option-edit.el (lyskom-widget-name-value-create): Use
	string-width to compute padding.
	(lyskom-widget-command-value-create): Ditto.
	(lyskom-widget-kbd-macro-value-create): Same here.

	* lyskom-buttons.el (lyskom-keyboard-menu): USe string-width to
	get the width of a string.

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

	* commands2.el (kom-status-conf): Use string-width, not length, to 
	get width of string.

	* filter.el (lyskom-recompile-filter): New function.

	* flags.el (lyskom-read-options-eval-get-holerith): Handle
	explicitly coded strings.
	(kom-edit-options-send): Output explicit coding for strings in the 
	elisp area.
	(lyskom-read-options-eval): Recompile filters after reading from
	user area.

David Byers's avatar
David Byers committed
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
1999-11-20  David Byers  <davby@ida.liu.se>

	* compatibility.el (lyskom-string-width): New function. Gnu Emacs
	MULE lossage workaround.
	(string-make-unibyte): New compatibility function.
	(string-make-multibyte): New compatibility function.
	(multibyte-string-p): New compatibility function.

	* lyskom-rest.el (lyskom-format-aux-help): Use
	lyskom-string-width, not string-width.

	* mime.el (lyskom-mime-string-charset): Use the server default
	coding system if no charsets were found (non-MULE Emacs.)

	* lyskom-rest.el (lyskom-prot-a-format-aux-item): Aux item data is 
	a raw string.

	* parse.el (lyskom-parse-aux-item): Aux item data is a raw string.

Joel Rosdahl's avatar
Joel Rosdahl committed
2332
2333
2334
2335
2336
2337
1999-11-19  Joel Rosdahl  <joel@lysator.liu.se>

	* README.debian: New build instructions.

	* ../Makefile: Build debian-package.
	
David Byers's avatar
David Byers committed
2338
1999-11-19  David Byers  <davby@sen2.ida.liu.se>
2339

David Byers's avatar
David Byers committed
2340
2341
2342
	* lyskom-rest.el (lyskom-filter): Explicitly insert unibyte string
	representation. Gnu Emacs 20.3 compat kluge.
	
David Byers's avatar
David Byers committed
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
	* utilities.el (lyskom-looking-at): New function (Gnu Emacs 20.3
	bug workaround.)

	* edit-text.el (kom-ispell-message): Use lyskom-looking-at.
	(lyskom-edit-parse-headers): Same here.
	(lyskom-edit-extract-aux-item-flags): Same here.
	(lyskom-edit-extract-text): Same here.
	(lyskom-edit-on-aux-item): Same here.

	* lyskom-rest.el (lyskom-prot-a-format-string): string-as-unibyte
	the string or concat may convert us to multibyte later.
	(lyskom-prot-a-format-raw-string): Same here.
2355

2356
2357
1999-11-19  David Byers  <davby@ida.liu.se>

David Byers's avatar
David Byers committed
2358
2359
2360
	* compatibility.el (check-coding-system): Throw an error instead
	of returning nil.
	
2361
2362
2363
	* parse.el (lyskom-init-parse): Turn off multibyte chars in the
	parse buffer.

David Byers's avatar
David Byers committed
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
	* utilities.el (lyskom-truncate-string-to-width): New function
	copied from Gnu Emacs.

	* Changed file coding of all files to iso-8859-1 since we now have
	the ambition to deal with multibyte text.
	
	* lyskom-rest.el (lyskom-format-aux-help): Use
	lyskom-truncate-string-to-width instead of substring.
	(lyskom-format-aux-help): Use string-width instead of length.
	(lyskom-format-aux-help): Same here.
	(lyskom-fill-message-line-length): Use current-column instead of
	point to calculate current line width.
	(lyskom-is-loaded): Encode lyskom-line-start-chars-string in
	ISO-8859-1 before using it.
	(silent-read): Don't disable multibyte characters.

	* defvar.el (lyskom-setup-minibuffer-variables): Don't disable
	multibyte characters.

	* buffers.el (lyskom-generate-new-buffer): Don't disable multibyte
	characters.
	(lyskom-get-buffer-create): Same here.

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

	* compatibility.el (check-coding-system): Provide dummy
	check-coding-system.

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

2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
	* startup.el (lyskom): Decode the motd text mass and format it as
	a text.

	* lyskom-rest.el (lyskom-format-aux-help): No longer accept text
	as an argument, because we can't decode it.
	(kom-save-text-body): Decode the text body.

	* filter.el (lyskom-filter-text-p-3): Decode the text mass of the
	text.

	* edit-text.el (lyskom-edit-add-recipient/copy): Decode the
	text-mass of the motd.
	(kom-edit-insert-text): Get the text-stat and text for
	lyskom-edit-insert-commented.
	(lyskom-edit-get-commented): Pass text and text-stat to thendo.

	* commands2.el (lyskom-print-summary-line): Decode the text mass.
	(lyskom-print-mark-summary-line): Same here.
	(lyskom-set-motd): Same here.Accept text stat as argument.
	(kom-set-motd): Get the text-stat and text and send them to
	lyskom-set-motd.

	* commands1.el (lyskom-write-comment-soon): Decode the text mass.
	(lyskom-private-answer-soon): Same here.
	(lyskom-private-answer-soon-prev): Same here.
	(lyskom-change-pres-or-motd-2): Same here.

	* komtypes.el (text->decoded-text-mass): New function.

	* Makefile (SOURCES): Added mime.el to the sources.

	* view-text.el (lyskom-print-text): Decode the string according to 
	the charset specified by the content type.

	* mime.el (lyskom-charset-alist): New variable.
	(lyskom-mime-string-charset): New function.
	(lyskom-mime-charset-coding-system): New function.
	(lyskom-mime-encode-string): New function.
	(lyskom-mime-decode-string): New function.
	(lyskom-mime-decode-content-type): New function.

	* utilities.el (lyskom-subset-p): New function.
	(lyskom-intersection): Moved from review.el

	* edit-text.el (lyskom-edit-send): Pass on aux-list even if we're
	anonymous.

Joel Rosdahl's avatar
Joel Rosdahl committed
2442
2443
2444
2445
1999-11-18  Joel Rosdahl  <joel@lysator.liu.se>

	* Makefile: Debian package building.

David Byers's avatar
David Byers committed
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483