From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Hafner Subject: Hyperlink to a string in an external text file Date: Mon, 17 Jan 2011 15:12:24 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=55050 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PexJM-0005H1-Jo for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 17:12:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PexJL-0007fd-LY for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 17:12:28 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:35544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PexJL-0007fK-Id for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 17:12:27 -0500 Received: by qwa26 with SMTP id 26so5062865qwa.0 for ; Mon, 17 Jan 2011 14:12:26 -0800 (PST) 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 According to the Org manual a link to an external org file can have the form "file:projects.org::some words" to allow a hyper jump to the first occurrence of "some words" within another org file. But why restrict this to org files? It seems this should work with any text file; and when I try the same thing with a LaTeX file, for example, "file:file.tex::\label{theorem-B}" where "file.tex" contains "\label{theorem-B}", it seems to work in the same way as for an external org file. Is this a feature I can rely on for any arbitrary text file? -steve