1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Stefan Monnier
b9e81d0ac4 (move-to-column-force): Mark obsolete.
(operate-on-rectangle, delete-extract-rectangle-line)
(insert-rectangle, delete-whitespace-rectangle-line)
(open-rectangle-line, clear-rectangle-line): Use move-to-column.
(string-rectangle-history): New var.
(string-rectangle, string-insert-rectangle): Use it.
(delete-rectangle-line): Fix pos/column mixup and simplify.
2001-11-17 00:47:42 +00:00
Eli Zaretskii
aa01bed161 Update maintainer's email address. 2001-10-03 10:52:47 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
35f901fa57 (string-rectangle): Revert to 20.x behaviour.
(replace-rectangle): Make it an alias for string-rectangle.
(string-insert-rectangle): New function.
2001-04-24 10:57:05 +00:00
Dave Love
595dead24f (string-rectangle): Don't test delete-selection-mode. 2000-11-23 14:03:22 +00:00
Dave Love
197615f33f (string-rectangle): Revert last change.
(string-rectangle-line): New arg DELETE.
(string-rectangle): Check delete-selection-mode.
2000-11-22 17:33:21 +00:00
Gerd Moellmann
980d836ef4 (replace-rectangle): Don't call string-rectangle-line
with too many arguments.
2000-11-22 15:06:10 +00:00
Dave Love
74be0ade4c (open-rectangle-line): Remove unused let. 2000-07-18 12:50:38 +00:00
Dave Love
852eeeafd2 2000-09-01 Didier Verna <didier@xemacs.org>
* rect.el (replace-rectangle): New function.
2000-03-09 22:50:30 +00:00
Dave Love
7db6139adb (delete-extract-rectangle): Doc fix from verna. 1999-08-23 16:14:59 +00:00
Dave Love
e037c34cee Add/fix various doc strings. Add `*' to all the interactive specs. 1999-08-23 14:28:34 +00:00
Karl Heuer
6e1e8dbcd1 (delete-rectangle-line): Use line-end-position. 1999-08-16 20:38:36 +00:00
Richard M. Stallman
e417c66fa3 All functions rewritten, except when noted above
their declaration.  Below is a list of interface changes.
(apply-on-rectangle): New function, mostly replaces
`operate-on-rectangle'.  All callers changed.
(move-to-column-force): Pass new second argument to `move-to-column'.
(kill-rectangle): Added optional prefix arg to fill lines.
(delete-rectangle): Ditto.
(delete-whitespace-rectangle): Ditto.
(delete-extract-rectangle): Ditto.
(open-rectangle): Ditto.
(clear-rectangle): Ditto.
(delete-whitespace-rectangle-line): New function.
(delete-rectangle-line): Added third arg FILL.
(delete-extract-rectangle-line): Ditto.
(open-rectangle-line): Ditto.
(clear-rectangle-line): Ditto.
1999-08-03 18:36:16 +00:00
Andreas Schwab
ee9ec2a52c (delete-whitespace-rectangle): Mark for autoload.
(close-rectangle): Define alias only once in loaddefs.el.
1998-12-03 09:35:24 +00:00
Kenichi Handa
e40261d0c4 (move-to-column-force): New function.
(operate-on-rectangle): If coerce-tabs is non-nil, call
move-to-column-force instead of move-to-column.
(insert-rectangle): Call move-to-column-force instead of
move-to-column.
(open-rectangle-line): If begextra is not zero, call
move-to-column-force.
1998-11-24 03:52:08 +00:00
Karl Heuer
b4de43a303 (delete-whitespace-rectangle): close-rectangle renamed.
(close-rectangle): Define as alias.
1998-11-05 19:12:21 +00:00
Richard M. Stallman
eb148b90e2 (string-rectangle-line): Delete the rectangle first.
(string-rectangle): Doc fix.
1998-06-06 17:52:43 +00:00
Richard M. Stallman
3d1b97838e (string-rectangle-string): New variable.
(string-rectangle): Bind it.
(string-rectangle-line): Use it.
(operate-on-rectangle-lines): New variable.
(extract-rectangle-line): Update it.
(delete-extract-rectangle, extract-rectangle): Bind and use it.
1998-05-24 17:04:55 +00:00
Richard M. Stallman
ecb079ed6d (close-rectangle): New command. 1998-05-24 00:52:38 +00:00
Richard M. Stallman
daabd79508 (operate-on-rectangle): If we overshoot when looking for endcol, back up. 1997-09-03 21:09:39 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
b6c1b08c69 (string-rectangle): Don't set point. 1994-11-09 22:54:15 +00:00
Richard M. Stallman
db03492ec0 (kill-rectangle): In read-only buffer, do record
the rectangle for later yanking.
1994-10-02 23:57:56 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
bc8ea5430e (string-rectangle): Make operate-on-rectangle convert tabs.
(string-rectangle-line): After inserting string, insert the same
width of whitespace that we deleted earlier.
(operate-on-rectangle): Operate even if width is 0.
(open-rectangle-line): Clean up.
1994-02-05 02:19:28 +00:00
Richard M. Stallman
ccb629e40b (string-rectangle): Renamed from fill-rectangle.
(string-rectangle-line): Renamed from fill-rectangle-line.
1993-05-03 15:01:18 +00:00
Eric S. Raymond
131ca136d1 (fill-rectangle) Added. Inspired by Lynn Slater's insert-box package in LCD,
but the interface and implementation are different.
1993-03-27 01:58:26 +00:00
Eric S. Raymond
edbd2f74bc Added or corrected Commentary sections 1993-03-22 05:42:35 +00:00
Jim Blandy
08ce70d1ab * rect.el (operate-on-rectangle): Use move-to-column's FORCE
argument instead of implementing it ourselves.
	(rectangle-coerce-tab): No longer used; deleted.

	* rect.el (open-rectangle): Leave point at the upper corner of the
	rectangle just opened, in imitation of open-line.  Fix doc typo.
	(open-rectangle-line): Use skip-chars-backward's LIM argument to
	leave spaces before the line segment's beginning undisturbed.

	* rect.el: Provide 'rect.
1992-11-16 01:40:15 +00:00
Richard M. Stallman
23317eaca1 (insert-rectangle): Put mark at upper left corner. 1992-11-03 22:25:28 +00:00
Eric S. Raymond
9750e079dd entered into RCS 1992-07-22 04:22:30 +00:00
Eric S. Raymond
d7b4d18fd4 *** empty log message *** 1992-07-17 20:24:00 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
4821e2af02 *** empty log message *** 1992-07-15 23:29:10 +00:00
Eric S. Raymond
6594deb0dc *** empty log message *** 1992-05-30 22:12:04 +00:00
Jim Blandy
f9f9507e1d *** empty log message *** 1991-05-09 21:50:55 +00:00
Richard M. Stallman
573f9b32b9 *** empty log message *** 1991-04-12 20:15:51 +00:00
Joseph Arceneaux
a2535589a9 Initial revision 1989-10-31 16:00:07 +00:00