1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

56 Commits

Author SHA1 Message Date
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Eli Zaretskii
a8bcc348b1 (spaces-string): Simplify and add doc string. 2006-08-18 12:07:38 +00:00
Eli Zaretskii
5c831ccdac (kill-rectangle): Don't barf if `kill-read-only-ok' is set.
(delete-extract-rectangle-line): Use `filter-buffer-substring' instead of
`buffer-substring' and `delete-region'.  (Most of the code actually copied
from `kill-region'.)
2006-04-08 10:30:52 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
b29b5c248b (delete-rectangle-line, delete-extract-rectangle-line)
(open-rectangle, delete-whitespace-rectangle-line)
(clear-rectangle-line): If FILL, pass t instead of FILL
for move-to-column's 3nd arg.
2005-01-29 17:26:39 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Juanma Barranquero
df2801ecdd (move-to-column-force): Add autoload cookie to obsolescence declaration. 2002-07-18 06:14:35 +00:00
Juanma Barranquero
92e306372a (move-to-column-force): Likewise. 2002-06-27 16:09:51 +00:00
Markus Rost
b3a4edce1f (close-rectangle): Don't hide it behind the autoload-cookie. 2002-05-07 19:30:21 +00:00
Richard M. Stallman
afa0467f08 (insert-rectangle): Use insert-for-yank. 2002-04-19 00:23:08 +00:00
Richard M. Stallman
0c54cd99f5 (replace-rectangle): Add autoload. 2002-03-28 18:26:36 +00:00
Richard M. Stallman
7dfee0293d (clear-rectangle-line): Reindent to the same column
that move-to-column reached when it tried to go to endcol.
2002-02-26 16:05:48 +00:00
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