Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当 org-clock-in 任务时,任务名称将显示在模式行上。但是我的一些任务名称太长了。是否有任何功能可以截断模式行中的显示名称?
谢谢。
您可以根据自己的喜好调整它:
(setq org-clock-heading-function (lambda () (let ((str (nth 4 (org-heading-components)))) (if (> (length str) 6) (substring str 0 6)))))