emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Doors links
@ 2011-01-14 21:27 Vincent Belaïche
  2011-01-14 22:18 ` Christian Moe
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Belaïche @ 2011-01-14 21:27 UTC (permalink / raw)
  To: Org mode; +Cc: Vincent Belaïche

Hello,

I use Org also at my job to write some short reports. These reports may
contains URLs to Doors objects. Doors is a paying S/W to manage a
requirement data base --- this is used in the industry for
writing complex specification documents where each clause has to be
tracked like a separate object.

Doors URLs are not properly exported to HTML by Org.

for instance:

  [[doors:foo/bar/gnats][machin truc]]

exports to 

  <a href="#doors:foo/bar/gnats">machin truc</a>

but I would have prefered

  <a href="doors:foo/bar/gnats">machin truc</a>

Is there any way to configure Org to do the job properly (like some
hook URL processing hook), I could not find anything in the
documentation.

VBR,
   Vincent.

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

* Re: Doors links
  2011-01-14 21:27 Vincent Belaïche
@ 2011-01-14 22:18 ` Christian Moe
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Moe @ 2011-01-14 22:18 UTC (permalink / raw)
  To: Org Mode

Hi,

Try these:

[[info:org:Link abbreviations]]

[[info:org:Adding%20hyperlink%20types][info:org:Adding hyperlink types]]

Yours,
Christian

On 1/14/11 10:27 PM, Vincent Belaïche wrote:
> Hello,
>
> I use Org also at my job to write some short reports. These reports may
> contains URLs to Doors objects. Doors is a paying S/W to manage a
> requirement data base --- this is used in the industry for
> writing complex specification documents where each clause has to be
> tracked like a separate object.
>
> Doors URLs are not properly exported to HTML by Org.
>
> for instance:
>
>    [[doors:foo/bar/gnats][machin truc]]
>
> exports to
>
>    <a href="#doors:foo/bar/gnats">machin truc</a>
>
> but I would have prefered
>
>    <a href="doors:foo/bar/gnats">machin truc</a>
>
> Is there any way to configure Org to do the job properly (like some
> hook URL processing hook), I could not find anything in the
> documentation.
>
> VBR,
>     Vincent.
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

* RE: Doors links
@ 2011-01-16 21:11 Vincent Belaïche
  2011-01-17 18:23 ` [Accepted] " Bastien Guerry
  2011-01-17 20:17 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Belaïche @ 2011-01-16 21:11 UTC (permalink / raw)
  To: mail, Org mode; +Cc: Vincent Belaïche

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]



> Date: Fri, 14 Jan 2011 23:18:21 +0100
> From: mail@christianmoe.com
> To: emacs-orgmode@gnu.org
> Subject: Re: [Orgmode] Doors links
>
> Hi,
>
> Try these:
>
> [[info:org:Link abbreviations]]
>
> [[info:org:Adding%20hyperlink%20types][info:org:Adding hyperlink types]]
>
> Yours,
> Christian
>
[...]

Thanks, I will try that ! I think that the trick deserves a forward link
in the documentation. I made a patch to the doc, attached.

   Vincent.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org.diff --]
[-- Type: text/x-patch, Size: 518 bytes --]

diff --git a/doc/org.texi b/doc/org.texi
index 4d696ae..96e2e50 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -3093,6 +3093,8 @@ elisp:org-agenda                          @r{Interactive Elisp command}
 elisp:(find-file-other-frame "Elisp.org") @r{Elisp form to evaluate}
 @end example
 
+For customizing Org to add new link types @ref{Adding hyperlink types}.
+
 A link should be enclosed in double brackets and may contain a
 descriptive text to be displayed instead of the URL (@pxref{Link
 format}), for example:

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* [Accepted] Doors links
  2011-01-16 21:11 Doors links Vincent Belaïche
@ 2011-01-17 18:23 ` Bastien Guerry
  2011-01-17 20:17 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien Guerry @ 2011-01-17 18:23 UTC (permalink / raw)
  To: emacs-orgmode

Patch 542 (http://patchwork.newartisans.com/patch/542/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C80lj2kblkx.fsf%40gmail.com%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [Orgmode] Doors links
> Date: Mon, 17 Jan 2011 02:11:26 -0000
> From: =?utf-8?b?VmluY2VudCBCZWxhw69jaGUgPHZpbmNlbnQuYi4xQGhvdG1haWwuZnI+?=
> X-Patchwork-Id: 542
> Message-Id: <80lj2kblkx.fsf@gmail.com>
> To: mail@christianmoe.com, Org mode <emacs-orgmode@gnu.org>
> Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>
> 
> > Date: Fri, 14 Jan 2011 23:18:21 +0100
> > From: mail@christianmoe.com
> > To: emacs-orgmode@gnu.org
> > Subject: Re: [Orgmode] Doors links
> >
> > Hi,
> >
> > Try these:
> >
> > [[info:org:Link abbreviations]]
> >
> > [[info:org:Adding%20hyperlink%20types][info:org:Adding hyperlink types]]
> >
> > Yours,
> > Christian
> >
> [...]
> 
> Thanks, I will try that ! I think that the trick deserves a forward link
> in the documentation. I made a patch to the doc, attached.
> 
>    Vincent.
> 
> 
> diff --git a/doc/org.texi b/doc/org.texi
> index 4d696ae..96e2e50 100644
> --- a/doc/org.texi
> +++ b/doc/org.texi
> @@ -3093,6 +3093,8 @@ elisp:org-agenda                          @r{Interactive Elisp command}
>  elisp:(find-file-other-frame "Elisp.org") @r{Elisp form to evaluate}
>  @end example
>  
> +For customizing Org to add new link types @ref{Adding hyperlink types}.
> +
>  A link should be enclosed in double brackets and may contain a
>  descriptive text to be displayed instead of the URL (@pxref{Link
>  format}), for example:
> 

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

* Re: Doors links
  2011-01-16 21:11 Doors links Vincent Belaïche
  2011-01-17 18:23 ` [Accepted] " Bastien Guerry
@ 2011-01-17 20:17 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2011-01-17 20:17 UTC (permalink / raw)
  To: Vincent Belaïche; +Cc: Org mode, mail

Vincent Belaïche <vincent.b.1@hotmail.fr> writes:

> Thanks, I will try that ! I think that the trick deserves a forward link
> in the documentation. I made a patch to the doc, attached.

Applied, thanks!

-- 
 Bastien

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

end of thread, other threads:[~2011-01-17 20:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-16 21:11 Doors links Vincent Belaïche
2011-01-17 18:23 ` [Accepted] " Bastien Guerry
2011-01-17 20:17 ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2011-01-14 21:27 Vincent Belaïche
2011-01-14 22:18 ` Christian Moe

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