From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: link description <-- selected text? Date: Sun, 14 Jan 2007 09:51:47 -0800 Message-ID: <45AA6DB3.50405@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H69WZ-00012r-Gq for emacs-orgmode@gnu.org; Sun, 14 Jan 2007 12:52:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H69WY-00010B-0Y for emacs-orgmode@gnu.org; Sun, 14 Jan 2007 12:52:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H69WX-0000zw-Rf for emacs-orgmode@gnu.org; Sun, 14 Jan 2007 12:52:05 -0500 Received: from [66.111.4.29] (helo=out5.smtp.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H69WX-0007z1-F2 for emacs-orgmode@gnu.org; Sun, 14 Jan 2007 12:52:05 -0500 Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id BB01B7B246 for ; Sun, 14 Jan 2007 12:52:03 -0500 (EST) Received: from [192.168.1.101] (unknown [209.91.60.150]) by mail.messagingengine.com (Postfix) with ESMTP id 47EB8147F9 for ; Sun, 14 Jan 2007 12:52:03 -0500 (EST) 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 Here's a feature request: If text is selected when the create link command is invoked (C-c C-l), then the selected text becomes the default contents for the link description mini-buffer. If no text is selected, the description mini-buffer is blank, as it is now. This would reduce substantially keystrokes for my usual style of editing, which is to first type in the outline text and then to go back and sprinkle it with links to references (to websites, bib entries, lines of code...). For example, suppose I have written this sentence: "Implement the RLS algorithm" And, suppose I've already stored a link to an RLS paper by typing C-l in in my bib file. Then, while in the outline buffer, I'd like to be able to select the text "RLS algorithm", and then hit: C-c C-l (creates link minibuffer) (enters stored link) (enters selected text as link description) As soon as it occurred to me that this would make org-mode more efficient, I realized that this is how other standard programs already handle html references; I'd guess that many would already be familiar with this small change in org-mode behavior. Thanks for all the good work, Scott