emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Unable to select source code blocks


From: Eric Schulte
Subject: Re: [Orgmode] Unable to select source code blocks
Date: Fri, 25 Feb 2011 17:08:19 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Giorgio Valoti <address@hidden> writes:

> Il giorno 23/feb/2011, alle ore 08.19, Eric S Fraga ha scritto:
>
>>>> […]
>>>> 
>>>>> Hi,
>>>> 
>>>>> I don’t know if I’m missing something but I can’t get the
>>>>> org-babel-goto-named-src-block to work. When I invoke it on the sample
>>>>> file below the autocompletion shows nil and nothing else and if insert
>>>>> the source code block name I get a no match. I’m using org 7.4 with
>>>>> Emacs 23.2.
>>>>> 
>>>>> […]
>>>> 
>>>> this works just fine for me; I don't know what you mean by
>>>> autocompletion but I use ido-everywhere and both test and test2 appear
>>>> in the prompt for =org-babel-goto-named-src-block=.
>>> 
>>> Hi Eric,
>>> I don’t use ido-mode (maybe I should? Seems cool!). By autocomplete I meant 
>>> tab completion. 
>> 
>> Right.  I'm surprised that autocompletion doesn't work; if ido can find
>> the possible entries, autocompletion should also be able to, I would
>> have thought.
>> 
>> Maybe somebody else can chime in, somebody that doesn't use ido?
>> 
>> I do recommend ido in any case!
>
> The problem doesn’t seem related to the autocomplete system, it’s the
> org-babel-src-block-names function that returns an empty list. I don’t
> know why, the org-babel-src-name-w-name-regexp used by that function
> seems ok at a cursory look.
>

Could you attach a small file with named code blocks which aren't caught
by this function?  I just ran the following in by file of scraps of
code examples and got 60 names returned

#+begin_src emacs-lisp
  (length (org-babel-src-block-names))
#+end_src

Thanks -- Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]