日本語ハッシュタグも対応できるとたしかにいいですね。
とりあえずの対応としては、内部コードがUnicodeになっている場合のみ日本語 ハッシュタグに対応すればよいかと思います。 条件分岐は (>= emacs-major-version 23) でいいんですかね。ちょっと文字 コード周りについては明るくないので不確かです。 どうでしょうか。 ---- 早水悠登 (Yuto HAYAMIZU) PhD student at Kitsuregawa Laboratory Department of Information and Communication Engineering Graduate School of Information Science and Technology University of Tokyo (2011/08/22 23:58), Kensuke Matsuzaki wrote: > こんばんは、松崎と申します。 > > サブジェクトの通り日本語(というか多国語)ハッシュタグを使いたくてパッチを > かいてみました。 > https://github.com/zakki/twittering-mode/tree/non-latin-hashtag > > NTEmacs の 23.3.1 では内部コードが Unicode になっているおかげか > twitter-text-js の正規表現をほぼそのまま使うことができました。 > しかし、Emacs 22.1系列の Meadow では「-」での範囲指定が出来ず、かといっ > て展開すると数十MB単位の正規表現になってしまいます。 > > 何か良い方法はないでしょうか。 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ twmode-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/twmode-users
