1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Stefan Monnier
bb7a346faa (ewoc--current-dll): Remove. Basically undo the change of 2006-05-26:
use extra arguments instead of dynamic scoping.
(ewoc-locate): Remove unused var `footer'.
2006-05-29 04:39:46 +00:00
Stefan Monnier
7ece7aba2b (ewoc--insert-new-node): Use ewoc--refresh-node. 2006-05-29 03:47:56 +00:00
Thien-Thi Nguyen
0741626e3f Commentary and whitespace munging; nfc. 2006-05-27 18:13:15 +00:00
Thien-Thi Nguyen
2bbacc0e1b (ewoc): Add member `hf-pp' to this structure.
(ewoc--wrap): New func.
(ewoc-create): Take additional arg NOSEP.  If nil, wrap node and
header/footer pretty-printers.  Save header/footer pretty-printer.
(ewoc-set-hf): Use ewoc's header/footer pretty-printer.
2006-05-27 17:39:38 +00:00
Thien-Thi Nguyen
7f934f3dda (ewoc--node): Don't define constructor
`make-ewoc--node' for this structure.
2006-05-27 11:16:18 +00:00
Thien-Thi Nguyen
63910b2311 (ewoc--node-branch): Merge into unique caller. 2006-05-27 10:10:35 +00:00
Thien-Thi Nguyen
ec491f9001 (ewoc-delete): Compute last node once before looping. 2006-05-27 09:37:13 +00:00
Thien-Thi Nguyen
f860b7216f (ewoc--create): No longer take
HEADER and FOOTER args.  Update unique caller.
2006-05-27 08:56:11 +00:00
Thien-Thi Nguyen
7dd2e64c5d (ewoc--current-dll): New var.
(ewoc--node-next, ewoc--node-prev, ewoc--node-nth): Don't
take DLL arg.  Instead, use `ewoc--current-dll'.  Update all callers.
(ewoc--set-buffer-bind-dll-let*): Bind `ewoc--current-dll', not `dll'.
(ewoc--adjust): Use `ewoc--current-dll'.
(ewoc-next, ewoc-prev, ewoc-nth): Bind `ewoc--current-dll'.
2006-05-26 08:31:36 +00:00
Thien-Thi Nguyen
f569c26e79 (ewoc-delete): New function.
(ewoc-filter): Use `ewoc-delete'.
2006-05-23 07:31:45 +00:00
Thien-Thi Nguyen
bb8d35a25e (ewoc-set-data): New func. 2006-05-22 05:41:48 +00:00
Thien-Thi Nguyen
3fe358978b (ewoc-create): Add autoload cookie. 2006-05-21 22:25:22 +00:00
Thien-Thi Nguyen
60eae434e8 (ewoc--adjust): New func.
(ewoc--insert-new-node): Don't insert trailing newline.
Instead, adjust succesor nodes' start markers.
(ewoc--refresh-node): Delete all text from current node's start
marker to the next one's; adjust successor nodes' start markers.
(ewoc--create): Doc fixes.
(ewoc--refresh): Don't insert newline.
(ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'.
2006-05-18 12:04:40 +00:00
Thien-Thi Nguyen
8433d47026 (ewoc-map, ewoc-invalidate): Compute PP before looping. 2006-05-17 10:38:15 +00:00
Thien-Thi Nguyen
8d1bec8de1 (ewoc-data): Add docstring.
(ewoc-nth): Doc fix.
2006-05-17 06:12:44 +00:00
Thien-Thi Nguyen
7f0ea399d1 (ewoc--node-enter-before, ewoc--create-node): Delete funcs.
(ewoc--insert-new-node): New func.
Update callers of deleted funcs to use it, instead.
2006-05-12 15:14:45 +00:00
Thien-Thi Nguyen
340d99457e (ewoc-refresh): Compute PP once before looping. 2006-05-12 07:29:42 +00:00
Thien-Thi Nguyen
bfbdb5cacf (ewoc--refresh-node): No longer save-excursion.
Update all callers to do it there, instead.
2006-05-11 08:02:11 +00:00
Thien-Thi Nguyen
2c246c9f1a (ewoc--dll-create, ewoc--node-delete)
(ewoc--node-enter-first, ewoc--node-enter-last)
(ewoc--delete-node-internal): Merge funcs into unique callers.
2006-05-10 08:02:21 +00:00
Thien-Thi Nguyen
b1c36c0fc7 (ewoc--set-buffer-bind-dll-let*): Use `with-current-buffer'. 2006-05-08 08:02:25 +00:00
Thien-Thi Nguyen
d91bd17cb6 (ewoc-create, ewoc-set-hf): Use `insert'
directly instead of a lambda expression that calls it.
2006-05-05 23:19:52 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Thien-Thi Nguyen
d4ddf7839c Doc fixes for public funcs:
"Returns" to "return", document useful return values, etc.
2005-06-11 20:33:28 +00:00
Juanma Barranquero
0111ab41ec (ewoc-create, ewoc-map, ewoc-locate, ewoc-invalidate, ewoc-collect):
Doc fixes.
(ewoc--create-node, ewoc--delete-node-internal):
Fix typos in docstring.
2004-06-16 23:50:03 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Stefan Monnier
21311ac9ec (ewoc--node-branch): Add docstring. 2002-09-19 05:11:48 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Sam Steingold
8a9463543d Converted backquote to the new style. 2001-11-27 15:52:52 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Stefan Monnier
6d84ac8587 (ewoc-goto-prev, ewoc-goto-next):
Don't pass default arg to ewoc-locate.
(ewoc-collect): Return result in the right order.
2000-11-06 07:13:07 +00:00
Stefan Monnier
10c471e6a3 (ewoc-location): New function.
(ewoc-enter-after, ewoc-enter-before): Document return value.
2000-10-15 05:16:36 +00:00
Stefan Monnier
44946a4c9e * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
(ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
Allow going past the last element.
* pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
(cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
(cvs-mouse-toggle-mark): Don't move point.
(cvs-revert-if-needed): Avoid re-eval of local variables and modes.
2000-08-16 20:27:39 +00:00
Stefan Monnier
cb3430a1f7 * pcvs.el: Add a minimal leading commentary.
(cvs-make-cvs-buffer): Change the header part by removing the startup
message and adding a `Module' entry.  Also replace the FOOTER and
HEADER special fileinfos with the new support in ewoc for updating
its own footer and header.
(cvs-update-header): Update to use the header/footer of the ewoc.
(cvs-mode): Use define-derived-mode and set truncate-lines to t.
(cvs-is-within-p): New function.
(cvs-mode-run): Take advantage of `save-some-buffers's new ability
to only examine some subset of the buffers.
* pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
`format' instead of our own ad-hoc functions.
Remove HEADER and FOOTER cases, now handled in the EWOC.
(cvs-fileinfo<): Remove HEADER and FOOTER cases.
* pcvs-parse.el (cvs-parse-run-table): Change message for unknown
output to avoid scaring the user.
(cvs-parse-table): Catch message for non-up-to-date commits.
* pcvs-defs.el (cvs-startup-message): Remove.
(cvs-global-menu): New autoloaded menu.
* pcvs-util.el (cvs-string-fill): Remove.
* emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
(ewoc--refresh-node): Don't take the whole EWOC but only the relevant
PP part of it and also make it work for footers and headers.
(ewoc-create): Drop POS and BUFFER arguments.
Use the DLL's dummy node to store the end-of-footer position.
(ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
(ewoc-refresh): Remove unused `header' variable.
(ewoc-(get|set)-hf): New functions.
2000-03-22 02:57:23 +00:00
Stefan Monnier
5b467bf4e2 *** empty log message *** 2000-03-11 03:51:31 +00:00