From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug in org-store-link Date: Thu, 28 Feb 2008 00:05:18 +0100 Message-ID: <85A8E0A8-D347-49C7-93D4-6770DC9CDC8C@science.uva.nl> References: <47C47935.7010800@u.washington.edu> <11120.1204129231@alphaville.zko.hp.com> <47C5C80A.1030601@u.washington.edu> <87ir0a5d8r.fsf@shellarchive.co.uk> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: multipart/mixed; boundary="===============0754725710==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUVL3-0007LE-Fs for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:05:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUVL2-0007Kg-CO for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:05:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUVL2-0007KZ-5J for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:05:24 -0500 Received: from fk-out-0910.google.com ([209.85.128.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUVL1-0004Wa-Gb for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:05:23 -0500 Received: by fk-out-0910.google.com with SMTP id 26so3553218fkx.10 for ; Wed, 27 Feb 2008 15:05:22 -0800 (PST) In-Reply-To: <87ir0a5d8r.fsf@shellarchive.co.uk> 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: Phil Jackson Cc: Scott Otterson , emacs-orgmode@gnu.org --===============0754725710== Content-Type: multipart/alternative; boundary=Apple-Mail-2-360535268 --Apple-Mail-2-360535268 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Feb 27, 2008, at 9:57 PM, Phil Jackson wrote: > 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. > `---- Org-mode has an extension mechanism that can be used to built custom searches for file links. Maybe someone would enjoy writing an extension, and if it works well we could consider making it more standard. Take a look at http://orgmode.org/manual/Custom-searches.html#Custom-searches and at the bibtex-related code in org.el. Cheers - Carsten --Apple-Mail-2-360535268 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Feb 27, 2008, = at 9:57 PM, Phil Jackson wrote:

Scott = Otterson <scotto@u.washington.edu> = 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.
`----

Org-mode has an extension = mechanism that can be used to built custom searches
for file = links.  Maybe someone would enjoy writing an = extension,
and if it works well we could consider making it = more standard.

Take a look a= t ht= tp://orgmode.org/manual/Custom-searches.html#Custom-searches
and at the = bibtex-related code in org.el.

Cheers

- = Carsten

= --Apple-Mail-2-360535268-- --===============0754725710== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0754725710==--