From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Lebedeff Subject: Re: [PATCH] Fix clock table when there are links in headings. Date: Thu, 13 Mar 2014 15:21:49 +0400 Message-ID: References: <87ha7fcvj8.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO3hv-0007ET-B2 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 07:21:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO3hu-000649-AK for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 07:21:51 -0400 In-Reply-To: <87ha7fcvj8.fsf@bzg.ath.cx> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, 2014-03-03 16:32 GMT+04:00 Bastien : >> This screenshot >> https://www.dropbox.com/s/g3obxpigr8gg69f/-Org%20Agenda-%20-%20emacs_017.png >> shows how it looked before the patch. It's no good unless you have >> very good memory for numbers ) > > Thanks for the patch. > > `org-all-links-display-format' is a bit redundant with > `org-link-prettify'. Would you mind rewriting the change > using `org-link-prettify'? I can't figure out how to use 'org-link-prettify' function. It only accepts one link that is already parsed. But for clocktable whole heading string needs to be transformed, and it can contain multiple links. E.g. "[[a][b]] and [[c][d]]" must be transformed to "b and d". 'org-all-links-display-format' does exactly this.