1. 02 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed compatibility problems with new face code and date reading. · aef90af9
      David Byers authored
      Everything should be functional with Emacs 21.x, 20.7 and XEmacs 21.1.
      Other versions have not been tested yet.
      
      Detailed changes:
      > 2003-01-02  David Byers  <david.byers@swipnet.se>
      >
      > 	Cosmetics:
      > 	* commands2.el (kom-set-unread): Don't include range in prompt. It
      > 	will be included by lyskom-read-num-range-or-date.
      >
      > 	Compatibility issues with date reading:
      > 	* compatibility.el (lyskom-minibuffer-contents): Provide an alias
      > 	for minibuffer-contents.
      >
      > 	* lyskom-rest.el (lyskom-verified-read-enter): Use
      > 	lyskom-minibuffer-contents instead of minibuffer-contents.
      >
      > 	Work on new face code:
      > 	* faces.el: Fixed bug in call to defface that worked in Gnu Emacs
      > 	but not in XEmacs.
      >
      aef90af9
  2. 01 Jan, 2003 2 commits
    • David Byers's avatar
      Work on new face code. Face schemes are out and face variables are · 5b04897f
      David Byers authored
      in. This means that you can have different settings for different
      sessions and servers. Your old settings should do nothing useful any
      more. Everything will be customizable through kom-customize, but
      that's not done yet.
      
      You should restart Emacs to load these changes. Attempting to load
      over a running elisp client will probably only lead to grief.
      
      This commit has not been tested very much. You have been warned.
      
      
      Detailed changes:
      > 	Work on new face code:
      > 	* view-text.el (lyskom-view-text): Send evaluated face properties
      > 	to lyskom-format.
      > 	(lyskom-print-text): Ditto.
      >
      > 	* utilities.el (lyskom-check-configuration): Send evaluated face
      > 	properties to lyskom-format.
      >
      > 	* startup.el (lyskom): Send evaluated face properties to
      > 	lyskom-format.
      >
      > 	* commands2.el (kom-status-conf): Send evaluated face properties
      > 	to lyskom-format.
      > 	(kom-status-person): Ditto.
      > 	(lyskom-send-message): Ditto.
      > 	(kom-obsolete-extended-command-binding): Ditto.
      >
      > 	* commands1.el (kom-delete-text): Send evaluated face properties
      > 	to lyskom-format.
      >
      > 	* async.el (lyskom-show-logged-in-person): Send evaluated face
      > 	properties to lyskom-format.
      > 	(lyskom-show-logged-out-person): Ditto.
      > 	(lyskom-format-as-personal-message): Ditto.
      >
      > 	* check-strings.el (lyskom-check-strings): Removed all
      > 	face-related goop.
      >
      > 	* vars.el.in: Removed all face-related goop.
      >
      > 	* faces.el: New file.
      >
      > 	* startup.el (lyskom): Call lyskom-setup-faces-for-buffer, not
      > 	lyskom-setup-faces.
      >
      > 	* option-edit.el (kom-customize): Evaluate face variables instead
      > 	of quoting face names.
      >
      > 	* mship-edit.el (lp--format-entry): Evaluate face variables
      > 	instead of quoting face names.
      > 	(lp--redraw-entry-mark): Ditto.
      >
      > 	* lyskom-rest.el (kom-next-command): Evaluate face variables
      > 	instead of quoting face names
      > 	(lyskom-format-aux-help): Ditto.
      >
      > 	* lyskom-buttons.el (lyskom-button-add-links): Evaluate face
      > 	variable kom-url-face instead of quoting face name.
      > 	(lyskom-button-get-face): Evaluate the face found for the button
      > 	type.
      > 	(lyskom-generate-button): Evaluate face variables instead of
      > 	quoting face names
      > 	(lyskom-default-button): Ditto.
      >
      > 	* keyboard-menu.el (lyskom-keyboard-menu-highlight-selected):
      > 	Evaluate face variable, instead of quoting face name
      > 	kom-mark-face.
      >
      > 	More flexible date parser:
      > 	* utilities.el (lyskom-all-prefixes): New function.
      > 	(lyskom-parse-date): Permit prefixes for "days", "years",
      > 	"months". Allow whitespace before and after input. Do not require
      > 	minus sign when specifying number of days. Do not require
      > 	whitespace separators in several places. Permit spaces around
      > 	separators. Accept space as a separator.
      >
      5b04897f
    • David Byers's avatar
      Fix bug 291. · 523cd195
      David Byers authored
      Detailed changes:
      > 2003-01-01  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 291:
      > 	* vars.el.in (lyskom-language): Added to minibuffer variables or
      > 	lyskom-get-string will fail in predicate functions used in
      > 	lyskom-verified-read-from-minibuffer.
      >
      > 	* commands2.el (kom-set-unread): Allow date entry in addition to
      > 	number entry.
      >
      > 	Implement date input (for bug 291):
      > 	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): New function.
      > 	(lyskom-verified-read-map): New variable.
      > 	(lyskom-verified-read-enter): New function.
      > 	(lyskom-verified-read-predicate): New variable.
      > 	(lyskom-read-num-range-or-date): Nre function.
      >
      > 	* utilities.el (lyskom-read-date): New function.
      >
      >
      1a22,31
      >
      > 	Implement date parsing (for bug 291):
      > 	* utilities.el (lyskom-parse-date): Implemented the remaining
      > 	branches in the parser. Fixed various bugs. Validate results
      > 	before returning. This function should work now.
      > 	(lyskom-is-leap-year): New function (date-leap-year-p doesn't
      > 	exist in Emacs 19, so this is needed).
      > 	(lyskom-days-in-month): New function.
      > 	(lyskom-adjust-day-for-date): New function.
      > 	(lyskom-month-limits): New variable.
      523cd195
  3. 31 Dec, 2002 1 commit
    • David Byers's avatar
      > 2002-12-31 David Byers <david.byers@swipnet.se> · df58bdfd
      David Byers authored
      >
      > 	Improve kom-list-summary:
      > 	* commands2.el (lyskom-do-list-summary): Damn. Already midnight.
      > 	Don't print the subject on comments more than once in a row.
      > 	(lyskom-print-summary-line): Don't compute subject here. Get it in
      > 	a param instead.
      >
      > 2002-12-30  David Byers  <david.byers@swipnet.se>
      >
      > 	Improve kom-list-summary:
      > 	* commands2.el (lyskom-print-summary-line): Print deep comment
      > 	levels without additional indent, like nn does.
      >
      > 	Remove bugzilla links (text links supersede these):
      > 	* lyskom-buttons.el (lyskom-button-transform-text): De-implemented
      > 	bugzilla links.
      > 	(lyskom-button-show-bugzilla-bug): Removed this function.
      >
      > 	* vars.el.in (kom-my-bugzilla): Removed this variable. Text links
      > 	generalize bugzilla links.
      > 	(lyskom-text-buttons): Removed bugzilla text buttons.
      > 	(lyskom-button-actions): Same here.
      >
      > 	More text links:
      > 	* lyskom-buttons.el (lyskom-button-add-links): New function.
      > 	(lyskom-button-transform-text): Call it to create links from
      > 	kom-text-links.
      >
      > 	* vars.el.in (kom-text-links): New variable.
      >
      > 	* clienttypes.el (lyskom-create-lyskom-text-link): New function.
      > 	(lyskom-text-link->pattern): New function.
      > 	(lyskom-text-link->replacement): New function.
      > 	(lyskom-text-link->highlight): New function.
      > 	(lyskom-text-link->ignore-case): New function.
      >
      > 	New nameday lists from Hans Persson:
      > 	* names.el (sv-1993): New nameday list.
      > 	(sv-pre-1901): Renamed nameday list from sv-1901
      > 	(sv-1901): New nameday list.
      > 	(sv-1986): New nameday list.
      >
      > 2002-12-22  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 946:
      > 	* commands2.el (lyskom-do-list-summary): Display texts in comment
      > 	order with indentation.
      > 	(lyskom-print-summary-line): Support indentation.
      >
      > 2002-12-18  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Added
      > 	text-stat argument.
      >
      > 	Implement text links:
      > 	* lyskom-rest.el (lyskom-format-ö): Pass text-stat to
      > 	lyskom-button-transform-text.
      > 	(lyskom-format-enriched): Ditto.
      > 	(lyskom-format-text-body): Ditto.
      > 	(lyskom-format-aux-help): Handle cons in format-letter r.
      >
      > 	* view-text.el: Send the text-stat when formatting subject.
      >
      > 2002-12-17  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 753:
      > 	* flags.el (lyskom-read-options): Added optional buffer argument
      > 	to support reading settings from a different session.
      >
      df58bdfd
  4. 16 Dec, 2002 2 commits
    • Ulrik Haugen's avatar
      Hoppas det här inte krockar med något David redan fixat... · 5427fd68
      Ulrik Haugen authored
              * startup.el (lyskom-read-server-name): Updated docstring wrt.
      	kom-builtin-server-aliases.
      
      	* lyskom-rest.el (lyskom-update-prompt, lyskom-format-prompt)
      	(lyskom-mode-name-from-host): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* commands2.el (kom-modeline-select-unread-kom)
      	(kom-status-server): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* async.el (lyskom-show-logged-in-person)
      	(lyskom-show-logged-out-person): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      5427fd68
    • David Byers's avatar
      > Fix bug 701: · 13e44c33
      David Byers authored
      > 	* utilities.el (lyskom-get-ancestors-of-text): Provide completions
      > 	when reading text numbers.
      >
      > 	* lyskom-rest.el (lyskom-read-number): Set require-match when
      > 	reading numbers with completion.
      >
      13e44c33
  5. 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
  6. 09 Dec, 2002 1 commit
  7. 21 Nov, 2002 1 commit
  8. 22 Sep, 2002 1 commit
  9. 15 Sep, 2002 1 commit
  10. 14 Sep, 2002 1 commit
  11. 13 Aug, 2002 1 commit
  12. 12 Aug, 2002 1 commit
  13. 06 Aug, 2002 1 commit
  14. 24 Jul, 2002 1 commit
  15. 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
  16. 16 Jul, 2002 1 commit
  17. 13 Jul, 2002 1 commit
  18. 11 Jul, 2002 1 commit
  19. 29 Jun, 2002 1 commit
  20. 28 Jun, 2002 1 commit
  21. 12 Jun, 2002 2 commits
  22. 28 May, 2002 1 commit
  23. 22 May, 2002 1 commit
  24. 21 May, 2002 1 commit
  25. 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
  26. 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
  27. 25 Apr, 2002 1 commit
  28. 24 Apr, 2002 1 commit
  29. 22 Apr, 2002 2 commits
  30. 21 Apr, 2002 1 commit
  31. 17 Apr, 2002 1 commit
    • Ulrik Haugen's avatar
      Fix bug 464: · 33cd8d76
      Ulrik Haugen authored
      	* lyskom-rest.el (lyskom-update-prompt): (This paragraph concerns
      	xemacs only.) Use extents to make the prompt read-only. This seems
      	necessary to set duplicable to nil for the prompt extents/
      	properties though the info-pages on text-properties states: "The
      	predefined properties are the same as those for extents".
      33cd8d76
  32. 16 Apr, 2002 1 commit
  33. 14 Apr, 2002 1 commit
  34. 13 Apr, 2002 2 commits
  35. 12 Apr, 2002 1 commit
    • Ulrik Haugen's avatar
      Fix bug 447: · 895da31a
      Ulrik Haugen authored
      	* vars.el.in (lyskom-unread-mode-line)
      	(lyskom-unread-title-format): Set langage-force.
      
      	* lyskom-rest.el (lyskom-make-lyskom-unread-mode-line)
      	(lyskom-make-lyskom-unread-title-format): New functions. They both
      	return what used to be in lyskom-unread-mode-line and
      	lyskom-unread-title-format respectively.
      
      	* swedish-strings.el, english-strings.el (lyskom-unread-mode-line)
      	(lyskom-unread-title-format): Made these variables language
      	dependent.
      895da31a