1. 15 Aug, 2003 1 commit
    • 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
  2. 14 Aug, 2003 2 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
      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
  3. 13 Aug, 2003 1 commit
  4. 04 Aug, 2003 1 commit
    • 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
  5. 02 Aug, 2003 1 commit
    • 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
  6. 30 Jul, 2003 2 commits
    • 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
    • David Byers's avatar
      Fixed problem saving language settings. · eb4af24f
      David Byers authored
      Detailed changes:
      > 2003-07-30  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-get-holerith-list): Return list in
      > 	original order.
      > 	(lyskom-split-user-area): Don't reverse the list here.
      >
      > 	* flags.el (lyskom-flag-write-symbol-list): Fixed stupid bug.
      >
      eb4af24f
  7. 28 Jul, 2003 1 commit
    • David Byers's avatar
      Some work on kom-handle-membership. Better support for message-flag and for... · 2bebbbde
      David Byers authored
      Some work on kom-handle-membership. Better support for message-flag and for setting number of unread when joining a conference.
      
      Detailed changes:
      > 2003-07-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Better support for message-flag and no-of unread when joining:
      > 	* commands1.el (lyskom-go-to-conf): Ask for number of unread when
      > 	joining.
      > 	(kom-add-self): Ask for message-flag when de-passivating.
      > 	(lyskom-add-member-answer): Ask for message-flag when adding self.
      >
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Ask for message-flag
      > 	when de-passivating a membership.
      >
      > 	Some more work for kom-handle-membership:
      > 	* mship-edit.el (lp--create-buffer): Made the header and footer
      > 	adapt to the window width like the contents do.
      > 	(lp--toggle-passive): New command. Also added binding.
      >
      > 	* check-strings.el (lcs-split-format-string): Reflect changes to
      > 	lyskom-format-format here.
      >
      > 	* lyskom-rest.el (lyskom-list-unread-mapping): Removed unused
      > 	variable.
      > 	(lyskom-format-aux-help): Added format directie l.
      > 	(lyskom-format-aux): Support arbitrary pad characters.
      >
      2bebbbde
  8. 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
  9. 19 Jul, 2003 1 commit
    • David Byers's avatar
      Fixed bug 408 (finally) · 376b5225
      David Byers authored
      Detailed changes:
      > 2003-07-20  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 409 (use local-to-global):
      > 	* prefetch.el (lyskom-fetch-start-of-map): Use text-mapping
      > 	instead of map.
      > 	(lyskom-prefetch-map-handler): Use text-mapping instead of map.
      > 	(lyskom-prefetch-one-request): Use local-to-global instead of
      > 	get-map.
      >
      > 	* lyskom-rest.el (lyskom-list-unread): Handle text-mappings, not
      > 	just maps.
      > 	(lyskom-list-unread-mapping): New function.
      >
      > 	* services.el (initiate-local-to-global): Pretend to do
      > 	local-to-global using get-map.
      >
      > 2003-07-19  David Byers  <byers@lysator.liu.se>
      >
      > 	Work on bug 409:
      > 	* komtypes.el (def-komtype): Added :constructor-hook modifier.
      > 	(text-mapping-iterator): New type.
      > 	(text-mapping->iterator): New function.
      > 	(text-mapping-iterator->init): New function.
      > 	(text-mapping-iterator->next): New function.
      > 	(text-mapping-iterator->step): New function.
      > 	(text-mapping->remove-local): New function.
      > 	(text-mapping->remove-local): New function.
      >
      376b5225
  10. 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
  11. 01 Jun, 2003 1 commit
    • David Byers's avatar
      Fix bug 584. · 6c122f87
      David Byers authored
      Detailed changes:
      > 	Fix bug 587:
      > 	* lyskom-rest.el (lyskom-format-x-kom/user-area): New function.
      >
      > 	* view-text.el (lyskom-print-text): Special patch for user area
      > 	(which has no subject line).
      >
      > 	* flags.el (lyskom-get-holerith): New function that does what
      > 	lyskom-read-options-eval-get-holerith does, but does it without
      > 	side effects in lyskom-options-text.
      >
      6c122f87
  12. 25 Apr, 2003 2 commits
    • Ulrik Haugen's avatar
      My previous attempt to fix bug 1022 was incomplete, trying to repair it I · ce5ed616
      Ulrik Haugen authored
      realised how it should be done.
      
      	* lyskom-rest.el (lyskom-modify-prompt): Don't "use current-time
      	instead of lyskom-current-client-time".
      
      	* lyskom-buttons.el (lyskom-default-button): Use
      	lyskom-current-client-time instead of current-time.
      	(lyskom-button-copy-timestamp): Use lyskom-format-time instead of
      	format-time-string.
      ce5ed616
    • Ulrik Haugen's avatar
      * swedish-strings.el (lyskom-sv-edit-mode-map) english-strings.el · 244c569f
      Ulrik Haugen authored
      (lyskom-en-edit-mode-map): Added binding for
      kom-insert-last-info-nodename.
      
      * lyskom-buttons.el (lyskom-button-copy-timestamp): Fixed typo.
      
      * lyskom-rest.el (lyskom-modify-prompt): Use current-time instead
      of lyskom-current-client-time (fixes bug 1022).
      244c569f
  13. 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
  14. 05 Apr, 2003 1 commit
    • David Byers's avatar
      Fixed bug 1003. · b285f3da
      David Byers authored
      Detailed changes:
      > 	Fix bug 1003:
      > 	* lyskom-rest.el (lyskom-beep): Handle conf-stat and uconf-stat
      > 	type optargs, or kom-ding-on-group-messages and stuff won't work.
      >
      b285f3da
  15. 16 Mar, 2003 3 commits
    • David Byers's avatar
      Fixed bug 250 (priority when accepting invitations) · 7b256d41
      David Byers authored
      Detailed changes:
      > 	Fix bug 250:
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Change priority when
      > 	accepting an invitation.
      >
      7b256d41
    • David Byers's avatar
      Fixed language bug. Fixed bug 260 (ask for unread when joining). · 37ce0144
      David Byers authored
      Detailed changes:
      > 	Fix bug 260:
      > 	* commands1.el (kom-add-self): Ask for number of unread.
      > 	 (lyskom-try-add-member): Show no-of-unread in text.
      > 	 (lyskom-add-member-answer): Set unread if requested.
      >
      > 	* lyskom-rest.el (lyskom-read-num-range-or-date): Added initial,
      > 	empty and default arguments.
      >
      > 	Language-dependent variables were set incorrectly in all but the
      > 	first session:
      > 	* startup.el (kom-start-anew): Unconditionally set the language,
      > 	even if it looks like we're already on the right page.
      >
      > 	* language.el (lyskom-set-language-vars): When setting the
      > 	language globally, muck with the default values of variables too.
      >
      37ce0144
    • 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
  16. 15 Mar, 2003 2 commits
    • 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
  17. 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
  18. 12 Jan, 2003 1 commit
    • 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
  19. 09 Jan, 2003 1 commit
    • David Byers's avatar
      Include lisp variable names in the customize buffer. · d6856f19
      David Byers authored
      Detailed changes:
      > 2003-01-09  David Byers  <david.byers@swipnet.se>
      >
      > 	* option-edit.el (lyskom-create-widget): Insert the variable name
      > 	in the buffer, after the help toggle. This is to make the buffer
      > 	searchable for the actual variable names.
      >
      > 	* lyskom-rest.el (lyskom-format-format): Added format-letter % so
      > 	the sequence %% works.
      >
      11c20
      < 	* faqs.el: Fixed some invalid variable references in the new
      ---
      > 	* faqs.el: Fixed some invalid vxariable references in the new
      d6856f19
  20. 08 Jan, 2003 1 commit
    • David Byers's avatar
      Documented all remaining commands. Now we can start generating a · 85c4c3e8
      David Byers authored
      reference manual (or at least part of one).
      
      Detailed changes:
      > 2003-01-08  David Byers  <david.byers@swipnet.se>
      >
      > 	Documetned the remaining commands:
      > 	* remote-control.el: Documented all commands.
      >
      > 	* mship-edit.el: Documented all commands.
      >
      > 	* lyskom-rest.el: Documented all commands.
      >
      > 	* flags.el: Documented all commands.
      >
      > 	* filter.el: Documented all commands.
      > 	(kom-super-jump): Use the standard prefix arguments.
      >
      > 	* ansaphone.el: Documented all commands.
      >
      > 	* faqs.el: Documented all commands.
      >
      > 	* review.el: Documented all commands.
      >
      85c4c3e8
  21. 06 Jan, 2003 1 commit
    • 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
  22. 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
  23. 02 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed compatibility problems with new face code and date reading. · aef90af9
      David Byers authored
      Everything should be functional with Emacs 21.x, 20.7 and XEmacs 21.1.
      Other versions have not been tested yet.
      
      Detailed changes:
      > 2003-01-02  David Byers  <david.byers@swipnet.se>
      >
      > 	Cosmetics:
      > 	* commands2.el (kom-set-unread): Don't include range in prompt. It
      > 	will be included by lyskom-read-num-range-or-date.
      >
      > 	Compatibility issues with date reading:
      > 	* compatibility.el (lyskom-minibuffer-contents): Provide an alias
      > 	for minibuffer-contents.
      >
      > 	* lyskom-rest.el (lyskom-verified-read-enter): Use
      > 	lyskom-minibuffer-contents instead of minibuffer-contents.
      >
      > 	Work on new face code:
      > 	* faces.el: Fixed bug in call to defface that worked in Gnu Emacs
      > 	but not in XEmacs.
      >
      aef90af9
  24. 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
  25. 31 Dec, 2002 1 commit
    • 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
  26. 16 Dec, 2002 2 commits
    • Ulrik Haugen's avatar
      Hoppas det här inte krockar med något David redan fixat... · 5427fd68
      Ulrik Haugen authored
              * startup.el (lyskom-read-server-name): Updated docstring wrt.
      	kom-builtin-server-aliases.
      
      	* lyskom-rest.el (lyskom-update-prompt, lyskom-format-prompt)
      	(lyskom-mode-name-from-host): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* commands2.el (kom-modeline-select-unread-kom)
      	(kom-status-server): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* async.el (lyskom-show-logged-in-person)
      	(lyskom-show-logged-out-person): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      5427fd68
    • David Byers's avatar
      > Fix bug 701: · 13e44c33
      David Byers authored
      > 	* utilities.el (lyskom-get-ancestors-of-text): Provide completions
      > 	when reading text numbers.
      >
      > 	* lyskom-rest.el (lyskom-read-number): Set require-match when
      > 	reading numbers with completion.
      >
      13e44c33
  27. 13 Dec, 2002 1 commit
    • David Byers's avatar
      > 2002-12-13 David Byers <david.byers@swipnet.se> · 88f9cfd0
      David Byers authored
      >
      > 	* lyskom-rest.el (lyskom-update-prompt): Change `insert-string' to
      > 	`insert' since the former is obsolete.
      >
      > 	Bog 928:
      > 	* commands1.el (lyskom-times): Added Lucia.
      >
      > 	Finished bug 924:
      > 	* option-edit.el (lyskom-nameday-widget): New widget type.
      >
      > 	* vars.el.in (kom-url-transformation-rules): Improved the
      > 	Aftonbladet regexp.
      >
      > 2002-12-11  David Byers  <david.byers@swipnet.se>
      >
      > 	* swedish-strings.el (lyskom-sv-mode-map): Define swedish chars
      > 	using all possible methods.
      >
      > 	* macros.el (lyskom-try-define-key): New macro.
      >
      88f9cfd0
  28. 09 Dec, 2002 1 commit
  29. 21 Nov, 2002 1 commit
  30. 22 Sep, 2002 1 commit
  31. 15 Sep, 2002 1 commit