[xyzzy:00299] Re: text-newline-midashi-and-create-spaces
- Subject: [xyzzy:00299] Re: text-newline-midashi-and-create-spaces
- From: Masahito Henmi <henmi@xxxxxxxxxxxxx>
- X-mailer: Denshin 8 Go V321.2b5
こんにちは。逸見 です。
> 「とa」のようなとき、開いてくれません。
最初読んだとき、文字コードの範囲を変えればいいだけじゃんと思って
ひらがな 829f-82f1
カタカナ 8340-8396
漢字 889f-
あれっ、検索条件と合っってるじゃん。
(defun foo ()
(interactive)
(save-restriction
(narrow-to-region (progn (goto-eol) (point))
(progn (goto-bol) (point)))
(replace-buffer "\\([\X8200-\X9fff\Xe000-\Xfcff]\\) *\\([A-Za-z0-9_]\\)\\|\\([A-Za-z0-9_]\\) *\\([\X8200-\X9fff\Xe000-\Xfcff]\\)"
"\\1\\3 \\2\\4" :regexp t))
)
(global-set-key #\F12 'foo)
とa をやってみたんですが、空白、あきましたよ。?????
これ以外のコードの部分でまた詰まっているって事?
謎だ。
------------------------------------------------------------
逸見雅人 Email henmi@xxxxxxxxxxxxx
Masahito Henmi