Re: [O] Definition list not highlight for japanese character.

2017-12-18 Thread Nonono

Hello Shiyao,

I think your CJK font doesn't support a bold type.  Do you can see as a
bold font when you type *いろはにほへどちりぬるを* in the org-mode?

If you have the Japanese font which supports a bold type like "Hiragino
Maru Gothic ProN", you try below with your own risk:

  (let ((lst '((#x3000 . #x303f) ; Japanese-style punctuation
   (#x3040 . #x309f) ; hiragana 
   (#x30a0 . #x30ff) ; katakana
   (#xff00 . #xffef) ; full-width roman and half-width katakana
   (#x4e00 . #x9faf) ; cjk unified-ideographs
   )))
(while lst
  (set-fontset-font
   nil (car lst)
   (font-spec :family "Hiragino Maru Gothic ProN" :size 16))
  (setq lst (cdr lst

Change "Hiragino Maru Gothic ProN" to the font what you have, and find
a good-looking font by trial-and-error.

Best.

Nonono.

Shiyao MA <i...@introo.me> writes:

> Hi,
>
> Definition list not highlight for japanese character.
>
> for example, check this picture:
> https://imgur.com/a/dBKt6
>
> どういたしまして is not highlighted, where asdf is highlighted.
>
> -- 
> Best,
> Shiyao
>
-- 
Nonono



[O] orgstruct-mode and colorizing headings.

2017-09-23 Thread Nonono
Hello orgmode! I have a question that I searched on the internet and
manuals about one hour, but still don't find out how.

How to change the face of headings when in the orgstruct-mode? I think
It would be neat if the color of heading have been different than normal
the comment line in orgstruct-mode.

I examined the face of headings when orgstruct-mode is on, but It was
the same `font-lock-comment-face' of the vanilla state, so I think
there're no plan and no way to change the color of headings other than
changing the source code or making a new minor mode. Does someone have
a idea or a recommendation on this particular subject?
-- 
Nonono