1. 09 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed some variable references in the docstrings. · 30d0dafa
      David Byers authored
      New file docgen.el generated DocBook command documentation from the
      source code. It's very rough at the moment, but kind of works. It
      needs a lot of tweaking to get the looks right.
      
      Run with "emacs -batch -l ./docgen.el -f lyskom-docgen" in the source
      directory. This will generate a file named DOC.xml that should work
      with DocBoot 4.2.
      
      
      Detailed changes:
      > 2003-01-08  David Byers  <david.byers@swipnet.se>
      >
      > 	* filter.el (kom-super-jump): Fixed problem with prefix arg.
      >
      > 	* faqs.el: Fixed some invalid variable references in the new
      > 	docstrings.
      >
      > 	* commands1.el: Fixed some invalid variable references in the new
      > 	docstrings.
      >
      > 	* faqs.el: Fixed some invalid variable references in the new
      > 	docstrings.
      30d0dafa
  2. 07 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed bug 962. Updated command documentation. Started on the NEWS file. · 6184772e
      David Byers authored
      Detailed changes:
      > 2003-01-07  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 962:
      > 	* edit-text.el (lyskom-edit-send-check-recipients): Use
      > 	lyskom-get-send-comments-to.
      >
      > 	* utilities.el (lyskom-get-send-comments-to): New function.
      >
      > 	* commands1.el (kom-write-text): Add sender as recipient when
      > 	sending to a conference the sender is not a member of. Respect
      > 	send-comments-to.
      > 	(lyskom-comment-recipients): Respect send-comments.to when adding
      > 	lyskom-pers-no as a recipient.
      >
      > 	Started working on a command reference manual:
      > 	* commands2.el: Wrote user documentation for all commands in the
      > 	docstrings. Lisp-level documentation, where it still exists, is
      > 	placed after the user-level documentation, below the legend "Lisp
      > 	documentation". I intend to generate the english command reference
      > 	from the source code.
      >
      1a23,31
      >
      > 	Started working on a command reference manual:
      > 	* commands1.el: Wrote user documentation for all commands in the
      > 	docstrings. Lisp-level documentation, where it still exists, is
      > 	placed after the user-level documentation, below the legend "Lisp
      > 	documentation". I intend to generate the english command reference
      > 	from the source code.
      >
      > 	* NEWS-0.48: Synched up to here.
      6184772e
  3. 06 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 964, 753, 831 and 927. · dbddd998
      David Byers authored
      Detailed changes:
      > 2003-01-06  David Byers  <david.byers@swipnet.se>
      >
      > 	Clean up :variable assignments:
      > 	* compatibility.el (lyskom-make-self-evaluating): New macro. Use
      > 	it to make several :symbols self-evalutaing in Emacs 19.
      >
      > 	Fix bug 964:
      > 	* faces.el (lyskom-setup-faces-for-buffer): Catch errors cause
      > 	when generating faces since running this code in a tty usually
      > 	causes problems. Don't just check window-system, because the color
      > 	stuff might work on some implementations.
      >
      > 	Fix bug 753:
      > 	* flags.el (kom-copy-options): New command.
      >
      > 	* english-strings.el (lyskom-command): Added kom-copy-options.
      >
      > 	* swedish-strings.el (lyskom-command): Renamed "Spara variabler"
      > 	to "Spara inställningar". Added kom-copy-options.
      >
      > 	Fix bug 831 as well as possible:
      > 	* lyskom-rest.el (lyskom-scroll): Cleaned up for readability. Move
      > 	point six chars in from the right margin when not scrolling to the
      > 	end to prevent automatic hscrolling in Emacs 21.x.
      >
      > 	Fix bug 927:
      > 	* commands1.el (lyskom-who-is-on-check-membership-9): Don't
      > 	include passive members.
      > 	(lyskom-who-is-on-check-membership-8): Ditto.
      >
      dbddd998
  4. 05 Jan, 2003 1 commit
    • David Byers's avatar
      Major code cleanup. · fe48d131
      David Byers authored
      I have made lots of changes, including transitioning most data
      structures to use def-komtype, removing functions that weren't used
      (there are several left), removing almost all the remaining who-buffer
      remnants and generally messing with things.
      
      Chances are I broke something. I haven't figured out what yet, but do
      let me know if you spot anything.
      
      
      Detailed changes:
      > 	* I have cleaned up all over the place. There are no ChangeLog
      > 	entries for most of the changes. Changes include: converting types
      > 	to use def-komtype; removing who-buffer code; removing who-info
      > 	cache; removing dead code; removing commented-out code.
      >
      > 	* mship-edit.el (lp--hide-memberships-by-date): Call
      > 	lyskom-read-date.
      >
      > 	Code cleanup:
      > 	* prefetch.el (lyskom-prefetch-whobuffer-handler): Commented out
      > 	the code since thw who buffer is gone.
      >
      > 	* commands2.el (kom-bury): Removed who-buffer code.
      >
      > 	* cache.el: Removed who-info cache.
      >
      > 	* async.el (lyskom-parse-async): Removed who-buffer code.
      > 	(lyskom-parse-async): Don't cache who info.
      >
      > 	* filter-edit.el (filter-entry): Redefined using def-komtype.
      >
      > 	* komtypes.el (conf-no-list): Redefined using def-komtype.
      >
      > 	* prioritize.el (prioritize-entry): Redefined using def-komtype.
      >
      > 	* clienttypes.el: Removed format-props and who-buffer-related
      > 	types.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Removed something about
      > 	format-props, which aren't used anywhere.
      >
      > 	* komtypes.el,deferred-insert.el,clienttypes.el,mship-edit.el,names.el,
      > 	regexp.el,tree-edit.el: Rewrote all uses of def-komtype. Defined
      > 	more datatypes using def-komtype. Removed unused functions.
      >
      > 	* clienttypes.el (format-state): Renamed argl to args, since
      > 	that's what we actually use.
      > 	(format-state): Converted to new def-komtype syntax.
      >
      > 	* lyskom-rest.el (lyskom-membership-highest-index): Unused.
      > 	Removed.
      >
      > 	* komtypes.el (def-komtype): Added support for &optional in the
      > 	arg list and for default values.
      > 	(privs): Re-implemented with def-komtype.
      > 	(pers-stat): Ditto.
      > 	(text-stat): Ditto.
      > 	(conf-stat): Ditto.
      > 	(flags): Ditto.
      > 	(map): Ditto.
      > 	(membership): Ditto.
      > 	(conf-list): Ditto.
      > 	(text): Ditto.
      > 	(misc-info): Ditto.
      > 	(mark): Ditto.
      > 	(lyskom-create-who-info): Ditto.
      > 	(session-info): Ditto.
      > 	(conf-type): Ditto.
      > 	(server-info): Ditto.
      > 	(version-info): Ditto.
      > 	(conf-z-info-list): Ditto.
      >
      > 	* deferred-insert.el (defer-info): Re-implemented with
      > 	def-komtype.
      >
      > 	* language.el (lyskom-string-check-category): Unused. Removed.
      >
      > 	* async.el (lyskom-show-changed-person): Unused. Removed.
      >
      > 	* utilities.el (lyskom-set-face-foreground): Unused. Removed.
      > 	(lyskom-set-face-background): Unused. Removed.
      >
      > 	* lyskom-buttons.el (lyskom-set-default-button-action): Unused.
      > 	Removed.
      >
      > 	* startup.el (lyskom-print-name): Unused. Removed.
      >
      > 	* lyskom-buttons.el (lyskom-menu-selection): Unused. Removed.
      >
      > 	* aux-items.el (lyskom-map-aux-items): Unused. Removed.
      >
      > 	* view-text.el (lyskom-fetch-author-for-cache): Unused. Removed.
      >
      > 	* utilities.el (lyskom-emacs-version): Unused. Removed.
      >
      > 	* view-text.el (lyskom-fetch-text-for-cache): Unused. Removed.
      >
      > 	* utilities.el (lyskom-face-resource): Unused. Removed.
      > 	(lyskom-modify-face): Unused. Removed.
      >
      > 	* startup.el (lyskom-extract-persons): Unused. Removed.
      > 	(lyskom-extract-confs): Unused. Removed.
      > 	(lyskom-do-extract-persons-or-confs): Unused. Removed.
      >
      > 	* edit-text.el (lyskom-edit-goto-char): Unused. Removed.
      > 	(lyskom-edit-on-aux-item): Unused. Removed.
      >
      > 	* utilities.el (lyskom-background-mode): Unused. Removed.
      >
      fe48d131
  5. 03 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed bug 823: kom-write-text should ask for recipient · 79ebb810
      David Byers authored
      Detailed changes:
      > 	Fix bug 823:
      > 	* commands1.el (kom-write-text): Ask for recipient by default. Old
      > 	behavior is on C-u kom-write-text.
      > 	(kom-send-letter): Only complete letterboxes when reading
      > 	recipient.
      >
      > 	Fix bug 834:
      79ebb810
  6. 01 Jan, 2003 2 commits
    • David Byers's avatar
      Work on new face code. Face schemes are out and face variables are · 5b04897f
      David Byers authored
      in. This means that you can have different settings for different
      sessions and servers. Your old settings should do nothing useful any
      more. Everything will be customizable through kom-customize, but
      that's not done yet.
      
      You should restart Emacs to load these changes. Attempting to load
      over a running elisp client will probably only lead to grief.
      
      This commit has not been tested very much. You have been warned.
      
      
      Detailed changes:
      > 	Work on new face code:
      > 	* view-text.el (lyskom-view-text): Send evaluated face properties
      > 	to lyskom-format.
      > 	(lyskom-print-text): Ditto.
      >
      > 	* utilities.el (lyskom-check-configuration): Send evaluated face
      > 	properties to lyskom-format.
      >
      > 	* startup.el (lyskom): Send evaluated face properties to
      > 	lyskom-format.
      >
      > 	* commands2.el (kom-status-conf): Send evaluated face properties
      > 	to lyskom-format.
      > 	(kom-status-person): Ditto.
      > 	(lyskom-send-message): Ditto.
      > 	(kom-obsolete-extended-command-binding): Ditto.
      >
      > 	* commands1.el (kom-delete-text): Send evaluated face properties
      > 	to lyskom-format.
      >
      > 	* async.el (lyskom-show-logged-in-person): Send evaluated face
      > 	properties to lyskom-format.
      > 	(lyskom-show-logged-out-person): Ditto.
      > 	(lyskom-format-as-personal-message): Ditto.
      >
      > 	* check-strings.el (lyskom-check-strings): Removed all
      > 	face-related goop.
      >
      > 	* vars.el.in: Removed all face-related goop.
      >
      > 	* faces.el: New file.
      >
      > 	* startup.el (lyskom): Call lyskom-setup-faces-for-buffer, not
      > 	lyskom-setup-faces.
      >
      > 	* option-edit.el (kom-customize): Evaluate face variables instead
      > 	of quoting face names.
      >
      > 	* mship-edit.el (lp--format-entry): Evaluate face variables
      > 	instead of quoting face names.
      > 	(lp--redraw-entry-mark): Ditto.
      >
      > 	* lyskom-rest.el (kom-next-command): Evaluate face variables
      > 	instead of quoting face names
      > 	(lyskom-format-aux-help): Ditto.
      >
      > 	* lyskom-buttons.el (lyskom-button-add-links): Evaluate face
      > 	variable kom-url-face instead of quoting face name.
      > 	(lyskom-button-get-face): Evaluate the face found for the button
      > 	type.
      > 	(lyskom-generate-button): Evaluate face variables instead of
      > 	quoting face names
      > 	(lyskom-default-button): Ditto.
      >
      > 	* keyboard-menu.el (lyskom-keyboard-menu-highlight-selected):
      > 	Evaluate face variable, instead of quoting face name
      > 	kom-mark-face.
      >
      > 	More flexible date parser:
      > 	* utilities.el (lyskom-all-prefixes): New function.
      > 	(lyskom-parse-date): Permit prefixes for "days", "years",
      > 	"months". Allow whitespace before and after input. Do not require
      > 	minus sign when specifying number of days. Do not require
      > 	whitespace separators in several places. Permit spaces around
      > 	separators. Accept space as a separator.
      >
      5b04897f
    • David Byers's avatar
      Fix bug 921. · 212205f0
      David Byers authored
      Detailed changes:
      > 	Fix bug 921:
      > 	* commands1.el (kom-jump): Use lyskom-read-text-no-prefix-arg.
      >
      212205f0
  7. 13 Dec, 2002 1 commit
    • David Byers's avatar
      > 2002-12-13 David Byers <david.byers@swipnet.se> · 88f9cfd0
      David Byers authored
      >
      > 	* lyskom-rest.el (lyskom-update-prompt): Change `insert-string' to
      > 	`insert' since the former is obsolete.
      >
      > 	Bog 928:
      > 	* commands1.el (lyskom-times): Added Lucia.
      >
      > 	Finished bug 924:
      > 	* option-edit.el (lyskom-nameday-widget): New widget type.
      >
      > 	* vars.el.in (kom-url-transformation-rules): Improved the
      > 	Aftonbladet regexp.
      >
      > 2002-12-11  David Byers  <david.byers@swipnet.se>
      >
      > 	* swedish-strings.el (lyskom-sv-mode-map): Define swedish chars
      > 	using all possible methods.
      >
      > 	* macros.el (lyskom-try-define-key): New macro.
      >
      88f9cfd0
  8. 09 Dec, 2002 2 commits
  9. 16 Oct, 2002 1 commit
    • David Byers's avatar
      More commands in menus · 649d873f
      David Byers authored
      Better reporting in kom-change-parenthesis
      Review command fail more gracefully
      Increase field length for conference numbers in lyskom-list-conf-print
      649d873f
  10. 15 Sep, 2002 1 commit
  11. 14 Sep, 2002 1 commit
  12. 12 Sep, 2002 1 commit
  13. 08 Sep, 2002 1 commit
  14. 07 Sep, 2002 1 commit
  15. 05 Aug, 2002 1 commit
  16. 23 Jul, 2002 1 commit
    • David Byers's avatar
      Bugfixes · cc2316b2
      David Byers authored
      Updates to tree-edit.el
      Better selection of charset for texts in Gnu Emacs
      Limit number of overlays in buffer
      Fixed default value when prompting for text numbers
      Fixed text-no strategy for kom-private-answer-previous
      cc2316b2
  17. 22 Jun, 2002 2 commits
  18. 12 Jun, 2002 1 commit
    • David Byers's avatar
      Fixed bug 457, 244. · 85583bff
      David Byers authored
      Set content type on user area.
      Fixed formatting problem with help.
      Fixed prompt in kom-add-bcc.
      Fixed settings menu for kom-server-priority-breaks.
      85583bff
  19. 22 May, 2002 1 commit
  20. 21 May, 2002 1 commit
  21. 07 May, 2002 1 commit
    • David Byers's avatar
      Loads of changes. · f274a6c4
      David Byers authored
      Implemented kom-* synonyms for almost all lyskom-* hooks. The old names
      shall be considered obsolede.
      
      Highilghting of asynchronous messages as with texts.
      
      Support overlays when doing lyskom-insert on the result of lyskom-format.
      
      Fix lyskom-insert to handle special-insert properties that are adjacent to each other.
      
      Fix lyskom-unicase so it isn't fooled by a lying Emacs.
      
      Hopefully guard against missing diff command when calling ediff-buffers.
      
      Added user-hooks.el, a new place for hook functions that users
      might want to use elsewhere. Added some kom-change-conf-hook and
      kom-after-change-conf-hook functions to this file.
      f274a6c4
  22. 01 May, 2002 1 commit
    • David Byers's avatar
      Fixed bugs: · bb4a0cd9
      David Byers authored
      First line overlay not visible in XEmacs
      Started work on automatic computation of background colors
      Removed extra space around names of imported message senders
      Updated presentation-form
      Fixed some variable documentation
      Updated first-greeting
      Fixed problem when changing presentation or FAQ
      Improved communications loggins
      Improved parser error detection and recovery
      
      New command: kom-move-text-tree.
      bb4a0cd9
  23. 28 Apr, 2002 2 commits
  24. 27 Apr, 2002 1 commit
    • Ulrik Haugen's avatar
      Fix bug 458: · 4af370c4
      Ulrik Haugen authored
      	* swedish-strings.el, english-strings.el
      	(lyskom-message): New string: who-is-friend.
      
      	* commands1.el (lyskom-who-is-on-9, lyskom-who-is-on-8): print
      	who-is-friend if given non-nil show-friends-only.
      4af370c4
  25. 21 Apr, 2002 1 commit
  26. 20 Apr, 2002 1 commit
  27. 14 Apr, 2002 2 commits
  28. 13 Apr, 2002 4 commits
  29. 10 Apr, 2002 2 commits
  30. 09 Apr, 2002 1 commit
    • David Byers's avatar
      Fixed bugs: · 8eb5d46d
      David Byers authored
      430 (documentation kom-friends)
      432 (documentation kom-friends)
      433 (documentation kom-friends)
      455 (subtract comment does not handle prefix arguments corrently)
      450 (SnoppKOM and sno.pp.se collide)
      
      Semi-fixed bugs:
      449 (completion in subtract comment)
      8eb5d46d
  31. 23 Mar, 2002 1 commit
    • Joel Rosdahl's avatar
      Fix bug 422: · 09f05e19
      Joel Rosdahl authored
      * commands1.el (lyskom-private-answer): Print informative text if
      replying to Anonymous user.
      
      * english-strings.el, swedish-strings.el (lyskom-message): Added
      personal-comment-to-anonymous string.
      
      * commands1.el (lyskom-private-answer-soon-prev): Removed unused
      function.
      09f05e19