1. 14 Aug, 2003 1 commit
    • 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
  2. 13 Aug, 2003 2 commits
    • Ulrik Haugen's avatar
      * vars.el.in (kom-default-language): Updated the variable · 4705730b
      Ulrik Haugen authored
      documentation.
      4705730b
    • David Byers's avatar
      Probably fixed bug 1078. Worked on bug 1075. · 2db56f73
      David Byers authored
      Detailed changes:
      > 	Work on bug 1075:
      > 	* parse.el (lyskom-parse-static-server-info): New function.
      >
      > 	* services.el (initiate-get-boottime-info): New function.
      >
      > 	* vars.el.in (lyskom-static-server-info): New variable.
      >
      > 	* komtypes.el (static-server-info): New type.
      >
      > 	Fix bug 1078:
      > 	* vars.el.in (lyskom-global-variable-types): Change read of
      > 	integer.
      > 	(kom-default-mark): Put this both in the common area and the elisp
      > 	area. This is a good thing when we set it to values that are not
      > 	legal according to the protocol specification.
      >
      > 	* flags.el (lyskom-flag-read-integer): When reading integers,
      > 	accept nil too.
      >
      2db56f73
  3. 02 Aug, 2003 2 commits
    • David Byers's avatar
      Nag about missing presentation. · 3d737363
      David Byers authored
      Detailed changes:
      >
      > 	* utilities.el (lyskom-nag-about-presentation): New function.
      >
      > 	* startup.el (kom-start-anew): Use new function to nag about
      > 	presentation.
      >
      > 	* commands1.el (lyskom-write-text): Nag about presentation.
      > 	(kom-write-comment): Here too.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Added support for F
      > 	format letter (fill paragraph).
      > 	(lyskom-do-insert): Ditto.
      3d737363
    • 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
  4. 27 Jul, 2003 3 commits
    • David Byers's avatar
      Fixed bug 755 (for footnotes too) and improved the read-only marking of the... · 7a9c872e
      David Byers authored
      Fixed bug 755 (for footnotes too) and improved the read-only marking of the separator line in the edit buffer
      
      Detailed changes:
      > 	Like bug 755 but for footnotes:
      > 	* utilities.el (lyskom-maybe-get-footnoted-text): New function.
      >
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added better
      > 	default for kom-sub-footnote.
      >
      > 	* commands1.el (kom-sub-comment): Print a message when there are
      > 	no comments to the text rather than continue.
      > 	(kom-sub-footnote): Ditto, for footnotes.
      >
      > 	Fix bug 755:
      > 	* utilities.el (lyskom-maybe-get-commented-text): New function.
      >
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added defaults for
      > 	kom-sub-comment.
      >
      > 	* edit-text.el (lyskom-edit-insert-miscs): Make the read-only
      > 	marking on the separator non-sticky at the end.
      >
      7a9c872e
    • 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
  5. 20 Jul, 2003 1 commit
    • David Byers's avatar
      Fixed bug 708, problem wth re-joining conferences. Sped up text lists. Fixed... · 158a703e
      David Byers authored
      Fixed bug 708, problem wth re-joining conferences. Sped up text lists. Fixed problems with fix for bug 409. Improve error reporting from callbacks.
      
      Detailed changes:
      > 2003-07-21  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 708:
      > 	* flags.el (lyskom-flag-global-variable-from-common): New function.
      > 	(lyskom-flag-global-variable-from-elisp): New function.
      > 	(lyskom-flag-write-boolean): New function.
      > 	(lyskom-flag-read-boolean): New function.
      > 	(lyskom-flag-write-symbol-list): New function.
      > 	(lyskom-flag-read-symbol-list): New function.
      > 	(lyskom-flag-read-from-string): New function.
      >
      2a14,69
      > 	Fix bug 708:
      > 	* language.el (lyskom-first-available-language): New function.
      > 	(lyskom-set-language): Use it to support setting language from a
      > 	list.
      >
      > 	* startup.el (kom-start-anew): Use lyskom-first-available-language
      > 	when dealing with kom-default-language.
      >
      > 	* defvar.el (def-kom-var): Added support for common flag. Use
      > 	lyskom-global-variables instead of the old stuff. Added support
      > 	for transition flag.
      > 	(lyskom-global-variables): New variable.
      > 	(lyskom-transition-variables): New variable.
      >
      > 	* check-strings.el (lcs-check-customize-variables): Handle new
      > 	lyskom-global-variables.
      >
      > 	* flags.el (lyskom-set-var-from-string): Added type parameter.
      > 	(lyskom-maybe-set-var-from-string): Ditto.
      > 	(lyskom-save-options): Use lyskom-global-variables, not the old
      > 	stuff.
      > 	(lyskom-maybe-set-var-from-string): Require that variable is a
      > 	symbol, not a string.
      > 	(lyskom-set-var-from-string): Ditto.
      >
      > 	* vars.el.in (lyskom-global-boolean-variables): Removed.
      > 	(lyskom-global-non-boolean-variables): Removed.
      > 	(lyskom-global-variable-types): New variable.
      >
      > 	Fix bugs adding self to conferences:
      > 	* commands1.el (kom-add-self): Handle re-joining passive
      > 	conferences and conferences with invitations (how did this slip
      > 	through).
      >
      > 	Make text-list operations more constant-time:
      > 	* komtypes.el (text-list->append): Use the tail field to make this
      > 	a constant time operation.
      > 	(text-list->delq): Support the tail field.
      > 	(text-list->trim-head): Ditto.
      > 	(set-text-list->texts): Ditto.
      > 	(text-list): Added tail field.
      > 	(text-list): Added length-internal field.
      > 	(text-list->length): Wrapper for length-internal.
      > 	(text-list->delq): Handle length-internal.
      > 	(text-list->append): Ditto.
      > 	(text-list->trim-head): Ditto.
      >
      > 	Fix for fix of bug 409:
      > 	* komtypes.el (text-mapping->remove-local): Fixed bug that made
      > 	clearing local no in a dense map impossible.
      >
      > 	Better error reporting:
      > 	* parse.el (lyskom-parse-unparsed): Do not catch non-protocol
      > 	errors. This finally allows us to get decent backtraces even for
      > 	errors in callbacks.
      >
      158a703e
  6. 01 Jun, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 750, 1038, 1046 and 1047, problems with circular comment · 4e9ea7ef
      David Byers authored
      graphs in kom-review-tree and related commands, problemw with URLs
      broken over several lines and credit for the patch for bug 1038.
      
      Detailed changes:
      > 2003-06-01  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1046:
      > 	* option-edit.el (lyskom-customize-mode): New major mode.
      > 	(kom-customize): Use it.
      >
      > 	Fix bug 1047:
      > 	* review.el (lyskom-find-root): Only visit each text once. This
      > 	also eliminates problems with cyclic structures.
      > 	(kom-find-root-review): Proper error message when the root cannot
      > 	be found (e.g. in when there are cycles in the comment graph).
      > 	(kom-find-root): Ditto.
      > 	(kom-unread-root): Ditto.
      >
      > 	* swedish-strings.el,swedish-strings.el: Completed fix of 1038.
      > 	Per Starbäck, not Magnus Bark, provided the patch. Fixed that in
      > 	this file.
      >
      > 2003-05-21  David Byers  <byers@lysator.liu.se>
      >
      > 	* vars.el.in (lyskom-text-buttons): Do RFC-compliant URLs after
      > 	doing pseudo-urls since otherwise the first line will be marked
      > 	as a pseudo URL, rather than the whole thing being marked as a
      > 	real URL.
      >
      2a28,31
      > 	Fix bug 750:
      > 	* lyskom-buttons.el (kom-button-click): Pop up the menu if there
      > 	is no button action.
      >
      11c40
      < 	accepting-recommendation (patch from Magnus Bark).
      ---
      > 	accepting-recommendation (patch from Per Starbäck).
      4e9ea7ef
  7. 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
  8. 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
  9. 25 Apr, 2003 1 commit
  10. 13 Apr, 2003 1 commit
    • Per Cederqvist's avatar
      Fix bug 1012: · 2a531ca4
      Per Cederqvist authored
      	* vars.el.in (lyskom-text-buttons): Allow 8- and 9-digit text
      	numbers.
      2a531ca4
  11. 06 Apr, 2003 2 commits
    • David Byers's avatar
      Fixed bug 678. · 28630e9f
      David Byers authored
      Detailed changes:
      > 	Fix bug 678:
      > 	* vars.el.in (lyskom-text-buttons): Made RFC-compliant URL
      > 	specifications "pseudo" URLs, since there may be incomplete URLs
      > 	inside brackets and stuff. Added validity check to RFC-compliant
      > 	URL specifications, so not anything in <> will pass.
      >
      > 	* utilities.el (lyskom-is-url): New function.
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Support match
      > 	predicates in lyskom-text-buttons.
      > 	(lyskom-button-get-pred): New function.
      >
      > 	* vars.el.in (lyskom-text-buttons): Added support for URLs
      > 	according to Appendix E in RFC2396.
      >
      28630e9f
    • 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
  12. 05 Apr, 2003 3 commits
    • David Byers's avatar
      Fixed bug 664. · f266826b
      David Byers authored
      Detailed changes:
      > 	Fix bug 664:
      > 	* option-edit.el (lyskom-custom-variables): Support third value
      > 	for kom-pop-personal-messages.
      >
      > 	* async.el (lyskom-handle-as-personal-message): If
      > 	kom-pop-personal-messages is non-nil and non-t, don't pop up
      > 	the frame.
      >
      > 	* buffers.el (lyskom-display-buffer): Added parameter
      > 	keep-frame-iconfiied.
      >
      f266826b
    • 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 bug 1002 · 0817bfe6
      David Byers authored
      Detailed changes:
      > 	Fix bug 1002:
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Set correct
      > 	default for kom-view-previous-commented-text.
      > 	(kom-old-farts-text-prompt-strategy): Ditto.
      >
      0817bfe6
  13. 16 Mar, 2003 3 commits
    • 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 bug 983 (show supervised conferences with different font) · 603bb798
      David Byers authored
      Detailed changes:
      > 	Fix bug 983:
      > 	* vars.el.in (kom-highlight-conferences): Added highlighting of no
      > 	presentation and supervised conferences to the default.
      >
      > 	* faces.el (kom-active-strikethrough-face): New face.
      > 	(kom-active-highlight-face): New face.
      > 	(kom-face--default--active-strikethrough-face): New face.
      > 	(kom-face--default--active-highlight-face): New face.
      > 	(kom-face--user-defined--active-strikethrough-face): New face.
      > 	(kom-face--user-defined--active-highlight-face): New face.
      >
      > 	* lyskom-buttons.el (lyskom-highlight-has-no-presentation): New
      > 	function.
      > 	(lyskom-highlight-i-am-supervisor): New function.
      > 	(lyskom-highlight-function-get-conf-stat): New function.
      >
      > 	* option-edit.el (lyskom-face-widget): Handle explicit list of
      > 	faces.
      >
      > 	* lyskom-buttons.el (lyskom-default-button): Pass
      > 	conf-stat/uconf-stat/whatever to lyskom-default-button. Use
      > 	uconf-stat instead of conf-stat when looking in the cache.
      > 	(lyskom-generate-button): Support functions in
      > 	kom-highlight-conferences.
      >
      603bb798
    • David Byers's avatar
      Fixed bug 984 (elispklienten bör kunna oläsmarkera inlägg) · ca205c38
      David Byers authored
      Detailed changes:
      > 	* commands1.el (lyskom-get-marked-texts): New function.
      > 	(lyskom-review-marked-texts): Use it.
      > 	(lyskom-unread-marked-texts): New function.
      > 	(kom-unread-all-marked-texts): New command.
      > 	(kom-unread-marked-texts): New command.
      >
      > 	* faqs.el (lyskom-unread-faq): New function.
      > 	(kom-unread-faq): New command.
      > 	(kom-unread-server-faq): New command.
      >
      > 	* commands1.el (kom-unread-presentation): New command.
      >
      ca205c38
  14. 15 Mar, 2003 3 commits
    • David Byers's avatar
      Two more unread commands. · 9165315a
      David Byers authored
      Detailed changes:
      > 2003-03-16  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 984:
      > 	* review.el (kom-unread-all): New command.
      > 	(kom-unread-first): New command
      >
      9165315a
    • David Byers's avatar
      Wrote some more unread commands. · e293eea7
      David Byers authored
      Detailed changes:
      > 	* review.el (kom-unread-last-normally-read): New command.
      > 	(kom-unread-tree): New command.
      > 	(kom-unread-comments): New command.
      > 	(kom-unread-root): New command.
      > 	(kom-unread-root-review): New command.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Added ?+ format
      > 	directive.
      > 	(lyskom-insert-error): Handle negative error codes (used for
      > 	internal error reporting).
      >
      > 	* commands1.el (kom-view-previous-commented-text): This command
      > 	always did the next-to-last text, regardless of prefix args.
      > 	(lyskom-unread-commented-text): New function.
      > 	(kom-unread-previous-commented-text): New command.
      > 	(kom-unread-commented-text): New command.
      >
      > 	* review.el (lyskom-unread-by-to): New function.
      > 	(kom-unread-more): New command.
      > 	(kom-unread-by-to): New command.
      >
      e293eea7
    • David Byers's avatar
      Work on bug 984 (mark texts unread) · e7368e3f
      David Byers authored
      Detailed changes:
      > 2003-03-15  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-rest.el (kom-initial-digit-unread): New command.
      >
      > 	* vars.el.in (lyskom-text-no-prompts-defaults): Added
      > 	kom-mark-unread.
      >
      > 	* lyskom-rest.el (lyskom-mark-unread): New function.
      > 	(kom-mark-unread): New command.
      >
      > 	* services.el (initiate-mark-as-unread): New function.
      >
      e7368e3f
  15. 13 Mar, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 979, 995, 987, 745. Work on bug 983. · 7bee7316
      David Byers authored
      > 2003-03-13  David Byers  <david.byers@swipnet.se>
      >
      > 	Some work on bug 983:
      > 	* option-edit.el (lyskom-custom-variables): Added
      > 	kom-highlight-conferences.
      >
      > 	* lyskom-buttons.el (lyskom-generate-button): Allow explicit lists
      > 	of numbers as the key in kom-highlight-conferences.
      >
      > 	Fix bug 745 (Patch from C C Magnus Gustavsson):
      > 	* review.el (kom-review-converted): New command.
      >
      > 	* vars.el.in (lyskom-commands): Added kom-review-converted.
      > 	(lyskom-button-actions): Added lyskom-button-review-converted.
      >
      > 	* lyskom-buttons.el (lyskom-button-review-converted): New
      > 	function.
      >
      > 	Fix bug 987:
      > 	* commands1.el (kom-list-conferences): Print legend.
      >
      > 	Fix bug 995:
      > 	* utilities.el (lyskom-get-send-comments-to): Handle CONF-NO set
      > 	to nil.
      >
      > 	Fix bug 979:
      > 	* option-edit.el (lyskom-customize-buffer-format): Added
      > 	kom-show-sync-messages.
      > 	(lyskom-custom-variables): Ditto.
      >
      > 	* vars.el.in (kom-show-sync-messages): New variable.
      >
      > 	* async.el (lyskom-parse-async): Use it.
      >
      > 2003-03-11  David Byers  <david.byers@swipnet.se>
      >
      > 	* utilities.el (lyskom-buffer-display-message): New function.
      >
      > 2003-02-09  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-generate-button): Use
      > 	kom-highlight-conferences instead of kom-friends and kom-morons.
      >
      > 	* vars.el.in (kom-highlight-conferences): New variable
      >
      7bee7316
  16. 15 Jan, 2003 2 commits
    • David Byers's avatar
      Minor documentation fixes. · 7fc74d04
      David Byers authored
      Detailed changes:
      > 	* vars.el.in: Minor fixes to documentation.
      >
      7fc74d04
    • David Byers's avatar
      Mostly documentation updates. Again. · ce7566bd
      David Byers authored
      Detailed changes:
      > 2003-01-15  David Byers  <david.byers@swipnet.se>
      >
      > 	* vars.el.in: YES! YES! YES! FINALLY DONE (FOR NOW)! All user
      > 	variables (well at least nearly all) are documented! God, this was
      > 	boring work.
      >
      > 	* vars.el.in (kom-low-priority): Removed this variable. It is
      > 	unused.
      >
      > 2003-01-14  David Byers  <david.byers@swipnet.se>
      >
      > 	* vars.el.in: More documentation updates.
      > 	Evidently the insanity won't end today.
      >
      > 2003-01-13  David Byers  <david.byers@swipnet.se>
      >
      > 	* vars.el.in: More documentation
      > 	updates. Will the insanity never end?
      >
      ce7566bd
  17. 12 Jan, 2003 2 commits
    • David Byers's avatar
      Updated documentation. Added some variables to the settings buffer. · dac16305
      David Byers authored
      Detailed changes:
      > 	* option-edit.el (lyskom-custom-variables): Changed
      > 	kom-galeon-command, kom-netscape-command and kom-mosaic-command to
      > 	widget type command. Added Lynx-related variables.
      >
      3a8,10
      > 	(kom-lynx-terminal): Added to server-stored variables.
      > 	(kom-lynx-xterm-command): Ditto.
      > 	(kom-lynx-terminal-command): Ditto.
      dac16305
    • David Byers's avatar
      Mostly documentation updates. · 0f283021
      David Byers authored
      Detailed changes:
      > 2003-01-12  David Byers  <david.byers@swipnet.se>
      >
      > 	* vars.el.in: More documentation updates.
      >
      > 	* lyskom-rest.el (lyskom-beep): List arguments were not handled
      > 	correctly (the default key, t, was not used).
      >
      > 2003-01-11  David Byers  <david.byers@swipnet.se>
      >
      > 	* vars.el.in: Documented some more variables. Variables that have
      > 	been documented properly have "**" at the start of the docstring.
      >
      0f283021
  18. 09 Jan, 2003 1 commit
  19. 06 Jan, 2003 2 commits
    • 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
    • David Byers's avatar
      Fixed bugs 964, 753, 831 and 927. · dbddd998
      David Byers authored
      Detailed changes:
      > 2003-01-06  David Byers  <david.byers@swipnet.se>
      >
      > 	Clean up :variable assignments:
      > 	* compatibility.el (lyskom-make-self-evaluating): New macro. Use
      > 	it to make several :symbols self-evalutaing in Emacs 19.
      >
      > 	Fix bug 964:
      > 	* faces.el (lyskom-setup-faces-for-buffer): Catch errors cause
      > 	when generating faces since running this code in a tty usually
      > 	causes problems. Don't just check window-system, because the color
      > 	stuff might work on some implementations.
      >
      > 	Fix bug 753:
      > 	* flags.el (kom-copy-options): New command.
      >
      > 	* english-strings.el (lyskom-command): Added kom-copy-options.
      >
      > 	* swedish-strings.el (lyskom-command): Renamed "Spara variabler"
      > 	to "Spara inställningar". Added kom-copy-options.
      >
      > 	Fix bug 831 as well as possible:
      > 	* lyskom-rest.el (lyskom-scroll): Cleaned up for readability. Move
      > 	point six chars in from the right margin when not scrolling to the
      > 	end to prevent automatic hscrolling in Emacs 21.x.
      >
      > 	Fix bug 927:
      > 	* commands1.el (lyskom-who-is-on-check-membership-9): Don't
      > 	include passive members.
      > 	(lyskom-who-is-on-check-membership-8): Ditto.
      >
      dbddd998
  20. 05 Jan, 2003 1 commit
    • David Byers's avatar
      Major code cleanup. · fe48d131
      David Byers authored
      I have made lots of changes, including transitioning most data
      structures to use def-komtype, removing functions that weren't used
      (there are several left), removing almost all the remaining who-buffer
      remnants and generally messing with things.
      
      Chances are I broke something. I haven't figured out what yet, but do
      let me know if you spot anything.
      
      
      Detailed changes:
      > 	* I have cleaned up all over the place. There are no ChangeLog
      > 	entries for most of the changes. Changes include: converting types
      > 	to use def-komtype; removing who-buffer code; removing who-info
      > 	cache; removing dead code; removing commented-out code.
      >
      > 	* mship-edit.el (lp--hide-memberships-by-date): Call
      > 	lyskom-read-date.
      >
      > 	Code cleanup:
      > 	* prefetch.el (lyskom-prefetch-whobuffer-handler): Commented out
      > 	the code since thw who buffer is gone.
      >
      > 	* commands2.el (kom-bury): Removed who-buffer code.
      >
      > 	* cache.el: Removed who-info cache.
      >
      > 	* async.el (lyskom-parse-async): Removed who-buffer code.
      > 	(lyskom-parse-async): Don't cache who info.
      >
      > 	* filter-edit.el (filter-entry): Redefined using def-komtype.
      >
      > 	* komtypes.el (conf-no-list): Redefined using def-komtype.
      >
      > 	* prioritize.el (prioritize-entry): Redefined using def-komtype.
      >
      > 	* clienttypes.el: Removed format-props and who-buffer-related
      > 	types.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Removed something about
      > 	format-props, which aren't used anywhere.
      >
      > 	* komtypes.el,deferred-insert.el,clienttypes.el,mship-edit.el,names.el,
      > 	regexp.el,tree-edit.el: Rewrote all uses of def-komtype. Defined
      > 	more datatypes using def-komtype. Removed unused functions.
      >
      > 	* clienttypes.el (format-state): Renamed argl to args, since
      > 	that's what we actually use.
      > 	(format-state): Converted to new def-komtype syntax.
      >
      > 	* lyskom-rest.el (lyskom-membership-highest-index): Unused.
      > 	Removed.
      >
      > 	* komtypes.el (def-komtype): Added support for &optional in the
      > 	arg list and for default values.
      > 	(privs): Re-implemented with def-komtype.
      > 	(pers-stat): Ditto.
      > 	(text-stat): Ditto.
      > 	(conf-stat): Ditto.
      > 	(flags): Ditto.
      > 	(map): Ditto.
      > 	(membership): Ditto.
      > 	(conf-list): Ditto.
      > 	(text): Ditto.
      > 	(misc-info): Ditto.
      > 	(mark): Ditto.
      > 	(lyskom-create-who-info): Ditto.
      > 	(session-info): Ditto.
      > 	(conf-type): Ditto.
      > 	(server-info): Ditto.
      > 	(version-info): Ditto.
      > 	(conf-z-info-list): Ditto.
      >
      > 	* deferred-insert.el (defer-info): Re-implemented with
      > 	def-komtype.
      >
      > 	* language.el (lyskom-string-check-category): Unused. Removed.
      >
      > 	* async.el (lyskom-show-changed-person): Unused. Removed.
      >
      > 	* utilities.el (lyskom-set-face-foreground): Unused. Removed.
      > 	(lyskom-set-face-background): Unused. Removed.
      >
      > 	* lyskom-buttons.el (lyskom-set-default-button-action): Unused.
      > 	Removed.
      >
      > 	* startup.el (lyskom-print-name): Unused. Removed.
      >
      > 	* lyskom-buttons.el (lyskom-menu-selection): Unused. Removed.
      >
      > 	* aux-items.el (lyskom-map-aux-items): Unused. Removed.
      >
      > 	* view-text.el (lyskom-fetch-author-for-cache): Unused. Removed.
      >
      > 	* utilities.el (lyskom-emacs-version): Unused. Removed.
      >
      > 	* view-text.el (lyskom-fetch-text-for-cache): Unused. Removed.
      >
      > 	* utilities.el (lyskom-face-resource): Unused. Removed.
      > 	(lyskom-modify-face): Unused. Removed.
      >
      > 	* startup.el (lyskom-extract-persons): Unused. Removed.
      > 	(lyskom-extract-confs): Unused. Removed.
      > 	(lyskom-do-extract-persons-or-confs): Unused. Removed.
      >
      > 	* edit-text.el (lyskom-edit-goto-char): Unused. Removed.
      > 	(lyskom-edit-on-aux-item): Unused. Removed.
      >
      > 	* utilities.el (lyskom-background-mode): Unused. Removed.
      >
      fe48d131
  21. 02 Jan, 2003 1 commit
    • David Byers's avatar
      New face selection scheme is now fully in operation. · 092b3de6
      David Byers authored
      Detailed changes:
      > 2003-01-03  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-default-button): Use default, not
      > 	kom-text-face for timestamp buttons since kom-text-face is no
      > 	more.
      >
      > 	Implement face customization:
      > 	* option-edit.el (lyskom-face-widget, lyskom-face-widget): New
      > 	widget type.
      > 	(lyskom-widget-functions): Added face widget to the list.
      >
      > 	* view-text.el (lyskom-print-text): Get generated faces if the
      > 	user hasn't selected any specific faces.
      >
      > 	* startup.el (lyskom): Get generated faces if the user hasn't
      > 	selected any specific faces.
      >
      > 	* commands2.el (lyskom-send-message): Get generated faces if the
      > 	user hasn't selected any specific faces.
      >
      > 	* async.el (lyskom-format-as-personal-message): Get generated
      > 	faces if the user hasn't selected any specific faces.
      >
      1a25,34
      >
      > 	Implement face customization:
      > 	* faces.el (lyskom-setup-faces-for-buffer): Don't muck with the
      > 	user-selectable values.
      >
      > 	* option-edit.el: Added var parameter to all widget conversion
      > 	functions.
      >
      > 	* utilities.el (lyskom-current-client-time): Removed some
      > 	comments.
      092b3de6
  22. 01 Jan, 2003 2 commits
    • David Byers's avatar
      Work on new face code. Face schemes are out and face variables are · 5b04897f
      David Byers authored
      in. This means that you can have different settings for different
      sessions and servers. Your old settings should do nothing useful any
      more. Everything will be customizable through kom-customize, but
      that's not done yet.
      
      You should restart Emacs to load these changes. Attempting to load
      over a running elisp client will probably only lead to grief.
      
      This commit has not been tested very much. You have been warned.
      
      
      Detailed changes:
      > 	Work on new face code:
      > 	* view-text.el (lyskom-view-text): Send evaluated face properties
      > 	to lyskom-format.
      > 	(lyskom-print-text): Ditto.
      >
      > 	* utilities.el (lyskom-check-configuration): Send evaluated face
      > 	properties to lyskom-format.
      >
      > 	* startup.el (lyskom): Send evaluated face properties to
      > 	lyskom-format.
      >
      > 	* commands2.el (kom-status-conf): Send evaluated face properties
      > 	to lyskom-format.
      > 	(kom-status-person): Ditto.
      > 	(lyskom-send-message): Ditto.
      > 	(kom-obsolete-extended-command-binding): Ditto.
      >
      > 	* commands1.el (kom-delete-text): Send evaluated face properties
      > 	to lyskom-format.
      >
      > 	* async.el (lyskom-show-logged-in-person): Send evaluated face
      > 	properties to lyskom-format.
      > 	(lyskom-show-logged-out-person): Ditto.
      > 	(lyskom-format-as-personal-message): Ditto.
      >
      > 	* check-strings.el (lyskom-check-strings): Removed all
      > 	face-related goop.
      >
      > 	* vars.el.in: Removed all face-related goop.
      >
      > 	* faces.el: New file.
      >
      > 	* startup.el (lyskom): Call lyskom-setup-faces-for-buffer, not
      > 	lyskom-setup-faces.
      >
      > 	* option-edit.el (kom-customize): Evaluate face variables instead
      > 	of quoting face names.
      >
      > 	* mship-edit.el (lp--format-entry): Evaluate face variables
      > 	instead of quoting face names.
      > 	(lp--redraw-entry-mark): Ditto.
      >
      > 	* lyskom-rest.el (kom-next-command): Evaluate face variables
      > 	instead of quoting face names
      > 	(lyskom-format-aux-help): Ditto.
      >
      > 	* lyskom-buttons.el (lyskom-button-add-links): Evaluate face
      > 	variable kom-url-face instead of quoting face name.
      > 	(lyskom-button-get-face): Evaluate the face found for the button
      > 	type.
      > 	(lyskom-generate-button): Evaluate face variables instead of
      > 	quoting face names
      > 	(lyskom-default-button): Ditto.
      >
      > 	* keyboard-menu.el (lyskom-keyboard-menu-highlight-selected):
      > 	Evaluate face variable, instead of quoting face name
      > 	kom-mark-face.
      >
      > 	More flexible date parser:
      > 	* utilities.el (lyskom-all-prefixes): New function.
      > 	(lyskom-parse-date): Permit prefixes for "days", "years",
      > 	"months". Allow whitespace before and after input. Do not require
      > 	minus sign when specifying number of days. Do not require
      > 	whitespace separators in several places. Permit spaces around
      > 	separators. Accept space as a separator.
      >
      5b04897f
    • David Byers's avatar
      Fix bug 291. · 523cd195
      David Byers authored
      Detailed changes:
      > 2003-01-01  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 291:
      > 	* vars.el.in (lyskom-language): Added to minibuffer variables or
      > 	lyskom-get-string will fail in predicate functions used in
      > 	lyskom-verified-read-from-minibuffer.
      >
      > 	* commands2.el (kom-set-unread): Allow date entry in addition to
      > 	number entry.
      >
      > 	Implement date input (for bug 291):
      > 	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): New function.
      > 	(lyskom-verified-read-map): New variable.
      > 	(lyskom-verified-read-enter): New function.
      > 	(lyskom-verified-read-predicate): New variable.
      > 	(lyskom-read-num-range-or-date): Nre function.
      >
      > 	* utilities.el (lyskom-read-date): New function.
      >
      >
      1a22,31
      >
      > 	Implement date parsing (for bug 291):
      > 	* utilities.el (lyskom-parse-date): Implemented the remaining
      > 	branches in the parser. Fixed various bugs. Validate results
      > 	before returning. This function should work now.
      > 	(lyskom-is-leap-year): New function (date-leap-year-p doesn't
      > 	exist in Emacs 19, so this is needed).
      > 	(lyskom-days-in-month): New function.
      > 	(lyskom-adjust-day-for-date): New function.
      > 	(lyskom-month-limits): New variable.
      523cd195
  23. 31 Dec, 2002 3 commits
    • David Byers's avatar
      Fixed bugs 817, 879; added kom-text-links to customization buffer. · 54a094b2
      David Byers authored
      Detailed changes:
      > 	Fix bug 879:
      > 	* utilities.el (lyskom-read-text-no-prefix-arg): When new-default
      > 	is computed successfully, set default to new-default. I *think*
      > 	that's the right thing to do...
      >
      > 	Fix bug 817:
      > 	* vars.el.in (kom-send-text-hook): Updated docstring.
      >
      > 	* edit-text.el (lyskom-edit-send): Run kom-send-text-hook before
      > 	doing anything else so it can manipulate headers.
      >
      > 	More work on text links:
      > 	* option-edit.el (lyskom-custom-variables): Added kom-text-links.
      > 	(lyskom-customize-buffer-format): Ditto.
      > 	(lyskom-widget-functions): Added `list' widget type.
      > 	(lyskom-list-widget): New function.
      54a094b2
    • Per Cederqvist's avatar
      Improve doc of kom-text-links, and set it so that the functionality of · 441a0dac
      Per Cederqvist authored
      the removed bugzilla links are present again.
      * vars.el.in (kom-text-links): Added the sentence "Use the value t
      as the car to apply the specification in all conferences." to the
      documentation.  Let "bug X" link to the Bugzilla of Lysator by
      default, so that we have a good sample value.
      441a0dac
    • David Byers's avatar
      > 2002-12-31 David Byers <david.byers@swipnet.se> · df58bdfd
      David Byers authored
      >
      > 	Improve kom-list-summary:
      > 	* commands2.el (lyskom-do-list-summary): Damn. Already midnight.
      > 	Don't print the subject on comments more than once in a row.
      > 	(lyskom-print-summary-line): Don't compute subject here. Get it in
      > 	a param instead.
      >
      > 2002-12-30  David Byers  <david.byers@swipnet.se>
      >
      > 	Improve kom-list-summary:
      > 	* commands2.el (lyskom-print-summary-line): Print deep comment
      > 	levels without additional indent, like nn does.
      >
      > 	Remove bugzilla links (text links supersede these):
      > 	* lyskom-buttons.el (lyskom-button-transform-text): De-implemented
      > 	bugzilla links.
      > 	(lyskom-button-show-bugzilla-bug): Removed this function.
      >
      > 	* vars.el.in (kom-my-bugzilla): Removed this variable. Text links
      > 	generalize bugzilla links.
      > 	(lyskom-text-buttons): Removed bugzilla text buttons.
      > 	(lyskom-button-actions): Same here.
      >
      > 	More text links:
      > 	* lyskom-buttons.el (lyskom-button-add-links): New function.
      > 	(lyskom-button-transform-text): Call it to create links from
      > 	kom-text-links.
      >
      > 	* vars.el.in (kom-text-links): New variable.
      >
      > 	* clienttypes.el (lyskom-create-lyskom-text-link): New function.
      > 	(lyskom-text-link->pattern): New function.
      > 	(lyskom-text-link->replacement): New function.
      > 	(lyskom-text-link->highlight): New function.
      > 	(lyskom-text-link->ignore-case): New function.
      >
      > 	New nameday lists from Hans Persson:
      > 	* names.el (sv-1993): New nameday list.
      > 	(sv-pre-1901): Renamed nameday list from sv-1901
      > 	(sv-1901): New nameday list.
      > 	(sv-1986): New nameday list.
      >
      > 2002-12-22  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 946:
      > 	* commands2.el (lyskom-do-list-summary): Display texts in comment
      > 	order with indentation.
      > 	(lyskom-print-summary-line): Support indentation.
      >
      > 2002-12-18  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Added
      > 	text-stat argument.
      >
      > 	Implement text links:
      > 	* lyskom-rest.el (lyskom-format-ö): Pass text-stat to
      > 	lyskom-button-transform-text.
      > 	(lyskom-format-enriched): Ditto.
      > 	(lyskom-format-text-body): Ditto.
      > 	(lyskom-format-aux-help): Handle cons in format-letter r.
      >
      > 	* view-text.el: Send the text-stat when formatting subject.
      >
      > 2002-12-17  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 753:
      > 	* flags.el (lyskom-read-options): Added optional buffer argument
      > 	to support reading settings from a different session.
      >
      df58bdfd