From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Yanking the descriptive part of a link Date: Tue, 17 Apr 2007 23:58:24 +0200 Message-ID: <87d5227jen.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hdvln-00021B-3e for emacs-orgmode@gnu.org; Tue, 17 Apr 2007 18:03:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hdvlk-00020y-PK for emacs-orgmode@gnu.org; Tue, 17 Apr 2007 18:03:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hdvlk-00020v-K9 for emacs-orgmode@gnu.org; Tue, 17 Apr 2007 18:03:24 -0400 Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hdvgy-0001Xe-NH for emacs-orgmode@gnu.org; Tue, 17 Apr 2007 17:58:28 -0400 Received: by ug-out-1314.google.com with SMTP id j3so266042ugf for ; Tue, 17 Apr 2007 14:58:27 -0700 (PDT) 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@gnu.org Hi list, i came accross this situation several times: i have a (long) link in an org-mode buffer and want to label it by yanking some text. My first move was to select the link as the region and try C-u C-c C-l on it, since org-insert-link does just the opposite : it takes the region as the default label for some link you want to yank. But the universal argument of C-c C-l makes org-insert-link deal with file names. Does anybody know any automated way to yank text as the descriptive-part of an org-mode link ? Thanks ! -- Bastien