emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: (org-babel-result-names) should not return nil [8.2.7c (8.2.7c-1-gf5065b-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140804/)]
@ 2014-09-03 13:47 Andrea Rossetti
  0 siblings, 0 replies; only message in thread
From: Andrea Rossetti @ 2014-09-03 13:47 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]


Hello everyone,

  if I create this org example: 


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-org, Size: 95 bytes --]

#+NAME: blah
#+BEGIN_SRC emacs-lisp :exports results
  (+ 2 3)
#+END_SRC

#+RESULTS: blah
: 5


[-- Attachment #3: Type: text/plain, Size: 718 bytes --]


  I can't execute the command

M-x org-babel-goto-named-result RET blah RET

  because "blah" is not listed in the available
choices.

  The problem seems to boil down to this function:

M-S-; (org-babel-result-names) RET

  I would expect two results in the message mode line,
but I only get a nil. 

  I explored function org-babel-result-names in ob-core.el,
the body contains a (match-string 4) but I believe it
should be changed into (match-string 6).

  If I apply that change, (org-babel-result-names) returns
two results, and org-babel-goto-named-result provides the
expected choice (just "blah" in the example).

  Is it reproducible for you as well? Does it make sense
for you too? Kindest regards,

Andrea

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-03 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-03 13:47 Bug: (org-babel-result-names) should not return nil [8.2.7c (8.2.7c-1-gf5065b-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140804/)] Andrea Rossetti

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).