1. 25 May, 2016 1 commit
  2. 02 Jul, 2014 2 commits
  3. 15 Jun, 2014 1 commit
    • Christer Ekholm's avatar
      Added compatibility macro for called-interactively-p, with a lot of · 122480c6
      Christer Ekholm authored
      help from David Byers.
      
      interactive-p is deprecated from emacs 23.2, called-interactively-p
      should be used instead.  But called-interactively-p takes one argument
      in emacs-23.2, and zero in emacs-23.1 and emacs-22.
      
      Use called-interactively-p if defined, with arg unless calling it with
      arg is an error, then call it without arg. If it's not defined use
      interactive-p.
      
      Tested in emacs-22.3 emacs-23.4 emacs-24.3 and xemacs-21.5.34
      122480c6
  4. 11 May, 2013 1 commit
  5. 07 May, 2013 1 commit
    • Per Cederqvist's avatar
      Include more info in the version string. · 1f83b8e2
      Per Cederqvist authored
      Include the git ref in the version, and add a trailing asterisk to
      indicate that the working tree has uncommitted changes.
      
      The lyskom-list-clients-collect command now handles the new form of
      the version number.
      1f83b8e2
  6. 04 May, 2013 1 commit
  7. 23 Mar, 2013 1 commit
  8. 13 May, 2010 1 commit
  9. 08 Mar, 2009 1 commit
  10. 11 Jul, 2007 3 commits
  11. 07 Jul, 2007 1 commit
    • David Byers's avatar
      Workaround for pos-visible-in-window-p bug in Emacs (bug 1639). · 6c0554cf
      David Byers authored
      Detailed changes:
      > 2007-07-07  David Byers  <davby@sysinst-gw.sysinst.ida.liu.se>
      >
      > 	* edit-text.el (lyskom-edit-insert-buglist): Don't use interactive
      > 	functions for non-interactive work (replace-regexp).
      >
      > 	* compatibility.el (lyskom-pos-visible-in-window-p-22-1):
      > 	Workaround for bug in Gnu Emacs 22.1 pos-visible-in-window-p
      >
      6c0554cf
  12. 24 Jun, 2007 1 commit
  13. 09 Jun, 2007 1 commit
  14. 08 Jun, 2007 1 commit
  15. 21 Nov, 2006 1 commit
  16. 03 May, 2006 2 commits
  17. 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
  18. 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
  19. 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
  20. 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
  21. 03 Nov, 2004 1 commit
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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