1. 14 May, 2010 1 commit
  2. 13 May, 2010 2 commits
  3. 10 Nov, 2007 1 commit
  4. 14 Jul, 2007 1 commit
  5. 11 Jul, 2007 1 commit
  6. 26 Jun, 2007 1 commit
  7. 24 Jun, 2007 3 commits
  8. 10 Jun, 2007 1 commit
    • David Byers's avatar
      Various · d8d96007
      David Byers authored
      Detailed changes:
      > 2007-06-10    <David Byers@GULAG>
      >
      > 	Better display of texts claiming to be us-ascii:
      > 	* mime.el (lyskom-mime-decode-content-type): Pretend us-ascii
      > 	texts are really latin-1.
      >
      > 	Fix bug 819:
      > 	* completing-read.el (lyskom-read-conf-internal): When an exact
      > 	match is found, return t only if the input string is equal to the
      > 	only alternative.
      >
      > 	Fix bug 1277:
      > 	* swedish-strings.el (coding-system-mismatch-warning): Added
      > 	reference to Emacs manual.
      >
      > 	* utilities.el (lyskom-check-configuration): Don't warn about
      > 	coding system if UTF-8 is supported.
      >
      > 	* lyskom-buttons.el (lyskom-make-button-menu): Encode menu strings
      > 	properly.
      >
      3,4c24,36
      < 	* language.el (lyskom-language-keymap-internal): Let Emacs 22.1
      < 	follow links with mouse-1.
      ---
      > 	Prefer UTF-8 over all but latin-1:
      > 	* mime.el (lyskom-charset-alist): Never choose us-ascii. When
      > 	us-ascii text is detected, assume latin-1 instead. For some
      > 	reason, us-ascii is detected on some emacsen even when this is not
      > 	the case. A more powerful charset would perhaps be a better
      > 	choice, but chances are if charset detection is broken, then what
      > 	are the chances that e.g. unicode conversion works?
      > 	(lyskom-charset-alist): Include utf-8 early in the list, making it
      > 	the preferred charset (when it works).
      >
      > 	Follow links with mouse-1 in Emacs 22.1:
      > 	* language.el (lyskom-language-keymap-internal): Bind follow-links
      > 	in the global LysKOM keymaps.
      5a38
      > 	Fix various naming issues:
      11810,11811c11843,11844
      < eval: (ispell-change-dictionary "british")
      < eval: (if (boundp 'set-language-environment) (set-language-environment 'Latin-1))
      ---
      > ispell-local-dictionary: "british"
      > coding: iso-8859-1
      d8d96007
  9. 09 Jun, 2007 1 commit
  10. 08 Jun, 2007 1 commit
  11. 07 Jul, 2006 1 commit
    • David Byers's avatar
      Fixed bugs in paragraph filling. · 2a14f364
      David Byers authored
      Detailed changes:
      > 2006-06-27  David Byers  <davby@ida.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-fill-next-paragraph): Fixed off-by-one
      > 	error causing the last character on the last line to (sometimes)
      > 	be put on a line of its own in XEmacs.
      > 	(lyskom-maybe-fill-region): Fixed off-by-one error causing lines
      > 	just under fill-column long to be wrapped.
      >
      > 2006-05-14  David Byers  <davby@ida.liu.se>
      >
      > 	* utilities.el (lyskom-text-comments): Added parameter
      > 	skip-footnotes.
      >
      > 2006-04-26  David Byers  <davby@ida.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-fill-next-paragraph): Eliminated the
      > 	inner catch, as this seemed to cost more time than adding a
      > 	clause to each conditional in the loop.
      > 	(lyskom-fill-message-line-length): Make this a subst.
      >
      2a14f364
  12. 23 Jan, 2005 1 commit
    • David Byers's avatar
      New spec file. Don't warn for UTF-8 language environment. · 0ed8f5a8
      David Byers authored
      Detailed changes:
      > 2005-01-23  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-check-configuration): Don't print a warning
      > 	about the coding system when using UTF-8.
      >
      > 2005-01-22  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-elisp-client.spec: New file from C C Magnus Gustavsson.
      >
      0ed8f5a8
  13. 12 Nov, 2004 1 commit
  14. 29 Oct, 2004 1 commit
  15. 15 Jul, 2004 1 commit
    • David Byers's avatar
      Clean up XEmacs compile. Fix some issues in mship-edit. Fix failure to... · a2376eaf
      David Byers authored
      Clean up XEmacs compile. Fix some issues in mship-edit. Fix failure to register all read texts. Fix problem logging in with notice.
      
      Detailed changes:
      > 2004-07-15  David Byers  <byers@lysator.liu.se>
      >
      > 	* startup.el (lyskom-refetch): Prefetch membership *after*
      > 	prefetching unread confs. This should let us get started reading
      > 	just a little quicker.
      >
      > 	* prefetch.el (lyskom-prefetch-read-texts-handler): If we get here
      > 	and already have a cached membership, then replace its read-texts
      > 	field since the membership we have may come from a call where we
      > 	didn't ask for read texts.
      >
      > 2004-07-13  David Byers  <byers@lysator.liu.se>
      >
      > 	* mship-edit.el (lp--update-buffer): Call lp--remove-from-list
      > 	with the correct parameters.
      >
      > 	Removed obsolete backwards compatibility setting:
      > 	* vars.el.in (kom-default-session-priority): Changed default
      > 	session priority to zero. By now everyone who used the old
      > 	convention of priority zero meaning passive memberships should
      > 	have saved their settings at least once, so they'll still have one
      > 	as the default. New users shouldn't be burdened (or confused) by
      > 	old baggage.
      >
      > 	Clean up XEmacs compile:
      > 	* prefetch.el (lyskom-prefetch-one-item): Eliminate compiler
      > 	warnings from XEmacs.
      >
      > 	* avltree.el (lyskom-elib-avl-enter-balance1): Eliminate compiler
      > 	warnings from XEmacs.
      >
      > 	* utilities.el (lyskom-list-text-summary): Eliminate compiler
      > 	warnings from XEmacs.
      >
      > 	Fix membership cache related bug:
      > 	* startup.el (kom-start-anew): Call lyskom-init-membership here
      > 	since a valid cache structure may be needed before we get to
      > 	lyskom-refetch.
      >
      > 	Extend status information:
      > 	* commands2.el (kom-is-person-member-of-conference): Show
      > 	membership priority.
      >
      a2376eaf
  16. 26 Jun, 2004 1 commit
    • David Byers's avatar
      Fix 19.34 compatibility. Fix bug 1312. Maybe fix bug 1362. · f5ac77cc
      David Byers authored
      Detailed changes:
      > 2004-06-26  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix Emacs 19.34 compatibility problems:
      > 	* compatibility.el (map-keymap): Bug fix-
      >
      > 	* menus.el (lyskom-swedish-bindings): Moved here from vars.el.in
      > 	to make Emacs 19.34 work again.
      > 	(lyskom-swedish-bindings-reverse): Ditto.
      >
      > 2004-06-25  David Byers  <byers@lysator.liu.se>
      >
      > 	New abstraction for listing texts:
      > 	* faqs.el (lyskom-present-unread-faqs): Implement using new
      > 	functions.
      > 	(lyskom-do-list-faqs): Ditto.
      >
      > 	* commands2.el (lyskom-do-list-summary): Removed. Not used.
      > 	(lyskom-list-summary): Implement using new functions.
      > 	(lyskom-print-summary-line): Not used any more. Removed.
      > 	(lyskom-construct-summary-format-string): Ditto.
      >
      > 	* utilities.el (lyskom-max-text-no-width): Moved here from
      > 	commands2.el.
      > 	(lyskom-symbolic-mark-type-string): Ditto.
      > 	(lyskom-max-text-no-width): Ditto.
      >
      > 	* commands2.el (kom-list-marks): Implement using
      > 	lyskom-list-text-summary. Show number of marks for each text.
      > 	(lyskom-print-mark-summary-line): No longer used. Removed.
      > 	(lyskom-max-mark-width): Cleaned up this code a little.
      >
      > 	* utilities.el (lyskom-list-text-summary-get): New support function.
      > 	(lyskom-list-text-summary-put): Ditto.
      > 	(lyskom-text-summary-fields): New variable.
      > 	(lyskom-list-text-summary-subject): New support function.
      > 	(lyskom-summary-line-format-string): Ditto.
      > 	(lyskom-list-text-summary-print): Ditto.
      > 	(lyskom-list-text-summary): Generic function for printing lists of
      > 	texts. Incorporates support for all features in older text list
      > 	functions.
      >
      > 2004-06-24  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1362:
      > 	* parse.el (lyskom-parse-float): Relaxed the regexp matching
      > 	floats to avoid terminating the parse too early.
      >
      f5ac77cc
  17. 23 Jun, 2004 1 commit
    • David Byers's avatar
      Performance fix and workaround for XEmacs time zone bug · d3762650
      David Byers authored
      Detailed changes:
      > 2004-06-23  David Byers  <byers@lysator.liu.se>
      >
      > 	Make kom-join-all-conferences more responsive:
      > 	* commands2.el (kom-leave-all-conferences): Update display after
      > 	each conf.
      > 	(kom-join-all-conferences): Same here.
      >
      > 	Improve startup performance:
      > 	* vars.el.in (lyskom-fetch-membership-length): Changed default to
      > 	100 and updated the documentation. We no longer fetch the map this
      > 	way, and a large value cuts down on the number of calls the client
      > 	has to make to the server.
      >
      > 2004-06-13  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-set-connection-time-format): Refuse to set
      > 	UTC if encode-time is broken (i.e. XEmacs 21.4 under Windows).
      >
      d3762650
  18. 03 May, 2004 1 commit
    • David Byers's avatar
      Rewrote lyskom-read-text-no-prefix-arg. Fixed bugs. · 619994dc
      David Byers authored
      Detailed changes:
      > 2004-05-02  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-eq-dash): New function.
      > 	(lyskom-tnpa-prompt): New function.
      > 	(lyskom-tnpa-valid): New function.
      > 	(lyskom-tnpa-add-property): New function.
      > 	(lyskom-tnpa-text-no): New function.
      > 	(lyskom-tnpa-text-property): New function.
      > 	(lyskom-tnpa-apply-strategy): New function.
      > 	(lyskom-read-text-no-prefix-arg): Reimplementation.
      > 	(lyskom-maybe-get-commented-text): Emptied parameter list.
      > 	(lyskom-maybe-get-footnoted-text): Ditto.
      > 	(lyskom-get-explicit-text): Removed.
      > 	(lyskom-get-command-specified-default-text): Removed.
      > 	(lyskom-get-last-read-text): Removed parameters.
      > 	(lyskom-get-previous-text): Ditto. Get value from LysKOM buffer,
      > 	not current buffer.
      > 	(lyskom-get-text-at-point): Removed parameters. No error message
      > 	returned from here.
      > 	(lyskom-get-text-at-point-ancestor): Removed optional parameters.
      > 	No error reporting by returning strings; signal instead.
      > 	(lyskom-prompt-for-text-no): Removed.
      > 	(lyskom-get-last-text-written-by-me): Removed optional parameters.
      > 	(lyskom-get-last-written-or-read-by-me): Ditto.
      > 	(lyskom-get-text-above-point): Ditto.
      > 	(lyskom-get-text-below-point): Ditto.
      > 	(lyskom-get-text-below-point): New heuristic. Positiv arg higher
      > 	than 20 is treated literally.
      >
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): New format.
      > 	(kom-old-farts-text-prompt-strategy): New format.
      >
      > 	* commands2.el (kom-add-no-comments): Removed params from
      > 	lyskom-read-text-no-prefix-arg.
      > 	(kom-add-private-answer): Ditto.
      > 	(kom-add-request-confirm): Ditto.
      > 	(kom-will-person-read-text): Ditto.
      > 	(kom-compare-texts): Ditto.
      > 	(kom-diff-texts): Ditto.
      >
      > 	* commands1.el (kom-view-previous-commented-text): Removed params
      > 	from lyskom-read-text-no-prefix-arg.
      > 	(kom-unread-previous-commented-text): Ditto.
      > 	(kom-write-footnote): Ditto.
      > 	(kom-comment-previous): Ditto.
      > 	(kom-private-answer-previous): Ditto.
      > 	(kom-set-presentation): Ditto.
      > 	(kom-set-motd-text): Ditto.
      > 	(lyskom-add-cross-reference): Ditto.
      >
      > 2004-04-28  David Byers  <byers@lysator.liu.se>
      >
      > 	* services.el (initiate-get-part-of-membership): Get the first
      > 	read range so we can figure out the last read text.
      >
      > 2004-04-27  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-buttons.el (lyskom-button-unread-text): New function.
      >
      > 	* vars.el.in (lyskom-text-buttons): Added rtsp urls.
      >
      > 2004-04-11  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-save-text): Fix bug 1307.
      >
      619994dc
  19. 12 Feb, 2004 1 commit
    • David Byers's avatar
      Fix some bugs. Make server calls cancelable. Prompt for date in... · 57b0f861
      David Byers authored
      Fix some bugs. Make server calls cancelable. Prompt for date in lyskom-list-new-conferences when appropriate. Binary search on conference creation date. Cleanup.
      
      Detailed changes:
      > 2004-02-12  David Byers  <byers@lysator.liu.se>
      >
      > 	Make kom-list-new-conferences quittable:
      > 	* commands2.el (lyskom-list-new-conferences): Handle C-g when
      > 	listing conferences or persons using the new lyskom-cancel-calls.
      >
      > 	* internal.el (lyskom-cancel-calls): It works now.
      >
      > 2004-02-11  David Byers  <byers@lysator.liu.se>
      >
      > 	Improve ability to cancel calls:
      > 	* services.el (initiate-get-text): Add lyskom-ref-no to PARSED.
      > 	(initiate-get-text-stat): Ditto.
      > 	(initiate-get-pers-stat): Ditto.
      > 	(initiate-get-conf-stat): Ditto.
      > 	(initiate-get-uconf-stat): Ditto.
      > 	(initiate-get-static-session-info): Ditto.
      > 	(initiate-get-stats-description): Ditto.
      > 	(initiate-get-boottime-info): Ditto.
      >
      > 	* internal.el (lyskom-apply-handler): Allow ref-no in PARSED.
      >
      > 	* parse.el (lyskom-tr-call-to-parsed): Leave the ref-no in PARSED.
      >
      > 	* internal.el (lyskom-cancel-calls): New function.
      >
      > 	Prevent lyskom-ref-no from going negative:
      > 	* macros.el (lyskom-ref-no): New macro to get and increment
      > 	lyskom-ref-no.
      >
      > 	* internal.el (lyskom-send-packet): Ensure that lyskom-ref-no
      > 	never goes negative.
      >
      > 	Fix bug 1272:
      > 	* review.el (kom-review-converted): Don't bind
      > 	lyskom-format-special (why did we *ever* bind it here?)
      >
      > 2004-02-09  David Byers  <byers@lysator.liu.se>
      >
      > 	* clienttypes.el (lyskom-queue-remove-matching): New function.
      >
      > 2004-02-07  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-read-date): Added optional parameter empty.
      >
      > 	Speed up behavior after changing user area:
      > 	* async.el (lyskom-parse-async): Don't re-read settings if the new
      > 	user area is one we've already read (or just created).
      >
      > 	* flags.el (lyskom-save-options-2): Set lyskom-current-user-area.
      > 	(lyskom-read-options-eval): Ditto.
      >
      > 	Bug 1271 (and then some):
      > 	* commands2.el (kom-list-new-conferences): Accept prefix arg to
      > 	list from a specific date.
      > 	(kom-list-new-persons): Ditto.
      > 	(lyskom-list-new-conferences): Prompt for start date if the caller
      > 	requests it or the command has never been used before.
      >
      > 2004-02-06  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-find-conf-by-date): New function.
      >
      1a65,67
      >
      > 	* macros.el (blocking-do-multiple): Use modern backquote syntax to
      > 	make the code more readable.
      57b0f861
  20. 26 Jan, 2004 1 commit
    • David Byers's avatar
      Use modern calls for get-membership. Fix bug 1259. Make review state buffer-local. · b4bfa57a
      David Byers authored
      Detailed changes:
      > 2004-01-26  David Byers  <byers@lysator.liu.se>
      >
      > 	* vars.el.in (lyskom-format-special): Explicitly format plaintext
      > 	types.
      >
      > 	* lyskom-rest.el (smiley-region): New function.
      > 	(smiley-region): Use it. Clean up some of the code.
      >
      > 2004-01-13  David Byers  <byers@lysator.liu.se>
      >
      > 	* review.el: Made all state variables (for kom-review-more)
      > 	buffer-local.
      >
      > 2004-01-12  David Byers  <byers@lysator.liu.se>
      >
      > 	* services.el (initiate-get-membership): Use call 108 when
      > 	possible.
      > 	(initiate-get-part-of-membership): Same here.
      >
      > 	* parse.el (lyskom-parse-membership-list-11): New function.
      >
      b4bfa57a
  21. 01 Jan, 2004 1 commit
    • David Byers's avatar
      Keyboard shortcuts using swedish chars in menus. Make language selection... · f52621b4
      David Byers authored
      Keyboard shortcuts using swedish chars in menus. Make language selection options clearer in the menus.
      
      Detailed changes:
      > 2004-01-01  David Byers  <byers@lysator.liu.se>
      >
      > 	* menus.el (lyskom-define-menu-xemacs): Try to use swedish
      > 	characters rather than brackets and braces for bindings that have
      > 	both.
      > 	(lyskom-define-menu-gnu): Same here.
      >
      > 	* utilities.el (lyskom-traverse-keymap): New function.
      >
      > 	* compatibility.el (map-keymap): More fixes.
      >
      > 	* menus.el (lyskom-menu-guess-shortcuts): New function.
      >
      > 	* vars.el.in (lyskom-swedish-bindings): New variable.
      > 	(lyskom-swedish-bindings-reverse): Ditto.
      >
      > 2003-12-18  David Byers  <byers@lysator.liu.se>
      >
      > 	* compatibility.el (map-keymap): I think this function will work
      > 	in Gnu Emacs now.
      >
      > 	Make language selection more available:
      > 	* swedish-strings.el (lyskom-menus): Language-related texts in
      > 	swedish and english.
      > 	(lyskom-message): Ditto.
      >
      > 	* menus.el (lyskom-menu-template): Added change local and global
      > 	language.
      >
      > 	* commands2.el (kom-change-global-language): New command.
      > 	(kom-change-local-language): New command.
      >
      > 	Commands at when-done in current language:
      > 	* language.el (lyskom-try-get-string): Added language parameter.
      > 	(lyskom-get-string): Added language parameter.
      >
      > 	* command.el (lyskom-command-name): Added language parameter.
      >
      f52621b4
  22. 17 Dec, 2003 1 commit
    • David Byers's avatar
      Updated menus · acd4415d
      David Byers authored
      Detailed changes:
      > 2003-12-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Update menus:
      > 	* utilities.el (lyskom-gensym): New function (it really seems that
      > 	elisp doesn't have a built-in gensym function).
      >
      > 	* menus.el (lyskom-define-menu-gnu): Use gensym to generate
      > 	separator symbols (so we can say just (hline) in the menu spec).
      > 	(lyskom-menu-template): All-new menu definitions.
      >
      acd4415d
  23. 07 Dec, 2003 1 commit
    • David Byers's avatar
      Added privilege display and manipulation code. · 5f880c3e
      David Byers authored
      Detailed changes:
      > 2003-12-07  David Byers  <byers@lysator.liu.se>
      >
      > 	Handle user privileges:
      > 	* commands2.el (kom-change-privileges): New command.
      > 	 (kom-status-person): Print privileges.
      >
      > 	* komtypes.el (pers-stat): Make privileges read-write.
      >
      > 	* utilities.el (lyskom-privilege-string): New function.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	change-conf-type, which was missing, to this list.
      >
      5f880c3e
  24. 05 Dec, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 1229 and 1228. · 652c1d22
      David Byers authored
      Detailed changes:
      > 2003-12-04  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-read-number): Use lyskom-string-to-int so
      > 	we never create floats by mistake.
      >
      > 	More features for padding and truncating formatted strings:
      > 	* commands1.el (lyskom-print-comment-like-aux): Don't print FAQ
      > 	links if the data in the aux-item is invalid.
      >
      > 	* utilities.el (lyskom-truncate-string-to-width): New simpler
      > 	implementation that only supports the features we use and supports
      > 	the TRAILER argument.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Support < > and = to
      > 	specify stuff in pad-length. Support a ... trailer for truncated
      > 	strings.
      >
      > 	Improve handling of invalid numeric data:
      > 	* aux-items.el (lyskom-status-print-faq-text): Handle invalid data
      > 	in aux item.
      > 	(lyskom-faq-for-conf-action): Use lyskom-string-to-int to convert
      > 	data and throw an error on invalid format.
      > 	(lyskom-aux-item-validate): New function.
      > 	(lyskom-status-print-faq-text): Validate aux-item data before
      > 	printing.
      > 	(lyskom-print-faq-for-conf): Same here.
      > 	(lyskom-print-send-comments-to): Same here.
      > 	(lyskom-print-recommended-conf): Same here.
      >
      > 	* utilities.el (lyskom-string-to-int): New function.
      > 	(lyskom-integer-conversion-error): New error symbol.
      >
      > 	Fix bug 1229:
      > 	* commands2.el (kom-list-new-conferences): The data got from the
      > 	server is a conf-stat, not an uconf-stat. Treat it as such...
      > 	(lyskom-list-new-conferences): Same here.
      >
      652c1d22
  25. 27 Aug, 2003 1 commit
  26. 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
  27. 24 Aug, 2003 1 commit
    • 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
  28. 17 Aug, 2003 2 commits
    • David Byers's avatar
      Support (and use) UTC time format in the protocol. · b0ede6b3
      David Byers authored
      Detailed changes:
      > 	Support UTC time in the server:
      > 	* startup.el (lyskom): Select UTC time format if the server
      > 	supports it.
      >
      > 	* utilities.el (lyskom-set-connection-format): New function.
      >
      > 	* parse.el (lyskom-parse-time): Use lyskom-create-time-from-utc.
      > 	Convert day-of-year to starting from one.
      > 	(lyskom-init-parse): Add the parse buffer as a child of the main
      > 	buffer so UTC setting is propagated to it.
      >
      > 	* komtypes.el (lyskom-create-time-from-utc): Simplified. It seems
      > 	that the right thing to do is pass zero in TZ to encode-time. This
      > 	should speed things up slightly in normal cases. Handle case when
      > 	server does not use UTC.
      >
      > 	* services.el: (initiate-get-last-text): Commented out since we
      > 	can't convert local time to UTC, which this function requires.
      >
      b0ede6b3
    • 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 03 Aug, 2003 1 commit
    • David Byers's avatar
      Protocol support for get-stats and get-stats-description. · 5929f556
      David Byers authored
      Detailed changes:
      > 	Support get-stats server call:
      > 	* utilities.el (lyskom-get-server-stats): New function.
      >
      > 	* komtypes.el (server-stats): New type.
      >
      > 	* parse.el (lyskom-parse-float): New function.
      > 	(lyskom-parse-stats): New function.
      >
      > 	* komtypes.el (stats-description): New type.
      > 	(stats): New type.
      >
      > 	* parse.el (lyskom-parse-stats-description): New function.
      > 	(lyskom-parse-stats-array): New function.
      >
      > 	* services.el (initiate-get-stats-description): New function.
      >
      > 	More work on bug 900 (now nags about presentations):
      5929f556
  34. 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
  35. 27 Jul, 2003 2 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 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