From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Org mode links for helm Date: Sat, 24 May 2014 08:52:21 -1000 Message-ID: References: <8738fzu7iq.fsf@bzg.ath.cx> <86sinzboqt.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoH3w-0005Ie-Qt for emacs-orgmode@gnu.org; Sat, 24 May 2014 14:53:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoH3r-0008U9-6J for emacs-orgmode@gnu.org; Sat, 24 May 2014 14:52:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:49098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoH3q-0008U2-Vc for emacs-orgmode@gnu.org; Sat, 24 May 2014 14:52:51 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WoH3p-00056H-Km for emacs-orgmode@gnu.org; Sat, 24 May 2014 20:52:49 +0200 In-Reply-To: <86sinzboqt.fsf@somewhere.org> (Sebastien Vauban's message of "Sat, 24 May 2014 09:49:14 +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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Aloha Seb, Sebastien Vauban writes: > Bastien wrote: >> tsd-P0awH739Ni4AvxtiuMwx3w@public.gmane.org (Thomas S. Dye) writes: >> >>> Has anyone implemented a helm interface for Org-mode #+name lines? I >>> think it might be useful for inserting cross reference links. >> >> did you try >> https://github.com/emacs-helm/helm/blob/master/helm-org.el ? >> >> Maybe the authors can help I guess. > > The author, Thierry Volpiatto, does not support Helm-Org anymore, as > told in http://article.gmane.org/gmane.emacs.helm.user/617. > > BTW, it is only for the Org headlines, not for Org code block names. > > Though, this particular question has already gotten tentatives of > answers, see http://lists.gnu.org/archive/html/emacs-orgmode/2010-07/msg00712.html. > > I remember (thanks to Org!) having written the following in my .emacs file: > > #+begin_src emacs-lisp > ;; extension of Imenu > (when (and > ;; `org-babel' has been loaded > (fboundp 'org-babel-execute-src-block) > > ;; `imenu' has been loaded > (fboundp 'try-to-add-imenu)) > > (setq org-src-blocks-imenu-generic-expression > `(("Snippets" ,org-babel-src-name-w-name-regexp 2))) > > (add-hook 'org-mode-hook > (lambda () > (setq imenu-generic-expression > org-src-blocks-imenu-generic-expression)))) > #+end_src > > ... but I never saw any name of code chunk in the "IMenu" menu. > I only saw the headings of my current Org file. Thanks for this helpful information. I didn't know about imenu, but it appears to provide much of the functionality I'm after. All the best, Tom -- Thomas S. Dye http://www.tsdye.com