emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem opening links that span more than one line
@ 2011-03-08 18:53 Matt Lundin
  2011-03-08 18:56 ` Matt Lundin
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Lundin @ 2011-03-08 18:53 UTC (permalink / raw)
  To: Org Mode


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem opening links that span more than one line
  2011-03-08 18:53 Problem opening links that span more than one line Matt Lundin
@ 2011-03-08 18:56 ` Matt Lundin
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2011-03-08 18:56 UTC (permalink / raw)
  To: Org Mode

Matt Lundin <mdl@imapmail.org> writes:

> I find that I cannot open or edit bracket links that span more than one
> line. 

Correction: This should read "more than three lines".

- Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-08 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-08 18:53 Problem opening links that span more than one line Matt Lundin
2011-03-08 18:56 ` Matt Lundin

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).