emacs-orgmode
[Top][All Lists]
Advanced

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

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


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

1.  [:alnum:] can not match Chinese char,  what about add [:multibyte:] ?
```
(defun org--align-tags-here (to-col)
 ...
    (if    (or (not (looking-at ".*?\\([ 
\t]+\\)\\(:[[:alnum:address@hidden:]+:\\)[ \t]*$"))

 ...
)

(defun org-agenda-align-tags (&optional line)
 ...
      (while (re-search-forward "\\([ 
\t]+\\)\\(:[[:alnum:address@hidden:]+:\\)[ \t]*$"
 ...

)
```

reply via email to

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