Kenichi Handa
b1376368e2
(fill-find-break-point): Check the validity of charset.
2000-06-07 12:00:23 +00:00
Gerd Moellmann
3b99a4f882
(fill-individual-paragraphs): If a no-prefix
...
line is followed by one that matches CITATION-REGEXP, end the
paragraph.
2000-04-03 19:28:16 +00:00
Gerd Moellmann
7190ab8737
(fill-common-string-prefix): New function.
...
(fill-context-prefix): Use the longest common substring of both
prefixes, if there is one.
2000-01-11 21:42:12 +00:00
Kenichi Handa
34a500b327
(fill-find-break-point): Delete codes for
...
composite characters.
(fill-region-as-paragraph): Likewise.
1999-12-15 00:52:08 +00:00
Richard M. Stallman
ea9ae18a55
(fill-region-as-paragraph, canonically-space-region):
...
Respect colon-double-space at end of line.
1999-09-08 07:50:19 +00:00
Karl Heuer
cc7e972037
(fill-individual-paragraphs): Calculate new
...
fill prefix on each line while looping to the end of paragraph.
End paragraph if it's longer than the existing fill prefix.
1999-07-30 14:34:28 +00:00
Karl Heuer
39f5988df8
(fill-context-prefix): Doc fix.
1999-07-30 14:31:57 +00:00
Karl Heuer
e7029763ca
(fill-region-as-paragraph): Fix previous change.
1999-07-27 20:06:20 +00:00
Kenichi Handa
9d289ed7c7
(fill-region-as-paragraph): Fix previous change.
1999-07-26 00:29:37 +00:00
Kenichi Handa
7141e1e0ff
(fill-region-as-paragraph): Fix previous change.
1999-07-26 00:14:37 +00:00
Kenichi Handa
ca29a33e6a
(fill-region-as-paragraph): Avoid backing up
...
before left margin and fill-prefix by fill-find-break-point.
1999-07-23 07:27:21 +00:00
Dave Love
369aeb97a9
(canonically-space-region, justify-current-line): Add * to interactive
...
spec.
(fill-region-as-paragraph, fill-paragraph, fill-region)
(fill-nonuniform-paragraphs, fill-individual-paragraphs): Check
readonly buffer in interactive spec.
1999-07-20 16:02:27 +00:00
Dave Love
bdcb0e25c9
(sentence-end-double-space): Doc fix.
1999-03-12 18:48:09 +00:00
Kenichi Handa
971c2d04d2
(fill-region-as-paragraph): While deleting a
...
newline in multibyte buffer, if previous or next character is a
composite char, check the first component of the composite char.
1999-01-05 02:39:31 +00:00
Kenichi Handa
ce82deede2
(sentence-end-without-period): New variable.
...
(canonically-space-region): Pay attention to
sentence-end-without-period.
(fill-find-break-point): The first argument CHARSET deleted.
Caller changed.
(fill-region-as-paragraph): Pay attention to charset property
nospace-between-words and text property nospace-between-words.
1998-10-21 11:50:56 +00:00
Kenichi Handa
9732380494
Setup `fill-find-break-point-function'
...
property to character sets which require `kinsoku' processing for
filling.
(fill-find-break-point): New function.
(fill-region-as-paragraph): Don't check kinsoku-enable here.
Don't call kinsoku directly, intead call fill-find-break-point.
1998-10-19 00:40:10 +00:00
Karl Heuer
11da289651
(fill-individual-paragraphs-prefix):
...
Avoid nil value of `two-lines-citation-part'
1998-09-30 19:03:31 +00:00
Karl Heuer
c97a5db406
(fill-individual-paragraphs): Before deleting
...
the inserted newline, verify that one was really inserted.
1998-09-04 20:37:22 +00:00
Richard M. Stallman
b3a0387c09
(fill-individual-paragraphs-prefix): New
...
subroutine taken from fill-individual-paragraphs. Really check that
JUST-ONE-LINE-PREFIX is longer than TWO-LINES-PREFIX in its whitespace.
(fill-individual-paragraphs-citation): New subroutine.
(fill-nonuniform-paragraphs): Arg MAILP renamed.
(fill-individual-paragraphs): Arg MAILP renamed.
1998-07-13 02:11:16 +00:00
Richard M. Stallman
fea4012025
(fill-individual-paragraphs): Fix previous change.
1998-07-09 05:32:47 +00:00
Richard M. Stallman
c221399445
(fill-individual-paragraphs): If JUST-ONE-LINE-PREFIX matches
...
TWO-LINES-PREFIX except with longer whitespace, treat that as a match
even is spaces are replaced with a tab.
1998-07-04 09:44:09 +00:00
Richard M. Stallman
bb801a426f
(fill-paragraph):
...
Bind fill-paragraph-function to nil, if it doesn't do the job.
1998-06-05 22:27:42 +00:00
Richard M. Stallman
78652ce8bd
(fill-region-as-paragraph):
...
Don't add a newline at the end, when there is none.
1998-05-23 20:00:18 +00:00
Richard M. Stallman
9fc0913c10
(justify-current-line): Use new algorithm to apportion the spaces to be added.
1998-04-23 21:55:15 +00:00
Richard M. Stallman
d09af6a54b
(fill-region-as-paragraph, fill-region): Allow t as legit value of JUSTIFY.
1998-03-14 03:05:28 +00:00
Richard M. Stallman
a0d8840a5a
(fill-nobreak-predicate): New variable.
...
(fill-region-as-paragraph): Obey fill-nobreak-predicate.
1998-03-09 06:37:20 +00:00
Richard M. Stallman
73b3354550
(fill-region): If JUSTIFY is non-nil
...
and not a known value, treat it as `full'.
(fill-region-as-paragraph): Likewise.
1998-03-08 00:27:23 +00:00
Richard M. Stallman
4ab577cd01
(fill-region-as-paragraph): Fix the test for any
...
non-ASCII characters, for deciding whether to do kinsoku.
1998-02-03 02:37:55 +00:00
Karl Heuer
183e4bd6f1
(fill-individual-paragraphs): Don't get
...
confused in paragraph loop if we start on the last line
and it has no final newline.
1997-11-15 20:58:28 +00:00
Kenichi Handa
b847b1de5b
(fill-region-as-paragraph): Fix bug of
...
handling the case that English letters are followed by such
characters as Japanese and Chinese.
1997-11-08 03:08:40 +00:00
Richard M. Stallman
f37bbf0885
(canonically-space-region): Doc fix.
...
(fill-context-prefix): If the second line has the first line prefix,
plus whitespace, use the part that the first line shares.
(fill-individual-paragraphs): When prefix changes,
usually get the new prefix from just one line,
with an exception for indented first lines of paragraphs.
Start a new paragraph when a line has extra indentation
after the fill prefix.
1997-09-14 20:27:34 +00:00
Richard M. Stallman
4574ee6c8d
(fill-individual-paragraphs): Don't include
...
paragraph-separate lines in any paragraph; just skip them.
1997-09-08 06:47:05 +00:00
Richard M. Stallman
b4d413d983
(fill-individual-paragraphs): Fix handling
...
of adaptive-fill. Call fill-context-prefix, but bind
adaptive-fill-first-line-regexp to a null string.
1997-08-18 20:08:38 +00:00
Richard M. Stallman
66d6ec94bb
(fill-region-as-paragraph):
...
When justifying, cope if line ends in spaces and no newline.
1997-08-12 15:52:17 +00:00
Richard M. Stallman
4dc0f0fc0e
(enable-kinsoku): Doc fix.
1997-08-09 03:41:42 +00:00
Richard M. Stallman
82d5a63762
(fill-context-prefix): Accept a whitespace
...
prefix from the second line, regardless of the first line.
1997-08-07 20:51:57 +00:00
Richard M. Stallman
21942e0198
(adaptive-fill-first-line-regexp): Fix regexp.
1997-08-01 19:20:29 +00:00
Richard M. Stallman
c61005b96d
(fill-context-prefix): Be stricter about
...
whether first-line prefix is compatible with second-line prefix.
1997-07-27 19:56:21 +00:00
Richard M. Stallman
368d104a8a
Doc fixes.
1997-07-07 18:27:33 +00:00
Richard M. Stallman
b03ddefc2c
(fill-context-prefix): Fix previous change.
1997-06-18 20:26:21 +00:00
Richard M. Stallman
44a0dbd7cd
Fix previous change.
1997-06-17 21:47:30 +00:00
Richard M. Stallman
b5263b80d3
(fill-context-prefix): Fix criteria for first line,
...
and for second line; always fetch prefixes from both lines.
1997-06-17 21:46:40 +00:00
Richard M. Stallman
536d3fc556
(fill-context-prefix): Don't crash if RESULT is nil when AT-SECOND is t.
1997-06-12 18:42:28 +00:00
Richard M. Stallman
849f04e14d
(fill-context-prefix): If we get a prefix from the
...
second line of the paragraph, verify the first line has it too.
(adaptive-fill-regexp): Allow - and |;
allow spaces within the prefix. Allow numeric headings.
(adaptive-fill-first-line-regexp): New variable.
(fill-context-prefix): Use adaptive-fill-first-line-regexp.
If prefix from first line seems unreasonable, use whitespace instead.
Reject it entirely only if it is a paragraph-starter.
1997-06-11 06:51:29 +00:00
Kenichi Handa
c4cd8760a2
(enable-kinsoku): Name changed form do-kinsoku.
...
(fill-region-as-paragraph): Do `kinsoku' processing only if both
enable-kinsoku and enable-multibyte-characters are non-nil.
1997-05-17 02:01:42 +00:00
Richard M. Stallman
9d325ebf0d
Use defgroup and defcustom.
1997-05-05 15:00:53 +00:00
Karl Heuer
c9d611f447
(do-kinsoku): New variable.
...
(fill-region-as-paragraph): Handle `kinsoku' processing.
1997-02-20 05:33:51 +00:00
Richard M. Stallman
d7fa5aa239
Change defconsts to defvars.
1996-12-16 01:33:02 +00:00
Richard M. Stallman
7b9f06576b
(fill-individual-paragraphs): Don't get stuck
...
if no newline at the end of the region.
1996-05-31 04:17:02 +00:00
Richard M. Stallman
253996a892
(fill-region-as-paragraph): Fix the second check for
...
whether we reached the end of the paragraph.
1996-03-19 20:05:11 +00:00