While org-clock is in the task, the name of the task will be displayed in the mode line. But some of my task names are too long. Is there any function to truncate the display name in the mode line?
Thanks.
You can customize this to your liking:
(setq org-clock-heading-function (lambda () (let ((str (nth 4 (org-heading-components)))) (if (> (length str) 6) (substring str 0 6)))))