From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: copy-rectangle-to-kill-ring Date: Fri, 05 Jan 2007 10:35:04 -0700 Organization: IHS Message-ID: References: <459D4A35.3060403@zksw.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168018580 20223 80.91.229.12 (5 Jan 2007 17:36:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Jan 2007 17:36:20 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 05 18:36:14 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H2sz9-00070k-U4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jan 2007 18:36:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2sz9-00055X-Eb for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jan 2007 12:36:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2sz8-00055E-1M for bug-gnu-emacs@gnu.org; Fri, 05 Jan 2007 12:36:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2sz6-000549-JK for bug-gnu-emacs@gnu.org; Fri, 05 Jan 2007 12:36:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2sz6-000542-G5 for bug-gnu-emacs@gnu.org; Fri, 05 Jan 2007 12:36:04 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H2sz5-0001zP-Gq for bug-gnu-emacs@gnu.org; Fri, 05 Jan 2007 12:36:03 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H2sz1-0004vI-Or for bug-gnu-emacs@gnu.org; Fri, 05 Jan 2007 18:36:00 +0100 Original-Received: from 207.167.42.206 ([207.167.42.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Jan 2007 18:35:59 +0100 Original-Received: from ihs_4664 by 207.167.42.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Jan 2007 18:35:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 62 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.206 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <459D4A35.3060403@zksw.de> X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15510 Archived-At: Wilmar Igl wrote: > sorry, I don't want to be a nuisance. However, I'd like to suggest to > include a function to copy a rectangle into the kill ring which is not > available at the moment (only copy-rectangle-to-register). C-x r k C-x u ... C-x r y ,----[ C-h f kill-rectangle RET ] | kill-rectangle is an interactive compiled Lisp function in `rect.el'. | It is bound to C-x r k. | (kill-rectangle start end &optional fill) | | Delete the region-rectangle and save it as the last killed one. | | When called from a program the rectangle's corners are start and end. | You might prefer to use `delete-extract-rectangle' from a program. | | With a prefix (or a fill) argument, also fill lines where nothing has to be | deleted. | | If the buffer is read-only, Emacs will beep and refrain from deleting | the rectangle, but put it in the kill ring anyway. This means that | you can use this command to copy text from a read-only buffer. | (If the variable `kill-read-only-ok' is non-nil, then this won't | even beep.) | | [back] `---- ,----[ C-h k C-x u ] | C-x u runs the command advertised-undo | which is an alias for `undo' in `simple.el'. | It is bound to C-x u. | (advertised-undo &optional arg) | | Undo some previous changes. | Repeat this command to undo more changes. | A numeric argument serves as a repeat count. | | In Transient Mark mode when the mark is active, only undo changes within | the current region. Similarly, when not in Transient Mark mode, just C-u | as an argument limits undo to changes within the current region. | | [back] `---- ,----[ C-h f yank-rectangle RET ] | yank-rectangle is an interactive compiled Lisp function in `rect.el'. | It is bound to C-x r y. | (yank-rectangle) | | Yank the last killed rectangle with upper left corner at point. | | [back] `---- -- Kevin