Commit ee2e9b20 authored by David Byers's avatar David Byers
Browse files

Fix bug 766. New implementation of line breaking.

Detailed changes:
> 2006-04-05  David Byers  <davby@ida.liu.se>
>
> 	Re-implement line breaking heuristics:
> 	* lyskom-rest.el (lyskom-fill-disqualifying-regexp): Broken out
> 	from lyskom-fill-message to make regexp easier to understand.
> 	(lyskom-fill-message-next-line): New macro.
> 	(lyskom-fill-message-return): New macro.
> 	(lyskom-maybe-fill-region): New macro.
> 	(lyskom-fill-inline-text-regexp): New regexp to prevent concating
> 	it every time a line was examined, and to make it handle inlined
> 	texts with the wrong language.
> 	(lyskom-fill-message): New implementation.
> 	(lyskom-fill-next-paragraph): Guts of new lyskom-fill-message.
> 	(lyskom-fill-scan-quoted-paragraph): New function.
> 	(lyskom-fill-scan-empty-lines): New function.
>
> 	Fix bug 766:
> 	* swedish-strings.el,english-strings.el (lyskom-custom-strings):
> 	Adjusted kom-autowrap-doc.
>
>
parent 57e7460a
2006-04-05 David Byers <davby@ida.liu.se>
Re-implement line breaking heuristics:
* lyskom-rest.el (lyskom-fill-disqualifying-regexp): Broken out
from lyskom-fill-message to make regexp easier to understand.
(lyskom-fill-message-next-line): New macro.
(lyskom-fill-message-return): New macro.
(lyskom-maybe-fill-region): New macro.
(lyskom-fill-inline-text-regexp): New regexp to prevent concating
it every time a line was examined, and to make it handle inlined
texts with the wrong language.
(lyskom-fill-message): New implementation.
(lyskom-fill-next-paragraph): Guts of new lyskom-fill-message.
(lyskom-fill-scan-quoted-paragraph): New function.
(lyskom-fill-scan-empty-lines): New function.
Fix bug 766:
* swedish-strings.el,english-strings.el (lyskom-custom-strings):
Adjusted kom-autowrap-doc.
2006-04-03 David Byers <davby@ida.liu.se>
* lyskom-buttons.el (lyskom-button-befriend): New function
......
......@@ -3644,11 +3644,12 @@ up menus.")
Most people have this turned on.")
(kom-autowrap-doc . "\
With this setting turned on, LysKOM will attempt to fill any paragraphs
containing lines that are wider than the screen. Paragraphs that appear
to have been preformatted by the author are exempted from this treatment.
If set to a number, only texts shorter than this number (in characters)
will be filled. This may be useful to avoid filling very long texts.")
With this setting turned on, LysKOM will attempt to fill any
paragraphs containing lines that too long. Paragraphs that appear to
have been preformatted by the author are exempted from this treatment.
If set to a number, only texts shorter than this number (in
characters) will be filled. This may be useful to avoid filling very
long texts.")
(kom-autowrap-timeout-doc . "\
This setting controls the maximum number of seconds the client may
......
This diff is collapsed.
......@@ -3823,10 +3823,10 @@ ta fram menyer.")
(kom-autowrap-doc . "\
Om detta r pslaget s kommer LysKOM att frska bryta om raderna i
stycken vars rader egentligen r lngre n skrmen r bred. Stycken
som verkar vara frformatterade av frfattaren bryts dock aldrig om.
Det gr att ange en maximal lngd i tecken p inlgg som fr brytas
om (vilket kan vara anvndbart fr att undvika mycket lnga inlgg).")
stycken vars rader r fr lnga. Stycken som verkar vara
frformatterade av frfattaren bryts dock aldrig om. Det gr att ange
en maximal lngd i tecken p inlgg som fr brytas om (vilket kan vara
anvndbart fr att undvika mycket lnga inlgg).")
(kom-autowrap-timeout-doc . "\
Denna instllning begrnsar hur lng tid automatisk ombrytning av
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment