emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Suhail Singh <suhailsingh247@gmail.com>
Subject: Linking source files on worg (was: Re: [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source.)
Date: Thu, 12 Dec 2024 11:18:36 +0700	[thread overview]
Message-ID: <ec2fe64c-cb3d-4b9b-8e3b-017f45a3f60a@gmail.com> (raw)
In-Reply-To: <87ikrrwda7.fsf@localhost>

On 11/12/2024 02:25, Ihor Radchenko wrote:
> Ideally, we want to use a simple [[./file.org]] links. But it is
> actually tricky because of `org-html-link-org-files-as-html'.
> So, direct http link has to do for now.

I would say e.g. [[org-src:file.org]] while simple [[file:file.org]] is 
for the *exported* page.

I am unsure how many external sites have links to 
https://orgmode.org/worg/sources/* and whether it should be handled by a 
nginx redirection rule.

> Max Nikulin writes:
>> I recall a discussion whether a link to source file should be added to
>> every worg page.
> 
> Do you have a link to that discussion?

<https://list.orgmode.org/87wncxztzb.fsf@gmail.com/>
Tim Cross. Re: Serving .org files for worg (was: Re: Library of babel 
help) 2022-06-30 21:48 UTC
> My main issue is that having to know you can change the suffix from
> .html to .org in order to get the source is insufficient. It won't be
> obvious to many users and will only make some sense to experienced org
> users. I think the link should be obvious and I think the server
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> configuration should be set so that accessing the .org url gives a
> sensible result (i.e. prefer opening it as plain text to offering to
> download).

Accordingly to
<https://emacs.stackexchange.com/questions/19905/where-can-i-find-the-org-source-code-for-orgmode-org-manual-installation-html>
buttons to obtain .org files were there in the past

See at the bottom
<https://web.archive.org/web/20151218202033/http://orgmode.org/worg/index.html>


  reply	other threads:[~2024-12-12  4:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-29 16:26 [PATCH worg v2] ob-doc-gnuplot.org: Fix broken link to source Suhail Singh
2024-12-02 15:23 ` Max Nikulin
2024-12-02 19:32   ` Suhail Singh
2024-12-03 17:11     ` Max Nikulin
2024-12-10 19:25       ` Ihor Radchenko
2024-12-12  4:18         ` Max Nikulin [this message]
2024-12-05 15:44 ` Max Nikulin
2024-12-10 15:09   ` Suhail Singh

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=ec2fe64c-cb3d-4b9b-8e3b-017f45a3f60a@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=suhailsingh247@gmail.com \
    /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).