1. 08 Jun, 2007 1 commit
  2. 21 Nov, 2006 1 commit
  3. 03 May, 2006 2 commits
  4. 31 Mar, 2006 1 commit
    • David Byers's avatar
      · 7675e888
      David Byers authored
      Detailed changes:
      > 2006-03-31  David Byers  <davby@ida.liu.se>
      >
      > 	* menus.el (lyskom-menu-template): Added kom-review-more-comments
      > 	to menu.
      >
      > 	Fix bug 1510:
      > 	* vars.el.in (lyskom-commands): Added kom-review-mode-comments.
      >
      > 	* swedish-strings.el,english-strings.el
      > 	(lyskom-sv-mode-map,lyskom-en-mode-map): Added
      > 	kom-review-more-comments.
      >
      > 	* review.el (lyskom-review-by-to): Set lyskom-have-review to
      > 	indicate what kind of review.
      > 	(lyskom-last-review-comments): New variable.
      > 	(lyskom-review-comments): Set lyskom-last-review-comments.
      > 	(lyskom-review-comments): Handle a list of text-stats as the input
      > 	to this function.
      > 	(kom-review-more-comments): New command.
      >
      > 	Fix bug 1535:
      > 	* commands1.el (lyskom-write-text): Added add-self parameter.
      > 	(kom-send-letter): Always add sender as recipient.
      >
      > 	Fix bug 1589:
      > 	* mime.el (lyskom-mime-string-charset): Handle server coding
      > 	system in found charset.
      >
      > 	* compatibility.el (find-charset-string): Default to server
      > 	coding-system or latin-1 if server coding system is unknown.
      >
      > 	Fix bug 1602:
      > 	* mime.el (lyskom-mime-decode-content-type): Correctly match the
      > 	type and subtype fields of content types. Downcase all values.
      >
      > 	Fix bug 1391:
      > 	* commands2.el (lyskom-help): Handle printing top-level keymap.
      >
      > 	* help.el (lyskom-help-format-keymap): New function.
      >
      > 	* help-english.xml,help-swedish.xml: Added keyboard commands
      > 	section.
      >
      > 	* help-compile.el (lyskom-help-syntax): Added keymap directive.
      >
      > 	Probably fix bug 1570:
      > 	* compatibility.el (lyskom-map-keymap): Do not attempt to car or
      > 	cdr non-conses when mapping over keymap.
      >
      > 2006-03-30  David Byers  <davby@ida.liu.se>
      >
      > 	Update handling of text/enriched:
      > 	* lyskom-rest.el (lyskom-format-enriched): Handle new-style
      > 	enriched text, with headers in a special aux-item.
      >
      > 	* edit-text.el (lyskom-edit-send): Handle aborted sending without
      > 	error message.
      >
      > 	* aux-items.el (elisp-client-enriched-headers): Added aux-item
      > 	definition.
      >
      > 	* edit-text.el (lyskom-edit-send): Replaced
      > 	lyskom-send-text-transform-function with more general
      > 	lyskom-send-text-transform-hook, which allows multiple
      > 	transformations and changes to more than just the text.
      >
      > 	* vars.el.in (lyskom-send-text-transform-hook): Ditto.
      >
      > 2005-03-22  David Byers  <davby@ida.liu.se>
      >
      > 	* english-strings.el (lyskom-custom-strings): Fxied speling erorr
      > 	in me.
      7675e888
  5. 14 Feb, 2005 1 commit
    • David Byers's avatar
      Fixed bug 1511 · e1a17fd9
      David Byers authored
      Detailed changes:
      > 	Fix bug 1511:
      > 	* commands1.el (lyskom-combine-username): Downcase hostnames.
      >
      e1a17fd9
  6. 12 Jan, 2005 1 commit
    • Pontus Freyhult's avatar
      Fix bug 1402: · 7c3fb478
      Pontus Freyhult authored
      	* english-strings.el, swedish-strings.el (lyskom-custom-strings):
      	Added kom-membership-default-message-flag-tag and
      	kom-membership-default-message-flag-doc.
      
      	* english-strings.el (lyskom-custom-strings): Fixed typo for
      	kom-membership-default-priority-doc.
      
      	* option-edit.el (lyskom-custom-variables): Added
      	kom-membership-default-message-flag.
      	(lyskom-customize-buffer-format): Dito.
      
      	* vars.el.in (kom-membership-default-message-flag): New variable.
      
      	* commands1.el (lyskom-add-member): Use
      	kom-membership-default-message-flag.
      7c3fb478
  7. 09 Jan, 2005 1 commit
    • David Byers's avatar
      Fix bug 1141: · 80cfb08b
      David Byers authored
      Detailed changes:
      > 2005-01-09  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (kom-move-text-tree): Handle missing text in the
      > 	tree.
      > 	(lyskom-move-recipient): Add leave-cc argument.
      >
      > 	* lyskom-rest.el (lyskom-a-or-b-or-c-p): Display chosen option
      > 	when just pressing RET. Show default choice in bold. Compact
      > 	display a bit.
      >
      > 	* commands1.el (kom-move-text-tree): Use lyskom-a-or-b-or-c-p to
      > 	ask about what to do. Support a null source (useful to just add a
      > 	recipient, not remove anything).
      >
      > 	* NEWS-0.48: Updated to here.
      >
      > 	* commands2.el (kom-list-sessions): Docstring fixes.
      >
      > 	* vars.el.in (kom-default-server): No default server in default
      > 	build.
      > 	Variois docstring fixes.
      >
      > 	* mship-edit.el (lp--show-hide-read-memberships): Toggle filter.
      > 	(lp--show-hide-passive-memberships): Ditto.
      > 	(lp--mode): Fixed key binding references in docstring.
      80cfb08b
  8. 03 Nov, 2004 1 commit
  9. 21 Jul, 2004 1 commit
    • David Byers's avatar
      Fix problem with positioning reprioritized memberships. · d6669dff
      David Byers authored
      Detailed changes:
      > 2004-07-21  David Byers  <byers@lysator.liu.se>
      >
      > 	* mship-edit.el (lp--update-buffer): When updating an existing
      > 	membership, use its position if it has one, or things could go
      > 	very wrong.
      >
      > 	* commands1.el (lyskom-add-member): Query the membership cache for
      > 	the new position of the membership instead of attempting (and
      > 	failing) to duplicate the logic here.
      >
      > 	* reading.el (lyskom-membership-list-prepend): Summport
      > 	simulation.
      > 	(lyskom-membership-list-insert-position): New function.
      > 	(lyskom-membership-list-insert): Support simulation.
      > 	(lyskom-query-membership-position): New function.
      > 	(lyskom-membership-list-append): Support simulation.
      >
      d6669dff
  10. 20 Jul, 2004 1 commit
    • David Byers's avatar
      More membership buffer improvements. · 5e6c884b
      David Byers authored
      Detailed changes:
      > 2004-07-20  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-enter-conf): Update the membership buffer
      > 	when going to a conference.
      >
      > 	* commands1.el (lyskom-go-to-empty-conf): Update the membership
      > 	buffer when going to a conference.
      >
      > 	Improve handling of hidden entries in mship-edit:
      > 	* mship-edit.el (lp--entry-set-visible): New function that handles
      > 	bookkeeping for visibility.
      > 	(lp--update-mode-line): Compute hidden information.
      > 	(lp--mode-line-hidden): New variable.
      > 	(lp--mode-line): Show number of hidden. Don't show modified
      > 	status (what would the point be).
      > 	(lp--entry-filter-after): New function.
      > 	(lp--entry-filter-before): New function.
      > 	(lp--show-all): New implementation. Moved.
      > 	(lp--show-hide-memberships-by-date): New implementation.
      > 	(lp--show-hide-read-memberships): New command.
      > 	(lp--show-hide-passive-memberships): New command.
      > 	(lp--mode): Set some local vars to nil on entry to mode.
      > 	(lp--apply-entry-filter): Preserve cursor position.
      > 	(lp--replace-entry-filter): New function.
      >
      > 	Fixed some remaining places where unreads weren't updated:
      > 	* clienttypes.el (read-list-enter-first): Maybe update unreads in
      > 	membership buffer.
      > 	(set-read-list-del-first): Same here
      > 	(set-read-list-empty): Same here
      >
      5e6c884b
  11. 19 Jul, 2004 1 commit
    • David Byers's avatar
      Integrated mship-edit. Fixed a number of bugs. Support filtering in mship-edit. · 1e57b7e8
      David Byers authored
      Detailed changes:
      > 	Support for entry filters and buffer headers:
      > 	* mship-edit.el (lp--add-entry-filter): New function.
      > 	(lp--del-entry-filter): New function.
      > 	(lp--apply-entry-filter): New function.
      > 	(lp--entry-filter-description): New function.
      > 	(lp--update-filter-description): New function.
      > 	(lp--entry-filter-read): New function.
      > 	(lp--entry-filter-passive): New function.
      > 	(lp--entry-filter-hidden): New function.
      > 	(lp--set-header): New function.
      > 	(lp--create-buffer): Enable use of lp--set-header.
      >
      > 	Integrate mship-edit:
      > 	* commands2.el (kom-membership): Removed old implementation and
      > 	associated functions. Turned into an alias for kom-prioritize.
      >
      > 	* mship-edit.el (kom-prioritize): Renamed from
      > 	kom-handle-membership.
      >
      > 	Improve membership edit:
      > 	* mship-edit.el: Numerous minor changes. No details :-/
      >
      > 	* prioritize.el: Removed.
      >
      > 	* avltree.el: Removed.
      >
      > 	* elib-node.el: Removed.
      >
      > 	* clienttypes.el (read-list-delete-read-info): Update unreads in
      > 	the membership buffer.
      >
      > 	* commands1.el (lyskom-add-member): Do replace-membership even
      > 	when working under the session priority.
      > 	(lyskom-add-member): Removed lp--update-buffer when adding a new
      > 	membership or changing priority since lyskom-replace-membership
      > 	will take care of that.
      >
      > 	* mship-edit.el (lp--print-entry): Recompute and obey visibility
      > 	of entry. Erase entries that are invisible.
      > 	(lp--erase-entry): Survive being called on an undrawn entry.
      > 	(lp--entry-at): New implementation based on linear search that
      > 	deals with invisible entries.
      > 	(lp--maybe-update-unreads): Handle entry visibility and visibility
      > 	changes correctly.
      >
      1e57b7e8
  12. 18 Jul, 2004 1 commit
    • David Byers's avatar
      New data structure for membership list · bc4b0f34
      David Byers authored
      Detailed changes:
      > 2004-07-18  David Byers  <byers@lysator.liu.se>
      >
      > 	New membership list data structure:
      > 	* mship-edit.el (lyskom-change-membership-priority): New API for
      > 	lyskom-replace-membership.
      > 	(lyskom-change-membership-position): Ditto.
      > 	(lyskom-prioritize-flag-toggle): Ditto.
      > 	(lp--set-entry-pri-and-pos): Ditto. Set position correctly.
      >
      > 	* macros.el (lyskom-traverse-membership): New implementation.
      >
      > 	* reading.el: New implementation of the sorted conference list.
      > 	Using AVL trees ended up causing too much trouble when changing
      > 	position and priority of memberships.
      > 	(mship-list-node): New type.
      > 	(membership-list): New type.
      > 	(lyskom-membership-list-compare-next): New function (internal)
      > 	(lyskom-membership-list-compare-prev): New function (internal)
      > 	(lyskom-membership-list-insert): New function (API)
      > 	(lyskom-membership-list-prepend): New function (internal)
      > 	(lyskom-membership-list-append): New function (internal)
      > 	(lyskom-membership-list-delete): New function (API)
      > 	(lyskom-membership-list-move): New function (API)
      > 	(lyskom-mship-cache-create): Don't use AVL trees.
      > 	(lyskom-mship-cache-get): Now returns mship-list-nodes.
      > 	(lyskom-mship-cache-put): Don't use AVL trees.
      > 	(lyskom-mship-cache-append): New function (internal)
      > 	(lyskom-mship-cache-del): Don't use AVL trees.
      > 	(lyskom-update-membership-positions): Do nothing.
      > 	(lyskom-add-memberships-to-membership): Append memberships
      > 	(lyskom-try-get-membership): Deal with a cache that returns
      > 	mship-list-nodes instead of memberships.
      > 	(lyskom-replace-membership): Function, not macro, again.
      > 	(lyskom-membership-<): Removed
      >
      > 2004-07-16  David Byers  <byers@lysator.liu.se>
      >
      > 	* reading.el (lyskom-membership-<): If the conf-nos are not the
      > 	same, always return t.
      >
      1a42,45
      >
      > 	* commands1.el (lyskom-add-member): Delete the new conference from
      > 	the to-do-list so we get the correct number of unread when
      > 	accepting an invitation.
      bc4b0f34
  13. 11 Jul, 2004 1 commit
    • David Byers's avatar
      Major performance improvements. Minor bug fixes. · d8a8cb58
      David Byers authored
      Detailed changes:
      > 2004-07-11  David Byers  <byers@lysator.liu.se>
      >
      > 	Performance improvements:
      > 	* prefetch.el: Completely new implementation.
      >
      > 	New implementation of lyskom-membership using AVL trees:
      > 	* commands2.el (kom-list-news): Use lyskom-traverse-membership
      > 	instead of mapping over lyskom-membership.
      > 	(lyskom-update-membership-buffer): Use lyskom-traverse-membership
      > 	instead of traversing lyskom-membership
      >
      > 	* stack-m.el: New file. Copied from elib with modifications.
      >
      > 	* elib-node.el: New file. Copied from elib with modifications.
      >
      > 	* avltree.el: New file. Copied from elib with modifications.
      >
      > 	* prefetch.el (lyskom-prefetch-membership-handler): Use
      > 	lyskom-add-memberships-to-membership since this function now
      > 	maintains a sorted membership list.
      >
      > 	* reading.el (lyskom-membership-<): Moved here from lyskom-rest.el.
      > 	(lyskom-membership-length): New function.
      > 	(lyskom-init-membership): New function.
      > 	(lyskom-membership-position): New implementation.
      > 	(lyskom-remove-membership): New implementation.
      > 	(lyskom-replace-membership): New implementation.
      > 	(lyskom-insert-membership): New implementation.
      > 	(lyskom-add-memberships-to-membership): New implementation.
      > 	(lyskom-update-membership-positions): New implementation.
      > 	(lyskom-mship-cache-del): New function.
      > 	(lyskom-mship-cache-put): New function.
      > 	(lyskom-mship-cache-get): New function.
      > 	(lyskom-mship-cache-create): New function.
      > 	(lyskom-mship-cache-data): New function.
      > 	(lyskom-mship-cache-index): New function.
      > 	(lyskom-mship-cache): New variable.
      > 	(lyskom-get-membership): Moved here from lyskom-rest.el. New
      > 	implementation.
      > 	(lyskom-try-get-membership): Ditto.
      >
      > 	* commands1.el (lyskom-add-member): Reimplement position
      > 	calculation using lyskom-traverse-membership and possibly fixing a
      > 	bug along the way.
      >
      > 	* macros.el (lyskom-traverse): New implementation using catch and
      > 	no hard-coded variable names.
      > 	(lyskom-traverse-break): New implementation using throw.
      > 	(lyskom-traverse-aux): New implementation using catch and
      > 	new-style backqoutes.
      > 	(lyskom-traverse-membership): New macro.
      >
      > 	* commands1.el (kom-delete-conf): Don't manipulate
      > 	lyskom-membership directly.
      > 	(lyskom-add-member): Ditto.
      >
      > 	* startup.el (lyskom-set-membership): Removed. Not used.
      > 	(lyskom-clear-vars): Don't save lyskom-membership or
      > 	lyskom-membership-is read. They're overwritten anyway.
      >
      > 	* macros.el (lyskom-with-lyskom-buffer): New macro.
      >
      > 2004-06-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix a bug where texts were not marked as read when they got a new
      > 	recipient and also weren't placed in the read-list:
      > 	* view-text.el (lyskom-mark-as-read): Use lyskom-recpt-types-list
      > 	instead of hard-coding the list.
      >
      > 	* async.el (lyskom-async-new-recipient): When processing a new
      > 	recipient, call mark-as-read with the text's local number, not
      > 	it's global number.
      >
      d8a8cb58
  14. 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
  15. 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
  16. 27 Feb, 2004 1 commit
    • David Byers's avatar
      Fixed bug 1281 and related issues · 65dab22a
      David Byers authored
      Detailed changes:
      > 2004-02-27  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (kom-write-comment): Use new def-kom-command
      > 	features.
      > 	(kom-private-answer): Ditto.
      > 	(kom-write-footnote): Ditto.
      > 	(kom-comment-previous): Ditto.
      > 	(kom-private-answer): Ditto.
      > 	(kom-private-answer-previous): Ditto.
      >
      > 	* slow.el (kom-slow-mode): Use def-kom-command instead of defun.
      > 	(kom-quick-mode): Ditto.
      >
      > 	* commands2.el (kom-show-user-area): Use def-kom-command instead
      > 	of defun.
      >
      > 	* command.el (def-kom-command): Added keyword support.
      > 	(def-kom-emacs-command): Ditto.
      > 	(lyskom-start-of-command): Added PROMPT-FORMAT.
      >
      65dab22a
  17. 22 Feb, 2004 3 commits
    • David Byers's avatar
      Fixed bug 1125: · d49b78fa
      David Byers authored
      Detailed changes:
      > 	Fix bug 1125:
      > 	* commands1.el (lyskom-read-cross-reference-and-get-aux-item): Use
      > 	lyskom-a-or-b-or-c-p instead of completing-read.
      >
      > 	* edit-text.el (lyskom-read-link): Moved here from commands1.el
      > 	since this is the only file that uses it.
      > 	(lyskom-read-link): Use lyskom-a-or-b-or-c instead of
      > 	completing-read.
      >
      > 	* commands1.el (kom-list-re): Ask what to search for before asking
      > 	for the search string.
      >
      d49b78fa
    • David Byers's avatar
      Refactored the code that controls adding memberships to eliminate · c3e8f21f
      David Byers authored
      duplicated code in callers, to simplify callers and to make sure that
      the appropriate questions were asked in the appropriate order at the
      appropriate time regardless how one joins a conference.
      
      Detailed changes:
      > 	Fix new bug in kom-is-person-member-of-conference:
      > 	* lyskom-rest.el (lyskom-get-read-texts-for-membership): Removed
      > 	this function again. It isn't used anywhere any more.
      >
      > 	* commands2.el (kom-is-person-member-of-conference): Don't use
      > 	lyskom-get-read-texts-for-membership. Don't need it.
      >
      > 	Refactoring of adding members to simplify all callers:
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Use lyskom-add-member
      > 	to add self when going to a conference we have been invited to or
      > 	need to depassivate.
      > 	(lyskom-startup-check-recommended-memberships): Use
      > 	lyskom-add-member to accept recommendations.
      >
      > 	* commands1.el (lyskom-add-member): New function.
      > 	(kom-add-self): Use lyskom-add-member.
      > 	(kom-add-member): Use lyskom-add-member.
      > 	(lyskom-add-member-by-no): Use lyskom-add-member.
      > 	(lyskom-go-to-conf): Don't ask for number of unread here.
      > 	(lyskom-add-member-answer): Removed this junk.
      > 	(lyskom-try-add-member): Removed this junk too.
      > 	(kom-change-priority): Use lyskom-add-member. Refuse to change
      > 	priority of passive memberships.
      >
      c3e8f21f
    • David Byers's avatar
      Fix bug 1251 · 5d15ad0b
      David Byers authored
      Detailed changes:
      > 	Fix bug 1251:
      > 	* commands1.el (kom-move-text): Don't try to move footnotes and
      > 	attachments that we can't read.
      >
      5d15ad0b
  18. 28 Jan, 2004 1 commit
    • David Byers's avatar
      Fixed two bugs. · 76a54e40
      David Byers authored
      Detailed changes:
      > 2004-01-29  David Byers  <byers@lysator.liu.se>
      >
      > 	* vars.el.in (lyskom-text-buttons): Improved performance of some
      > 	regexps in lyskom-text-buttons.
      >
      > 	* commands1.el (kom-move-text): Prevent moving from a conference
      > 	back to the same conference. Doing this deletes the recipient
      > 	completely.
      >
      4a14
      > 	(lyskom-text-buttons): Simplified the regexps for URLs.
      76a54e40
  19. 01 Jan, 2004 1 commit
    • David Byers's avatar
      Fixed bug 1236. · deebac2d
      David Byers authored
      Detailed changes:
      > 	Fix bug 1236:
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	kom-force-logout.
      >
      > 	* commands1.el (lyskom-return-username): Handle
      > 	static-session-info and session-info in addition to who-info.
      >
      deebac2d
  20. 11 Dec, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 1232, 1233 and 1234 · d5111bf8
      David Byers authored
      Detailed changes:
      > 2003-12-11  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1233:
      > 	* commands1.el (kom-change-priority): Pass old mship-type to
      > 	lyskom-add-member-answer.
      >
      > 	Fix bug 1234:
      > 	* lyskom-rest.el (lyskom-update-prompt): New prompts for when
      > 	prioritised texts are in the letterbox, or the prioritised
      > 	conference is the letterbox.
      >
      > 	Fix bug 1233:
      > 	* commands1.el (lyskom-list-clients-collect): Deal with version
      > 	set to nil.
      >
      d5111bf8
  21. 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
  22. 03 Dec, 2003 1 commit
  23. 17 Nov, 2003 3 commits
    • David Byers's avatar
      Fixed bug 1142 (show mark type in message when marking) · 7153ef52
      David Byers authored
      Detailed changes:
      > 	Fix bug 1142:
      > 	* commands1.el (lyskom-mark-text): Print the mark type in the
      > 	marking message.
      >
      > 	* commands2.el (lyskom-symbolic-mark-type-string): Added argument
      > 	STRICT.
      >
      7153ef52
    • David Byers's avatar
      Fixed bugs 1174, 1213 and some problems I spotted on the way. · 50128cff
      David Byers authored
      Detailed changes:
      > 	Minor bug fixes:
      > 	* commands2.el (kom-is-person-member-of-conference): When reading
      > 	pers-to-check-mship-for, only read persons.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Fixed typo in
      > 	kom-move-text-tree.
      >
      > 	Fix bug 1174:
      > 	* commands2.el (kom-join-all-conferences): Ask about receiving
      > 	group messages in all conferences.
      >
      > 	* commands1.el (lyskom-add-member-answer): Added mship-type
      > 	parameter.
      > 	(lyskom-add-member-by-no): Added mship-type parameter.
      > 	(kom-create-conf): Added mship-type parameter in call to
      > 	lyskom-add-member-by-no
      >
      > 	Fix bug 1213:
      > 	* commands1.el (lyskom-write-text): Handle argument correctly so
      > 	both prefix arguments and menus work properly.
      > 	(lyskom-add-member-answer): Added mship-type parameter
      >
      50128cff
    • David Byers's avatar
      Fixed bug 1132. Fixed bug 1140 and similar problems. Minor bug fixes. · 1097cc30
      David Byers authored
      Detailed changes:
      > 2003-11-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1132:
      > 	* commands2.el (lyskom-list-new-conferences): Made this function
      > 	asynchronous. Use lyskom-get-conf-stat since there's a good
      > 	chance, shortly after release at any rate, that this command will
      > 	cause an explosion of get-conf-stats anyway (when the client gets
      > 	the conf-stat in order to display the presentation status).
      >
      > 2003-11-14  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1140:
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added items to
      > 	this list corresponding to commands that have non-standard
      > 	defaults, since these were ignored.
      >
      > 	* faqs.el (kom-add-faq): Don't pass DEFAULT to
      > 	lyskom-read-text-no-prefix-arg (the default made little sense
      > 	anyway).
      > 	(kom-add-server-faq): Same here.
      >
      > 	* commands1.el (kom-set-presentation): Don't pass DEFAULT to
      > 	lyskom-read-text-no-prefix-arg (the default made little sense
      > 	anyway).
      > 	(kom-set-motd-text): Same here.
      >
      > 2003-09-21  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (lyskom-read-mark-type): Improve handling of empty
      > 	string entered as mark type.
      >
      > 2003-09-17  David Byers  <byers@lysator.liu.se>
      >
      > 	* cache.el (lyskom-tell-server): Never, ever, send nil to
      > 	change-what-i-am-doing since this causes a protocol error.
      >
      1097cc30
  24. 26 Oct, 2003 1 commit
  25. 23 Oct, 2003 1 commit
    • Joel Rosdahl's avatar
      Fix bug 1137: · 777abb7b
      Joel Rosdahl authored
      * commands1.el (lyskom-read-mark-type): Handle empty
      input correctly.
      777abb7b
  26. 24 Aug, 2003 3 commits
    • David Byers's avatar
      Added missing commands to lyskom-default-conference-strategy. · f86be15f
      David Byers authored
      Detailed changes:
      > 	* commands1.el (kom-status-session): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      >
      > 	* commands2.el (kom-force-logout): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      >
      > 	* remote-control.el (kom-remote-autoreply): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      > 	(kom-remote-set-message): Same.
      > 	(kom-remote-list-messages): Same.
      > 	(kom-remote-erase-messages): Same.
      > 	(kom-remote-quit): Same.
      >
      f86be15f
    • David Byers's avatar
      Finish fixing bug 459 (initial values for commands). · dd2be52e
      David Byers authored
      Detailed changes:
      > 	* Makefile (TARGET): Default to debug compile.
      >
      > 	Fix bug 459:
      > 	* commands2.el (kom-send-message): Use standard strategy for
      > 	initial value when reading conf.
      > 	(lyskom-default-conference-for-send-message): New function.
      >
      > 	* async.el (lyskom-show-personal-message): Save conf-no, not name
      > 	in lyskom-last-personal-message-sender.
      > 	(lyskom-show-personal-message): Same here.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	strategy for set-keep-commented and kom-send-message.
      >
      > 	* completing-read.el (lyskom-get-initial-conf-strategy): Display a
      > 	warning if there is no prompt-specific strategy (there should be).
      > 	This only happens if compiled with debugging.
      >
      > 	* macros.el (lyskom-debug-forms): New macro.
      >
      > 	* utilities.el (lyskom-completing-read): Fix handling of default
      > 	argument (twas broken before).
      >
      > 	* commands1.el (kom-move-text-tree): Handle initial values for
      > 	reading conference names through standard strategy configuration.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	strategies for kom-move-text and kom-sub-recipient.
      >
      > 	* commands1.el (lyskom-default-recpt-for-sub): Removed this
      > 	function. It is implemented through the standard strategy
      > 	configuration instead.
      > 	(kom-move-text): Handle initial values for reading conference
      > 	names through standard strategy configuration.
      >
      > 	* vars.el.in (lyskom-last-added-rcpt): Removed this variable.
      > 	(lyskom-last-added-ccrcpt): Same.
      > 	(lyskom-last-added-bccrcpt): Same.
      > 	(lyskom-last-sub-rcpt): Same.
      >
      > 	* commands1.el (kom-sub-recipient): Don't save answer reading
      > 	conference. Rely on standard strategy for default initial value.
      > 	Sort the recipient list so RECPT is first.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Handle initials
      > 	formerly set in lyskom-add-helper through save strategy.
      >
      >  	* commands1.el (lyskom-add-helper): Don't explicitly save
      >	last-added stuff. Removed last-added variable parameter.
      > 	(kom-add-copy): Updated parameter list to lyskom-add-helper.
      > 	(kom-add-bcc): Same here.
      > 	(kom-add-recipient): Same here.
      dd2be52e
    • David Byers's avatar
      Ask about keep-commented when creating a conference. · 0ebcc450
      David Byers authored
      Detailed changes:
      > 	* commands1.el (kom-create-conf): Ask about keep-commented when
      > 	creating conference.
      >
      0ebcc450
  27. 17 Aug, 2003 2 commits
    • David Byers's avatar
      Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat. · 8cf072e5
      David Byers authored
      Detailed changes:
      > 	Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat:
      > 	* startup.el (kom-start-anew): Don't allow EMPTY when logging on.
      >
      > 	* filter.el (kom-filter-subject): Don't use /=. Use not eq
      > 	instead.
      > 	(kom-filter-author): Same here.
      > 	(kom-filter-text): Same here.
      >
      > 	* commands2.el (kom-create-aux-item): Set MUSTMATCH when readinf
      > 	conference name.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Default for
      > 	kom-set-permitted-submitters new-permitted-submitters-q is empty.
      >
      > 	* commands1.el (kom-change-presentation): Don't allow EMPTY when
      > 	reading conf name (it means the same as the default initial
      > 	value).
      > 	(kom-change-conf-motd): Same here.
      > 	(kom-set-presentation): Same here.
      > 	(kom-set-motd-text): Same here.
      > 	(kom-remove-presentation): Same here.
      > 	(kom-change-password): Same here.
      >
      8cf072e5
    • David Byers's avatar
      Made initial value for reading confs more configurable. · 664b6aa5
      David Byers authored
      Detailed changes:
      > 2003-08-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Make initial value for reading confs more configurable:
      > 	* filter.el (kom-filter-author): Simplified. Initial values are
      > 	now computed in completing-read.el, not here.
      >
      > 	* completing-read.el (lyskom-read-conf-guess-initial): Added
      > 	PROMPT parameter.
      > 	(lyskom-get-initial-conf-strategy): Added PROMPT parameter.
      > 	Operate on new format. Combine prompt-specific, command-specific
      > 	and default configuration.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): New format.
      > 	Removed lyskom-default-conference-self as default.
      >
      > 	* completing-read.el (lyskom-default-conference-last-author): New
      > 	function.
      >
      > 	Pass symbols or lists to lyskom-read-conf-stat and friends:
      > 	* startup.el (kom-start-anew): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      >
      > 	* review.el (lyskom-review-by-to): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(lyskom-unread-by-to): Same.
      >
      > 	* filter.el (kom-filter-subject): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-filter-author): Same.
      > 	(kom-filter-text): Same.
      >
      > 	* faqs.el (kom-change-conf-faq): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-list-faqs): Same.
      >
      > 	* edit-text.el (kom-edit-add-recipient): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-edit-add-bcc): Same.
      > 	(kom-edit-add-copy): Same.
      > 	(kom-edit-move-text): Same.
      >
      > 	* completing-read.el (lyskom-read-conf): Support list as prompt.
      >
      > 	* commands2.el (kom-status-conf): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-status-person): Same.
      > 	(kom-set-garb-nice): Same.
      > 	(kom-set-permitted-submitters): Same.
      > 	(kom-set-super-conf): Same.
      > 	(kom-set-personal-label): Same.
      > 	(kom-is-person-member-of-conference): Same.
      > 	(kom-will-person-read-text): Same.
      >
      > 	* commands1.el (kom-delete-conf): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-review-presentation): Same.
      > 	(kom-unread-presentation): Same.
      > 	(kom-add-member): Same.
      > 	(kom-add-self): Same.
      > 	(kom-change-priority): Same.
      > 	(kom-sub-member): Same.
      > 	(kom-sub-self): Same.
      > 	(kom-change-presentation): Same.
      > 	(kom-change-conf-motd): Same.
      > 	(kom-set-presentation): Same.
      > 	(kom-set-motd-text): Same.
      > 	(kom-remove-presentation): Same.
      > 	(kom-unset-conf-motd): Same.
      > 	(kom-go-to-conf): Same.
      > 	(lyskom-write-text): Same.
      > 	(kom-change-name): Same.
      > 	(kom-change-parenthesis): Same. Also moved initial to vars.el.in.
      > 	(kom-change-supervisor): Same.
      > 	(kom-change-password): Same.
      > 	(kom-who-is-on-in-conference): Same.
      > 	(kom-who-is-present-in-conference): Same.
      > 	(lyskom-add-helper): Same.
      > 	(kom-sub-recipient): Same.
      > 	(lyskom-read-cross-reference-and-get-aux-item): Same. Also cleanup.
      > 	(lyskom-read-link): Same.
      >
      1a83,87
      >
      > 	Work on supporting UTC timestamps from the server:
      > 	* komtypes.el (lyskom-create-time-from-utc): New function.
      >
      > 	* utilities.el (lyskom-days-in-year): New function.
      664b6aa5
  28. 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
  29. 15 Aug, 2003 2 commits
    • David Byers's avatar
      Fixed bug 301. · a947e09f
      David Byers authored
      Detailed changes:
      > 	* view-text.el (lyskom-get-text-belongs-to): New function.
      >
      > 	Fix bug 301:
      > 	* commands1.el (kom-move-text): Move attachments and footnotes
      > 	together with the text.
      > 	(kom-sub-recipient): Remove recipient from attachments and
      > 	footnotes too.
      > 	(lyskom-add-helper): Add recipients to attachments and footnotes
      > 	too.
      >
      a947e09f
    • 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
  30. 14 Aug, 2003 1 commit
    • David Byers's avatar
      New commands: kom-list-new-conferences and kom-list-new-persons · 79729ff4
      David Byers authored
      Detailed changes:
      > 	* services.el (initiate-first-unused-conf-no): New function.
      > 	(initiate-first-unused-text-no): New function.
      > 	(initiate-find-next-conf-no): New function.
      > 	(initiate-find-previous-conf-no): New function.
      >
      > 	* commands2.el (kom-set-personal-label): Use capitalized strings
      > 	for conf, pers and text.
      > 	(lyskom-list-new-conferences): New function.
      > 	(kom-list-new-persons): New command.
      > 	(kom-list-new-conferences): New command.
      >
      > 	* commands1.el (lyskom-read-cross-reference-and-get-aux-item): Use
      > 	capitalized strings for conf, pers and text.
      > 	(lyskom-read-link): Same here.
      >
      79729ff4
  31. 05 Aug, 2003 1 commit