From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: bug killing regions with links Date: Mon, 14 Mar 2011 13:29:28 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=48939 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pz6uS-0007w1-G3 for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 08:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pz6uR-0004SH-01 for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 08:30:03 -0400 Received: from [85.183.18.158] (port=43893 helo=asus1015pem) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pz6uQ-0004Ql-Pz for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 08:30:02 -0400 Received: from shamrock by asus1015pem with local (Exim 4.72) (envelope-from ) id 1Pz6uv-0003TW-Tv for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 13:30:33 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode mailing list If I have an org entry with a line containing only an org "file: link", if I C-space at the start of the line to set mark, down arrow or C-n and then kill-region with C-w I would expect the entire line and link text to be copied to the clipboard and the line deleted (transient mode enabled). As it is it only deletes part of the link syntax leaving a corrupted link - it seems to only kill the description part of the link object and its closing bracket, not its opening one. Of course a workaround is C-k but I'm kind of hard coded to kill lines into the clipboard and I suspect the bug is probably larger than only links on a single line. regards r.