[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fill-paragraph vs. financial institutions
From: |
Richard Stallman |
Subject: |
Re: fill-paragraph vs. financial institutions |
Date: |
Sun, 03 Sep 2006 11:17:10 -0400 |
Now you've really done it. M-x fill-paragraph on
487.2875,
487.3375,
487.4000,
...
gives
487.2875, 3375, 4000, 4500, 4750, 5250, 5500, 6000, 7250, 8000, 8500,
487.8750,
adaptive-fill-regexp has an explicit alternative to match prefixes
such as `NNN.' This would only apply in the case where the first two
lines of a paragraph both start that way.
Maybe we should delete that case. Is that really a case that people
use? In some kinds of outlines, the first line of a paragraph would
start that way, but you wouldn't put the prefix on every line.
Can anyone think of a reason why we should keep this case?
I propose therefore the following change. Does anyone see a problem in it?
*** fill.el 09 Jul 2006 12:00:39 -0400 1.189
--- fill.el 03 Sep 2006 06:51:42 -0400
***************
*** 89,95 ****
(defcustom adaptive-fill-regexp
;; Added `!' for doxygen comments starting with `//!' or `/*!'.
;; Added `%' for TeX comments.
! (purecopy "[ \t]*\\([-!|#%;>*·â¢â£ââŠ]+[ \t]*\\|(?[0-9]+[.)][
\t]*\\)*")
"*Regexp to match text at start of line that constitutes indentation.
If Adaptive Fill mode is enabled, a prefix matching this pattern
on the first and second lines of a paragraph is used as the
--- 89,96 ----
(defcustom adaptive-fill-regexp
;; Added `!' for doxygen comments starting with `//!' or `/*!'.
;; Added `%' for TeX comments.
! ;; RMS: deleted the code to match `1.' and `(1)'.
! "[ \t]*\\([-!|#%;>*·â¢â£ââŠ]+[ \t]*\\)*"
"*Regexp to match text at start of line that constitutes indentation.
If Adaptive Fill mode is enabled, a prefix matching this pattern
on the first and second lines of a paragraph is used as the
- Re: fill-paragraph vs. financial institutions,
Richard Stallman <=