From mboxrd@z Thu Jan 1 00:00:00 1970 From: timor Subject: Re: HTML Export of Links to Source Blocks seems broken Date: Mon, 20 Jun 2016 15:07:53 +0200 Message-ID: References: <874m8sxngx.fsf@saiph.selenimh> <87r3bwvxke.fsf@saiph.selenimh> <87fus82fai.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEyvk-0003B4-Hm for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 09:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEyvj-0002LP-Dg for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 09:07:56 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:34796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEyvj-0002LL-6M for emacs-orgmode@gnu.org; Mon, 20 Jun 2016 09:07:55 -0400 Received: by mail-wm0-x236.google.com with SMTP id 187so6726397wmz.1 for ; Mon, 20 Jun 2016 06:07:55 -0700 (PDT) In-Reply-To: <87fus82fai.fsf@saiph.selenimh> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr Hello Nicolas, 2016-06-20 14:52 GMT+02:00 Nicolas Goaziou : > They have no influence over the link description (which is "1" in both > cases, as you noticed). If you want to change the description, simply > provide one: > > [[test_fun][whatever]] Sorry for not being able to express myself more clearly, since this is the exact thing I was making a suggestion about in the first place. The thing is, I have a lot of code blocks that define functions, which are named exactly after that function. And as I frequently want to reference one of those in the text, I don't want to say [[test_fun][test_fun]] .. [[another_long_function][another_long_function]]... everytime, since [[test_fun]] already contains all the information needed to generate the link, and the description. The description is always the same as the link target. That is why I would want to change the way that the default link description is generated in the case that none is provided. I think that would make sense, given that the way the default description is generated at the moment does not seem to provide any benefit. > Regards, > > -- > Nicolas Goaziou