all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG: org tag can align proper when tag is Chinese.
@ 2018-05-07 13:12 tumashu
  2018-05-07 13:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: tumashu @ 2018-05-07 13:12 UTC (permalink / raw)
  To: emacs-orgmode


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:]_@#%:]+:\\)[ \t]*$"))

 ...
)

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

)
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-08 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-07 13:12 BUG: org tag can align proper when tag is Chinese tumashu
2018-05-07 13:22 ` Nicolas Goaziou
2018-05-07 13:34   ` tumashu
2018-05-07 13:58   ` tumashu
2018-05-08 17:38     ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.