* [bug?, ob] finding tables with captions
@ 2015-02-16 21:09 Rasmus
2015-02-16 21:38 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2015-02-16 21:09 UTC (permalink / raw)
To: emacs-orgmode
Hi,
A caption seems to prevent Org from finding a table when using inline
calls. Consider this example:
#+NAME: tbl0
#+CAPTION: caption
| a | b |
|---+---|
| 1 | 2 |
src_emacs-lisp[:var val=tbl0[2,1]]{val} =nil=
#+CAPTION: caption
#+NAME: tbl1
| a | b |
|---+---|
| 1 | 2 |
src_emacs-lisp[:var val=tbl1[2,1]]{val} =2=
Is that a feature or a bug? Or me misusing ob?
—Rasmus
--
There are known knowns; there are things we know that we know
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [bug?, ob] finding tables with captions
2015-02-16 21:09 [bug?, ob] finding tables with captions Rasmus
@ 2015-02-16 21:38 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-02-16 21:38 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
Hello,
Rasmus <rasmus@gmx.us> writes:
> A caption seems to prevent Org from finding a table when using inline
> calls. Consider this example:
>
> #+NAME: tbl0
> #+CAPTION: caption
> | a | b |
> |---+---|
> | 1 | 2 |
>
> src_emacs-lisp[:var val=tbl0[2,1]]{val} =nil=
>
> #+CAPTION: caption
> #+NAME: tbl1
> | a | b |
> |---+---|
> | 1 | 2 |
>
> src_emacs-lisp[:var val=tbl1[2,1]]{val} =2=
>
> Is that a feature or a bug? Or me misusing ob?
Babel sometimes assumes NAME is just before the element considered, e.g.
"ob-core.el", l. 1940.
The library would benefit from using the parser consistently, but there
is much work left to do in that area.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-16 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 21:09 [bug?, ob] finding tables with captions Rasmus
2015-02-16 21:38 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.