1. 17 Nov, 2003 1 commit
    • David Byers's avatar
      Fixed bug 1132. Fixed bug 1140 and similar problems. Minor bug fixes. · 1097cc30
      David Byers authored
      Detailed changes:
      > 2003-11-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1132:
      > 	* commands2.el (lyskom-list-new-conferences): Made this function
      > 	asynchronous. Use lyskom-get-conf-stat since there's a good
      > 	chance, shortly after release at any rate, that this command will
      > 	cause an explosion of get-conf-stats anyway (when the client gets
      > 	the conf-stat in order to display the presentation status).
      >
      > 2003-11-14  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1140:
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added items to
      > 	this list corresponding to commands that have non-standard
      > 	defaults, since these were ignored.
      >
      > 	* faqs.el (kom-add-faq): Don't pass DEFAULT to
      > 	lyskom-read-text-no-prefix-arg (the default made little sense
      > 	anyway).
      > 	(kom-add-server-faq): Same here.
      >
      > 	* commands1.el (kom-set-presentation): Don't pass DEFAULT to
      > 	lyskom-read-text-no-prefix-arg (the default made little sense
      > 	anyway).
      > 	(kom-set-motd-text): Same here.
      >
      > 2003-09-21  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (lyskom-read-mark-type): Improve handling of empty
      > 	string entered as mark type.
      >
      > 2003-09-17  David Byers  <byers@lysator.liu.se>
      >
      > 	* cache.el (lyskom-tell-server): Never, ever, send nil to
      > 	change-what-i-am-doing since this causes a protocol error.
      >
      1097cc30
  2. 30 Aug, 2003 1 commit
  3. 28 Aug, 2003 2 commits
    • David Byers's avatar
      Removed kom-set-keep-commented and put the functionality in kom-set-garb-nice. · 88aacfa7
      David Byers authored
      Detailed changes:
      > 	Fix bug 1117:
      > 	* commands2.el (kom-set-garb-nice): Moved kom-set-keep-commented
      > 	into this function. It makes more sense that way.
      > 	(kom-set-keep-commented): Deleted this command.
      88aacfa7
    • David Byers's avatar
      Fixed bugs 1128 and 1125. · 4d39e9fa
      David Byers authored
      Detailed changes:
      > 2003-08-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1128:
      > 	* commands2.el (kom-limit-import): Support refusing HTML import.
      >
      > 	Fix bug 1125:
      > 	* edit-text.el (lyskom-edit-insert-miscs): Make more of the
      > 	separator line read-only, taking care (I hope) to get text
      > 	properties right so the read-only property does not affect the
      > 	subject line.
      >
      4d39e9fa
  4. 26 Aug, 2003 1 commit
    • David Byers's avatar
      Fix problem with completing-read in XEmacs. · 1e6e2229
      David Byers authored
      Detailed changes:
      > 2003-08-26  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-magic-minibuffer-mangle-initial):
      > 	Explicitly make properties at the front of the initial value
      > 	nonsticky (mainly for XEmacs where they are sticky by default).
      > 	(completing-read): Add explicity uses for all variables to avoid
      > 	compiler warnings in XEmacs at run time.
      > 	(read-from-minibuffer): Same.
      >
      > 	* commands2.el (kom-send-message): Remoed unused variables.
      >
      1e6e2229
  5. 25 Aug, 2003 1 commit
    • David Byers's avatar
      > 2003-08-25 David Byers <davby@ida.liu.se> · 65115ed7
      David Byers authored
      >
      >       * vars.el.in (lyskom-last-personal-message-sender): Default to
      >       nil.
      >       (lyskom-last-group-message-recipient): Default to nil.
      >
      >       * commands2.el (lyskom-default-conference-for-send-message):
      >       Return nil when there is no suitable recipient.
      65115ed7
  6. 24 Aug, 2003 3 commits
    • David Byers's avatar
      Added missing commands to lyskom-default-conference-strategy. · f86be15f
      David Byers authored
      Detailed changes:
      > 	* commands1.el (kom-status-session): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      >
      > 	* commands2.el (kom-force-logout): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      >
      > 	* remote-control.el (kom-remote-autoreply): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      > 	(kom-remote-set-message): Same.
      > 	(kom-remote-list-messages): Same.
      > 	(kom-remote-erase-messages): Same.
      > 	(kom-remote-quit): Same.
      >
      f86be15f
    • David Byers's avatar
      Finish fixing bug 459 (initial values for commands). · dd2be52e
      David Byers authored
      Detailed changes:
      > 	* Makefile (TARGET): Default to debug compile.
      >
      > 	Fix bug 459:
      > 	* commands2.el (kom-send-message): Use standard strategy for
      > 	initial value when reading conf.
      > 	(lyskom-default-conference-for-send-message): New function.
      >
      > 	* async.el (lyskom-show-personal-message): Save conf-no, not name
      > 	in lyskom-last-personal-message-sender.
      > 	(lyskom-show-personal-message): Same here.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	strategy for set-keep-commented and kom-send-message.
      >
      > 	* completing-read.el (lyskom-get-initial-conf-strategy): Display a
      > 	warning if there is no prompt-specific strategy (there should be).
      > 	This only happens if compiled with debugging.
      >
      > 	* macros.el (lyskom-debug-forms): New macro.
      >
      > 	* utilities.el (lyskom-completing-read): Fix handling of default
      > 	argument (twas broken before).
      >
      > 	* commands1.el (kom-move-text-tree): Handle initial values for
      > 	reading conference names through standard strategy configuration.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	strategies for kom-move-text and kom-sub-recipient.
      >
      > 	* commands1.el (lyskom-default-recpt-for-sub): Removed this
      > 	function. It is implemented through the standard strategy
      > 	configuration instead.
      > 	(kom-move-text): Handle initial values for reading conference
      > 	names through standard strategy configuration.
      >
      > 	* vars.el.in (lyskom-last-added-rcpt): Removed this variable.
      > 	(lyskom-last-added-ccrcpt): Same.
      > 	(lyskom-last-added-bccrcpt): Same.
      > 	(lyskom-last-sub-rcpt): Same.
      >
      > 	* commands1.el (kom-sub-recipient): Don't save answer reading
      > 	conference. Rely on standard strategy for default initial value.
      > 	Sort the recipient list so RECPT is first.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Handle initials
      > 	formerly set in lyskom-add-helper through save strategy.
      >
      >  	* commands1.el (lyskom-add-helper): Don't explicitly save
      >	last-added stuff. Removed last-added variable parameter.
      > 	(kom-add-copy): Updated parameter list to lyskom-add-helper.
      > 	(kom-add-bcc): Same here.
      > 	(kom-add-recipient): Same here.
      dd2be52e
    • David Byers's avatar
      Support setting keep-commented on conferences. · 487c0c87
      David Byers authored
      Detailed changes:
      > 2003-08-24  David Byers  <byers@lysator.liu.se>
      >
      > 	* NEWS-0.48: Updated to here.
      >
      > 	Support setting keep-commented:
      > 	* commands2.el (kom-set-keep-commented): New command.
      487c0c87
  7. 17 Aug, 2003 2 commits
    • David Byers's avatar
      Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat. · 8cf072e5
      David Byers authored
      Detailed changes:
      > 	Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat:
      > 	* startup.el (kom-start-anew): Don't allow EMPTY when logging on.
      >
      > 	* filter.el (kom-filter-subject): Don't use /=. Use not eq
      > 	instead.
      > 	(kom-filter-author): Same here.
      > 	(kom-filter-text): Same here.
      >
      > 	* commands2.el (kom-create-aux-item): Set MUSTMATCH when readinf
      > 	conference name.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Default for
      > 	kom-set-permitted-submitters new-permitted-submitters-q is empty.
      >
      > 	* commands1.el (kom-change-presentation): Don't allow EMPTY when
      > 	reading conf name (it means the same as the default initial
      > 	value).
      > 	(kom-change-conf-motd): Same here.
      > 	(kom-set-presentation): Same here.
      > 	(kom-set-motd-text): Same here.
      > 	(kom-remove-presentation): Same here.
      > 	(kom-change-password): Same here.
      >
      8cf072e5
    • David Byers's avatar
      Made initial value for reading confs more configurable. · 664b6aa5
      David Byers authored
      Detailed changes:
      > 2003-08-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Make initial value for reading confs more configurable:
      > 	* filter.el (kom-filter-author): Simplified. Initial values are
      > 	now computed in completing-read.el, not here.
      >
      > 	* completing-read.el (lyskom-read-conf-guess-initial): Added
      > 	PROMPT parameter.
      > 	(lyskom-get-initial-conf-strategy): Added PROMPT parameter.
      > 	Operate on new format. Combine prompt-specific, command-specific
      > 	and default configuration.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): New format.
      > 	Removed lyskom-default-conference-self as default.
      >
      > 	* completing-read.el (lyskom-default-conference-last-author): New
      > 	function.
      >
      > 	Pass symbols or lists to lyskom-read-conf-stat and friends:
      > 	* startup.el (kom-start-anew): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      >
      > 	* review.el (lyskom-review-by-to): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(lyskom-unread-by-to): Same.
      >
      > 	* filter.el (kom-filter-subject): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-filter-author): Same.
      > 	(kom-filter-text): Same.
      >
      > 	* faqs.el (kom-change-conf-faq): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-list-faqs): Same.
      >
      > 	* edit-text.el (kom-edit-add-recipient): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-edit-add-bcc): Same.
      > 	(kom-edit-add-copy): Same.
      > 	(kom-edit-move-text): Same.
      >
      > 	* completing-read.el (lyskom-read-conf): Support list as prompt.
      >
      > 	* commands2.el (kom-status-conf): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-status-person): Same.
      > 	(kom-set-garb-nice): Same.
      > 	(kom-set-permitted-submitters): Same.
      > 	(kom-set-super-conf): Same.
      > 	(kom-set-personal-label): Same.
      > 	(kom-is-person-member-of-conference): Same.
      > 	(kom-will-person-read-text): Same.
      >
      > 	* commands1.el (kom-delete-conf): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-review-presentation): Same.
      > 	(kom-unread-presentation): Same.
      > 	(kom-add-member): Same.
      > 	(kom-add-self): Same.
      > 	(kom-change-priority): Same.
      > 	(kom-sub-member): Same.
      > 	(kom-sub-self): Same.
      > 	(kom-change-presentation): Same.
      > 	(kom-change-conf-motd): Same.
      > 	(kom-set-presentation): Same.
      > 	(kom-set-motd-text): Same.
      > 	(kom-remove-presentation): Same.
      > 	(kom-unset-conf-motd): Same.
      > 	(kom-go-to-conf): Same.
      > 	(lyskom-write-text): Same.
      > 	(kom-change-name): Same.
      > 	(kom-change-parenthesis): Same. Also moved initial to vars.el.in.
      > 	(kom-change-supervisor): Same.
      > 	(kom-change-password): Same.
      > 	(kom-who-is-on-in-conference): Same.
      > 	(kom-who-is-present-in-conference): Same.
      > 	(lyskom-add-helper): Same.
      > 	(kom-sub-recipient): Same.
      > 	(lyskom-read-cross-reference-and-get-aux-item): Same. Also cleanup.
      > 	(lyskom-read-link): Same.
      >
      1a83,87
      >
      > 	Work on supporting UTC timestamps from the server:
      > 	* komtypes.el (lyskom-create-time-from-utc): New function.
      >
      > 	* utilities.el (lyskom-days-in-year): New function.
      664b6aa5
  8. 16 Aug, 2003 1 commit
    • David Byers's avatar
      Cleaned up compatibility code. Handle async-text-aux-changed. · 4fadea6a
      David Byers authored
      Detailed changes that consist only of name changes have been
      excluded from this message (see the ChangeLog for details).
      
      Detailed changes:
      > 2003-08-16  David Byers  <byers@lysator.liu.se>
      >
      > 	Handle async-text-aux-changed:
      > 	* async.el (lyskom-parse-async): Handle async-text-aux-changed.
      >
      > 	* aux-items.el (lyskom-aux-item-modify-list): New function.
      >
      > 	* komtypes.el (text-stat): Make aux-items field read-write.
      >
      > 	Major cleanup of compatibility code:
      > 	* compatibility.el: Cleaned up compatibility code a lot. We no
      > 	longer provide fake versions of MULE-related functions or any
      > 	other function that other code might take to mean there's some
      > 	major feature in Emacs. The only definitions we make in the
      > 	standard namespace are "safe" functions. Removed functions that
      > 	are not used. Simplified some of the macros. Moved code here from
      > 	utilities.el.
      > 	(lyskom-gnu-keysym,lyskom-xemacs-keysym): Removed swedish chars
      > 	from the lists since we don't use lyskom-keys for that any more.
      >
      > 	* compatibility.el (coding-system-type): New compatibility def.
      > 	(coding-system-property): New compatibility def.
      > 	(split-string): Provide compatibility definition for split-string.
      >
      > 	* lyskom-rest.el (lyskom-unity-text): Use compatibility functions
      > 	for MULE stuff.
      >
      > 	* macros.el (lyskom-end-of-compilation): Don't remove
      > 	compatibility definitions from the list of warnings for unresolved
      > 	functions since this serves no purpose and hides actual errors.
      >
      > 	* mship-edit.el (lp--maybe-update-unreads): Use
      > 	lyskom-next-property-bounds, not next-text-property-bounds.
      >
      > 	* lyskom-rest.el (lyskom-do-special-inserts): Use
      > 	lyskom-next-property-bounds, not next-text-property-bounds.
      >
      > 	* mime.el (lyskom-mime-string-charset): Use :mime-charset next to
      > 	mime-charset (Gnus does this ans says it is the Emacs 22 way).
      4fadea6a
  9. 15 Aug, 2003 2 commits
    • David Byers's avatar
      Fixed bug 623. · b84d2329
      David Byers authored
      Detailed changes:
      > 	Fix bug 623:
      > 	* commands2.el (kom-set-unread): Delete conf-stat from cache
      > 	before prompting. Fixed error handling.
      >
      > 	Better handling of minibuffer reading:
      b84d2329
    • David Byers's avatar
      Improved handling of initial input when reading conference names. · 2da67aeb
      David Byers authored
      Detailed changes:
      > 2003-08-15  David Byers  <byers@lysator.liu.se>
      >
      > 	* completing-read.el (lyskom-read-conf): Don't call
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-completing-read now.
      > 	(lyskom-read-session-resolve-ambiguity): Same here.
      >
      > 	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): Don't
      > 	call lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-read-from-minibuffer now.
      >
      > 	* commands2.el (kom-calculate): Don't call
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-read-from-minibuffer now.
      > 	(kom-set-personal-label): Same here.
      >
      > 	* command.el (lyskom-read-extended-command): Don't use
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-completing-read now.
      >
      > 	* utilities.el (lyskom-completing-read): Moved here from
      > 	compatibility.el and turned into a regular function. Integrate
      > 	lyskom-with-lyskom-minibuffer and lyskom-with-magic-minibuffer.
      > 	(lyskom-read-from-minibuffer): Ditto.
      >
      > 	* commands1.el (kom-sub-self): Undo previous change. The new
      > 	configuration mechanism takes care of things.
      > 	(kom-go-to-conf): Same here.
      >
      > 	Even better defaults for initial conference:
      > 	* compatibility.el (lyskom-completing-read): Use defsubst in Gnu
      > 	Emacs so we can advise it.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): New variable.
      >
      > 	Rewrote magic minibuffer handling:
      > 	* utilities.el (lyskom-magic-minibuffer-pre-command): New
      > 	function.
      > 	(lyskom-magic-minibuffer-before-change): New function.
      > 	(lyskom-magic-minibuffer-post-command): New function.
      > 	(lyskom-magic-minibuffer-cancel): New function.
      > 	(lyskom-magic-minibuffer-mangle-initial): New function.
      > 	(read-from-minibuffer): New advice.
      > 	(completing-read): New advice.
      > 	(lyskom-magic-minibuffer-add-advice): New function.
      > 	(lyskom-magic-minibuffer-cancel-advice): New function.
      > 	(lyskom-with-magic-minibuffer): New macro.
      >
      2da67aeb
  10. 14 Aug, 2003 4 commits
    • David Byers's avatar
      Updates for NEWS file. Improved kom-list-new-conferences and friends. · 133d8c78
      David Byers authored
      Detailed changes:
      > 	Update NEWS file:
      > 	* NEWS-0.48: Updated to here.
      >
      > 	Don't show nil in message area when silently saving settings:
      > 	* flags.el (lyskom-save-options): Support nil message properly.
      > 	(lyskom-save-options-2): Ditto.
      > 	(lyskom-save-options-3): Ditto.
      >
      > 	Suppoert non-interactive use of kom-list-new-conferences etc:
      > 	* vars.el.in (kom-auto-confirm-new-conferences): New variable.
      >
      > 	* commands2.el (lyskom-list-new-conferences): Support
      > 	auto-confirmation.
      >
      > 	* lyskom-rest.el (lyskom-do-format): Better error reoprting
      > 	(report argument number and actual argument).
      > 	(lyskom-format-aux-help): Provide data for error reporting.
      >
      > 	* faqs.el (kom-list-server-faqs): Updated documentation.
      133d8c78
    • David Byers's avatar
      New commands: kom-list-new-conferences and kom-list-new-persons · 79729ff4
      David Byers authored
      Detailed changes:
      > 	* services.el (initiate-first-unused-conf-no): New function.
      > 	(initiate-first-unused-text-no): New function.
      > 	(initiate-find-next-conf-no): New function.
      > 	(initiate-find-previous-conf-no): New function.
      >
      > 	* commands2.el (kom-set-personal-label): Use capitalized strings
      > 	for conf, pers and text.
      > 	(lyskom-list-new-conferences): New function.
      > 	(kom-list-new-persons): New command.
      > 	(kom-list-new-conferences): New command.
      >
      > 	* commands1.el (lyskom-read-cross-reference-and-get-aux-item): Use
      > 	capitalized strings for conf, pers and text.
      > 	(lyskom-read-link): Same here.
      >
      79729ff4
    • David Byers's avatar
      Show boot time and basic server statistics in standard status display. · 1aab171c
      David Byers authored
      Make kom-extended-status-information more fine-grained, so we can have
      extended information on the server but not on confs (and so forth).
      Cache boot-time and static server information.
      
      Detailed changes:
      > 	Show more stats in non-extended display:
      > 	* commands2.el (kom-status-server): Show text, conf and person
      > 	statistics in the default display.
      >
      > 	Cace get-stats-description:
      > 	* services.el (initiate-get-stats-description): Use cache.
      >
      > 	* vars.el.in (lyskom-stats-description): New variable.
      >
      > 	* parse.el (lyskom-parse-stats-description): Cache result.
      >
      > 	Show some boottime info:
      > 	* commands2.el (kom-status-server): Show server start time and
      > 	soem basic statistics in the default display.
      >
      > 	Cache static-server-info:
      > 	* parse.el (lyskom-parse-static-server-info): Update cache.
      >
      > 	* services.el (initiate-get-boottime-info): Use cache.
      >
      > 	More fine-grained control over extended status:
      > 	* commands2.el (kom-status-server): Only show full server stats if
      > 	the appropriate extended status information is on.
      >
      > 	* utilities.el (lyskom-extended-status-information): New function.
      >
      > 	* commands2.el (kom-status-conf): Set
      > 	kom-extended-status-information to t on entry if it contains conf.
      > 	(kom-status-server): Set kom-extended-status-information to t on
      > 	entry if it contains server.
      > 	(kom-status-person): Set kom-extended-status-information to t on
      > 	entry if it contains pers.
      >
      > 	* aux-items.el (lyskom-print-elisp-client-read-faq): Use
      > 	lyskom-extended-status-information to check for extended status
      > 	information.
      >
      > 	* vars.el.in (kom-extended-status-information): Updated variable
      > 	documentation.
      >
      1aab171c
    • David Byers's avatar
      Fixed bugs 1080 and 1081. · 7218c565
      David Byers authored
      Detailed changes:
      > 2003-08-14  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1080:
      > 	* commands2.el (kom-status-server): Use point-max, not point, to
      > 	figure out where insertion starts and ends (lyskom-insert always
      > 	inserts at point-max but does not always move point).
      >
      > 	Fix bug 1081:
      > 	* lyskom-rest.el (lyskom-format-aux): Set pad-length to nil when
      > 	no pad-length is specified.
      >
      7218c565
  11. 13 Aug, 2003 1 commit
  12. 04 Aug, 2003 2 commits
    • David Byers's avatar
      Show ascent and descent rates for statistics. · 427a670a
      David Byers authored
      Detailed changes:
      > 2003-08-04  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands2.el (kom-status-server): Show ascent and descent rates
      > 	for statistics.
      >
      427a670a
    • David Byers's avatar
      Show server statistics in kom-status-server. · 0d764ad9
      David Byers authored
      Detailed changes:
      > 	* commands2.el (kom-status-server): Show statistics about the
      > 	server.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Added support for
      > 	formatting floats.
      > 	(lyskom-format-aux): Support setting fraction length for floats.
      > 	(lyskom-format-units): New function.
      >
      0d764ad9
  13. 02 Aug, 2003 1 commit
    • David Byers's avatar
      Changed defaults for lyskom-read-conf. · 101a3b8e
      David Byers authored
      Detailed changes:
      > 2003-08-02  David Byers  <byers@lysator.liu.se>
      >
      > 	Coherent and useful defaults reading conference names:
      > 	* filter.el (kom-filter-subject): Don't set default when reading
      > 	conference name (the default default is better). Also cleaned up
      > 	the code some (it was downright embarrasing).
      > 	(kom-filter-author): Same here (sans the cleaning).
      > 	(kom-filter-text): Same here.
      >
      > 	* edit-text.el (lyskom-edit-add-recipient/copy): Don't set default
      > 	when reading conference name (the default default is better).
      >
      > 	* faqs.el (kom-review-faq): Don't set default when reading
      > 	conference name (the default default is better).
      > 	(kom-change-conf-faq): Same here.
      > 	(kom-list-faqs): Same here.
      >
      > 	* review.el (lyskom-review-by-to): Don't set default when reading
      > 	conference name (the default default is better).
      > 	(lyskom-unread-by-to): Same here.
      >
      > 	* commands2.el (kom-status-person): Don't set default when reading
      > 	conference name (the default default is better).
      > 	(kom-send-message): Fall back to the default default when reading
      > 	recipient name (better than the empty string, I think).
      >
      > 	* commands1.el (kom-write-text): Don't set default when reading
      > 	conference name (the default default is better).
      > 	(kom-review-presentation): Pass nil as the initial for
      > 	lyskom-read-conf-stat.
      > 	(kom-unread-presentation): Same here.
      > 	(kom-add-self): Same here.
      > 	(kom-change-priority): Same here.
      > 	(kom-sub-member): Same here.
      > 	(kom-sub-self): Same here.
      > 	(kom-go-to-conf): Same here.
      > 	(kom-list-created-conferences): Same here.
      > 	(kom-change-password): Same here.
      > 	(kom-who-is-on-in-conference): Same here.
      > 	(kom-who-is-present-in-conference): Same here.
      > 	(kom-change-parenthesis): Pass lyskom-pers-no in initial.
      > 	(kom-sub-recipient): Use default INITIAL if no better choice is
      > 	found.
      > 	(lyskom-add-helper): Same here.
      > 	(kom-move-text): Same here.
      > 	(kom-move-text-tree): Same here.
      >
      > 	* command.el (def-kom-command): Added binding of
      > 	lyskom-command-point.
      >
      > 	* completing-read.el (lyskom-read-conf): Handle loads of different
      > 	types for INITIAL.
      > 	(lyskom-read-conf-guess-initial): New function that guesses a
      > 	default for conference reading commands. The default is the first
      > 	that fits the predicate of the conference under point, the current
      > 	conference and the current person.
      >
      101a3b8e
  14. 30 Jul, 2003 1 commit
    • David Byers's avatar
      Worked on kom-handle-membership. · 6de83b55
      David Byers authored
      Detailed changes:
      > 	Keep membership buffer updated changing membership types:
      > 	* reading.el (lyskom-insert-membership): Added calls to
      > 	lp--update-buffer.
      > 	(lyskom-replace-membership): Added calls to lp--update-buffer.
      > 	(lyskom-remove-membership): Added calls to lp--update-buffer.
      >
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Added calls to
      > 	lp--update-buffer.
      >
      > 	* commands2.el (kom-change-message-flag): Added calls to
      > 	lp--update-buffer.
      >
      > 	* commands1.el (kom-add-self): Added calls to lp--update-buffer
      > 	when de-passivating.
      > 	(lyskom-sub-member): Added calls to lp--update-buffer.
      >
      6de83b55
  15. 27 Jul, 2003 2 commits
    • David Byers's avatar
      Fixed bugs 747 and 709. · 14fbab3e
      David Byers authored
      Detailed changes:
      > 	Fix bug 747:
      > 	* commands2.el (lyskom-status-pers-list-one-membership): New
      > 	function.
      > 	(kom-status-person): Use it.
      >
      > 	Fix bug 709:
      > 	* faqs.el (kom-list-faqs): New command.
      > 	(kom-list-server-faqs): New command.
      > 	(lyskom-do-list-faqs): New function.
      >
      > 	* lyskom-rest.el (lyskom-next-property-bounds): New function.
      > 	(lyskom-do-special-inserts): Use it. Added end parameter.
      > 	(lyskom-do-insert): Pass end parameter.
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Do links from
      > 	kom-text-buttons after the hard-coded stuff.
      >
      14fbab3e
    • David Byers's avatar
      Fixed bugs 761, 1058 and 1036. · 76661d80
      David Byers authored
      Detailed changes:
      > 2003-07-27  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 761:
      > 	* startup.el (kom-start-anew): Set lyskom-is-administrator to nil
      > 	after logging on.
      >
      > 	Fix bug 1058:
      > 	* edit-text.el (lyskom-edit-insert-miscs): Make the separator
      > 	read-only.
      >
      > 2003-07-26  David Byers  <byers@lysator.liu.se>
      >
      > 	Minor fixes:
      > 	* commands1.el (kom-sub-self): Restrict this command to
      > 	membership.
      >
      > 	Improvements to completing read:
      > 	* completing-read.el (lyskom-read-conf-internal): Added membership
      > 	predicate to lyskom-read-conf-internal.
      > 	(lyskom-read-conf): Support integer argument in initial. Default
      > 	to placing point at the start of input.
      >
      >
      > 	Fix bug 1036:
      > 	* commands2.el (kom-change-message-flag): Nwe command.
      >
      > 	* commands2.el (kom-is-person-member-of-conference): Show if a
      > 	person receives group messages to the conference.
      >
      > 	* utilities.el (lyskom-return-membership-type): Show message-flag
      > 	if it is not the default.
      >
      > 2003-07-25  David Byers  <byers@lysator.liu.se>
      >
      > 	UI support for bug 1036:
      > 	* mship-edit.el (lp--compute-format-string): Support message-flag.
      > 	(lp--format-entry): Ditto.
      > 	(lp--flag-menu-get): Ditto.
      > 	(lp--flag-menu-set): Ditto.
      > 	(lp--format-insert-entry): Ditto.
      >
      > 	Protocol support for bug 1036:
      > 	* komtypes.el (membership-type): Added message-flag.
      >
      > 	* parse.el (lyskom-parse-membership-type): Set message-flag from
      > 	message-invert.
      >
      > 	* lyskom-rest.el (lyskom-prot-a-format-membership-type): Transmit
      > 	message-invert instead of message-flag.
      >
      > 2003-07-22  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands2.el (lyskom-update-membership-buffer): Fixed typo.
      76661d80
  16. 02 Jul, 2003 1 commit
    • David Byers's avatar
      Fixed bug 1064 and some other minor stuff. · cc17ab00
      David Byers authored
      Detailed changes:
      > 2003-07-02  David Byers  <byers@lysator.liu.se>
      >
      > 	Removed unused variables:
      > 	* commands1.el (lyskom-get-marked-texts): Removed variable
      > 	mark-list.
      >
      > 	* commands2.el (kom-leave-all-conferences): Removed variable
      > 	unsubscribed.
      >
      > 	* lyskom-rest.el (lyskom-format-x-kom/user-area): Removed variable
      > 	tmpbuf.
      >
      > 	* lyskom-buttons.el (lyskom-generate-button): Removed variable
      > 	persno.
      >
      > 	Fixed empty lines in nameday display:
      > 	* names.el (lyskom-nameday-2): Say so when there are no namedays
      > 	(we more or less have to when showing names from more than one
      > 	list, and it ain't bad
      >
      > 	Fixed bug 1064:
      > 	* lyskom-buttons.el (kom-button-click): Handle null position
      > 	properly.
      >
      > 2003-07-01  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (lyskom-write-text): Handle prefix args correctly
      > 	(so C-u i works).
      >
      cc17ab00
  17. 17 May, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 986, 1038 and 1039. · f1eabad8
      David Byers authored
      Detailed changes:
      > 2003-05-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 986:
      > 	* lyskom-buttons.el (lyskom-view-url-netscape): Support
      > 	kom-netscape-variant.
      >
      > 	* vars.el.in (kom-netscape-variant): New variable.
      >
      > 	Fix bug 1038:
      > 	* swedish-strings.el,english-strings.el: Fixed problem with
      > 	accepting-recommendation (patch from Magnus Bark).
      >
      > 	Fix bug 1039:
      > 	* commands1.el (lyskom-private-answer): Misc-list for personal
      > 	replys to our own texts were wrong.
      >
      > 2003-05-10  David Byers  <byers@lysator.liu.se>
      >
      > 	Illegal argument stringp nil when listing missing texts:
      > 	* commands2.el (lyskom-do-list-summary): Fix problem when listing
      > 	texts that don't exist.
      >
      f1eabad8
  18. 10 May, 2003 1 commit
  19. 09 May, 2003 1 commit
    • David Byers's avatar
      Fixed bug 868. Minor cosmetic fix. · e1148a1f
      David Byers authored
      Detailed changes:
      > 2003-05-09  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 868:
      > 	* commands2.el (kom-add-private-answer): New function.
      >
      > 	Minor usability fix:
      > 	* english-strings.el,swedish-strings.el: Clarify error-2.
      >
      e1148a1f
  20. 06 Apr, 2003 1 commit
    • David Byers's avatar
      Fixed bug 697. Other minor fixes. · 329926a6
      David Byers authored
      Detailed changes:
      > 2003-04-06  David Byers  <byers@lysator.liu.se>
      >
      > 	Cosmetic fix:
      > 	* commands1.el (lyskom-list-conf-print): Don't make each line
      > 	clickable in its entirety. Just print things normally.
      >
      > 	Handle conf-z-info more correctly in lyskom-format:
      > 	* lyskom-buttons.el (lyskom-default-button): Support conf-z-info
      > 	as argument for conf and pers buttons.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): When conf-z-info is
      > 	passed to %M, create a button.
      >
      > 	Fix error message when trying to unread everything:
      > 	* review.el (lyskom-get-texts-globally): Added do-unread parameter.
      > 	(kom-unread-more): Pass do-unread to lyskom-get-texts-by-to.
      > 	(lyskom-unread-by-to): Ditto.
      > 	(lyskom-get-texts-by-to): Added do-unread parameter to
      > 	lyskom-get-texts-by-to.
      >
      > 	Fix bug 697:
      > 	* commands1.el (kom-jump): Treat REVIEW-FAQ-TREE like REVIEW-TREE.
      >
      > 	* lyskom-rest.el (kom-view-next-text): Treat REVIEW-FAQ-TREE like
      > 	review when altering the read list, but not otherwise.
      > 	(lyskom-update-prompt): Treat REVIEW-FAQ-TREE like REVIEW-FAQ.
      >
      > 	* commands2.el (lyskom-list-summary): Added REVIEW-FAQ-TREE and
      > 	REVIEW-TREE to if statement towards the end.
      >
      > 	* vars.el.in (lyskom-review-types-list): Added REVIEW-FAQ-TREE.
      >
      > 	* faqs.el (lyskom-present-unread-faqs): Pass t as review-tree
      > 	argument to lyskom-do-review-faq.
      > 	(lyskom-do-review-faq): Added argument review-tree.
      >
      > 2003-04-05  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-buttons.el (lyskom-highlight-has-no-presentation): Don't
      > 	highlight secret conferences.
      329926a6
  21. 05 Apr, 2003 2 commits
    • David Byers's avatar
      Fixed bug 742. · 2f3b9b69
      David Byers authored
      Detailed changes:
      > 	Fix bug 742:
      > 	* commands2.el (kom-will-person-read-text): New command.
      >
      2f3b9b69
    • David Byers's avatar
      Fixed bugs 1000, 1006, 1008 · 8a92ed5b
      David Byers authored
      Detailed changes:
      > 2003-04-05  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 1006:
      > 	* commands2.el (kom-is-person-member-of-conference): Show number
      > 	of unread (only when deferred printing is on).
      >
      > 	* deferred-insert.el (lyskom-defer-insertion): Handle a list as
      > 	the arguments for the server call.
      >
      > 	Fix bug 1000:
      > 	* swedish-strings.el: Fix cut-n-paste error.
      >
      > 	Fix bug 1008:
      > 	* commands1.el (lyskom-list-created-conferences-2): Show garb-nice
      > 	in listing.
      >
      8a92ed5b
  22. 16 Mar, 2003 4 commits
    • David Byers's avatar
      Fixed bug 815 (incorrect error for long message) · 5d4625a9
      David Byers authored
      Detailed changes:
      > 	Fix bug 815:
      > 	* commands2.el (lyskom-send-message): Print the correct error code
      > 	on failure.
      >
      5d4625a9
    • David Byers's avatar
      Fixed bug 854 (join/leave all conferences) · 6114fab2
      David Byers authored
      Detailed changes:
      > 	Fix bug 854:
      > 	* commands2.el (kom-join-all-conferences): New command.
      > 	(kom-leave-all-conferences): New command.
      >
      > 	* commands1.el (lyskom-add-member-by-no): Added no-of-unread
      > 	parameter.
      >
      > 	* lyskom-buttons.el (lyskom-highlight-i-am-supervisor): Use
      > 	lyskom-i-am-supervisor.
      >
      > 	* utilities.el (lyskom-i-am-supervisor): New function.
      > 	(lyskom-get-all-conferences): New function.
      >
      6114fab2
    • David Byers's avatar
      Fixed bugs 591 (use call 107) and 859 (improved question in kom-status-conf) · a8c9ceb0
      David Byers authored
      Detailed changes:
      > 	Fix bug 859:
      > 	* swedish-strings.el,english-string.el (lyskom-messages): Fixed
      > 	show-membership-info-q.
      >
      > 	Fix bug 591:
      > 	* feature.el (read-ranges): New feature variable.
      >
      > 	* parse.el (lyskom-parse-membership-11): New function.
      > 	(lyskom-convert-read-ranges-to-map): New function.
      >
      > 	* startup.el (lyskom-setup-client-for-server-version): Added
      > 	features for protocol version 11.
      >
      > 	* utilities.el (lyskom-is-member): Pass want-read-ranges nil.
      >
      > 	* user-hooks.el (kom-read-last-text-hook): Pass want-read-ranges
      > 	t.
      >
      > 	* prefetch.el (lyskom-prefetch-one-request): Pass want-read-ranges
      > 	t.
      >
      > 	* mship-edit.el (lyskom-prioritize-flag-toggle): Pass
      > 	want-read-ranges t.
      >
      > 	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
      > 	Pass want-read-ranges nil.
      > 	(lyskom-get-membership): Pass want-read-ranges t.
      >
      > 	* edit-text.el (lyskom-edit-send-check-recipients): Pass
      > 	want-read-ranges nil.
      >
      > 	* commands2.el (kom-status-conf): Pass want-read-ranges t.
      > 	(kom-set-unread): Ditto.
      >
      > 	* async.el (lyskom-parse-async): Pass want-read-ranges t.
      >
      > 	* commands1.el (lyskom-add-member-answer): Pass want-read-ranges
      > 	t.
      >
      > 	* services.el (initiate-query-read-texts): Use call 107 when
      > 	possible.
      >
      a8c9ceb0
    • David Byers's avatar
      Fixed bug 946 (show number of comments when listing subjects) · 7e75f4bf
      David Byers authored
      Detailed changes:
      > 	Fix bug 946:
      > 	* commands2.el (lyskom-print-summary-line): Can print the number
      > 	of comments to a text.
      > 	(lyskom-construct-summary-format-string): Support
      > 	number-of-comments column.
      > 	(lyskom-list-summary): Include number-of-comments column.
      > 	(lyskom-do-list-summary): Same here.
      >
      7e75f4bf
  23. 03 Mar, 2003 1 commit
    • Per Cederqvist's avatar
      Print the conference type when entering a conference. · badd689a
      Per Cederqvist authored
      	* swedish-strings.el (status-record): Removed a space.
      
      	* english-strings.el (status-record): Removed a space.
      
      	* lyskom-rest.el (lyskom-enter-conf-print-unread): Fixed broken
      	indentation.  Print the type of the conference.
      
      	* commands2.el (lyskom-conf-status-marker): New function,
      	extracted from kom-status-conf.
      	(kom-status-conf): Simplified by using lyskom-conf-status-marker.
      badd689a
  24. 13 Feb, 2003 1 commit
    • Per Cederqvist's avatar
      Fix kom-postpone, which has been broken a while. · 15de5423
      Per Cederqvist authored
      Detailed changes:
      > 2003-02-13  Per Cederqvist  <ceder@ingate.com>
      >
      > 	Fix kom-postpone, which has been broken a while.
      >
      > 	* komtypes.el (text-list->trim-head): New function.
      >
      > 	* commands2.el (kom-postpone): Use text-list->trim-head instead of
      > 	accessing internals of the text-list type in a way that no longer
      > 	works.
      15de5423
  25. 07 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed bug 962. Updated command documentation. Started on the NEWS file. · 6184772e
      David Byers authored
      Detailed changes:
      > 2003-01-07  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 962:
      > 	* edit-text.el (lyskom-edit-send-check-recipients): Use
      > 	lyskom-get-send-comments-to.
      >
      > 	* utilities.el (lyskom-get-send-comments-to): New function.
      >
      > 	* commands1.el (kom-write-text): Add sender as recipient when
      > 	sending to a conference the sender is not a member of. Respect
      > 	send-comments-to.
      > 	(lyskom-comment-recipients): Respect send-comments.to when adding
      > 	lyskom-pers-no as a recipient.
      >
      > 	Started working on a command reference manual:
      > 	* commands2.el: Wrote user documentation for all commands in the
      > 	docstrings. Lisp-level documentation, where it still exists, is
      > 	placed after the user-level documentation, below the legend "Lisp
      > 	documentation". I intend to generate the english command reference
      > 	from the source code.
      >
      1a23,31
      >
      > 	Started working on a command reference manual:
      > 	* commands1.el: Wrote user documentation for all commands in the
      > 	docstrings. Lisp-level documentation, where it still exists, is
      > 	placed after the user-level documentation, below the legend "Lisp
      > 	documentation". I intend to generate the english command reference
      > 	from the source code.
      >
      > 	* NEWS-0.48: Synched up to here.
      6184772e
  26. 06 Jan, 2003 1 commit
    • David Byers's avatar
      Handle async-new-user-area message. Fixed parsing of text-mapping. · 7e7857db
      David Byers authored
      Detailed changes:
      > 	Handle async-new-user-area message:
      > 	* startup.el (lyskom-accept-async): Accept async 19.
      >
      > 	* async.el (lyskom-parse-async): Parse async type 19. Update
      > 	pers-stat based on results.
      > 	(lyskom-async-new-user-area): New function updates cache and
      > 	re-reads options if necessary.
      > 	(lyskom-parse-async): Call it.
      >
      > 	* flags.el (lyskom-read-options-eval): Set
      > 	lyskom-current-user-area.
      >
      > 	* vars.el.in (lyskom-current-user-area): New variable.
      >
      > 	* flags.el (lyskom-save-options-3): Don't delete the person from
      > 	the cache; just set the user-area. Set lyskom-current-user-area.
      >
      > 	* komtypes.el (pers-stat): user-area is no longre read-only.
      >
      > 	Fix parse of text-mapping (I thought I did this a year ago):
      > 	* parse.el (lyskom-parse-list): Read the terminating brace in the
      > 	list.
      > 	(lyskom-parse-local-to-global-block): The array length is a
      > 	number, not a string.
      >
      7e7857db