From: Matt Lundin <mdl@imapmail.org>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Problem opening links that span more than one line
Date: Tue, 08 Mar 2011 13:53:17 -0500 [thread overview]
Message-ID: <878vwpfnqa.fsf@fastmail.fm> (raw)
I find that I cannot open or edit bracket links that span more than one
line. For example, org-capture often generates link with a long
description. If the link is part of a filled paragraph, the link will
often span 5 to 10 lines. Even though it properly fontifies and exports
such links, org-insert-link and org-open-at-point cannot handle them.
The problematic lines are in org.el:
In org-insert-link:
8808: ((org-in-regexp org-bracket-link-regexp 1)
In org-open-at-point:
9215: (when (org-in-regexp org-bracket-link-regexp 1)
Would it be possible to set a saner default value than 1 here? As it
stands org-mode only looks for the link across a total of 3 lines. A
parameter of 5, for instance, would allow links to span 10 lines.
Best,
Matt
next reply other threads:[~2011-03-08 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 18:53 Matt Lundin [this message]
2011-03-08 18:56 ` Problem opening links that span more than one line Matt Lundin
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=878vwpfnqa.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--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).