emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] BUG: org tag can align proper when tag is Chinese.


From: tumashu
Subject: Re: [O] BUG: org tag can align proper when tag is Chinese.
Date: Mon, 7 May 2018 21:34:57 +0800 (CST)

>
>Could you test this change?

Seem to work!


Another problem I have found is that: when having Chinese char, 
(window-text-width) is not a stable method, but I do
not know how to fix it.
```
(defun org-agenda-align-tags (&optional line)
  "Align all tags in agenda items to `org-agenda-tags-column'."
  (let ((inhibit-read-only t)
            (org-agenda-tags-column (if (eq 'auto org-agenda-tags-column)
                                                    (- (window-text-width))
                                                  org-agenda-tags-column))
...
)
```

reply via email to

[Prev in Thread] Current Thread [Next in Thread]