From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: 2rb1 Newsgroups: gmane.emacs.help Subject: Copy rectangle - strange side effect Date: Thu, 25 Oct 2012 08:48:59 -0700 (PDT) Message-ID: <1351180139167-268053.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1351180463 21649 80.91.229.3 (25 Oct 2012 15:54:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2012 15:54:23 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 25 17:54:31 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TRPlK-0002Qd-Me for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Oct 2012 17:54:26 +0200 Original-Received: from localhost ([::1]:47036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRPlD-00062M-2P for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Oct 2012 11:54:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRPg8-0004w6-KV for Help-gnu-emacs@gnu.org; Thu, 25 Oct 2012 11:49:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TRPg5-0007zP-FZ for Help-gnu-emacs@gnu.org; Thu, 25 Oct 2012 11:49:04 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:59849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRPg5-0007yw-Ao for Help-gnu-emacs@gnu.org; Thu, 25 Oct 2012 11:49:01 -0400 Original-Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TRPg3-0007xr-7g for Help-gnu-emacs@gnu.org; Thu, 25 Oct 2012 08:48:59 -0700 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 X-Mailman-Approved-At: Thu, 25 Oct 2012 11:54:15 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87422 Archived-At: Hi, I use the emacs kill/yank rectangle function a lot. Often I only need to copy something. kill+undo will of course do that; but involves quite some keystrokes. Thus, I tried to bind this to a key. I have not really used Lisp since many years ago at the University; but with the help from various sites and some describe function look-ups I ended up with this arrangement: (Just using kill and undo did not work). Seems to work; but once I use this command my kill-rectangle command does not work as required (deletes a little text to the right of the end instead of the rectangle). I have bound that one as follows: As stated above I am not experienced with Lisp nor the internal workings of Emacs - what did I miss? Using "+x r k" still works as it used to! /2rb1 -- View this message in context: http://emacs.1067599.n5.nabble.com/Copy-rectangle-strange-side-effect-tp268053.html Sent from the Emacs - Help mailing list archive at Nabble.com.