1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
|
2002-01-29 Franois Pinard <pinard@iro.umontreal.ca>
* Pymacs/rebox.py: Use an interactions map instead of the
interaction attribute, so it works with earlier Python versions.
* Pymacs/rebox.py: Import lisp and Let from Pymacs.
2002-01-13 Franois Pinard <pinard@iro.umontreal.ca>
* Pymacs/rebox.py (Emacs_Rebox.emacs_engine): Expand flag value,
when it is neither the - symbol nor a number.
2002-01-08 Franois Pinard <pinard@iro.umontreal.ca>
* Pymacs/rebox.py (Template.build): Subtract margin from width
just before actually rebuilding the box.
Reported by Paul Provost.
2002-01-07 Franois Pinard <pinard@iro.umontreal.ca>
* Pymacs/rebox.py (main): Implement -v option.
* Pymacs/rebox.py (pymacs_load_hook): Declare set_default_style.
* Pymacs/rebox.py (Emacs_Rebox.clean_undo_after): Debugged.
* Pymacs/rebox.py (Template): New class. Reorgnise all code.
* Pymacs/rebox.py (engine): Moved out of Rebox class.
* Pymacs/rebox.py (Rebox, Batch_Rebox): Deleted, as they got empty.
* Pymacs/rebox.py (Emacs_Rebox.clean_undo_after): Rewrite in LISP.
2002-01-06 Franois Pinard <pinard@iro.umontreal.ca>
* rebox: New file.
2002-01-03 Franois Pinard <pinard@iro.umontreal.ca>
* Pymacs/rebox.py: New file, translated from Libit/rebox.el.
2000-09-28 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Replace statistical heuristics for box style recognition
by more precise checks and explicit priorities between styles. To do
so, add weights to rebox-templates, replace rebox-building-data by
rebox-style-data holding regexps, delete rebox-recognition-data.
* rebox.el (rebox-regexp-ruler): New function.
(rebox-regexp-quote): Add matching for following white space.
Don't force two characters on each middle line, nor in blank rulers.
Reported by Paul Provost.
2000-04-28 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-guess-style): When two styles have equal weight,
retain the highest numbered, as it probably is the richest.
Otherwise, simple C++ comments end up with a single slash.
Reported by Akim Demaille.
2000-04-19 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Reorganize from bottom-up into top-down.
(taarna-mode): Deleted.
2000-04-18 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-show-style, rebox-help-string-for-language,
rebox-help-string-for-quality, rebox-help-string-for-type): Deleted.
(rebox-rstrip, rebox-regexp-quote, rebox-unbuild): New functions.
(rebox-build): New name for rebox-reconstruct.
2000-04-15 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-guess-style): New function.
(rebox-engine): Use it. Simplified by using template information.
2000-04-14 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-templates): New variable.
(rebox-register-template): New function.
(rebox-reconstruct): Much simplified by using the above.
2000-04-12 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Rework the initial documentation block.
(rebox-reconstruct): Guarantee newline at end for style 241.
Reported by Marc Feeley and Paul Provost.
2000-02-22 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Little speed cleanup. Avoid looking-at when easy.
2000-02-10 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Adjust comment to suggest add-hook instead of setq.
Reported by Akim Demaille.
2000-01-30 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Prefer when, unless and cond over if and progn.
Combine successive setq.
* rebox.el (rebox-engine): Recognise quality for shell boxes.
Reported by Akim Demaille.
1999-06-30 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Add GPL comment.
Reported by Paul Eggert.
1998-03-28 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-reconstruct): Refill a closing */ with the rest.
Do not add spaces to a line which is otherwise empty.
1997-12-01 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-engine): Simplify two regexps, for XEmacs.
Reported by Ulrich Drepper.
1997-02-17 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-reconstruct): Ensure indent-tabs-mode is nil.
1997-02-14 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Corrected a bug demonstrated as the beginning line
of a paragraph spuriously jumping right spuriously. The full
match of the beginning of comment was replaced by spaces on the
initial line, while only \1 needed replacement. This shortened
this line, causing later nasty effects.
1996-07-10 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Recognise style 241, so margin does not get doubled.
Reported by Marc Feeley.
1996-07-09 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el: Use symbolic constants for language, quality and type.
1996-06-09 Franois Pinard <pinard@iro.umontreal.ca>
* rebox.el (rebox-find-and-narrow): Take care of a missing end of
line after a comment being at end of buffer.
Reported by Ulrich Drepper.
|