From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: suggestion - follow-link Date: Fri, 18 Jul 2008 13:56:40 -0700 Message-ID: <26D0503B-E4A0-40ED-9EC8-8FFF1E59434E@uva.nl> References: <6kprpbaynj.fsf@richardriley.net> <32B3C02D-75EB-4ED8-BF02-B66D0CCD4084@uva.nl> <83283042-B47E-4666-B1EE-383537FDD663@uva.nl> Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJx0S-0005gR-4u for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 16:56:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJx0P-0005f0-Ck for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 16:56:46 -0400 Received: from [199.232.76.173] (port=52184 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJx0P-0005ew-72 for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 16:56:45 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:28361) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJx0O-0007Zk-SZ for emacs-orgmode@gnu.org; Fri, 18 Jul 2008 16:56:45 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard G Riley Cc: org-mode On Jul 18, 2008, at 1:12 PM, Richard G Riley wrote: > Carsten Dominik writes: > >> On Jul 18, 2008, at 12:19 PM, Richard G Riley wrote: >> >>> Carsten Dominik 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. No, I prefer an option. It is not a good idea to be bothered with this decision each time you want to follow a link. Implemented in the git repo. - Carsten