aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes/fill.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (fill-find-break-point): Delete codes forKenichi Handa1999-12-151-11/+3
| | | | | composite characters. (fill-region-as-paragraph): Likewise.
* (fill-region-as-paragraph, canonically-space-region):Richard M. Stallman1999-09-081-5/+11
| | | | Respect colon-double-space at end of line.
* (fill-individual-paragraphs): Calculate newKarl Heuer1999-07-301-0/+7
| | | | | fill prefix on each line while looping to the end of paragraph. End paragraph if it's longer than the existing fill prefix.
* (fill-context-prefix): Doc fix.Karl Heuer1999-07-301-1/+1
|
* (fill-region-as-paragraph): Fix previous change.Karl Heuer1999-07-271-3/+7
|
* (fill-region-as-paragraph): Fix previous change.Kenichi Handa1999-07-261-4/+3
|
* (fill-region-as-paragraph): Fix previous change.Kenichi Handa1999-07-261-2/+1
|
* (fill-region-as-paragraph): Avoid backing upKenichi Handa1999-07-231-1/+5
| | | | before left margin and fill-prefix by fill-find-break-point.
* (canonically-space-region, justify-current-line): Add * to interactiveDave Love1999-07-201-12/+22
| | | | | | | spec. (fill-region-as-paragraph, fill-paragraph, fill-region) (fill-nonuniform-paragraphs, fill-individual-paragraphs): Check readonly buffer in interactive spec.
* (sentence-end-double-space): Doc fix.Dave Love1999-03-121-1/+4
|
* (fill-region-as-paragraph): While deleting aKenichi Handa1999-01-051-0/+4
| | | | | newline in multibyte buffer, if previous or next character is a composite char, check the first component of the composite char.
* (sentence-end-without-period): New variable.Kenichi Handa1998-10-211-29/+58
| | | | | | | | | (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.
* Setup `fill-find-break-point-function'Kenichi Handa1998-10-191-7/+35
| | | | | | | | 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.
* (fill-individual-paragraphs-prefix):Karl Heuer1998-09-301-0/+1
| | | | Avoid nil value of `two-lines-citation-part'
* (fill-individual-paragraphs): Before deletingKarl Heuer1998-09-041-1/+2
| | | | the inserted newline, verify that one was really inserted.
* (fill-individual-paragraphs-prefix): NewRichard M. Stallman1998-07-131-45/+69
| | | | | | | | 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.
* (fill-individual-paragraphs): Fix previous change.Richard M. Stallman1998-07-091-7/+5
|
* (fill-individual-paragraphs): If JUST-ONE-LINE-PREFIX matchesRichard M. Stallman1998-07-041-2/+13
| | | | | TWO-LINES-PREFIX except with longer whitespace, treat that as a match even is spaces are replaced with a tab.
* (fill-paragraph):Richard M. Stallman1998-06-051-1/+4
| | | | Bind fill-paragraph-function to nil, if it doesn't do the job.
* (fill-region-as-paragraph):Richard M. Stallman1998-05-231-6/+6
| | | | Don't add a newline at the end, when there is none.
* (justify-current-line): Use new algorithm to apportion the spaces to be added.Richard M. Stallman1998-04-231-17/+24
|
* (fill-region-as-paragraph, fill-region): Allow t as legit value of JUSTIFY.Richard M. Stallman1998-03-141-3/+5
|
* (fill-nobreak-predicate): New variable.Richard M. Stallman1998-03-091-8/+20
| | | | (fill-region-as-paragraph): Obey fill-nobreak-predicate.
* (fill-region): If JUSTIFY is non-nilRichard M. Stallman1998-03-081-2/+9
| | | | | and not a known value, treat it as `full'. (fill-region-as-paragraph): Likewise.
* (fill-region-as-paragraph): Fix the test for anyRichard M. Stallman1998-02-031-3/+3
| | | | non-ASCII characters, for deciding whether to do kinsoku.
* (fill-individual-paragraphs): Don't getKarl Heuer1997-11-151-3/+5
| | | | | confused in paragraph loop if we start on the last line and it has no final newline.
* (fill-region-as-paragraph): Fix bug ofKenichi Handa1997-11-081-6/+20
| | | | | handling the case that English letters are followed by such characters as Japanese and Chinese.
* (canonically-space-region): Doc fix.Richard M. Stallman1997-09-141-9/+48
| | | | | | | | | | (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.
* (fill-individual-paragraphs): Don't includeRichard M. Stallman1997-09-081-1/+7
| | | | paragraph-separate lines in any paragraph; just skip them.
* (fill-individual-paragraphs): Fix handlingRichard M. Stallman1997-08-181-7/+8
| | | | | of adaptive-fill. Call fill-context-prefix, but bind adaptive-fill-first-line-regexp to a null string.
* (fill-region-as-paragraph):Richard M. Stallman1997-08-121-2/+4
| | | | When justifying, cope if line ends in spaces and no newline.
* (enable-kinsoku): Doc fix.Richard M. Stallman1997-08-091-5/+9
|
* (fill-context-prefix): Accept a whitespaceRichard M. Stallman1997-08-071-3/+3
| | | | prefix from the second line, regardless of the first line.
* (adaptive-fill-first-line-regexp): Fix regexp.Richard M. Stallman1997-08-011-1/+1
|
* (fill-context-prefix): Be stricter aboutRichard M. Stallman1997-07-271-3/+5
| | | | whether first-line prefix is compatible with second-line prefix.
* Doc fixes.Richard M. Stallman1997-07-071-0/+3
|
* (fill-context-prefix): Fix previous change.Richard M. Stallman1997-06-181-1/+1
|
* Fix previous change.Richard M. Stallman1997-06-171-1/+1
|
* (fill-context-prefix): Fix criteria for first line,Richard M. Stallman1997-06-171-35/+50
| | | | and for second line; always fetch prefixes from both lines.
* (fill-context-prefix): Don't crash if RESULT is nil when AT-SECOND is t.Richard M. Stallman1997-06-121-4/+5
|
* (fill-context-prefix): If we get a prefix from theRichard M. Stallman1997-06-111-13/+51
| | | | | | | | | | | 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.
* (enable-kinsoku): Name changed form do-kinsoku.Kenichi Handa1997-05-171-4/+7
| | | | | (fill-region-as-paragraph): Do `kinsoku' processing only if both enable-kinsoku and enable-multibyte-characters are non-nil.
* Use defgroup and defcustom.Richard M. Stallman1997-05-051-14/+32
|
* (do-kinsoku): New variable.Karl Heuer1997-02-201-8/+54
| | | | (fill-region-as-paragraph): Handle `kinsoku' processing.
* Change defconsts to defvars.Richard M. Stallman1996-12-161-6/+6
|
* (fill-individual-paragraphs): Don't get stuckRichard M. Stallman1996-05-311-1/+4
| | | | if no newline at the end of the region.
* (fill-region-as-paragraph): Fix the second check forRichard M. Stallman1996-03-191-2/+4
| | | | whether we reached the end of the paragraph.
* (fill-context-prefix): Unused var `eol' deleted.Richard M. Stallman1996-03-171-2/+1
|
* Comment change.Richard M. Stallman1996-03-021-1/+1
|
* (fill-region-as-paragraph): Doc fix.Erik Naggum1996-02-221-1/+1
|