From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafal Subject: Re: Links to C/C++ source code lines Date: Sat, 29 Oct 2011 14:36:07 +0000 (UTC) Message-ID: References: <87sjmmmes4.fsf@gnu.org> <87obx16sq2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKA1J-000109-Cj for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 10:36:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKA1G-00087n-3B for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 10:36:25 -0400 Received: from lo.gmane.org ([80.91.229.12]:60111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKA1F-00087j-UM for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 10:36:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RKA1E-0000H2-5U for emacs-orgmode@gnu.org; Sat, 29 Oct 2011 16:36:20 +0200 Received: from nat2-32.ghnet.pl ([91.150.223.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 16:36:20 +0200 Received: from rafflo by nat2-32.ghnet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 16:36:20 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien altern.org> writes: > > > >> Looks nice, thanks. Just wondering: are you aware of the "A.3 Adding > >> hyperlink types" section in the manual? You core uses advice instead > >> of the `org-add-link-type' function -- is that on purpose? > > > > No, I missed that paragraph. That would be a cleaner solution- > > I'll take a look at it. Thank for the hint! > I updated the code to get rid of the advice. I didn't introduce any new link type so didn't use the `org-add-link-type'. Instead I used the `org-store-link-functions' hook in place of the `org-create-file-search-functions' and that seems to work fine. Also I changed the name of the tool to org-cc-link.el to reflect the usage of the cc-engine library. The new version is here http://rafflo.w.interia.pl/org-cc-link.el regards, Rafal