emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Clemente <n142857@gmail.com>
To: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: bug if link description contains percent sign (%)
Date: Mon, 24 Oct 2016 13:47:13 +0200	[thread overview]
Message-ID: <87insim0ji.wl-n142857@gmail.com> (raw)


With yesterday's org-mode: if I export (C-c C-o O O) this line of text, it fails because of the % character:

See [[file:/][the m%n syntax]].



Debugger entered--Lisp error: (error "Not enough arguments for format string")
  format(#("[[%s][the m%n syntax]]" 6 20 (:parent (link (:type "file" :path "/" :format bracket :raw-link "file:/" :application nil :search-option nil :begin 5 :end 31 :contents-begin 15 :contents-end 29 :post-blank 0 :parent (paragraph (:begin 1 :end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 :parent (section (:begin 1 :end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 :parent ...) #4)) #("See " 0 4 (:parent #4)) #2 #(".\n" 0 2 (:parent #4)))) #("the m%n syntax" 0 14 (:parent #2))))) "file:/")
  org-element-link-interpreter((link (:type "file" :path "/" :format bracket :raw-link "file:/" :application nil :search-option nil :begin 5 :end 31 :contents-begin 15 :contents-end 29 :post-blank 0 :parent (paragraph (:begin 1 :end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 :parent (section (:begin 1 :end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 :parent (org-data nil #4)) #2)) #("See " 0 4 (:parent #2)) #0 #(".\n" 0 2 (:parent #2)))) #("the m%n syntax" 0 14 (:parent #0))) #("the m%n syntax" 0 14 (:parent (link (:type "file" :path "/" :format bracket :raw-link "file:/" :application nil :search-option nil :begin 5 :end 31 :contents-begin 15 :contents-end 29 :post-blank 0 :parent (paragraph (:begin 1 :end 33 :contents-begin 1 :content
 s-end 33 :post-blank 0 :post-affiliated 1 :parent (section (:begin 1 :end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 :parent ...) #4)) #("See " 0 4 (:parent #4)) #2 #(".\n" 0 2 (:parent #4)))) #("the m%n syntax" 0 14 (:parent #2))))))
  org-org-link(…)
  org-export-data(…)



Greetings,

Daniel

             reply	other threads:[~2016-10-24 11:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 11:47 Daniel Clemente [this message]
2016-10-24 21:59 ` bug if link description contains percent sign (%) Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87insim0ji.wl-n142857@gmail.com \
    --to=n142857@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).