On Wed, 01 Jun 2005 at 09:50 GMT, Hattuari wrote: > Am I overlooking something, or is there no command in Emacs to copy a > rectangle into the last killed rectangle "special place" without also > removing it from the current buffer? I gotta tell y'all, XEmacs has better > rectangle support than Emacs. ;)
(defun copy-rectangle-as-kill () (interactive) (save-excursion (kill-rectangle (mark) (point)) (exchange-point-and-mark) (yank-rectangle))) -- Chris F.A. Johnson <http://cfaj.freeshell.org> ================================================================== Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress <http://www.torfree.net/~chris/books/cfaj/ssr.html> _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs