From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-clock-display conflicts link display in headline [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Date: Sat, 23 Jun 2018 23:58:51 +0200 Message-ID: <87fu1dtbac.fsf@nicolasgoaziou.fr> References: <5d331a0b-feb5-1f8f-9679-ca71d52c21d1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWqYd-0007uT-4X for emacs-orgmode@gnu.org; Sat, 23 Jun 2018 17:59:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWqYY-0003rG-5G for emacs-orgmode@gnu.org; Sat, 23 Jun 2018 17:58:59 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:53729) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fWqYX-0003qt-V8 for emacs-orgmode@gnu.org; Sat, 23 Jun 2018 17:58:54 -0400 In-Reply-To: <5d331a0b-feb5-1f8f-9679-ca71d52c21d1@gmail.com> ("Sheng Yang =?utf-8?B?KOadqAnlnKMpIidz?= message of "Mon, 4 Jun 2018 13:40:28 -0400") 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: =?utf-8?Q?Sheng_Yang_=28=E6=9D=A8=E5=9C=A3=29?= Cc: emacs-orgmode@gnu.org Hello, "Sheng Yang (=E6=9D=A8=E5=9C=A3)" writes: > I was trying the beloved clock feature of org-mode, and tried > `org-clock-display` on an org file. A total time is added to each > headline as expected, but it is not the case for headlines with a link > in it. The whole link is displayed as if `org-toggle-link-display` is > called. > > Minimum file to reproduce the problem: > > * [[https://www.google.com][google]] > =C2=A0=C2=A0=C2=A0 :LOGBOOK: > =C2=A0=C2=A0=C2=A0 CLOCK: [2018-06-03 Sun 22:15]--[2018-06-03 Sun 22:25] = =3D>=C2=A0 0:10 > =C2=A0=C2=A0=C2=A0 :END: > > Steps to reproduce: > =C2=A0 1. Open an org file whose headline contains link > =C2=A0 2. Add some clock for this headline > =C2=A0 3. Call `org-clock-display` > > Expected behavior: > > =C2=A0 Looks like: > > * google ......................................................10 > =C2=A0=C2=A0=C2=A0 :LOGBOOK:... > > What I get: > > * [[https://www.google.com][google]] ..........................10 > =C2=A0=C2=A0=C2=A0 :LOGBOOK:... > > Note: If I call `org-clock-remove-overlay` to remove clock display, the > clock displayed is removed, and link display is restored. Fixed. Thank you. Regards, --=20 Nicolas Goaziou