Nicolas Goaziou <n.goaz...@gmail.com> writes: > Hello, > > Jambunathan K <kjambunat...@gmail.com> writes: > >> Code snippets are not getting numbered... Also take a look at >> `org-export-resolve-coderef'. >> >> The below example is from (info "(org) Literal examples") >> >> #+BEGIN_SRC emacs-lisp -n -r >> (save-excursion (ref:sc) >> (goto-char (point-min)) (ref:jump) >> #+END_SRC >> >> In line [[(sc)]] we remember the current position. [[(jump)][Line (jump)]] >> jumps to point-min. > > Thank you for reporting it. > > The problem is one week old (dde6af3a6230b37aabfb4f75c2dee89433958375). > When trying to fix something I broke another part. > > IIUC, there are two "flags" types in `org-babel-exp-code'. One is > the :flags parameter and the other one are the switches of the source > block. Unfortunately, you can have only one at a time since they are > stored in an alist (the first one shadows the other one). > > I think a correct solution would be to rename switches "switches" and > add them to `org-babel-exp-code-template'. > > Eric, what do you think? >
That sounds reasonable to me. > > > Regards, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D