From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Jackson Subject: Re: bug in org-store-link Date: Wed, 27 Feb 2008 20:57:24 +0000 Message-ID: <87ir0a5d8r.fsf@shellarchive.co.uk> References: <47C47935.7010800@u.washington.edu> <11120.1204129231@alphaville.zko.hp.com> <47C5C80A.1030601@u.washington.edu> 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 1JUTLP-0000dG-Az for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 15:57:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUTLJ-0000aK-P4 for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 15:57:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUTLJ-0000a9-IB for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 15:57:33 -0500 Received: from a.painless.aaisp.net.uk ([81.187.30.51]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JUTLJ-0006KD-7C for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 15:57:33 -0500 In-Reply-To: <47C5C80A.1030601@u.washington.edu> (Scott Otterson's message of "Wed, 27 Feb 2008 12:28:58 -0800") 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: Scott Otterson Cc: emacs-orgmode@gnu.org Scott Otterson writes: [...] > + expand matching pattern outwards until matching uniqueness is > assured across the whole file This isn't foolproof as an identical line could be added later leaving us with much the same problem. > + store line number This actually is already possible, but not the default behaviour for org-store-link. Also, from the manual: ,----[ org.html#Handling-links ] | If there is an active region, the selected words will form the basis of | the search string. `---- Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk