emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard G Riley <rileyrgdev@googlemail.com>
To: Carsten Dominik <dominik@uva.nl>
Cc: org-mode <emacs-orgmode@gnu.org>,
	Richard G Riley <rileyrgdev@googlemail.com>
Subject: Re: suggestion - follow-link
Date: Fri, 18 Jul 2008 22:12:21 +0200	[thread overview]
Message-ID: <dtvdz3kl3u.fsf@richardriley.net> (raw)
In-Reply-To: <83283042-B47E-4666-B1EE-383537FDD663@uva.nl> (Carsten Dominik's message of "Fri, 18 Jul 2008 12:50:51 -0700")

Carsten Dominik <dominik@uva.nl> writes:

> On Jul 18, 2008, at 12:19 PM, Richard G Riley wrote:
>
>> Carsten Dominik <dominik@uva.nl> writes:
>>
>>> On Jul 18, 2008, at 10:29 AM, Richard G Riley wrote:
>>>
>>>>
>>>> I would like to suggest that follow link (C-c C-o) defaults to
>>>> "index.org" when the link is merely a directory. e.g I prefer my
>>>> links
>>>> to be without the "index.html/org" part ,"./projects/", so that
>>>> "index.html" does not appear in the address bar when browsing the
>>>> published project. At present it will open dired in that directory.
>>>
>>> I do not want to give up that link into dired while working in
>>> Emacs - and I believe upon exporting, the link will end up pointing
>>> to the directory, which in HML will read index.html.
>>>
>>> - Carsten
>>
>> Yes, without the specific file, the browser will indeed default to
>> index.html. This is a standard - and what I use. It just means C-C C-o
>> does not open the link to the file. But if people prefer dired to come
>> up on such a link I can see that might be beneficial to some too.
>
>
> I depends on application.  In a web publishing project, I agree
> that opening index.org might be the most useful approach.
> However, when using Org for notes, planning etc, I frequently
> rely on the ability to link to a dired list of a directory.
> Maybe is is worth an option......
>
> - Carsten

Hmm. Yes, I am being a bit "html centric" here since that's what I'm
working. Maybe a nicer generic solution is to have a standard file
select in the minibuffer with completion when there is no file
name. Just hit enter then to select dired at that directory or "i TAB"
for index.org for example (I use icicles completion here). Not serious
or must have but maybe nice to have at some time.

  reply	other threads:[~2008-07-18 20:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 17:29 suggestion - follow-link Richard G Riley
2008-07-18 19:03 ` Carsten Dominik
2008-07-18 19:19   ` Richard G Riley
2008-07-18 19:50     ` Carsten Dominik
2008-07-18 20:12       ` Richard G Riley [this message]
2008-07-18 20:56         ` Carsten Dominik

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=dtvdz3kl3u.fsf@richardriley.net \
    --to=rileyrgdev@googlemail.com \
    --cc=dominik@uva.nl \
    --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).