mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-30 09:57:47 +00:00
05794b13b3
* lisp/org-element.el (org-element-link-parser): Add :format property. Tiny refactoring. * testing/lisp/test-org-element.el (test-org-element/link-interpreter): Add one test. Update some others. Since the link format is lost during parsing, the interpreter can hardly handle nested links. Indeed, in that case, the inner link is interpreted as a bracket link, thus breaking the outer link. Another option could be to guess a safe format for the link to be interpreted. E.g., - any inner link could default to angle format unless it contains ">", it which case it would become a plain link; - other links would have the bracket format, unless they contain "][" or "]]". In any case, defining :format is less error prone and is similar to what entities and sub/super-scripts have for curly brackets. Reported-by: Thibault Marin <thibault.marin@gmx.com> <http://permalink.gmane.org/gmane.emacs.orgmode/109623> |
||
---|---|---|
.. | ||
test-ob-awk.el | ||
test-ob-C.el | ||
test-ob-emacs-lisp.el | ||
test-ob-exp.el | ||
test-ob-fortran.el | ||
test-ob-header-arg-defaults.el | ||
test-ob-lilypond.el | ||
test-ob-lob.el | ||
test-ob-lua.el | ||
test-ob-maxima.el | ||
test-ob-octave.el | ||
test-ob-perl.el | ||
test-ob-python.el | ||
test-ob-R.el | ||
test-ob-ruby.el | ||
test-ob-sed.el | ||
test-ob-shell.el | ||
test-ob-table.el | ||
test-ob-tangle.el | ||
test-ob.el | ||
test-org-attach-annex.el | ||
test-org-capture.el | ||
test-org-clock.el | ||
test-org-colview.el | ||
test-org-datetree.el | ||
test-org-element.el | ||
test-org-feed.el | ||
test-org-footnote.el | ||
test-org-inlinetask.el | ||
test-org-lint.el | ||
test-org-list.el | ||
test-org-macro.el | ||
test-org-pcomplete.el | ||
test-org-protocol.el | ||
test-org-src.el | ||
test-org-table.el | ||
test-org-timer.el | ||
test-org.el | ||
test-ox.el | ||
test-property-inheritance.el |