* [BUG] org-clock-update-mode-line leaves link markup in mode-line
@ 2018-03-04 17:34 Matt Lundin
2018-03-04 20:26 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Matt Lundin @ 2018-03-04 17:34 UTC (permalink / raw)
To: Org Mode
Commit 6655429b8d7ee686a8300b61af587599cd656a22 removed code that
stripped link markup from the string displayed in the mode line.
In the past, a heading like the following...
* TODO [[https://en.wikipedia.org/wiki/Org-mode][Org-mode]]
...would be simplified for display in the mode line as...
"[0:04] (Org-Mode)"
Now it displays as...
"[0:04] ([[https://en.wikipedia.org/wiki/Org-mode][Org-mode]])"
Is this change intentional? It is, of course, possible to strip the link
markup with a custom org-clock-heading-function. But it seems to me that
removing link markup from the mode-line display should remain the
default behavior.
Thanks,
Matt
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] org-clock-update-mode-line leaves link markup in mode-line
2018-03-04 17:34 [BUG] org-clock-update-mode-line leaves link markup in mode-line Matt Lundin
@ 2018-03-04 20:26 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2018-03-04 20:26 UTC (permalink / raw)
To: Matt Lundin; +Cc: Org Mode
Hi Matt,
Matt Lundin <mdl@imapmail.org> writes:
> Is this change intentional? It is, of course, possible to strip the link
> markup with a custom org-clock-heading-function. But it seems to me that
> removing link markup from the mode-line display should remain the
> default behavior.
Thanks for reporting this -- it clearly does not make sense to
display links in the mode-line, so I pushed a fix to restore the
previous behavior by default.
Having org-clock-heading-function around is nice though.
Best,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-04 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-04 17:34 [BUG] org-clock-update-mode-line leaves link markup in mode-line Matt Lundin
2018-03-04 20:26 ` Bastien
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).