emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Sheng Yang (杨圣)" <yangsheng6810@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87fu1dtbac.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <5d331a0b-feb5-1f8f-9679-ca71d52c21d1@gmail.com> ("Sheng Yang (杨	圣)"'s message of "Mon, 4 Jun 2018 13:40:28 -0400")

Hello,

"Sheng Yang (杨圣)" <yangsheng6810@gmail.com> 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]]
>     :LOGBOOK:
>     CLOCK: [2018-06-03 Sun 22:15]--[2018-06-03 Sun 22:25] =>  0:10
>     :END:
>
> Steps to reproduce:
>   1. Open an org file whose headline contains link
>   2. Add some clock for this headline
>   3. Call `org-clock-display`
>
> Expected behavior:
>
>   Looks like:
>
> * google ......................................................10
>     :LOGBOOK:...
>
> What I get:
>
> * [[https://www.google.com][google]] ..........................10
>     :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,

-- 
Nicolas Goaziou

      reply	other threads:[~2018-06-23 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 17:40 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/)] Sheng Yang (杨圣)
2018-06-23 21:58 ` Nicolas Goaziou [this message]

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=87fu1dtbac.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=yangsheng6810@gmail.com \
    /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).