简体   繁体   English

在emacs org-agenda时钟报告中,标题显示为…如果是超长链接?

[英]In emacs org-agenda clock report, the headline display as … if it is a long hyperlinks?

In org-agenda, we can use clock report (org-agenda-clockreport-mode) for time spent. 在org-agenda中,我们可以使用时钟报告(org-agenda-clockreport-mode)来花费时间。 Now I encounter such issue: 现在我遇到这样的问题:

1) A task header line with long hyperlink format, for example: * TODO [[outlook:00000000D94CA2AC786588429B27FF9F5ADE02C207003CACBF968BF6D844ACDE08872A34BAA7000000236CFA0000641BF72F869D49499551670BAC68BD2600001BC8C6620000][Just a test email from outlook]] 1)具有长超链接格式的任务标题行,例如:* TODO [[outlook:00000000D94CA2AC786588429B27FF9F5ADE02C207003CACBF968BF6D844ACDE08872A34BAA7000000236CFA0000641BF72F869D49499551670BAC68BD2600001BC8C6620000] [只是来自Outlook的测试电子邮件]

2) Set the parameter-plist as this, note that I need the ':link t' parameter. 2)将parameter-plist设置为此,注意我需要':link t'参数。 (setq org-agenda-clockreport-parameter-plist (quote (:link t :maxlevel 5 :fileskip0 t :compact t :narrow 80))) (setq org-agenda-clockreport-parameter-plist(quote(:link t:maxlevel 5:fileskip0 t:compact t:narrow 80)))

3) Generate the clock report in org-agenda (day/weekly), but the Headline only display '...' because it is too long. 3)以org-agenda(每天/每周)生成时钟报告,但由于太长,标题仅显示“ ...”。

How can it remove the [outlook:....] part in the org-agenda-clock-report mode? 如何在org-agenda-clock-report模式下删除[outlook:....]部分?

The easiest solution would be to change your capture template or method of adding tasks to avoid links in headlines. 最简单的解决方案是更改捕获模板或添加任务的方法,以避免标题中出现链接。 Links in headlines can cause odd behaviour in the Agenda as well as in exports potentially. 标题中的链接可能导致议程以及出口中的异常行为。

If you change the example to: 如果将示例更改为:

* TODO Just a test email from Outlook
  [[outlook:00000000D94CA2AC786588429B27FF9F5ADE02C207003CACBF968BF6D844ACDE08872A34BAA7000000236CFA0000641BF72F869D49499551670BAC68BD2600001BC8C6620000][Just a test email from outlook]]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM